/* Brand Tokens & Theme Variables */
:root {
  /* Colors */
  --bg: #0b0f14;
  --text: #e6edf3;
  --muted: #c9d1d9;
  --accent: #7dd3fc;
  --accent2: #a78bfa;
  --border: #21262d;
  --surface: #161b22;
  --surface-hover: #21262d;
  
  /* Typography */
  --font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Inter, sans-serif;
  --line-height-tight: 1.35;
  --line-height-base: 1.6;
  
  /* Spacing (4pt scale) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  
  /* Borders */
  --border-radius: 8px;
  --border-radius-pill: 9999px;
  
  /* Container */
  --container-max: 1100px;
  --container-padding: 16px;
}

/* Base Overrides */
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-family);
  line-height: var(--line-height-base);
}

/* Hero Section */
.hero {
  position: relative;
  padding: 16vh 0;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
  background: 
    radial-gradient(1200px 600px at 10% -10%, #0d1622 0%, transparent 60%),
    linear-gradient(120deg, var(--bg) 0%, #0f172a 50%, var(--bg) 100%);
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg, var(--accent2), var(--accent), var(--accent2));
  filter: blur(120px);
  opacity: 0.08;
  animation: spin 16s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 72px);
  line-height: var(--line-height-tight);
  margin: 0 0 var(--space-xl) 0;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 20px;
  color: var(--muted);
  max-width: 65ch;
  margin-bottom: var(--space-2xl);
  line-height: 1.7;
  font-weight: 400;
}

.hero-cta {
  margin-top: var(--space-lg);
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Navigation */
nav {
  position: relative;
  z-index: 2;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

nav ul {
  gap: var(--space-lg);
}

nav a {
  transition: all 0.3s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

nav a:hover {
  background: rgba(125, 211, 252, 0.1);
  text-decoration: none;
}

.separator {
  color: var(--muted);
  margin: 0 var(--space-sm);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0b0f14;
  border-radius: 10px;
  padding: 14px 24px;
  border: 0;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(125, 211, 252, 0.3);
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-secondary {
  background: var(--surface);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 10px;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-block;
  position: relative;
}

.btn-secondary:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-2px);
  color: var(--accent);
  box-shadow: 0 4px 16px rgba(125, 211, 252, 0.15);
}

/* Sections */
.section {
  padding: var(--space-3xl) 0;
}

.section h2 {
  font-size: clamp(28px, 4vw, 40px);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-2xl);
  font-weight: 700;
  color: var(--text);
  position: relative;
}

.section h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
}

/* Company Cards */
.company-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-2xl);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.company-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.company-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(125, 211, 252, 0.1);
}

.company-card:hover::before {
  transform: scaleX(1);
}

.company-card h3 {
  font-size: 22px;
  margin-bottom: var(--space-md);
  display: flex;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.tag {
  background: var(--accent);
  color: #001018;
  padding: 4px 12px;
  border-radius: var(--border-radius-pill);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accent-tag {
  background: var(--accent2);
}

.company-description {
  color: var(--text);
  margin-bottom: var(--space-lg);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.6;
}

/* Company card list styling */
.company-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.company-card li {
  color: var(--text) !important;
  padding: var(--space-sm) 0;
  position: relative;
  padding-left: var(--space-lg);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
}

.company-card li::before {
  content: '→';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 16px;
}

.company-card strong {
  color: var(--accent);
  font-weight: 600;
}

/* Force visibility for all list items in company cards */
article.company-card ul li {
  color: var(--text) !important;
}

article.company-card ul li strong {
  color: var(--accent) !important;
}

/* Why Us Grid */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

.why-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-2xl);
  transition: all 0.3s ease;
  position: relative;
}

.why-item:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(125, 211, 252, 0.08);
}

.why-icon {
  font-size: 48px;
  margin-bottom: var(--space-lg);
  display: block;
  text-align: center;
  padding: 16px;
  background: rgba(125, 211, 252, 0.05);
  border-radius: 50%;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg) auto;
}

.why-item h3 {
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-size: 20px;
  font-weight: 600;
}

.why-description {
  color: var(--muted);
  line-height: var(--line-height-base);
  margin-bottom: var(--space-lg);
  font-size: 16px;
}

.why-details {
  list-style: none;
  padding: 0;
  margin: 0;
}

.why-details li {
  color: var(--text);
  padding: var(--space-xs) 0;
  position: relative;
  padding-left: var(--space-lg);
  font-size: 14px;
  line-height: 1.5;
}

.why-details li::before {
  content: '→';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 600;
}

/* Criteria Section */
.criteria-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: var(--space-xl);
}

