/* ============================================
   DentalDash Landing Page — Design System
   Basado en DESIGN_SYSTEM.md (tema claro)
   ============================================ */

/* --- Design Tokens --- */
:root {
  /* Colors — Primary (teal) */
  --color-primary:       #0d9488;  /* teal-600 */
  --color-primary-dark:  #0f766e;  /* teal-700 */
  --color-primary-light: #f0fdfa;  /* teal-50  */
  --color-primary-100:   #ccfbf1;  /* teal-100 */
  --color-primary-200:   #99f6e4;  /* teal-200 */
  --color-primary-400:   #2dd4bf;  /* teal-400 */

  /* Colors — Accent */
  --color-blue:    #2563eb;
  --color-purple:  #7c3aed;
  --color-amber:   #d97706;
  --color-green:   #16a34a;

  /* Colors — Text */
  --text-main:    #111827;  /* gray-900 */
  --text-body:    #374151;  /* gray-700 */
  --text-muted:   #6b7280;  /* gray-500 */
  --text-subtle:  #9ca3af;  /* gray-400 */

  /* Colors — Backgrounds */
  --bg-page:      #ffffff;  /* white */
  --bg-section:   #f9fafb;  /* gray-50 */
  --bg-app:       #f3f4f6;  /* gray-100 */
  --bg-footer:    #111827;  /* gray-900 */

  /* Colors — Borders */
  --border:       #e5e7eb;  /* gray-200 */
  --border-light: #f3f4f6;  /* gray-100 */

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.04);
  --shadow-lg:  0 10px 30px rgba(0,0,0,0.10), 0 4px 12px rgba(0,0,0,0.05);
  --shadow-teal: 0 4px 16px rgba(13,148,136,0.25);

  /* Border Radius */
  --radius-sm:   8px;   /* rounded-lg  */
  --radius-md:   12px;  /* rounded-xl  */
  --radius-lg:   16px;  /* rounded-2xl */
  --radius-full: 9999px;

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing */
  --space-xs:  0.25rem;
  --space-sm:  0.5rem;
  --space-md:  1rem;
  --space-lg:  1.5rem;
  --space-xl:  2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;
  --space-5xl: 8rem;

  /* Layout */
  --max-width:  1200px;
  --nav-height: 72px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-base: 0.2s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-body);
  background-color: var(--bg-page);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color var(--transition-fast); }
ul, ol { list-style: none; }

/* --- Layout --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

/* --- Typography Utilities --- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  background: var(--color-primary-100);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-main);
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  line-height: 1.7;
}

/* accent text = teal-600 sólido (reemplaza gradient-text del tema oscuro) */
.gradient-text {
  color: var(--color-primary);
}

/* --- Card base (reemplaza glass-card) --- */
.glass-card {
  background: var(--bg-page);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base), border-color var(--transition-base);
}

.glass-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  border-color: var(--border);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-teal);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(13,148,136,0.35);
  transform: translateY(-1px);
}

.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: var(--bg-page);
  color: var(--text-body);
  border: 1px solid var(--border);
}

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

.btn-lg {
  padding: 0.9rem 2.25rem;
  font-size: 1rem;
}

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Logo — izquierda */
.nav-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-img {
  height: 22px;
  width: auto;
  display: block;
}

/* Links — centro */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-links li {
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  transition: color var(--transition-fast), background var(--transition-fast);
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--color-primary);
  background: var(--color-primary-light);
}

/* CTA — derecha */
.nav-cta {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* Navbar CTA button — compacto */
.nav-btn {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
  border-radius: var(--radius-sm);
}

/* Mobile hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: var(--bg-section);
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text-body);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  display: block;
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  padding-bottom: var(--space-4xl);
  overflow: hidden;
  background: linear-gradient(160deg, var(--color-primary-light) 0%, #ffffff 40%, #ffffff 100%);
}

/* Dot pattern decoration */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, var(--color-primary-200) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.4;
  pointer-events: none;
}

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

.hero-content {
  max-width: 540px;
}


.hero-title {
  font-size: clamp(2.4rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text-main);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 0.5s ease 0.1s both;
}

.hero-description {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2xl);
  animation: fadeInUp 0.5s ease 0.2s both;
}

.hero-buttons {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
  animation: fadeInUp 0.5s ease 0.3s both;
}

.hero-stats {
  display: flex;
  gap: var(--space-2xl);
  margin-top: var(--space-3xl);
  padding-top: var(--space-xl);
  border-top: 1px solid var(--border);
  animation: fadeInUp 0.5s ease 0.4s both;
}

