/* Design System & Variables */
:root {
  /* Palette - Original Sky & Green */
  --color-primary: #0ea5e9;
  /* Sky 500 */
  --color-primary-hover: #0284c7;
  /* Sky 600 */
  --color-secondary: #22c55e;
  /* Green 500 */
  --color-accent: #8b5cf6;
  /* Violet 500 (Keep as accent) */

  /* Backgrounds */
  --color-bg: #f9fafb;
  /* Gray 50 */
  --color-surface: #ffffff;
  --color-surface-glass: rgba(255, 255, 255, 0.8);

  /* Text */
  --color-text-main: #111827;
  /* Gray 900 */
  --color-text-muted: #6b7280;
  /* Gray 500 */
  --color-text-light: #9ca3af;
  /* Gray 400 */

  /* Borders */
  --color-border: #e5e7eb;
  /* Gray 200 */
  --color-border-hover: #d1d5db;
  /* Gray 300 */

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 1.5rem;
  --spacing-lg: 2.5rem;
  --spacing-xl: 4rem;
  --spacing-2xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --radius-sm: 0.75rem;
  --radius-md: 1.25rem;
  --radius-lg: 2rem;
  --header-height: 80px;

  /* Shadows - Diffuse & Colored */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.05), 0 2px 4px -2px rgb(0 0 0 / 0.05);
  --shadow-lg: 0 20px 25px -5px rgb(0 0 0 / 0.05), 0 8px 10px -6px rgb(0 0 0 / 0.01);
  --shadow-glow: 0 0 40px rgba(79, 70, 229, 0.2);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--color-bg);
  color: var(--color-text-main);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(at 0% 0%, rgba(79, 70, 229, 0.03) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(20, 184, 166, 0.03) 0px, transparent 50%);
  background-attachment: fixed;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

button,
input {
  font-family: inherit;
}

/* Typography */
h1,
h2,
h3,
h4 {
  line-height: 1.1;
  font-weight: 800;
  color: var(--color-text-main);
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  /* Slightly reduced max size */
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ... (skipping p, text-center, text-gradient) ... */

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--color-primary);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  /* Reduced from md */
  box-shadow: var(--shadow-sm);
}

.hero-title {
  margin-bottom: var(--spacing-sm);
  /* Reduced from md */
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
  margin-bottom: var(--spacing-md);
  /* Reduced from lg */
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  /* Slightly reduced from 1.25rem */
  line-height: 1.6;
  color: var(--color-text-muted);
}

p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  font-weight: 400;
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  /* Fixes some gradient clipping issues */
}

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

.section {
  padding: var(--spacing-2xl) 0;
}

.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  height: var(--header-height);
  transition: all 0.3s ease;
}

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

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

.logo {
  font-weight: 800;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-main);
  letter-spacing: -0.02em;
}

.logo-img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: none;
  gap: 2rem;
  background: rgba(255, 255, 255, 0.5);
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.03);
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

.nav-link {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
  font-size: 1rem;
  letter-spacing: -0.01em;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  box-shadow: var(--shadow-glow), 0 4px 6px -1px rgba(79, 70, 229, 0.3);
  /* Inner shine effect */
  background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(79, 70, 229, 0.4), 0 10px 15px -3px rgba(79, 70, 229, 0.3);
}

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

.btn-secondary {
  background-color: white;
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--color-text-muted);
  background-color: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-success {
  background-color: var(--color-secondary);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: default;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}

.btn-success:hover {
  background-color: var(--color-secondary);
  transform: none;
  box-shadow: 0 0 20px rgba(20, 184, 166, 0.3);
}

/* Hero Section */
.hero-section {
  padding-top: calc(var(--spacing-lg) + var(--header-height));
  /* Reduced from 2xl */
  padding-bottom: var(--spacing-xl);
  /* Reduced from 2xl */
  text-align: center;
  overflow: hidden;
  position: relative;
}

/* Mesh Gradient Background */
.hero-bg-mesh {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  opacity: 0.6;
}

.mesh-blob {
  position: absolute;
  filter: blur(80px);
  opacity: 0.8;
  /* animation: floatBlob 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1); */
}

.blob-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
}

.blob-2 {
  bottom: -10%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
}

.blob-3 {
  top: 40%;
  left: 40%;
  width: 40vw;
  height: 40vw;
  background: radial-gradient(circle, var(--color-accent) 0%, transparent 70%);
  opacity: 0.4;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  color: var(--color-primary);
  border: 1px solid rgba(14, 165, 233, 0.2);
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--spacing-sm);
  /* Reduced from md */
  box-shadow: var(--shadow-sm);
}

.hero-title {
  margin-bottom: var(--spacing-sm);
  /* Reduced from md */
  text-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  /* Subtle depth */
}