.criteria-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-2xl);
  transition: all 0.3s ease;
  position: relative;
}

.criteria-card:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  box-shadow: 0 6px 24px rgba(125, 211, 252, 0.06);
}

.criteria-card h3 {
  margin-bottom: var(--space-lg);
  font-size: 22px;
  font-weight: 600;
  color: var(--text);
}

.subtitle {
  color: var(--muted);
  font-weight: 400;
  font-size: 16px;
}

.criteria-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.criteria-card li {
  color: var(--text);
  padding: var(--space-sm) 0;
  position: relative;
  padding-left: var(--space-lg);
  font-size: 16px;
  line-height: 1.6;
  font-weight: 400;
}

.criteria-card li::before {
  content: '▪';
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: 600;
  font-size: 18px;
}

.criteria-card strong {
  color: var(--accent);
  font-weight: 600;
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-xl);
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: var(--space-xl);
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.faq-item h4 {
  color: var(--accent);
  margin-bottom: var(--space-md);
  font-size: 20px;
  font-weight: 600;
}

.faq-item p {
  color: var(--muted);
  line-height: var(--line-height-base);
  font-size: 16px;
}

/* Mailing List Section */
.mailing-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(125, 211, 252, 0.03) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.mailing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.mailing-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.mailing-description {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-base);
}

.mailing-form {
  display: flex;
  gap: var(--space-md);
  max-width: 420px;
  margin: 0 auto var(--space-md) auto;
  align-items: stretch;
  justify-content: center;
}

.email-input {
  flex: 1;
  min-width: 200px;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.email-input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
  transform: translateY(-1px);
}

.email-input::placeholder {
  color: var(--muted);
}

.mailing-note {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

/* Studio Section */
.studio-section {
  background: linear-gradient(135deg, var(--surface) 0%, rgba(167, 139, 250, 0.05) 100%);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
}

.studio-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent2), transparent);
}

.studio-content {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-3xl) var(--space-xl);
}

.studio-description {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: var(--space-xl);
  line-height: var(--line-height-base);
}

.studio-cta {
  margin-bottom: var(--space-md);
}

.studio-note {
  color: var(--muted);
  font-size: 14px;
  margin: var(--space-md) 0 0 0;
}

/* Contact */
.contact-intro {
  color: var(--muted);
  max-width: 60ch;
  margin: 0 auto var(--space-xl) auto;
  font-size: 18px;
  text-align: center;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto var(--space-2xl) auto;
}

.form-group {
  margin-bottom: var(--space-lg);
}

.form-group label {
  display: block;
  color: var(--text);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: var(--font-family);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(125, 211, 252, 0.1);
  transform: translateY(-1px);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-primary {
  width: 100%;
  padding: 16px 24px;
  font-size: 18px;
  margin-top: var(--space-md);
}

.contact-alternative {
  text-align: center;
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
}

.contact-alternative p {
  color: var(--muted);
  margin-bottom: var(--space-md);
}

.contact-options {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  justify-content: center;
}

.form-status {
  margin-top: var(--space-md);
  display: none;
}

.success-message {
  color: var(--accent);
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 8px;
  padding: var(--space-md);
  text-align: center;
  margin: 0;
}

/* Utilities */
.accent {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

/* Scroll Reveal Animation */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.show {
  opacity: 1;
  transform: none;
}

/* Footer */
footer {
  border-top: 1px solid var(--border);
  padding: var(--space-2xl) 0;
  margin-top: var(--space-3xl);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-lg);
}

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

.social-links {
  display: flex;
  gap: var(--space-lg);
  align-items: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--muted);
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 18px;
}

.social-link:hover {
  background: var(--surface-hover);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 211, 252, 0.15);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}

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

a:hover {
  color: var(--text);
  text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero {
    padding: 8vh 0;
  }
  
  .section {
    padding: var(--space-2xl) 0;
  }
  
  nav ul:last-child {
    flex-direction: column;
    gap: var(--space-sm);
  }
  
  .company-card h3 {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-sm);
  }
  
  .contact-options {
    flex-direction: column;
  }
  
  .contact-options a {
    text-align: center;
  }
  
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  
  .mailing-form {
    flex-direction: column;
  }
  
  .email-input {
    min-width: auto;
  }
  
  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: var(--space-md);
  }
}

/* High contrast for accessibility */
@media (prefers-contrast: high) {
  :root {
    --muted: #b0b8c4;
    --border: #2d333b;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  
  .reveal {
    transition: none;
  }
  
  * {
    transition-duration: 0.01ms !important;
  }
}