/* ===== CoupleFit Official Brand Styles ===== */

/* Brand Palette */
:root {
  /* Brand Colors */
  --brand-primary: #E9DCC4;
  --brand-secondary: #2A2A2A;
  --brand-accent: #C8AA6E;
  --neutral-light: #F6F0E9;
  --neutral-dark: #1C1B1A;
  
  /* Hero Gradient */
  --hero-gradient: radial-gradient(circle at top, #2A2A2A 0%, #443C36 40%, #6D5C51 70%, #BBA186 100%);
  
  /* Card Glass */
  --card-glass: rgba(255, 255, 255, 0.06);
  --card-glass-border: rgba(200, 170, 110, 0.15);
  
  /* Text colors */
  --text-heading: #FFFFFF;
  --text-paragraph: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.65);
  
  /* Spacing scale */
  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 32px;
  --space-lg: 48px;
  --space-xl: 72px;
  --space-xxl: 96px;
  
  /* Typography */
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-heavy: 800;
  
  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-full: 999px;
  
  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-smooth: 200ms ease-out;
}

/* Base styles */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--text-paragraph);
  background: var(--hero-gradient);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  margin: 0;
}

h1 { font-size: clamp(42px, 6vw, 56px); font-weight: var(--font-weight-heavy); }
h2 { font-size: clamp(32px, 5vw, 42px); font-weight: var(--font-weight-bold); }
h3 { font-size: clamp(24px, 3vw, 28px); font-weight: var(--font-weight-bold); }

p {
  margin: 0;
  color: var(--text-paragraph);
  font-size: 17px;
  line-height: 1.7;
}

.prose {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-paragraph);
}

.muted {
  color: var(--text-muted);
  font-size: 17px;
}