.hero-subtitle {
  margin-bottom: var(--spacing-md);
  /* Reduced from lg */
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-size: 1.125rem;
  /* Slightly reduced from 1.25rem */
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Form */
.waitlist-form {
  display: flex;
  gap: var(--spacing-sm);
  max-width: 520px;
  margin: 0 auto var(--spacing-md);
  flex-wrap: wrap;
  background: white;
  padding: 0.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.input-group {
  flex: 1;
  min-width: 220px;
  position: relative;
}

.form-input {
  width: 100%;
  padding: 0.875rem 1.25rem;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  transition: all 0.2s;
  background: transparent;
  color: var(--color-text-main);
}

.form-input:focus {
  outline: none;
  background: var(--color-bg);
}

.form-input::placeholder {
  color: var(--color-text-light);
}

.form-msg {
  margin-top: var(--spacing-sm);
  font-size: 0.95rem;
  min-height: 1.5rem;
  font-weight: 500;
}

.form-msg.success {
  color: var(--color-secondary);
}

.form-msg.error {
  color: #ef4444;
}

.social-proof {
  display: flex;
  justify-content: center;
  gap: var(--spacing-md);
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin-top: var(--spacing-lg);
}

.proof-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

/* Features */

/* Features */

.features-grid {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  margin-top: var(--spacing-xl);
  gap: var(--spacing-lg);
}

.feature-card {
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  background: white;
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.03), rgba(20, 184, 166, 0.03));
  opacity: 0;
  transition: opacity 0.4s;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card);
  border-color: rgba(79, 70, 229, 0.1);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(79, 70, 229, 0.1), rgba(20, 184, 166, 0.1));
  color: var(--color-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin-bottom: var(--spacing-md);
  transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1) rotate(5deg);
}

/* Testimonials */

/* Testimonials */

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--spacing-lg);
  margin-top: var(--spacing-xl);
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .testimonial-card.featured {
    grid-column: span 3;
    font-size: 1.5rem;
    text-align: center;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    border: 1px solid rgba(79, 70, 229, 0.1);
  }

  .testimonial-card.featured .author {
    justify-content: center;
  }
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.5);
  transition: transform 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.quote {
  font-style: italic;
  margin-bottom: var(--spacing-md);
  color: var(--color-text-main);
  line-height: 1.6;
}

.author {
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Process */
.process-steps {
  max-width: 800px;
  margin: var(--spacing-xl) auto 0;
  position: relative;
  padding-bottom: var(--spacing-xl);
}

.process-steps::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-primary), var(--color-secondary), transparent);
}

.step-item {
  position: relative;
  padding-left: 80px;
  padding-bottom: var(--spacing-xl);
}

.step-item:last-child {
  padding-bottom: 0;
}

.step-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: white;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.25rem;
  z-index: 1;
  box-shadow: 0 0 0 8px var(--color-bg);
  /* Creates a gap effect */
}

/* FAQ */
.faq-container {
  max-width: 700px;
  margin: var(--spacing-xl) auto 0;
}

details {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-sm);
  overflow: hidden;
}

summary {
  padding: var(--spacing-md);
  cursor: pointer;
  font-weight: 600;
  list-style: none;
  position: relative;
}

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

summary::after {
  content: '+';
  position: absolute;
  right: var(--spacing-md);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1;
}

details[open] summary::after {
  content: '−';
}

details[open] summary {
  border-bottom: 1px solid var(--color-border);
}

details p {
  padding: var(--spacing-md);
  margin: 0;
}

/* Footer */
.site-footer {
  background: white;
  border-top: 1px solid var(--color-border);
  padding: var(--spacing-xl) 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  position: relative;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-md);
}

.footer-links a {
  color: var(--color-text-main);
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--color-primary);
}

