/* Arsemble.com - Legal Documents Website */

:root {
  --bg-primary: #121418;
  --bg-secondary: #1a1d22;
  --bg-card: #1e2228;
  --text-primary: #f0f2f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent: #3dd9d0;
  --accent-hover: #f59e0b;
  --border: #2a2f38;
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  min-height: 100vh;
}

/* Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(74, 158, 255, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(74, 158, 255, 0.02) 0%, transparent 50%);
  pointer-events: none;
  z-index: -1;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.15;
  font-weight: 700;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.75rem);
  margin-bottom: 1rem;
  color: var(--text-primary);
  font-weight: 600;
}

h3 {
  font-size: 1.2rem;
  margin: 2rem 0 1rem;
  color: var(--accent);
  font-weight: 600;
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-hover);
}

/* Layout */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header */
header {
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  text-decoration: none;
}

.logo:hover {
  color: var(--accent);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

nav a {
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s ease;
  position: relative;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease;
}

nav a:hover {
  color: var(--text-primary);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  padding: 4rem 0 2rem;
  text-align: center;
}

.hero h1 {
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* Apps Grid */
.apps-section {
  padding: 2rem 0 4rem;
}

.apps-section h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
  gap: 2rem;
  justify-content: center;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
}

.app-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--accent);
}

.app-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--accent) 0%, #2aa89f 100%);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(3, 1fr);
  gap: 3px;
  padding: 10px;
}

.app-icon span {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2px;
}

.app-icon span:nth-child(5) {
  background: #1a1a1a;
}

.app-card h3 {
  color: var(--text-primary);
  margin: 0 0 0.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.app-card p {
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
  line-height: 1.6;
}

.app-links {
  display: flex;
  gap: 0.75rem;
}

.app-links a {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.6rem 1.1rem;
  background: var(--bg-secondary);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
}

.app-links a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #121418;
}

/* Legal Document Page */
.legal-page {
  padding: 4rem 0;
}

.legal-header {
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.legal-header .app-name {
  color: var(--accent);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.legal-header h1 {
  margin-bottom: 0.5rem;
}

.legal-header .last-updated {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.legal-content {
  max-width: 700px;
}

.legal-content h2 {
  font-size: 1.35rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul {
  margin: 1rem 0 1.5rem 1.5rem;
  color: var(--text-secondary);
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content a {
  word-break: break-word;
}

/* Footer */
footer {
  padding: 3rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

footer p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

footer a {
  color: var(--text-muted);
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.2s ease;
}

footer a:hover {
  color: var(--accent);
}

footer a:hover::after {
  width: 100%;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.breadcrumb span {
  color: var(--text-muted);
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero, .apps-section, .legal-page {
  animation: fadeInUp 0.6s ease-out;
}

.app-card {
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

footer {
  animation: fadeInUp 0.6s ease-out 0.2s both;
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }

  .header-content {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul {
    gap: 1.5rem;
  }

  .hero {
    padding: 4rem 0;
  }

  .apps-section {
    padding: 3rem 0;
  }

  .legal-page {
    padding: 2rem 0;
  }
}

@media (max-width: 480px) {
  .app-links {
    flex-direction: column;
  }

  .app-links a {
    text-align: center;
  }
}

