/* style.css - Modern Landing Page Styles for GenNote */

:root {
  --primary: #4A6FFF;
  --primary-light: #6A8AFF;
  --primary-dark: #3A5AE0;
  --secondary: #FF6B4A;
  --secondary-light: #FF8D75;
  --secondary-dark: #E5563A;

  --dark: #1A1A2E;
  --gray-900: #2D2D3A;
  --gray-800: #3D3D4D;
  --gray-700: #4A4A5A;
  --gray-600: #6E7191;
  --gray-500: #A0A3BD;
  --gray-400: #D9DBE9;
  --gray-300: #EFF0F6;
  --gray-200: #F7F7FC;
  --gray-100: #FCFCFF;
  --white: #FFFFFF;

  --success: #2ECC71;
  --warning: #F39C12;
  --danger: #E74C3C;
  --info: #3498DB;

  --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #7A4FFF 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #FF9A6B 100%);
  --gradient-text: linear-gradient(90deg, var(--primary) 0%, #7A4FFF 100%);

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.12);
  --shadow-primary: 0 8px 16px rgba(74, 111, 255, 0.2);

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 30px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

  --transition: all 0.3s ease;
  --transition-slow: all 0.5s ease;
  --transition-fast: all 0.15s ease;

  /* Phone mockup variables */
  --phone-screen-top: 3.6%;
  --phone-screen-left: 5.1%;
  --phone-screen-right: 5.1%;
  --phone-screen-bottom: 3.6%;
  --phone-screen-radius: 26px;
}

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

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  line-height: 1.6;
  color: var(--gray-800);
  background-color: #fafbff;
  overflow-x: hidden;
}

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

h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.3; color: var(--dark); }
h1 { font-size: 3rem; letter-spacing: -0.03em; margin-bottom: 1.5rem; }
h2 { font-size: 2.25rem; letter-spacing: -0.02em; margin-bottom: 1rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--gray-600); }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

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

/* Utilities */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; } .mb-5 { margin-bottom: 3rem; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; } .mt-5 { margin-top: 3rem; }

.gradient-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.highlight { color: var(--primary); position: relative; display: inline-block; }
.highlight::after {
  content: '';
  position: absolute; bottom: 0.2em; left: 0;
  width: 100%; height: 0.3em;
  background-color: rgba(74, 111, 255, 0.15);
  z-index: -1; border-radius: 4px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.75rem 1.5rem; font-size: 1rem; font-weight: 600;
  border-radius: var(--radius-sm); cursor: pointer; transition: var(--transition);
  border: none; text-align: center; gap: 0.5rem;
}
.btn i { font-size: 1.1em; }

.btn-primary {
  background: linear-gradient(90deg, var(--primary), #7A56FF);
  box-shadow: 0 10px 20px rgba(74, 111, 255, 0.2);
  border-radius: 12px; color: var(--white);
}
.btn-primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 15px 30px rgba(74, 111, 255, 0.3); }

.btn-outline {
  background-color: transparent; color: var(--primary);
  border: 2px solid var(--primary); border-radius: 12px;
}
.btn-outline:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 10px 20px rgba(74, 111, 255, 0.1); }

.btn-lg { padding: 1rem 2rem; font-size: 1.125rem; border-radius: var(--radius); }

/* Header & Navigation */
.header {
  position: fixed; top: 0; left: 0; width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(15px);
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.03);
  z-index: 1000; transition: var(--transition); padding: 1rem 0;
}
.header.scrolled { padding: 0.75rem 0; background-color: rgba(255, 255, 255, 0.9); box-shadow: var(--shadow); }

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

.logo { display: flex; align-items: center; font-weight: 700; }
.logo a { display: flex; align-items: center; color: var(--dark); gap: 0.75rem; }
.logo img { height: 2.25rem; }

.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--gray-700); font-weight: 500; position: relative; }
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -5px;
  width: 0; height: 2px; background-color: var(--primary); transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { width: 100%; }

.auth-buttons { display: flex; gap: 1rem; }

.mobile-menu-btn {
  display: none; background: transparent; border: none; cursor: pointer;
  width: 2rem; height: 2rem; position: relative; z-index: 1001;
}
.mobile-menu-btn span { display: block; width: 100%; height: 2px; background-color: var(--dark); margin: 6px 0; transition: var(--transition); }

/* Premium Section Globals */
.gradient-bg-light { background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%); }
.gradient-bg-dark { background: linear-gradient(135deg, #1A1E2D 0%, #2A304D 100%); color: white; }

.premium-section { position: relative; padding: 120px 0; overflow: hidden; }
.premium-section::before, .premium-section::after {
  content: ''; position: absolute; border-radius: 50%; z-index: 0;
}
.premium-section::before {
  top: 0; right: 0; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(106, 130, 251, 0.1) 0%, rgba(106, 130, 251, 0) 70%);
}
.premium-section::after {
  bottom: -100px; left: -100px; width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(106, 130, 251, 0.05) 0%, rgba(106, 130, 251, 0) 70%);
}

.premium-card {
  border-radius: 16px; overflow: hidden; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.premium-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); }