.hero-stat h3 {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.hero-stat p {
  font-size: 0.8rem;
  color: var(--text-subtle);
  margin-top: 2px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.7s ease 0.2s both;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.hero-image-wrapper img {
  width: 100%;
  border-radius: var(--radius-lg);
}

.hero-float-card {
  position: absolute;
  padding: 0.7rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  font-size: 0.78rem;
  animation: floatCard 4s ease-in-out infinite;
  z-index: 2;
}

.hero-float-card.card-1 {
  top: 10%;
  right: -18px;
  animation-delay: 0s;
}

.hero-float-card.card-2 {
  bottom: 15%;
  left: -18px;
  animation-delay: -2s;
}

.hero-float-card .card-icon { font-size: 1.1rem; margin-bottom: 3px; }

.hero-float-card .card-label {
  color: var(--text-subtle);
  font-size: 0.68rem;
}

.hero-float-card .card-value {
  font-weight: 600;
  color: var(--text-main);
}

/* --- Features Section --- */
.features {
  background: var(--bg-section);
}

.features-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.features-header .section-subtitle {
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.feature-card {
  padding: var(--space-2xl);
  position: relative;
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-lg);
  transition: transform var(--transition-base);
}

/* Feature icon color variants */
.feature-card:nth-child(1) .feature-icon { background: var(--color-primary-light); border: 1px solid var(--color-primary-200); }
.feature-card:nth-child(2) .feature-icon { background: #eff6ff; border: 1px solid #bfdbfe; }
.feature-card:nth-child(3) .feature-icon { background: #faf5ff; border: 1px solid #e9d5ff; }
.feature-card:nth-child(4) .feature-icon { background: #f0fdf4; border: 1px solid #bbf7d0; }
.feature-card:nth-child(5) .feature-icon { background: #fff7ed; border: 1px solid #fed7aa; }
.feature-card:nth-child(6) .feature-icon { background: #fff1f2; border: 1px solid #fecdd3; }

.feature-card:hover .feature-icon {
  transform: scale(1.08);
}

.feature-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* --- AI Section --- */
.ai-section {
  background: var(--bg-page);
}

.ai-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.ai-content {
  max-width: 500px;
}

.ai-features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-2xl);
}

.ai-feature-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.ai-feature-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.ai-feature-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.ai-feature-text p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ai-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.chat-mockup {
  width: 100%;
  max-width: 380px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.chat-mockup img {
  width: 100%;
  border-radius: var(--radius-lg);
}

/* --- Dashboard Section --- */
.dashboard-section {
  background: var(--bg-section);
}

.dashboard-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.dashboard-header .section-subtitle {
  margin: 0 auto;
}

.dashboard-preview {
  max-width: 960px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-light);
}

.dashboard-preview img {
  width: 100%;
  display: block;
}

/* Remove fade overlay from dark theme */
.dashboard-preview::after { display: none; }

.dashboard-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.dashboard-feature {
  text-align: center;
  padding: var(--space-xl);
}

.dashboard-feature-number {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--color-primary);
  letter-spacing: -0.02em;
}

.dashboard-feature-label {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --- Testimonials Section --- */
.testimonials-section {
  background: var(--bg-page);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.testimonial-card {
  padding: var(--space-xl);
  display: flex;
  flex-direction: column;
}

.testimonial-screenshot-area {
  width: 100%;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.testimonial-screenshot-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-md);
  display: block;
}

.screenshot-placeholder-box {
  width: 100%;
  height: 150px;
  border: 2px dashed var(--border);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  color: var(--text-subtle);
  font-size: 0.8rem;
  background: var(--bg-section);
}

.screenshot-placeholder-icon {
  font-size: 1.6rem;
  opacity: 0.5;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
  margin-bottom: var(--space-md);
}

.testimonial-content {
  flex: 1;
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-xl);
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: -16px;
  left: -6px;
  font-size: 3.5rem;
  color: var(--color-primary-100);
  font-style: normal;
  line-height: 1;
}

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

.author-photo-wrap {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
}

.author-real-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-initials-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.5px;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
}

.author-info p {
  font-size: 0.8rem;
  color: var(--color-primary);
}

/* --- Pricing Section --- */
.pricing-section {
  background: linear-gradient(160deg, var(--color-primary-light) 0%, #ffffff 40%);
}

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

.pricing-card {
  padding: var(--space-3xl) var(--space-2xl);
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card.popular {
  transform: scale(1.04);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px var(--color-primary), var(--shadow-lg);
  background: #fff;
  z-index: 1;
}

.popular-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-primary);
  color: #fff;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
  padding-bottom: var(--space-xl);
  border-bottom: 1px solid var(--border-light);
}

.pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: var(--space-md);
}

.pricing-header .price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-main);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pricing-header .currency {
  font-size: 1.3rem;
  margin-top: 5px;
  color: var(--text-muted);
}

.pricing-header .period {
  font-size: 0.9rem;
  align-self: flex-end;
  margin-bottom: 8px;
  color: var(--text-subtle);
}

.pricing-header p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: var(--space-sm);
}

.price-free {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
}

.price-yearly {
  font-size: 0.78rem;
  color: var(--text-subtle);
  margin-top: var(--space-xs);
}

.price-save {
  display: inline-block;
  background: var(--color-primary-100);
  color: var(--color-primary);
  padding: 1px 7px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  font-weight: 600;
  margin-left: 4px;
}

.pricing-features {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-bottom: var(--space-2xl);
}