/* Animations */
.fade-in-up {
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

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

/* Confetti */
.confetti-piece {
  position: fixed;
  width: 10px;
  height: 10px;
  background-color: #ffd300;
  top: -10px;
  z-index: 9999;
}

/* Share Card */
.share-card {
  background: white;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-top: var(--spacing-md);
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.4s ease-out;
}

/* Utilities */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

[hidden] {
  display: none !important;
}

/* Carousel Arrows (Hidden on Desktop) */
.carousel-nav {
  display: none;
}

/* Phone Mockup Container */
.hero-phones-container {
  position: relative;
  width: 100%;
  max-width: 800px;
  height: 600px;
  margin: var(--spacing-xl) auto 0;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

/* Base Phone Style */
.phone-mockup {
  width: 280px;
  height: 580px;
  background: #111;
  border-radius: 40px;
  border: 8px solid #333;
  position: absolute;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  transition: transform 0.5s ease;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Ensures image covers the screen area */
  object-position: top center;
  /* Anchors image to top to avoid cutting off header */
}

/* Positioning & Transforms */
.phone-center {
  z-index: 30;
  transform: translateY(0) scale(1);
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.25);
}

.phone-left {
  z-index: 20;
  transform: translateX(-220px) translateY(40px) rotate(-12deg) scale(0.9);
  opacity: 0.9;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.phone-right {
  z-index: 20;
  transform: translateX(220px) translateY(40px) rotate(12deg) scale(0.9);
  opacity: 0.9;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

/* Hover Effects (Optional) */
.hero-phones-container:hover .phone-left {
  transform: translateX(-240px) translateY(40px) rotate(-15deg) scale(0.9);
}

.hero-phones-container:hover .phone-right {
  transform: translateX(240px) translateY(40px) rotate(15deg) scale(0.9);
}

/* Mobile Responsiveness (Tablet) */
@media (max-width: 850px) {
  .hero-phones-container {
    height: auto;
    min-height: 600px;
  }

  .phone-left,
  .phone-right {
    display: none;
    /* Hide side phones on smaller screens to avoid clutter */
  }

  .phone-center {
    position: relative;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 640px) {
  .hero-section {
    padding-top: calc(var(--spacing-md) + var(--header-height));
    padding-bottom: var(--spacing-lg);
  }

  /* Mobile Header Adjustments */
  .logo {
    font-size: 1.1rem;
    gap: 0.5rem;
  }

  .logo-img {
    width: 32px;
    height: 32px;
  }

  .header-inner .btn {
    padding: 0.35rem 0.75rem;
    /* Further reduced padding */
    font-size: 0.875rem;
    min-height: 32px;
    /* Ensure consistent height */
  }

  h1 {
    font-size: 2.5rem;
    /* Ensure title isn't too huge on mobile */
  }

  .waitlist-form {
    flex-direction: column;
    padding: 1rem;
    /* Add padding to form container */
  }

  /* Only make form buttons full width, not header buttons */
  .waitlist-form .btn {
    width: 100%;
  }

  .step-item {
    padding-left: 60px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 1rem;
    left: 10px;
  }

  .process-steps::before {
    left: 30px;
  }

  /* Mobile Carousel */
  .hero-phones-container {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    height: auto;
    min-height: 480px;
    /* Space for phones + shadow */
    margin-top: var(--spacing-lg);
    padding-bottom: 2rem;
    gap: 1rem;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE/Edge */
    /* Simplified centering */
    justify-content: flex-start;
    padding-left: var(--spacing-lg);
    padding-right: var(--spacing-lg);
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }

  .hero-phones-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
  }

  .phone-mockup {
    position: relative;
    /* Reset from absolute */
    flex: 0 0 auto;
    width: 260px;
    /* Slightly wider to match design better */
    height: 520px;
    /* Proportional height */
    scroll-snap-align: center;
    transform: none !important;
    /* Reset all transforms */
    margin: 0;
    left: auto;
    right: auto;
    top: auto;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  }

  /* Reset specific phone positions */
  .phone-left,
  .phone-right,
  .phone-center {
    transform: none !important;
    opacity: 1;
    display: block !important;
    /* Override 850px hide */
  }

  /* Carousel Navigation Arrows */
  .carousel-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    color: var(--color-primary);
    font-size: 1.25rem;
    z-index: 50;
    cursor: pointer;
    transition: all 0.2s ease;
  }

  .carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
    background: rgba(255, 255, 255, 0.95);
  }

  .carousel-nav.prev {
    left: 10px;
  }

  .carousel-nav.next {
    right: 10px;
  }
}

/* Specific Mobile Carousel Adjustments */
@media (max-width: 640px) {

  /* Ensure container is relative for absolute arrows */
  .hero-content {
    position: relative;
  }

  /* Adjust phone size for smaller screens if needed */
  .phone-mockup {
    width: 260px;
    /* Keep width consistent */
    height: 540px;
    /* Increased from 480px to fit content */
  }

  .hero-phones-container {
    min-height: 560px;
    /* Increased to accommodate taller phones */
  }
}



/* Founder Note */
.founder-section {
  background: #f0fdf4;
  /* Light green tint */
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
}

.founder-content {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
}

.founder-avatar {
  width: 80px;
  height: 80px;
  background: #dcfce7;
  border-radius: 50%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  font-size: 2rem;
  border: 2px solid #86efac;
}

.founder-text h3 {
  margin-bottom: var(--spacing-sm);
  color: #166534;
}

.founder-text p {
  color: #14532d;
  font-size: 1rem;
  margin-bottom: var(--spacing-md);
}

.founder-sig {
  font-family: cursive;
  font-size: 1.25rem;
  color: #166534;
}

@media (max-width: 640px) {
  .founder-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

/* Back to Top Button */
.btn-back-to-top {
  position: fixed;
  bottom: var(--spacing-lg);
  right: var(--spacing-lg);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  border: none;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  z-index: 90;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  pointer-events: none;
  /* Prevent clicking when hidden */
}

.btn-back-to-top.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.btn-back-to-top:hover {
  background: var(--color-primary-hover);
  transform: translateY(-4px);
}

/* Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  display: inline-block;
}

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

/* Button Loading State */
.btn-primary {
  /* Ensure relative positioning if needed, though flex handles content */
  gap: 0.5rem;
}