.section-header .badge {
  display: inline-block; background: linear-gradient(90deg, #4A6FFF, #7A56FF); color: white;
  font-size: 13px; font-weight: 700; letter-spacing: 1px; padding: 6px 15px; border-radius: 20px; margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(122, 86, 255, 0.2);
}
.section-header h2 { font-size: 42px; font-weight: 800; margin-bottom: 16px; color: #1A1E2D; }

/* Hero Section */
.hero {
  position: relative; padding: 180px 0 120px; overflow: hidden; background-color: #fafbff;
}
.hero-particles { position: absolute; inset: 0; z-index: 1; }

.hero .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 4rem; }

.hero-content { flex: 1; max-width: 600px; }

.hero h1 { font-size: 3.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; }

.badge-new {
  display: inline-flex; align-items: center; padding: 0.5rem 1rem; background-color: rgba(74, 111, 255, 0.1);
  border-radius: 100px; margin-bottom: 2rem; font-size: 0.875rem; font-weight: 600; color: var(--primary);
}
.pulse { display: inline-block; width: 10px; height: 10px; background-color: var(--primary); border-radius: 50%; margin-right: 0.75rem; position: relative; }
.pulse::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background-color: var(--primary); animation: pulse-animation 2s infinite; opacity: 0.8;
}
@keyframes pulse-animation { 0% { transform: scale(1); opacity: 0.8; } 70% { transform: scale(2.5); opacity: 0; } 100% { transform: scale(1); opacity: 0; } }

.hero-subtitle { font-size: 1.4rem; max-width: 550px; margin: 0 auto 2.5rem; color: var(--gray-600); }

.hero-cta { display: flex; flex-direction: column; gap: 1.5rem; align-items: flex-start; }

.store-badges { display: flex; gap: 1rem; }
.app-store-badge img, .play-store-badge img { height: 2.5rem; transition: var(--transition); }
.app-store-badge:hover img, .play-store-badge:hover img { transform: translateY(-3px); }

.hero-stats { display: flex; margin-top: 3rem; gap: 3rem; }
.stat { text-align: center; }
.stat-value { font-size: 2rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; line-height: 1; }
.stat-label { font-size: 0.875rem; color: var(--gray-600); font-weight: 500; }

.hero-image { flex: 1; position: relative; max-width: 400px; }
.phone-mockup { position: relative; width: 100%; max-width: 350px; margin: 0 auto; }

/* ============================
   Phone frame + screen (global)
   Halo-free, GPU-friendly
   ============================ */
.phone-frame {
  position: relative;
  width: 100%;
  height: auto;
  z-index: 2;
}
.phone-frame > img {
  position: relative;
  z-index: 3;
  display: block;
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

/* Screen container with precise clipping and its own stacking context */
.phone-screen {
  position: absolute;
  top: var(--phone-screen-top);
  left: var(--phone-screen-left);
  right: var(--phone-screen-right);
  bottom: var(--phone-screen-bottom);
  border-radius: var(--phone-screen-radius);
  overflow: hidden;
  background: transparent !important;
  z-index: 1;

  /* Smoother rounded edges across browsers */
  clip-path: inset(0 round var(--phone-screen-radius));
  backface-visibility: hidden;
  isolation: isolate;
  contain: layout paint;
}

/* Fill screen, no letterboxing */
.phone-screen video, .phone-screen lottie-player {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block;
}



.phone-screen video {
  position: absolute;
  top: 0%;
  left: 0%;
  width: 99.92%;
  height: 99.92%;
  border-radius: 24px; /* matches rounded corners */
  clip-path: inset(0 round 24px);
  transform: scale(1.02); /* optional, to hide small bezel gaps */
  object-fit: cover;
}


/* Transparent Lottie globally */
lottie-player { background: transparent !important; }

/* Optional: pixel-perfect mask for complex inner corners
   1) Add class "phone-mask--png" to .phone-screen
   2) Place /static/images/phone-screen-mask.png (white screen, black elsewhere) */
.phone-screen.phone-mask--png video {
  -webkit-mask-image: url("../images/phone-screen-mask.png");
  mask-image: url("../images/phone-screen-mask.png");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  clip-path: none; /* mask defines the edge */
}

/* Debug helper: enable to tune offsets/radius */
/*
.phone-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--phone-screen-radius);
  outline: 1px dashed rgba(255, 77, 77, 0.8);
  pointer-events: none;
}
*/

.hero .floating-elements .float-element { backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.2); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.floating-elements { position: absolute; inset: 0; z-index: 2; }
.float-element {
  position: absolute; background-color: var(--white); border-radius: var(--radius);
  padding: 0.75rem 1rem; box-shadow: var(--shadow); display: flex; align-items: center; gap: 0.5rem; font-weight: 600; font-size: 0.875rem;
}
.float-element i { color: var(--primary); }
.float-1 { top: 10%; left: -15%; animation: float 6s ease-in-out infinite; }
.float-2 { top: 40%; right: -15%; animation: float 8s ease-in-out infinite 1s; }
.float-3 { bottom: 5%; left: -5%; animation: float 7s ease-in-out infinite 0.5s; }
@keyframes float { 0% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-15px) rotate(2deg); } 100% { transform: translateY(0) rotate(0deg); } }

.hero-waves { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 3; }
.hero-waves svg { width: 100%; height: 70px; }

