/* ========================================
   JAINE AI — Design Tokens & Styles
   Dark, tech-forward, modern
   ======================================== */

:root {
  /* Type scale */
  --text-xs:   clamp(0.75rem,  0.7rem  + 0.25vw, 0.875rem);
  --text-sm:   clamp(0.875rem, 0.8rem  + 0.35vw, 1rem);
  --text-base: clamp(1rem,     0.95rem + 0.25vw, 1.125rem);
  --text-lg:   clamp(1.125rem, 1rem    + 0.75vw, 1.5rem);
  --text-xl:   clamp(1.5rem,   1.2rem  + 1.25vw, 2.25rem);
  --text-2xl:  clamp(2rem,     1.2rem  + 2.5vw,  3.5rem);
  --text-3xl:  clamp(2.5rem,   1rem    + 4vw,    5rem);
  --text-hero: clamp(3rem,     0.5rem  + 7vw,    8rem);

  /* Spacing */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;

  /* Fonts */
  --font-display: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

/* ---- DARK MODE (Default) ---- */
:root, [data-theme="dark"] {
  --color-bg:             #0a0a0f;
  --color-surface:        #111118;
  --color-surface-2:      #18181f;
  --color-surface-offset: #1a1a24;
  --color-surface-dynamic: #22222e;
  --color-divider:        #2a2a38;
  --color-border:         #333345;

  --color-text:           #e8e8ed;
  --color-text-muted:     #8888a0;
  --color-text-faint:     #55556a;

  /* Primary — electric cyan */
  --color-primary:        #00d4ff;
  --color-primary-hover:  #00b8e0;
  --color-primary-active: #009cc0;
  --color-primary-glow:   oklch(0.75 0.15 210 / 0.15);

  /* Success */
  --color-success:        #22c55e;

  /* Shadows */
  --shadow-sm: 0 1px 2px oklch(0 0 0 / 0.3);
  --shadow-md: 0 4px 12px oklch(0 0 0 / 0.4);
  --shadow-lg: 0 12px 32px oklch(0 0 0 / 0.5);
}

/* ---- LIGHT MODE ---- */
[data-theme="light"] {
  --color-bg:             #f5f5f8;
  --color-surface:        #ffffff;
  --color-surface-2:      #fafafe;
  --color-surface-offset: #ededf2;
  --color-surface-dynamic: #e0e0e8;
  --color-divider:        #d0d0da;
  --color-border:         #c0c0cc;

  --color-text:           #12121a;
  --color-text-muted:     #5a5a70;
  --color-text-faint:     #9090a5;

  --color-primary:        #0090b8;
  --color-primary-hover:  #007a9d;
  --color-primary-active: #006585;
  --color-primary-glow:   oklch(0.6 0.12 210 / 0.1);

  --color-success:        #16a34a;

  --shadow-sm: 0 1px 2px oklch(0.2 0.01 240 / 0.06);
  --shadow-md: 0 4px 12px oklch(0.2 0.01 240 / 0.08);
  --shadow-lg: 0 12px 32px oklch(0.2 0.01 240 / 0.12);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme]) {
    --color-bg:             #f5f5f8;
    --color-surface:        #ffffff;
    --color-surface-2:      #fafafe;
    --color-surface-offset: #ededf2;
    --color-surface-dynamic: #e0e0e8;
    --color-divider:        #d0d0da;
    --color-border:         #c0c0cc;
    --color-text:           #12121a;
    --color-text-muted:     #5a5a70;
    --color-text-faint:     #9090a5;
    --color-primary:        #0090b8;
    --color-primary-hover:  #007a9d;
    --color-primary-active: #006585;
    --color-primary-glow:   oklch(0.6 0.12 210 / 0.1);
    --color-success:        #16a34a;
    --shadow-sm: 0 1px 2px oklch(0.2 0.01 240 / 0.06);
    --shadow-md: 0 4px 12px oklch(0.2 0.01 240 / 0.08);
    --shadow-lg: 0 12px 32px oklch(0.2 0.01 240 / 0.12);
  }
}

/* ========================================
   GLOBAL ELEMENTS
   ======================================== */

body {
  font-family: var(--font-body);
  overflow-x: hidden;
}

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

/* ========================================
   NAVIGATION
   ======================================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--space-4) var(--space-6);
  background: oklch(from var(--color-bg) l c h / 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid oklch(from var(--color-text) l c h / 0.06);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.nav-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-lg);
  color: var(--color-text);
  text-decoration: none;
}

.nav-logo svg {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
  list-style: none;
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-2) var(--space-5);
  background: var(--color-primary);
  color: #0a0a0f;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}

.nav-cta:hover {
  background: var(--color-primary-hover);
  color: #0a0a0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--color-primary-glow);
}

.nav-theme-toggle {
  padding: var(--space-2);
  color: var(--color-text-muted);
  cursor: pointer;
  border-radius: var(--radius-md);
}
.nav-theme-toggle:hover {
  color: var(--color-text);
}

.nav-mobile-toggle {
  display: none;
  padding: var(--space-2);
  color: var(--color-text);
}

/* ========================================
   HERO
   ======================================== */