.pricing-features li {
  font-size: 0.9rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-features li::before {
  content: '✓';
  color: var(--color-primary);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-btn { width: 100%; }

.pricing-error {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--text-subtle);
  padding: var(--space-2xl);
}

/* Pricing skeleton */
.pricing-skeleton {
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.skeleton-line {
  height: 13px;
  background: linear-gradient(90deg, var(--border-light) 25%, var(--border) 50%, var(--border-light) 75%);
  background-size: 200% 100%;
  border-radius: var(--radius-sm);
  animation: skeleton-shimmer 1.4s ease infinite;
}

.skeleton-title { height: 18px; width: 50%; }
.skeleton-price { height: 36px; width: 65%; margin-bottom: var(--space-sm); }

@keyframes skeleton-shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* --- Contact Section --- */
.contact-section {
  background: var(--bg-section);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4xl);
  align-items: center;
}

.contact-methods {
  margin-top: var(--space-2xl);
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.contact-method {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.method-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--color-primary-light);
  border: 1px solid var(--color-primary-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-method h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1px;
}

.contact-method p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.contact-form-container {
  padding: var(--space-3xl);
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 1rem;
  background: var(--bg-page);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  transition: all var(--transition-fast);
}

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

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

.w-full { width: 100%; }

.form-status {
  margin-top: 8px;
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
}

.form-status.success {
  color: var(--color-green);
  background: #f0fdf4;
}

.form-status.error {
  color: #dc2626;
  background: #fef2f2;
}

/* --- CTA Section --- */
.cta-section {
  background: linear-gradient(160deg, var(--color-primary-light) 0%, #ffffff 50%);
  text-align: center;
}

.cta-card {
  max-width: 760px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-3xl);
}

/* Override glass-card hover on CTA — no lift */
.cta-card:hover {
  transform: none;
}

.cta-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: var(--space-lg);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cta-description {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: var(--space-2xl);
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: var(--space-md);
}

/* --- Footer --- */
.footer {
  padding: var(--space-3xl) 0 var(--space-xl);
  background: var(--bg-footer);
  color: #fff;
}

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

.footer-brand p {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: var(--space-md);
  line-height: 1.7;
  max-width: 280px;
}

.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-lg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-links a {
  font-size: 0.875rem;
  color: #9ca3af;
  transition: color var(--transition-fast), transform var(--transition-fast);
  display: inline-block;
}

.footer-links a:hover {
  color: var(--color-primary-400);
  transform: translateX(3px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: var(--space-xl);
  border-top: 1px solid #1f2937;
}

.footer-copyright {
  font-size: 0.8rem;
  color: #6b7280;
}

.footer-socials {
  display: flex;
  gap: var(--space-md);
}

.footer-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: all var(--transition-base);
}

.footer-socials a:hover {
  background: rgba(13,148,136,0.2);
  border-color: rgba(13,148,136,0.4);
  color: var(--color-primary-400);
  transform: translateY(-2px);
}

/* --- Scroll Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.08s; }
.animate-on-scroll.delay-2 { transition-delay: 0.16s; }
.animate-on-scroll.delay-3 { transition-delay: 0.24s; }
.animate-on-scroll.delay-4 { transition-delay: 0.32s; }
.animate-on-scroll.delay-5 { transition-delay: 0.40s; }
.animate-on-scroll.delay-6 { transition-delay: 0.48s; }

/* --- Keyframes --- */
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

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

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}

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

/* --- Responsive --- */

/* Tablet */
@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-3xl);
  }

  .hero-content { max-width: 100%; }
  .hero-buttons { justify-content: center; }
  .hero-stats   { justify-content: center; }

  .features-grid   { grid-template-columns: repeat(2, 1fr); }
  .ai-grid         { grid-template-columns: 1fr; text-align: center; }
  .ai-content      { max-width: 100%; }
  .ai-features-list { align-items: center; }
  .ai-feature-item { max-width: 400px; }
  .dashboard-features { grid-template-columns: repeat(2, 1fr); }

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

/* Mobile */
@media (max-width: 768px) {
  .container  { padding: 0 var(--space-lg); }
  .section    { padding: var(--space-3xl) 0; }

  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-xs);
    z-index: 999;
  }

  .nav-links.active { display: flex; }

  .nav-links a {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-body);
    padding: 0.7rem 2rem;
    border-radius: var(--radius-md);
  }

  .nav-links a:hover {
    color: var(--color-primary);
    background: var(--color-primary-light);
  }

  .mobile-toggle { display: flex; }
  .nav-cta .nav-btn { display: none; }

  .hero { min-height: auto; padding-bottom: var(--space-3xl); }
  .hero-float-card { display: none; }
  .hero-stats { flex-direction: column; gap: var(--space-lg); align-items: center; }

  .features-grid    { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .pricing-grid     { grid-template-columns: 1fr; gap: var(--space-xl); }
  .pricing-card.popular { transform: scale(1); }
  .contact-grid     { grid-template-columns: 1fr; }
  .contact-form-container { padding: var(--space-xl); }
  .dashboard-features { grid-template-columns: 1fr 1fr; }

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

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

  .cta-card    { padding: var(--space-3xl) var(--space-xl); }
  .cta-buttons { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
  .dashboard-features { grid-template-columns: 1fr; }
}