/* Voice Commands */
.voice-commands { background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%); padding: 120px 0; position: relative; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.voice-command-demo {
  display: flex; align-items: center; gap: 4rem; max-width: 1000px; margin: 0 auto;
}
.voice-visual { flex: 1; display: flex; justify-content: center; }
.command-examples { flex: 1; display: flex; flex-direction: column; gap: 1rem; }
.command-card {
  background: white; border: none; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-radius: 16px; padding: 1.5rem; cursor: pointer;
}
.command-card:hover, .command-card.active { transform: translateY(-10px) scale(1.02); box-shadow: 0 20px 40px rgba(74, 111, 255, 0.1); }
.command-card.active { background: linear-gradient(135deg, #ffffff, #f4f7ff); border-left: 4px solid var(--primary); }
.command-phrase { font-weight: 700; font-size: 1.125rem; margin-bottom: 0.5rem; color: var(--dark); }
.command-description { color: var(--gray-600); font-size: 0.95rem; }

/* Use Cases */
.use-cases { padding: 120px 0; background-color: white; }
.tabs { max-width: 1000px; margin: 0 auto; }
.tab-controls { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.tab-btn {
  background: white; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: none; border-radius: 12px; padding: 12px 24px; font-weight: 600; transition: all 0.3s ease; cursor: pointer;
}
.tab-btn:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); }
.tab-btn.active { background: linear-gradient(90deg, var(--primary), #7A56FF); color: white; box-shadow: 0 10px 20px rgba(74, 111, 255, 0.2); }
.tab-content { position: relative; }
.tab-pane { display: none; animation: fadeIn 0.5s forwards; }
.tab-pane.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.use-case-content { display: flex; align-items: center; gap: 4rem; }
.use-case-text { flex: 1; }
.use-case-text ul { padding-left: 1.5rem; margin-bottom: 1.5rem; }
.use-case-text li { margin-bottom: 0.75rem; color: var(--gray-700); }
.customer-quote {
  background-color: var(--white); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--primary); font-style: italic;
}
.customer-quote p { margin-bottom: 0.75rem; }
.customer-quote cite { font-style: normal; font-weight: 600; color: var(--gray-700); }

.use-case-image {
  flex: 1; border-radius: 16px; overflow: hidden; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); transition: all 0.5s ease;
}
.use-case-image:hover img { transform: scale(1.05); }
.use-case-image img { width: 100%; height: auto; transition: var(--transition-slow); }

/* Features */
.features { background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%); padding: 120px 0; position: relative; }
.feature-showcase { display: flex; flex-direction: column; max-width: 1000px; margin: 0 auto; }
.feature-tabs { display: flex; justify-content: center; gap: 1rem; margin-bottom: 3rem; flex-wrap: wrap; }
.feature-tab {
  background: white; border: none; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05); border-radius: 12px;
  padding: 15px 25px; transition: all 0.3s ease; display: flex; align-items: center; gap: 0.75rem;
  font-weight: 600; color: var(--gray-700); cursor: pointer;
}
.feature-tab:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08); }
.feature-tab.active { background: linear-gradient(90deg, var(--primary), #7A56FF); color: white; box-shadow: 0 10px 20px rgba(74, 111, 255, 0.2); }
.feature-tab.active i { color: white; }
.feature-tab i { color: var(--primary); font-size: 1.25rem; }

.feature-content { position: relative; min-height: 400px; }
.feature-pane {
  display: none; position: absolute; top: 0; left: 0; width: 100%; animation: fadeIn 0.5s forwards;
}
.feature-pane.active { display: flex; align-items: center; gap: 4rem; }

.feature-visual { flex: 1; display: flex; justify-content: center; }
.transcription-demo {
  border-radius: 16px; box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  background-color: white; padding: 2rem; width: 100%; max-width: 400px;
}
.audio-wave {
  display: flex; align-items: center; justify-content: center; gap: 0.25rem; height: 60px; margin-bottom: 2rem;
}
.audio-wave span { display: block; width: 6px; background-color: var(--primary); border-radius: 3px; animation: wave 1.5s infinite ease-in-out; }
.audio-wave span:nth-child(1) { height: 30%; animation-delay: 0s; }
.audio-wave span:nth-child(2) { height: 60%; animation-delay: 0.2s; }
.audio-wave span:nth-child(3) { height: 90%; animation-delay: 0.4s; }
.audio-wave span:nth-child(4) { height: 100%; animation-delay: 0.6s; }
.audio-wave span:nth-child(5) { height: 70%; animation-delay: 0.8s; }
.audio-wave span:nth-child(6) { height: 50%; animation-delay: 1s; }
.audio-wave span:nth-child(7) { height: 80%; animation-delay: 1.2s; }
.audio-wave span:nth-child(8) { height: 40%; animation-delay: 1.4s; }
@keyframes wave { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(0.5); } }

.transcription-text { background-color: var(--gray-100); border-radius: var(--radius-sm); padding: 1.5rem; position: relative; }
.typing {
  display: inline-block; overflow: hidden; white-space: nowrap;
  border-right: 3px solid var(--primary);
  animation: typing 10s steps(80) infinite, blink 1s step-end infinite;
  margin: 0; color: var(--gray-800);
}
@keyframes typing { 0% { width: 0 } 50% { width: 100% } 90% { width: 100% } 100% { width: 0 } }
@keyframes blink { from, to { border-color: transparent } 50% { border-color: var(--primary); } }

.feature-details { flex: 1; }
.feature-details h3 { font-size: 1.75rem; margin-bottom: 1rem; }
.feature-details p { margin-bottom: 1.5rem; font-size: 1.125rem; }
.feature-list { list-style-type: none; }
.feature-list li {
  display: flex; align-items: center; margin-bottom: 1rem; color: var(--gray-700);
}
.feature-list li::before {
  content: '✓'; display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px; background-color: rgba(46, 204, 113, 0.1); color: var(--success);
  border-radius: 50%; margin-right: 1rem; font-weight: 700;
}

/* How It Works */
.how-it-works { background-color: white; padding: 120px 0; }
.steps { display: flex; flex-direction: column; gap: 2rem; max-width: 800px; margin: 0 auto; }
.step-card {
  display: flex; background-color: var(--white); border-radius: var(--radius); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
  padding: 2rem; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1); position: relative;
}
.step-card:hover { transform: translateY(-10px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1); }
.step-number {
  position: relative; width: 120px; height: 120px; margin-right: 2rem; display: flex; align-items: center; justify-content: center;
}
.step-number span { font-size: 2.5rem; font-weight: 800; color: var(--primary); z-index: 1; }
.progress-ring { position: absolute; top: 0; left: 0; }
.progress-ring-circle {
  transform-origin: center; transform: rotate(-90deg); transition: var(--transition-slow);
  stroke-dasharray: 326.726; stroke-dashoffset: 326.726;
}
.step-card:hover .progress-ring-circle { stroke-dashoffset: 0; }
.step-card[data-step="1"] .progress-ring-circle { stroke: var(--primary); }
.step-card[data-step="2"] .progress-ring-circle { stroke: #7A4FFF; }
.step-card[data-step="3"] .progress-ring-circle { stroke: var(--secondary); }

.step-content { flex: 1; display: flex; flex-direction: column; }
.step-content h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.step-content p { margin-bottom: 1.5rem; color: var(--gray-600); flex: 1; }
.step-icon { align-self: center; }
.step-connection { height: 50px; display: flex; justify-content: center; position: relative; z-index: 0; }

/* App Download (QR) */
.app-download { background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%); padding: 120px 0; }
.download-card {
  border-radius: 24px; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
  display: flex; background-color: var(--white); max-width: 1000px; margin: 0 auto;
}
.qr-side {
  background: linear-gradient(135deg, var(--primary), #7A56FF);
  padding: 60px 40px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; color: var(--white);
}
.qr-code { background-color: white; padding: 15px; border-radius: 16px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); margin-bottom: 1.5rem; }
.qr-code img { width: 150px; height: 150px; }
.qr-side p { color: rgba(255, 255, 255, 0.9); font-weight: 500; }