.hero {
  position: relative;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: var(--space-32) var(--space-6) var(--space-16);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 70%;
  height: 70%;
  background: radial-gradient(ellipse, var(--color-primary-glow), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

.hero-bg::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 40%;
  background: radial-gradient(ellipse, oklch(0.5 0.1 270 / 0.08), transparent 60%);
  filter: blur(60px);
  pointer-events: none;
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(oklch(from var(--color-text) l c h / 0.03) 1px, transparent 1px),
    linear-gradient(90deg, oklch(from var(--color-text) l c h / 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse 60% 50% at 50% 40%, black 20%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--content-wide);
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-1) var(--space-4);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-success);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--color-text);
  margin-bottom: var(--space-6);
  max-width: 16ch;
}

.hero h1 .text-gradient {
  background: linear-gradient(135deg, var(--color-primary), oklch(0.75 0.12 250));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-bottom: var(--space-8);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: var(--color-primary);
  color: #0a0a0f;
  font-weight: 600;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive), transform var(--transition-interactive), box-shadow var(--transition-interactive);
}
.btn-primary:hover {
  background: var(--color-primary-hover);
  color: #0a0a0f;
  transform: translateY(-1px);
  box-shadow: 0 4px 24px var(--color-primary-glow);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  background: transparent;
  color: var(--color-text);
  font-weight: 500;
  font-size: var(--text-sm);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: background var(--transition-interactive), border-color var(--transition-interactive), transform var(--transition-interactive);
}
.btn-secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-text-faint);
  color: var(--color-text);
  transform: translateY(-1px);
}
.btn-secondary:active {
  transform: translateY(0);
}

/* ========================================
   SECTIONS (generic)
   ======================================== */

.section {
  padding: clamp(var(--space-12), 8vw, var(--space-24)) var(--space-6);
}

.section-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.section-label i {
  width: 16px;
  height: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-3);
}

.section-desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 56ch;
  margin-bottom: var(--space-10);
}

/* ========================================
   SERVICES / USE CASES
   ======================================== */

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
  gap: var(--space-6);
}

.service-card {
  padding: var(--space-6);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive), transform var(--transition-interactive);
}
.service-card:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.3);
  box-shadow: 0 0 24px var(--color-primary-glow);
  transform: translateY(-2px);
}

.service-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  margin-bottom: var(--space-4);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.service-card p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   HOW IT WORKS
   ======================================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(240px, 100%), 1fr));
  gap: var(--space-8);
  counter-reset: step;
}

.step {
  position: relative;
  counter-increment: step;
}

.step-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 800;
  color: oklch(from var(--color-primary) l c h / 0.15);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.step h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-2);
}

.step p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ========================================
   INDUSTRIES
   ======================================== */

.industries-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr));
  gap: var(--space-4);
}

.industry-tag {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-4);
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  transition: border-color var(--transition-interactive), background var(--transition-interactive);
}

.industry-tag:hover {
  border-color: oklch(from var(--color-primary) l c h / 0.3);
  background: var(--color-surface-2);
}

.industry-tag i {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
}

/* ========================================
   SOCIAL PROOF
   ======================================== */

.proof-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-10);
  padding: var(--space-8) var(--space-6);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.proof-stat {
  text-align: center;
}

.proof-stat .number {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 800;
  color: var(--color-primary);
  display: block;
}

.proof-stat .label {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 80%;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, var(--color-primary-glow), transparent 60%);
  filter: blur(80px);
  pointer-events: none;
}

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

.cta-section h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.cta-section p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin: 0 auto var(--space-8);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
  padding: var(--space-12) var(--space-6) var(--space-8);
  border-top: 1px solid var(--color-divider);
}

.footer-inner {
  max-width: var(--content-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-10);
}

.footer-brand p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: 36ch;
  margin-top: var(--space-3);
}

.footer h4 {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: var(--space-4);
}

.footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.footer ul a {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.footer ul a:hover {
  color: var(--color-text);
}

.footer-bottom {
  max-width: var(--content-wide);
  margin: var(--space-8) auto 0;
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-divider);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

/* ========================================
   SCROLL ANIMATIONS
   ======================================== */

.fade-in {
  opacity: 1;
}

@supports (animation-timeline: scroll()) {
  .fade-in {
    opacity: 0;
    animation: reveal-fade linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 100%;
  }
}

@keyframes reveal-fade {
  to { opacity: 1; }
}

/* ========================================
   MOBILE
   ======================================== */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-mobile-toggle { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg);
    border-bottom: 1px solid var(--color-divider);
    padding: var(--space-6);
    gap: var(--space-4);
  }

  .hero h1 {
    font-size: var(--text-2xl);
  }

  .hero-sub {
    font-size: var(--text-base);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .proof-bar {
    gap: var(--space-6);
  }

  .footer-bottom {
    flex-direction: column;
    gap: var(--space-2);
    text-align: center;
  }
}