/* Frosted Glass Style */
.glass {
  background: var(--card-glass);
  border: 1px solid var(--card-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  box-shadow: 
    0 8px 32px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.container-center-760 { max-width: 760px; }
.container-center-880 { max-width: 880px; }
.container-center-900 { max-width: 900px; }
.container-center-1100 { max-width: 1100px; }

/* Section spacing */
.section {
  padding: var(--space-xl) 0;
  position: relative;
}

.section--bleed {
  position: relative;
}

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

/* Skip link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 10000;
  padding: var(--space-sm);
  background: var(--brand-primary);
  color: var(--neutral-dark);
  text-decoration: none;
  border-radius: var(--radius-md);
  font-weight: var(--font-weight-semibold);
}

.skip-link:focus {
  top: var(--space-sm);
}

/* Buttons - Unified System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 17px;
  font-weight: var(--font-weight-semibold);
  line-height: 1;
  text-decoration: none;
  border-radius: var(--radius-full);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  -webkit-font-smoothing: antialiased;
}

/* Primary Button */
.btn.primary {
  background: var(--brand-primary);
  color: var(--neutral-dark);
  border-color: var(--brand-primary);
}

.btn.primary:hover {
  background: #F0E4D0;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(233, 220, 196, 0.3);
}

/* Secondary Button */
.btn.secondary {
  background: transparent;
  color: var(--text-heading);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

/* Ghost Button */
.btn.ghost {
  background: transparent;
  color: var(--text-heading);
  border: none;
  padding: 12px 24px;
}

.btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn.w-100 {
  width: 100%;
}

/* Header */
header.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: 100px;
  display: flex;
  align-items: center;
  background: rgba(42, 42, 42, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-md);
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  color: var(--text-heading);
  text-decoration: none;
}

.brand svg {
  display: block;
  height: 102px; /* 64px * 1.6 = 102.4px */
  width: auto;
}

header.nav nav {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

header.nav a.btn {
  font-size: 16px;
  padding: 12px 24px;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: var(--space-xxl) 0;
  overflow: hidden;
  background: var(--hero-gradient);
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
  position: relative;
  z-index: 1;
}

.hero-text {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.hero-headline {
  font-size: clamp(48px, 7vw, 64px);
  font-weight: var(--font-weight-heavy);
  line-height: 1.1;
  margin-bottom: var(--space-md);
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.hero-subhead {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.6;
  color: var(--text-paragraph);
  margin-bottom: var(--space-lg);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
  justify-content: center;
}

.hero-cta .btn {
  height: 52px;
  min-width: 200px;
}

.btn-hero-primary {
  font-size: 18px;
  padding: 16px 32px;
}

.btn-hero-secondary {
  font-size: 18px;
  padding: 16px 32px;
}

.trust-indicators {
  margin-top: var(--space-md);
}

.trust-line {
  font-size: 16px;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* Rotating Dumbbells Animation */
.hero-mockups {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.dumbbell-animation {
  width: 200px;
  height: 200px;
  position: relative;
  animation: rotate 8s linear infinite;
}

.dumbbell-animation svg {
  width: 100%;
  height: 100%;
}

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

/* Value Grid */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.value-card {
  display: flex;
  gap: var(--space-sm);
  align-items: flex-start;
  padding: var(--space-md);
  transition: all var(--transition-fast);
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.icon-bubble {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.value-icon {
  width: 24px;
  height: 24px;
  stroke: var(--neutral-dark);
}

.value-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: var(--font-weight-bold);
  color: var(--text-heading);
}

.value-card p {
  margin: 0;
  color: var(--text-paragraph);
  font-size: 17px;
  line-height: 1.6;
}

/* Feature Rows */
.feature-row {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: var(--space-xl);
  padding: var(--space-xl) 0;
}

.feature-row.reverse {
  grid-template-columns: 0.95fr 1.05fr;
}

.feature-row.reverse .feature-copy {
  order: 2;
}

.feature-row.reverse .feature-visual {
  order: 1;
}

.feature-copy {
  padding: var(--space-lg) 0;
}

.section-title-md {
  font-size: clamp(32px, 5vw, 42px);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--text-heading);
  margin-bottom: var(--space-md);
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-paragraph);
  max-width: 520px;
}

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-wrapper {
  padding: var(--space-md);
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-device {
  width: min(300px, 90%);
  box-shadow: 
    0 40px 80px rgba(0, 0, 0, 0.3),
    0 15px 30px rgba(0, 0, 0, 0.2);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.tcard {
  text-align: left;
  padding: var(--space-md);
  transition: all var(--transition-fast);
}

.tcard:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.tphoto-placeholder {
  width: 56px;
  height: 56px;
  margin-bottom: var(--space-sm);
  border-radius: 50%;
  overflow: hidden;
  background: var(--brand-primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-text {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-paragraph);
  margin-bottom: var(--space-sm);
  font-style: italic;
}

.testimonial-author {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* Mobile carousel */
.tcarousel {
  display: none;
  position: relative;
  margin-top: var(--space-md);
}

.tcarousel .ttrack {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 0.84, 0.44, 1);
  will-change: transform;
}

.tcarousel .tslide {
  min-width: 100%;
  padding: 4px;
}

.tcarousel .tprev,
.tcarousel .tnext {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--card-glass);
  border: 1px solid var(--card-glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  font-weight: var(--font-weight-bold);
  font-size: 24px;
  color: var(--text-heading);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.tcarousel .tprev:hover,
.tcarousel .tnext:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--brand-accent);
}

.tcarousel .tprev {
  left: var(--space-sm);
}

.tcarousel .tnext {
  right: var(--space-sm);
}

/* Pricing */
.section-title-lg {
  font-size: clamp(36px, 6vw, 48px);
  font-weight: var(--font-weight-bold);
  line-height: 1.2;
  color: var(--text-heading);
  text-align: center;
  letter-spacing: -0.01em;
}

.micro-proof {
  text-align: center;
  font-size: 16px;
  font-weight: var(--font-weight-medium);
  color: var(--text-muted);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-lg);
  align-items: stretch;
}

.plan {
  position: relative;
  padding: var(--space-lg);
  display: flex;
  flex-direction: column;
  min-height: 580px;
  transition: all var(--transition-fast);
  border: 1px solid var(--card-glass-border);
}

.plan:hover {
  transform: translateY(-4px);
  box-shadow: 
    0 12px 40px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.plan.popular {
  position: relative;
}

.plan.popular::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: var(--radius-xl);
  padding: 3px;
  background: linear-gradient(135deg, var(--brand-accent), rgba(200, 170, 110, 0.5));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
  opacity: 0.6;
}

.plan.elite {
  border-color: var(--card-glass-border);
}

.ribbon {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand-accent);
  color: var(--neutral-dark);
  padding: 6px 20px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: var(--font-weight-bold);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.plan-title {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.plan-title-pop {
  color: var(--text-heading);
}

.plan-price {
  font-size: 48px;
  font-weight: var(--font-weight-heavy);
  line-height: 1;
  color: var(--text-heading);
  margin-bottom: 4px;
}

.plan-price-free {
  color: var(--text-muted);
}

.plan-price-premium {
  color: var(--text-heading);
}

.plan-price-elite {
  color: var(--brand-primary);
}

.plan-price-note {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: var(--space-sm);
}

.pricing-note {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

.plan-list,
.plan-list-strong {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
}

.plan-list li,
.plan-list-strong li {
  padding: 10px 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text-paragraph);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-list li:last-child,
.plan-list-strong li:last-child {
  border-bottom: none;
}

.plan-list-strong li {
  color: var(--text-paragraph);
  font-weight: var(--font-weight-medium);
}

.mini-reassure {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.pricing-trust-badges {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
  margin-top: var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.trust-badge-item {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: var(--font-weight-medium);
}

/* Compare Plans */
.compare-container {
  padding: var(--space-md);
}

details {
  margin-bottom: var(--space-sm);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: var(--space-sm) 0;
  transition: all var(--transition-smooth);
}

details:last-child {
  border-bottom: none;
}

details summary {
  font-weight: var(--font-weight-semibold);
  color: var(--text-heading);
  cursor: pointer;
  padding: var(--space-sm) 0;
  list-style: none;
  font-size: 18px;
  transition: all var(--transition-smooth);
}

details summary::-webkit-details-marker {
  display: none;
}

details summary::after {
  content: '+';
  float: right;
  font-size: 24px;
  color: var(--brand-accent);
  font-weight: var(--font-weight-bold);
  transition: transform var(--transition-smooth);
}

details[open] summary::after {
  content: '−';
  transform: rotate(180deg);
}

.details-content {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-paragraph);
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
  text-align: center;
  padding: 0;
}

details[open] .details-content {
  max-height: 500px;
  padding: var(--space-sm) 0;
}

.details-content div {
  padding: 6px 0;
}

/* FAQ */
.faq-section {
  text-align: center;
}

.faq-section h2 {
  font-size: clamp(32px, 5vw, 42px);
  margin-bottom: var(--space-sm);
  color: var(--text-heading);
}

.faq-intro {
  font-size: 18px;
  color: var(--text-paragraph);
  margin-bottom: var(--space-lg);
}

.faq-container {
  padding: var(--space-md);
  max-width: 800px;
  margin: 0 auto;
}

.faq-container details {
  margin-bottom: var(--space-sm);
  text-align: left;
}

.faq-container details summary {
  font-size: 18px;
}

.faq-container details div {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-smooth), padding var(--transition-smooth);
}

.faq-container details[open] div {
  max-height: 500px;
  padding-top: var(--space-sm);
  padding-bottom: var(--space-sm);
}

.faq-container a {
  color: var(--brand-accent);
  text-decoration: none;
}

.faq-container a:hover {
  text-decoration: underline;
}

.faq-android-note {
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: var(--card-glass);
  border: 1px solid var(--card-glass-border);
  border-radius: var(--radius-xl);
  font-size: 16px;
  color: var(--text-paragraph);
}

/* CTA Section */
.cta-section {
  position: relative;
  padding: var(--space-xxl) 0;
  background: var(--hero-gradient);
  overflow: hidden;
}

.section-title-xl {
  font-size: clamp(42px, 7vw, 56px);
  font-weight: var(--font-weight-heavy);
  line-height: 1.2;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.cta-actions {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-bottom: var(--space-lg);
}

.cta-reassure {
  font-size: 15px;
  color: var(--text-muted);
  text-align: center;
}

/* Store badges */
.store-badges {
  display: flex;
  gap: var(--space-sm);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: var(--space-md);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  min-height: 48px;
  border-radius: var(--radius-lg);
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  transition: all var(--transition-fast);
}

.store-badge.apple {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}

.store-badge.apple:hover {
  background: #1a1a1a;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.store-badge.android {
  background: #9E9E9E;
  color: #fff;
  border: 1px solid #9E9E9E;
  opacity: 0.7;
  cursor: not-allowed;
  position: relative;
}

.store-badge.android::after {
  content: 'Coming soon';
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  white-space: nowrap;
}

.store-badge .logo {
  width: 24px;
  height: 24px;
  display: inline-block;
  flex: 0 0 24px;
}

.store-badge .text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-badge .text small {
  font-size: 11px;
  letter-spacing: 0.2px;
  color: rgba(255, 255, 255, 0.8);
  opacity: 0.9;
}

.store-badge .text strong {
  font-size: 16px;
  letter-spacing: 0.2px;
  font-weight: var(--font-weight-bold);
  color: #fff;
}

/* Footer */
.footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(42, 42, 42, 0.8) 0%, rgba(68, 60, 54, 0.8) 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-lg);
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-heading {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  color: var(--text-heading);
  margin-bottom: var(--space-sm);
}

.footer-description {
  font-size: 16px;
  color: var(--text-paragraph);
  line-height: 1.6;
  max-width: 300px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 16px;
  color: var(--text-paragraph);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

.foot-bottom {
  text-align: center;
  font-size: 15px;
  color: var(--text-muted);
  padding-top: var(--space-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Reveal animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.slide-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 0.84, 0.44, 1);
}

.slide-in.revealed {
  opacity: 1;
  transform: none;
}

.hero-cta-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.hero-cta-animate.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Utility classes */
.mb-8 { margin-bottom: var(--space-xs); }
.mb-10 { margin-bottom: 10px; }
.mb-12 { margin-bottom: 12px; }
.mb-18 { margin-bottom: 18px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-26 { margin-bottom: 26px; }
.mb-28 { margin-bottom: 28px; }
.mb-36 { margin-bottom: 36px; }
.mb-40 { margin-bottom: 40px; }
.mb-50 { margin-bottom: 50px; }
.mb-70 { margin-bottom: 70px; }
.mt-6 { margin-top: 6px; }
.mt-8 { margin-top: var(--space-xs); }
.mt-10 { margin-top: 10px; }
.mt-24 { margin-top: 24px; }

/* Device frames */
.device.phone {
  width: min(280px, 85%);
  aspect-ratio: 9/19.5;
  border-radius: 40px;
  padding: 12px;
  background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  box-shadow: 
    0 50px 100px rgba(0, 0, 0, 0.4),
    0 20px 40px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  position: relative;
}

.device.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.device.phone img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

.device.phone.tilt-left {
  transform: rotate(-8deg) translateY(20px);
  z-index: 1;
}

.device.phone.center {
  transform: translateY(0);
  z-index: 2;
}

.device.phone.tilt-right {
  transform: rotate(8deg) translateY(20px);
  z-index: 1;
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .hero-text {
    text-align: center;
  }
  
  .value-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-row,
  .feature-row.reverse {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }
  
  .feature-row.reverse .feature-copy,
  .feature-row.reverse .feature-visual {
    order: initial;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  header.nav {
    height: 80px;
  }
  
  .brand svg {
    height: 80px;
  }
  
  header.nav a.btn {
    font-size: 14px;
    padding: 10px 18px;
  }
  
  .section {
    padding: var(--space-lg) 0;
  }
  
  .hero {
    min-height: auto;
    padding: var(--space-lg) 0;
  }
  
  .hero-headline {
    font-size: 36px;
  }
  
  .hero-subhead {
    font-size: 18px;
  }
  
  .hero-cta {
    flex-direction: column;
  }
  
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
  }
  
  .testimonials-grid {
    display: none;
  }
  
  .tcarousel {
    display: block;
  }
  
  .cta-actions {
    flex-direction: column;
  }
  
  .cta-actions .btn {
    width: 100%;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-sm);
  }
  
  .hero-headline {
    font-size: 32px;
  }
  
  .section-title-md {
    font-size: 28px;
  }
  
  .plan {
    padding: var(--space-md);
    min-height: auto;
  }
  
  .plan-price {
    font-size: 40px;
  }
  
  .pricing-trust-badges {
    flex-direction: column;
    gap: var(--space-sm);
  }
}
