:root {
  /* Design System - ArchitectUX Foundation */
  --primary: #1A6FBF; /* Timonel Ocean */
  --primary-dark: #0F4A8A;
  --accent: #F59E0B; /* Warm Sun */
  --foam: #E0F2FE;
  
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC; 
  --bg-dark: #0F172A; 
  
  --text-main: #0F172A; 
  --text-muted: #334155; /* Increased contrast from #475569 */
  --text-white: #FFFFFF;
  
  --border: #E2E8F0; 
  
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --s-1: 0.25rem; 
  --s-2: 0.5rem;  
  --s-4: 1rem;    
  --s-6: 1.5rem;  
  --s-8: 2rem;    
  --s-12: 3rem;   
  --s-16: 4rem;   
  --s-24: 6rem;   
  
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 25px -5px rgba(0,0,0,0.05);
  --shadow-lg: 0 20px 50px -10px rgba(0,0,0,0.1);
}

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

body {
  font-family: var(--font-body);
  color: var(--text-main);
  background: var(--bg-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--s-6);
}

section {
  padding: var(--s-24) 0;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), #3B9EE8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-2);
  padding: 16px 32px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 200ms var(--ease-out);
  text-decoration: none;
  border: none;
}

.btn:active { transform: scale(0.96); }

.btn-primary {
  background: var(--primary);
  color: white;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, box-shadow 160ms ease;
  box-shadow: 0 8px 20px rgba(26, 111, 191, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(26, 111, 191, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 1.5px solid var(--border);
  transition: transform 160ms var(--ease-out), background-color 160ms ease, border-color 160ms ease;
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--primary);
}

/* Navigation */
nav {
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  z-index: 100;
  border-bottom: 1px solid rgba(0,0,0,0.05);
}

.nav-links {
  display: flex;
  gap: var(--s-8);
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 14px;
}

/* Hero Section */
.hero {
  padding-top: var(--s-12);
  background: radial-gradient(circle at top right, rgba(26, 111, 191, 0.05) 0%, transparent 60%);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: var(--s-16);
  align-items: center;
}

.hero-tag {
  background: var(--foam);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 800;
  margin-bottom: var(--s-6);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.5vw, 4rem);
  font-weight: 900;
  margin-bottom: var(--s-6);
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: var(--s-12);
}

.hero-actions {
  display: flex;
  gap: var(--s-4);
}

.image-stack {
  position: relative;
  padding: 20px;
}

.main-image img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: block;
}

.floating-card {
  position: absolute;
  bottom: 40px;
  left: -20px;
  background: white;
  padding: 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.floating-icon {
  width: 40px;
  height: 40px;
  background: #D1FAE5;
  color: #10B981;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.card-title { font-weight: 800; font-size: 14px; }
.card-sub { font-size: 11px; color: var(--text-muted); }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-8);
  margin-top: var(--s-16);
}

.feature-card {
  background: var(--bg-secondary);
  padding: var(--s-12);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}

.feature-card:hover {
  background: white;
  box-shadow: var(--shadow-md);
  transform: translateY(-8px);
}

.feature-icon {
  width: 56px; height: 56px;
  background: white;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; color: var(--primary);
  margin-bottom: var(--s-6);
  box-shadow: var(--shadow-sm);
}

/* Comparison Layout */
.comparison-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-16);
  align-items: center;
}

.comp-row {
  display: flex; gap: 16px; align-items: center;
  padding: 16px; border-radius: 16px;
}

.comp-row.before { background: #FFF1F2; margin-bottom: 12px; color: #9F1239; font-weight: 500; }
.comp-row.after { background: #F0FDF4; border: 1.5px solid #BBF7D0; color: #166534; font-weight: 600; }

.comp-icon {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 900;
}

.before .comp-icon { background: #FECACA; color: #E11D48; }
.after .comp-icon { background: #BBF7D0; color: #16A34A; }

.image-wrapper { position: relative; }
.image-wrapper img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); }

.testimonial-card {
  position: absolute; bottom: -30px; right: -30px;
  background: white; padding: 24px; border-radius: 20px;
  box-shadow: var(--shadow-lg); max-width: 280px;
}

.testimonial-card p { font-weight: 800; font-size: 15px; color: var(--primary); line-height: 1.3; }
.author { display: block; font-size: 12px; color: var(--text-muted); margin-top: 8px; }

/* Pricing */
.pricing-card-wrap { display: flex; justify-content: center; }

.pricing-card {
  background: var(--bg-dark); color: white;
  padding: var(--s-12); border-radius: var(--radius-lg);
  max-width: 440px; width: 100%; text-align: center;
  position: relative; border: 2px solid var(--primary);
}

.pricing-badge {
  position: absolute; top: 20px; right: -30px;
  background: var(--primary); padding: 4px 40px;
  transform: rotate(45deg); font-size: 10px; font-weight: 900;
}

.price { font-size: 4rem; font-weight: 900; margin: var(--s-4) 0; letter-spacing: -0.04em; }
.price span { font-size: 1.2rem; opacity: 0.8; }

.price-features { list-style: none; text-align: left; margin-bottom: var(--s-12); }
.price-features li { margin-bottom: 12px; display: flex; gap: 10px; align-items: center; }
.price-features i { color: #60A5FA; font-size: 20px; } /* Brighter blue for contrast on dark background */

.mockup-wrap {
  perspective: 2000px;
  margin-top: var(--s-12);
}

.mockup-wrap img {
  transform: rotateX(10deg);
  transition: transform 0.8s var(--ease-out);
}

.mockup-wrap img:hover {
  transform: rotateX(5deg) scale(1.02);
}

/* Footer */
footer { padding: var(--s-16) 0; border-top: 1px solid var(--border); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 14px; }

@media (max-width: 1024px) {
  .hero-layout, .comparison-layout { grid-template-columns: 1fr; text-align: center; }
  .hero-actions { justify-content: center; }
  .features-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .testimonial-card { position: static; margin-top: 20px; max-width: 100%; }
}

.reveal { opacity: 0; transform: translateY(30px); }

/* Video Section */
.video-section {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.video-container {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.video-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  background: black;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 250ms var(--ease-out), filter 250ms var(--ease-out);
  cursor: pointer;
  z-index: 2;
}

.video-wrapper.playing .video-overlay {
  opacity: 0;
  filter: blur(4px);
  pointer-events: none;
}

.play-btn {
  width: 80px;
  height: 80px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--primary);
  border: none;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  animation: pulse-white 2s infinite;
  transition: transform 0.3s var(--ease-spring);
}

@media (hover: hover) {
  .play-btn:hover {
    transform: scale(1.08);
  }
}

@keyframes pulse-white {
  0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4); }
  70% { box-shadow: 0 0 0 20px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.video-info {
  margin-top: var(--s-8);
}

.video-info h3 {
  font-size: 1.8rem;
  margin-bottom: var(--s-2);
}

.video-info p {
  color: var(--text-muted);
}