/* ========================================
   FAQ
   ======================================== */

.faq-list {
  max-width: var(--content-default);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.faq-item {
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-body);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--color-text);
  cursor: pointer;
  text-align: left;
  transition: color var(--transition-interactive);
}
.faq-question:hover {
  color: var(--color-primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--color-text-muted);
  transition: transform 0.3s var(--ease-out);
}

.faq-item.open .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease-out);
}

.faq-answer-inner {
  padding: 0 var(--space-5) var(--space-5);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

/* ========================================
   NAV PHONE
   ======================================== */

.nav-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
.nav-phone:hover {
  color: var(--color-primary);
}

/* ========================================
   TESTIMONIALS
   ======================================== */

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
  gap: var(--space-6);
  margin-bottom: var(--space-6);
}

.testimonial-card {
  padding: var(--space-6);
  background: var(--color-bg);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
}

.star-filled {
  width: 16px;
  height: 16px;
  color: #f59e0b;
  fill: #f59e0b;
}

.testimonial-card blockquote {
  font-size: var(--text-sm);
  color: var(--color-text);
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-primary-glow);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--color-primary);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text);
}

.testimonial-author span {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.testimonials-note {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
  font-style: italic;
  max-width: none;
}

/* ========================================
   ABOUT
   ======================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: var(--space-12);
  align-items: center;
}

.about-text p {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  max-width: 60ch;
}

.about-contact {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
  margin-top: var(--space-6);
}

.about-contact-item {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color var(--transition-interactive);
}
a.about-contact-item:hover {
  color: var(--color-primary);
}

.about-contact-item i {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

.about-card {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.about-card-inner {
  padding: var(--space-8);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.about-icon-wrap {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-primary-glow);
  border: 1px solid oklch(from var(--color-primary) l c h / 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-2);
}

.about-card-inner h3 {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-text);
}

.about-card-inner p {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  max-width: none;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  justify-content: center;
  margin-top: var(--space-2);
}

.about-tags span {
  padding: var(--space-1) var(--space-3);
  background: var(--color-surface-2);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
  .about-card {
    max-width: 320px;
    margin: 0 auto;
  }
}

/* ========================================
   CONTACT FORM & OPTIONS
   ======================================== */

.contact-options {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--space-10);
}

.contact-form-wrap {
  max-width: 640px;
  margin: 0 auto;
  text-align: left;
}

.contact-form-label {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
  position: relative;
  max-width: none;
}

.contact-form-label::before,
.contact-form-label::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 25%;
  height: 1px;
  background: var(--color-divider);
}
.contact-form-label::before { left: 0; }
.contact-form-label::after { right: 0; }

.contact-form {
  background: var(--color-surface);
  border: 1px solid oklch(from var(--color-text) l c h / 0.06);
  border-radius: var(--radius-xl);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

@media (max-width: 580px) {
  .form-row { grid-template-columns: 1fr; }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.form-group label {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  padding: var(--space-3) var(--space-4);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-text);
  width: 100%;
  resize: vertical;
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-glow);
}

.form-submit {
  align-self: flex-start;
  border: none;
  font-family: var(--font-body);
}

.form-success {
  display: none;
  padding: var(--space-3) var(--space-4);
  background: oklch(0.4 0.15 145 / 0.15);
  border: 1px solid oklch(0.6 0.15 145 / 0.3);
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  color: var(--color-success);
}

/* ========================================
   FOOTER PHONE
   ======================================== */

.footer-phone {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--color-primary);
  text-decoration: none;
  margin-top: var(--space-3);
  transition: color var(--transition-interactive);
}
.footer-phone:hover {
  color: var(--color-primary-hover);
}

/* ========================================
   WHATSAPP FLOAT
   ======================================== */

.whatsapp-float {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-5);
  background: #25d366;
  color: #fff;
  font-size: var(--text-sm);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 20px oklch(0.5 0.2 145 / 0.35);
  transition: transform var(--transition-interactive), box-shadow var(--transition-interactive), background var(--transition-interactive);
}

.whatsapp-float:hover {
  background: #1ebe5d;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 28px oklch(0.5 0.2 145 / 0.45);
}

@media (max-width: 480px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: var(--space-4); border-radius: 50%; }
}

/* ========================================
   ABOUT PHOTO
   ======================================== */

.about-photo-wrap {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid oklch(from var(--color-primary) l c h / 0.4);
  box-shadow: 0 0 24px var(--color-primary-glow);
  flex-shrink: 0;
  margin-bottom: var(--space-2);
}

.about-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}