.download-content { flex: 1; padding: 60px 40px; }
.download-content h2 { font-size: 2rem; margin-bottom: 1rem; }
.download-content p { margin-bottom: 2rem; font-size: 1.125rem; }

.store-buttons { display: flex; gap: 1rem; margin-bottom: 2rem; flex-wrap: wrap; }
.store-button {
  border-radius: 12px; transition: all 0.3s ease; box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  display: flex; align-items: center; background-color: var(--dark); color: var(--white); padding: 0.75rem 1.5rem;
}
.store-button:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.store-button i { font-size: 2rem; margin-right: 1rem; }
.store-button div { display: flex; flex-direction: column; }
.store-button span { font-size: 0.75rem; opacity: 0.8; }
.store-button strong { font-size: 1.25rem; }
.store-button.apple, .store-button.google { background-color: var(--dark); }

.download-stats { display: flex; gap: 2rem; }
.download-stats .stat { text-align: center; flex: 1; }
.download-stats strong { font-size: 1.5rem; font-weight: 700; color: var(--dark); display: block; margin-bottom: 0.5rem; }
.stars { color: var(--warning); font-size: 0.75rem; margin-bottom: 0.5rem; }
.download-stats span { font-size: 0.875rem; color: var(--gray-600); }

/* Pricing */
.ultra-premium-pricing { background: linear-gradient(135deg, #f8faff 0%, #eef6ff 100%); position: relative; overflow: hidden; }
.ultra-premium-pricing::before, .ultra-premium-pricing::after {
  content: ''; position: absolute; width: 600px; height: 600px; border-radius: 50%; z-index: 0;
}
.ultra-premium-pricing::before { top: -200px; right: -200px; background: radial-gradient(circle, rgba(74, 111, 255, 0.03) 0%, rgba(74, 111, 255, 0) 70%); }
.ultra-premium-pricing::after { bottom: -200px; left: -200px; background: radial-gradient(circle, rgba(122, 86, 255, 0.03) 0%, rgba(122, 86, 255, 0) 70%); }

.pricing-decorative-element { position: absolute; z-index: 1; opacity: 0.5; }
.pricing-dec-1, .pricing-dec-2, .pricing-dec-3, .pricing-dec-4 { border-radius: 50%; filter: blur(40px); animation: float-slow 10s ease-in-out infinite; }
.pricing-dec-1 { top: 10%; left: 5%; width: 60px; height: 60px; background: linear-gradient(45deg, #4A6FFF, transparent); }
.pricing-dec-2 { top: 20%; right: 10%; width: 80px; height: 80px; background: linear-gradient(45deg, #7A56FF, transparent); filter: blur(50px); animation-duration: 15s; animation-delay: 2s; }
.pricing-dec-3 { bottom: 15%; left: 15%; width: 70px; height: 70px; background: linear-gradient(45deg, #FF6B6B, transparent); filter: blur(45px); animation-duration: 12s; animation-delay: 1s; }
.pricing-dec-4 { bottom: 10%; right: 5%; width: 50px; height: 50px; background: linear-gradient(45deg, #FFD166, transparent); filter: blur(35px); animation-duration: 14s; animation-delay: 3s; }
@keyframes float-slow { 0% { transform: translate(0, 0); } 50% { transform: translate(20px, -20px); } 100% { transform: translate(0, 0); } }

.pricing-glow { position: relative; }
.pricing-glow::before {
  content: ''; position: absolute; top: -150px; left: calc(50% - 300px);
  width: 600px; height: 300px; background: radial-gradient(circle, rgba(74, 111, 255, 0.1) 0%, rgba(74, 111, 255, 0) 70%); z-index: 0;
}

.ultra-pricing-header { position: relative; z-index: 2; text-align: center; max-width: 800px; margin: 0 auto 80px; }
.ultra-pricing-badge {
  background: linear-gradient(90deg, #4A6FFF, #7A56FF); color: white; font-size: 14px; font-weight: 700; letter-spacing: 1.5px;
  padding: 8px 20px; border-radius: 100px; display: inline-block; margin-bottom: 20px; box-shadow: 0 10px 20px rgba(74, 111, 255, 0.2); position: relative; overflow: hidden;
}
.ultra-pricing-badge::before {
  content: ''; position: absolute; top: 0; left: -50%; width: 50%; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); animation: shine 3s infinite;
}
@keyframes shine { 0% { left: -50%; } 100% { left: 150%; } }
.ultra-pricing-header h2 {
  font-size: 48px; font-weight: 800; margin-bottom: 20px;
  background: linear-gradient(135deg, #1A1E2D 0%, #4A4A5A 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; line-height: 1.2;
}
.ultra-pricing-header p { font-size: 20px; color: #5A6378; line-height: 1.6; }

.ultra-toggle-container { display: flex; justify-content: center; margin-bottom: 60px; position: relative; z-index: 2; }
.ultra-toggle {
  background: white; border-radius: 100px; padding: 10px; display: flex; align-items: center; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); position: relative;
}
.billing-option {
  padding: 10px 25px; font-weight: 600; font-size: 16px; color: #5A6378; cursor: pointer; transition: all 0.3s ease; border-radius: 100px; position: relative; z-index: 1;
}
.billing-option.active { color: white; }
.toggle-bg {
  position: absolute; top: 5px; left: 5px; height: calc(100% - 10px); width: calc(50% - 5px);
  border-radius: 100px; background: linear-gradient(90deg, #4A6FFF, #7A56FF);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55); z-index: 0;
}
.toggle-bg.annual { left: calc(50% + 0px); }
.ultra-save-badge {
  background: linear-gradient(90deg, #FF6B6B, #FF9F43); color: white; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 100px;
  position: absolute; top: -15px; right: 10px; box-shadow: 0 5px 15px rgba(255, 107, 107, 0.3); transform: rotate(3deg);
}

.ultra-pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; position: relative; z-index: 2; max-width: 1200px; margin: 0 auto 60px;
}
.ultra-pricing-card { position: relative; border-radius: 20px; overflow: hidden; transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1); background: white; }
.ultra-pricing-card:hover { transform: translateY(-15px); box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1); }
.ultra-pricing-card.popular { box-shadow: 0 30px 60px rgba(74, 111, 255, 0.15); }
.ultra-popular-badge {
  position: absolute; top: 0; right: 30px; background: linear-gradient(90deg, #FF6B6B, #FF9F43);
  color: white; font-size: 12px; font-weight: 700; padding: 8px 20px; border-radius: 0 0 12px 12px; z-index: 3; box-shadow: 0 10px 20px rgba(255, 107, 107, 0.2);
}
.ultra-card-bg { position: absolute; top: 0; left: 0; width: 100%; height: 35%; background: linear-gradient(135deg, #4A6FFF 0%, #7A56FF 100%); z-index: 0; }
.popular .ultra-card-bg { height: 40%; background: linear-gradient(135deg, #4A6FFF 0%, #7A56FF 50%, #9758FF 100%); }
.ultra-card-content { position: relative; z-index: 1; padding: 40px 30px; display: flex; flex-direction: column; height: 100%; }
.ultra-card-icon {
  width: 80px; height: 80px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; background: white; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); position: relative;
}
.ultra-card-icon::after {
  content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px;
  background: linear-gradient(135deg, #4A6FFF, #7A56FF); z-index: -1; border-radius: 22px; opacity: 0.5;
}
.ultra-card-icon i {
  font-size: 32px; background: linear-gradient(90deg, #4A6FFF, #7A56FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.ultra-card-plan { margin-bottom: 15px; color: white; }
.ultra-card-plan h3 { font-size: 28px; font-weight: 800; margin-bottom: 5px; color: white; }
.ultra-card-plan p { color: rgba(255, 255, 255, 0.8); font-size: 15px; margin-bottom: 0; }

.ultra-card-price {
  background: white; border-radius: 20px; padding: 25px; margin-bottom: 30px; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); text-align: center; position: relative;
}
.ultra-card-price::before {
  content: ''; position: absolute; top: -3px; left: 25px; right: 25px; height: 3px; background: linear-gradient(90deg, #4A6FFF, #7A56FF); border-radius: 3px 3px 0 0;
}
.price-currency { font-size: 22px; font-weight: 700; color: #1A1E2D; vertical-align: top; position: relative; top: 0.5rem; }
.price-value { font-size: 50px; font-weight: 800; color: #1A1E2D; line-height: 1; letter-spacing: -1px; }
.price-period { font-size: 15px; color: #5A6378; margin-top: 5px; display: block; }

.ultra-card-features { flex-grow: 1; margin-bottom: 30px; }
.ultra-feature-item { display: flex; align-items: center; margin-bottom: 15px; font-size: 15px; color: #1A1E2D; }
.ultra-feature-item i {
  width: 24px; height: 24px; background: linear-gradient(90deg, rgba(74, 111, 255, 0.1), rgba(122, 86, 255, 0.1));
  border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; flex-shrink: 0;
}
.ultra-feature-item i.fa-check { color: #4A6FFF; font-size: 12px; }
.ultra-feature-item i.fa-times { color: #9AA3B2; font-size: 12px; }
.ultra-feature-item.disabled { color: #9AA3B2; }

.ultra-highlighted {
  background: linear-gradient(90deg, #4A6FFF, #7A56FF);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; font-weight: 700;
}

.ultra-card-cta .btn {
  width: 100%; padding: 15px; border-radius: 15px; font-size: 16px; font-weight: 700; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ultra-card-cta .btn-primary { background: linear-gradient(90deg, #4A6FFF, #7A56FF); box-shadow: 0 15px 30px rgba(74, 111, 255, 0.2); border: none; }
.ultra-card-cta .btn-primary:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 20px 40px rgba(74, 111, 255, 0.3); }
.ultra-card-cta .btn-outline { border: 2px solid rgba(74, 111, 255, 0.3); color: #4A6FFF; background: white; }
.ultra-card-cta .btn-outline:hover { border-color: #4A6FFF; transform: translateY(-5px) scale(1.03); box-shadow: 0 15px 30px rgba(74, 111, 255, 0.1); }

.ultra-price-tag {
  position: absolute; top: 10px; right: 10px; background: rgba(255, 255, 255, 0.2); padding: 5px 10px; border-radius: 100px; color: white; font-size: 12px; font-weight: 600;
}
.ultra-savings { color: #FF6B6B; font-size: 14px; font-weight: 700; margin-top: 5px; display: block; }

/* Enterprise + Testimonial */
.ultra-enterprise { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto 80px; }
.ultra-enterprise-card {
  background: linear-gradient(135deg, #1A1E2D, #2A304D); border-radius: 20px; padding: 50px;
  display: flex; align-items: center; justify-content: space-between; position: relative; overflow: hidden; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}
.ultra-enterprise-card::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.ultra-enterprise-card::after {
  content: ''; position: absolute; top: -100px; right: -100px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(74, 111, 255, 0.2) 0%, rgba(74, 111, 255, 0) 70%); border-radius: 50%; z-index: 0;
}
.ultra-enterprise-content { position: relative; z-index: 1; max-width: 50%; }
.ultra-enterprise-icon {
  width: 60px; height: 60px; border-radius: 15px; background: rgba(255, 255, 255, 0.1);
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px; position: relative;
}
.ultra-enterprise-icon::after {
  content: ''; position: absolute; top: -2px; left: -2px; right: -2px; bottom: -2px; background: linear-gradient(135deg, #4A6FFF, #7A56FF);
  z-index: -1; border-radius: 17px; opacity: 0.5;
}
.ultra-enterprise-icon i { color: white; font-size: 24px; }
.ultra-enterprise-title { font-size: 32px; font-weight: 800; color: white; margin-bottom: 10px; }
.ultra-enterprise-description { color: rgba(255, 255, 255, 0.7); font-size: 16px; margin-bottom: 30px; }
.ultra-enterprise-features { display: flex; flex-wrap: wrap; gap: 20px; }
.ultra-enterprise-feature { display: flex; align-items: center; color: rgba(255, 255, 255, 0.9); font-size: 15px; font-weight: 500; }
.ultra-enterprise-feature i { color: #7A56FF; margin-right: 10px; }
.ultra-enterprise-cta { position: relative; z-index: 1; display: flex; align-items: center; gap: 20px; }
.ultra-enterprise-cta .btn {
  padding: 15px 30px; border-radius: 15px; font-size: 16px; font-weight: 700; transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.ultra-enterprise-cta .btn-light { background: white; color: #1A1E2D; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1); }
.ultra-enterprise-cta .btn-light:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15); }
.ultra-enterprise-cta .btn-outline-light { border: 2px solid rgba(255, 255, 255, 0.3); color: white; background: transparent; }
.ultra-enterprise-cta .btn-outline-light:hover { background: rgba(255, 255, 255, 0.1); transform: translateY(-5px) scale(1.03); }

.ultra-testimonial { position: relative; z-index: 2; max-width: 900px; margin: 0 auto 80px; }
.ultra-testimonial-card {
  background: white; border-radius: 20px; padding: 50px; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08); position: relative;
}
.ultra-testimonial-card::before {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 6px;
  background: linear-gradient(90deg, #4A6FFF, #7A56FF); border-radius: 20px 20px 0 0;
}
.ultra-testimonial-quote { font-size: 60px; color: #4A6FFF; line-height: 1; margin-bottom: 20px; opacity: 0.2; position: absolute; top: 30px; left: 30px; }
.ultra-testimonial-content { font-size: 20px; color: #1A1E2D; line-height: 1.8; margin-bottom: 30px; position: relative; z-index: 1; font-weight: 500; }
.ultra-testimonial-author { display: flex; align-items: center; }
.ultra-testimonial-avatar { width: 60px; height: 60px; border-radius: 15px; overflow: hidden; margin-right: 20px; }
.ultra-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ultra-testimonial-info h4 { font-size: 18px; font-weight: 700; color: #1A1E2D; margin-bottom: 5px; }
.ultra-testimonial-info p { font-size: 15px; color: #5A6378; margin-bottom: 0; }
.ultra-testimonial-rating { margin-left: auto; display: flex; align-items: center; }
.ultra-testimonial-rating i { color: #FFD166; font-size: 20px; margin-left: 5px; }

/* FAQ + Guarantee */
.ultra-faq { position: relative; z-index: 2; max-width: 1000px; margin: 0 auto 60px; }
.ultra-faq-title { text-align: center; margin-bottom: 50px; }
.ultra-faq-title h3 { font-size: 36px; font-weight: 800; color: #1A1E2D; margin-bottom: 15px; }
.ultra-faq-title p { font-size: 18px; color: #5A6378; }
.ultra-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.ultra-faq-item { background: white; border-radius: 15px; overflow: hidden; box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05); }
.ultra-faq-question {
  padding: 25px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s ease;
}
.ultra-faq-question:hover { background: rgba(74, 111, 255, 0.03); }
.ultra-faq-question h4 { font-size: 17px; font-weight: 700; color: #1A1E2D; margin: 0; }
.ultra-faq-toggle {
  width: 24px; height: 24px; background: rgba(74, 111, 255, 0.1);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #4A6FFF; transition: all 0.3s ease;
}
.ultra-faq-answer { padding: 0 25px 25px; display: none; }
.ultra-faq-answer p { font-size: 15px; color: #5A6378; line-height: 1.7; margin: 0; }
.ultra-faq-item.active .ultra-faq-question { background: rgba(74, 111, 255, 0.05); }
.ultra-faq-item.active .ultra-faq-toggle { background: #4A6FFF; color: white; transform: rotate(45deg); }
.ultra-faq-item.active .ultra-faq-answer { display: block; animation: fadeIn 0.5s forwards; }

.ultra-guarantee { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.ultra-guarantee-card {
  background: linear-gradient(90deg, rgba(74, 111, 255, 0.05), rgba(122, 86, 255, 0.05));
  border-radius: 20px; padding: 30px; display: flex; align-items: center; position: relative;
}
.ultra-guarantee-card::before {
  content: ''; position: absolute; top: -3px; left: 20px; right: 20px; height: 3px;
  background: linear-gradient(90deg, #4A6FFF, #7A56FF); border-radius: 3px 3px 0 0;
}
.ultra-guarantee-icon {
  width: 60px; height: 60px; border-radius: 15px; background: linear-gradient(135deg, #4A6FFF, #7A56FF);
  display: flex; align-items: center; justify-content: center; margin-right: 30px; flex-shrink: 0; box-shadow: 0 10px 20px rgba(74, 111, 255, 0.2);
}
.ultra-guarantee-icon i { color: white; font-size: 24px; }
.ultra-guarantee-text h4 { font-size: 20px; font-weight: 700; color: #1A1E2D; margin-bottom: 5px; }
.ultra-guarantee-text p { font-size: 16px; color: #5A6378; margin-bottom: 0; }

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--primary), #7A56FF);
  padding: 120px 0; position: relative; overflow: hidden; color: var(--white); text-align: center;
}
.cta::before, .cta::after { content: ''; position: absolute; border-radius: 50%; }
.cta::before {
  top: -100px; right: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}
.cta::after {
  bottom: -50px; left: -50px; width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
}
.cta-content { max-width: 700px; margin: 0 auto; }
.cta h2 { color: var(--white); font-size: 3rem; font-weight: 800; margin-bottom: 30px; }
.cta p { color: rgba(255, 255, 255, 0.9); font-size: 1.5rem; margin-bottom: 40px; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 1.5rem; margin-bottom: 2rem; flex-wrap: wrap; }
.cta .btn-primary { background: white; color: var(--primary); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); padding: 16px 32px; font-size: 1.1rem; }
.cta .btn-primary:hover { transform: translateY(-5px) scale(1.03); box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2); }
.or-divider { color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.scan-prompt {
  background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  padding: 10px 20px; transition: all 0.3s ease; display: flex; align-items: center; color: var(--white);
}
.scan-prompt:hover { transform: translateY(-5px); box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15); }
.mini-qr { width: 40px; height: 40px; background-color: var(--white); border-radius: var(--radius-xs); padding: 0.25rem; margin-right: 0.75rem; }
.mini-qr img { width: 100%; height: 100%; }
.no-card { font-size: 0.875rem; color: rgba(255, 255, 255, 0.7); }

/* Footer */
.footer { padding: 100px 0 40px; background-color: white; }
.footer-grid { display: grid; grid-template-columns: 1fr 3fr; gap: 4rem; margin-bottom: 3rem; }
.footer-brand { max-width: 300px; }
.footer-logo { margin-bottom: 30px; display: flex; align-items: center; }
.footer-logo img { height: 40px; margin-right: 15px; }
.footer-logo span { font-size: 1.5rem; font-weight: 700; color: var(--dark); }
.footer-brand p { margin-bottom: 2rem; color: var(--gray-600); }
.app-download-badges { display: flex; gap: 1rem; margin-bottom: 2rem; }

.footer-links { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer-links-column h4 { font-size: 1.2rem; font-weight: 700; margin-bottom: 25px; color: var(--dark); }
.footer-links-column ul { list-style: none; }
.footer-links-column li { margin-bottom: 15px; }
.footer-links-column a { color: var(--gray-600); transition: var(--transition); font-weight: 500; }
.footer-links-column a:hover { color: var(--primary); transform: translateX(5px); }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 40px; margin-top: 40px; border-top: 1px solid var(--gray-200);
  color: var(--gray-500); font-size: 0.875rem;
}
.social-links { display: flex; gap: 1rem; }
.social-links a {
  width: 40px; height: 40px; background: linear-gradient(135deg, #f8f9ff 0%, #eef1ff 100%);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--primary);
  font-size: 1.2rem; transition: all 0.3s ease; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.social-links a:hover { transform: translateY(-5px); background: linear-gradient(90deg, var(--primary), #7A56FF); color: white; box-shadow: 0 10px 20px rgba(74, 111, 255, 0.2); }

/* Animations */
@keyframes float-premium { 0% { transform: translateY(0); } 50% { transform: translateY(-20px); } 100% { transform: translateY(0); } }
.animate-float { animation: float-premium 6s ease-in-out infinite; }

/* Responsive */
@media (max-width: 1200px) {
  .download-card { max-width: 90%; flex-direction: column; }
  .qr-side { padding: 3rem; }
  .qr-code { transform: scale(1.2); margin-bottom: 2rem; }
}

@media (max-width: 992px) {
  html { font-size: 15px; }
  .section-header h2 { font-size: 36px; }
  .hero h1 { font-size: 3rem; }
  .hero-subtitle { font-size: 1.2rem; }
  .cta h2 { font-size: 2.5rem; }

  .ultra-pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .ultra-enterprise-card { flex-direction: column; text-align: center; }
  .ultra-enterprise-content { max-width: 100%; margin-bottom: 40px; }
  .ultra-enterprise-features { justify-content: center; }
  .ultra-faq-grid { grid-template-columns: 1fr; }

  .hero .container { flex-direction: column; text-align: center; }
  .hero-content { max-width: 100%; }
  .badge-new, .hero-cta { margin-left: auto; margin-right: auto; justify-content: center; align-items: center; }
  .hero-stats { justify-content: center; }

  .voice-command-demo, .use-case-content, .feature-pane.active { flex-direction: column; text-align: center; }
  .use-case-text, .feature-details { order: 2; }
  .use-case-image, .feature-visual { order: 1; margin-bottom: 2rem; }
  .customer-quote { text-align: left; }
  .feature-list li { justify-content: center; }

  .footer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .footer-brand { max-width: 100%; text-align: center; }
  .footer-brand p { max-width: 500px; margin-left: auto; margin-right: auto; }
  .social-links { justify-content: center; }
  .footer-links { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header { padding: 1rem 0; }
  .nav-links, .auth-buttons { display: none; }
  .mobile-menu-btn { display: block; }

  .mobile-menu-open .nav-links, .mobile-menu-open .auth-buttons {
    display: flex; flex-direction: column; position: absolute; top: 100%; left: 0; width: 100%;
    background-color: var(--white); padding: 1.5rem; box-shadow: var(--shadow); z-index: 1000; align-items: flex-start;
  }
  .mobile-menu-open .nav-links a, .mobile-menu-open .auth-buttons a { margin: 0.75rem 0; }
  .mobile-menu-open .mobile-menu-btn span:first-child { transform: rotate(45deg) translate(7px, 7px); }
  .mobile-menu-open .mobile-menu-btn span:nth-child(2) { opacity: 0; }
  .mobile-menu-open .mobile-menu-btn span:last-child { transform: rotate(-45deg) translate(7px, -7px); }

  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  .section-header h2 { font-size: 30px; }
  .hero h1 { font-size: 2.5rem; }
  .premium-section { padding: 80px 0; }
  .cta h2 { font-size: 2rem; }
  .cta p { font-size: 1.2rem; }

  .ultra-pricing-grid { grid-template-columns: 1fr; }
  .ultra-toggle { width: 100%; }
  .ultra-testimonial-rating { display: none; }
  .tab-controls, .feature-tabs { flex-direction: column; align-items: center; }
  .tab-btn, .feature-tab { width: 100%; max-width: 300px; justify-content: center; }
  .footer-links { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
}

@media (max-width: 576px) {
  html { font-size: 14px; }
  .section-header h2 { font-size: 26px; }
  .hero h1 { font-size: 2rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .premium-section { padding: 60px 0; }
  .cta h2 { font-size: 1.8rem; }

  .ultra-guarantee-card { flex-direction: column; text-align: center; }
  .ultra-guarantee-icon { margin-right: 0; margin-bottom: 20px; }
  .ultra-testimonial-card { padding: 30px; }

  .hero { padding: 8rem 0 6rem; }
  .hero-stats { flex-direction: column; gap: 2rem; }
  .step-card { flex-direction: column; align-items: center; text-align: center; }
  .step-number { margin-right: 0; margin-bottom: 1.5rem; }

  .download-content { padding: 2rem 1.5rem; }
  .store-buttons { flex-direction: column; }
  .download-stats { flex-direction: column; gap: 1.5rem; }
}

/* ============================
   Download page phone overrides
   (Keep consistent with global fixes)
   ============================ */
.app-preview .phone-frame {
  position: relative; width: 100%; height: auto; z-index: 2;
}
.app-preview .phone-frame > img {
  position: relative; z-index: 3; display: block; pointer-events: none;
  backface-visibility: hidden; -webkit-transform: translateZ(0); transform: translateZ(0);
}
.app-preview .phone-screen {
  position: absolute;
  top: var(--phone-screen-top);
  left: var(--phone-screen-left);
  right: var(--phone-screen-right);
  bottom: var(--phone-screen-bottom);
  border-radius: var(--phone-screen-radius);
  overflow: hidden;
  background: transparent !important;
  z-index: 1;
  clip-path: inset(0 round var(--phone-screen-radius));
  backface-visibility: hidden;
  isolation: isolate;
  contain: layout paint;
}

