:root {
  /* Beautiful Sky Blue Gradient Tone from Preview */
  --color-blue-light: #7CD4FA;
  --color-blue: #46A3F3;
  --color-blue-dark: #2980B9;
  
  --color-gold: #FFB347;
  --color-white: #FFFFFF;
  --color-text: #1D1D1F;
  --color-gray: #86868B;
  
  --radius-xl: 32px;
  --radius-lg: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Work Sans', sans-serif; color: var(--color-text); line-height: 1.5; background: #fff; overflow-x: hidden; }
h1, h2, h3, h4 { font-family: 'Outfit', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }
.max-w-6xl { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.section-padding { padding: 100px 0; }
.text-center { text-align: center; }
.mb-lg { margin-bottom: 40px; }
.mb-xl { margin-bottom: 60px; }

/* Beautiful Gradient Background */
.hero-gradient { 
    background: linear-gradient(135deg, var(--color-blue-light) 0%, var(--color-blue) 100%);
    color: var(--color-white); 
    position: relative;
    overflow: hidden;
}

.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 120px 0 80px; position: relative; z-index: 2;}
.white-text { color: var(--color-white); }
.light-text { color: rgba(255,255,255,0.9); }

.hero-title { font-size: clamp(3rem, 5vw, 5.5rem); line-height: 1.05; margin-bottom: 24px; letter-spacing: -2px; }
.hero-subtitle { font-size: 20px; max-width: 480px; margin-bottom: 40px; line-height: 1.5;}

.underline-gold {
  position: relative;
  display: inline-block;
}
.underline-gold::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--color-gold);
  z-index: -1;
  border-radius: 4px;
}

.version-badge {
  background: rgba(255,255,255,0.25);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.4);
}

.user-proof { display: flex; align-items: center; gap: 16px; margin-top: 24px; font-size: 14px; }
.avatar-stack { display: flex; }
.avatar { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--color-blue); margin-left: -12px; background-size: cover; }
.avatar:first-child { margin-left: 0; }
.avatar.count { background: #000; color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 10px; border-color: #000; }

.app-store-btn-hero img { height: 50px; cursor: pointer; transition: 0.2s; }
.app-store-btn-hero img:hover { transform: translateY(-3px); }

.android-coming-soon {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-left: 2px solid rgba(255,255,255,0.2);
    padding-left: 16px;
}

/* Fan-out Phone Stack Animation */
.hero-visual { position: relative; height: 100%; min-height: 600px; display: flex; justify-content: center; align-items: center; perspective: 1000px;}
.phone-stack { position: relative; width: 300px; height: 620px; }

.phone-mockup { 
  position: absolute; 
  width: 280px; 
  height: 580px; 
  border-radius: 40px; 
  background: #000;
  border: 8px solid #000; 
  box-shadow: 0 40px 80px rgba(0,0,0,0.3);
  overflow: hidden;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: bottom center;
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 32px;
}

/* Initial state for animation */
.phone-mockup { transform: translateY(100px) rotate(0deg) scale(0.9); opacity: 0; }

/* Final state applied by JS */
.phone-stack.animated .main-phone { z-index: 5; transform: translateY(0) rotate(0deg) scale(1); opacity: 1; }
.phone-stack.animated .back-phone-1 { z-index: 3; transform: translateY(20px) translateX(-60px) rotate(-10deg) scale(0.95); opacity: 0.8; }
.phone-stack.animated .back-phone-2 { z-index: 2; transform: translateY(40px) translateX(60px) rotate(10deg) scale(0.9); opacity: 0.6; }

/* Interactive Hover state for phones removed per user request */

/* Sticky Scroll Section (Finny Style) */
.info-section { position: relative; }
.info-header { margin-bottom: 60px; }

.sticky-layout {
    display: flex;
    gap: 80px;
    align-items: flex-start;
}

.scrolling-content {
    flex: 1;
    padding: 60px 0; 
}

.scroll-block {
    min-height: auto;
    padding: 20px 0;
    margin-bottom: 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.5; /* Increased base opacity to avoid looking too dim */
    transition: opacity 0.4s ease;
    padding-left: 20px;
}

.scroll-block.active {
    opacity: 1;
}

.scroll-block-line {
    display: none;
}
.scroll-block.active .scroll-block-line {
    display: none;
}

.scroll-block h3 {
    font-size: 40px;
    margin-bottom: 20px;
    color: var(--color-text);
    line-height: 1.1;
    letter-spacing: -1px;
}

.scroll-block p {
    font-size: 20px;
    color: #475569;
    line-height: 1.5;
}

/* Sticky Visual Container */
.sticky-visual {
    flex: 1;
    position: sticky;
    top: 100px;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sticky-phone-frame {
    width: 320px;
    height: 660px;
    border-radius: 44px;
    background: #000;
    border: 10px solid #000;
    position: relative;
    overflow: hidden;
    box-shadow: 0 40px 100px rgba(0,0,0,0.15);
    transform: translateY(20px);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sticky-images {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 34px;
    overflow: hidden;
}

.step-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.step-img.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}


/* Comparison Cards */
.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.comp-card { padding: 48px; border-radius: var(--radius-lg); }
.dark-card { background: rgba(0,0,0,0.25); border: 1px solid rgba(255,255,255,0.1); }
.highlight-card { background: #fff; color: var(--color-text); box-shadow: 0 20px 40px rgba(0,0,0,0.15); }
.comp-card h4 { font-size: 14px; letter-spacing: 2px; margin-bottom: 24px; opacity: 0.8; font-family: 'Outfit';}
.comp-card ul { list-style: none; }
.comp-card li { font-size: 18px; font-weight: 500; margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.testimonial-card { background: #F8FAFC; padding: 40px 32px; border-radius: 20px; border: 1px solid #E2E8F0; }
.scale-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.scale-hover:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.05); border-color: var(--color-blue-light); }
.testimonial-card p { font-size: 16px; margin-bottom: 30px; font-style: italic; color: #475569; }
.user-meta { display: flex; justify-content: space-between; align-items: center; }
.user-name { font-weight: 700; font-size: 15px; color: var(--color-blue-dark); }
.stars { color: var(--color-gold); letter-spacing: 2px; font-size: 14px;}

@keyframes marquee {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-50% - 12px)); }
}
.testimonial-marquee:hover {
    animation-play-state: paused;
}

/* Navbar */
.navbar { position: fixed; top: 20px; width: 100%; z-index: 1000; transition: top 0.3s ease; }
.nav-container { background: rgba(255,255,255,0.95); backdrop-filter: blur(20px); height: 72px; border-radius: 40px; display: flex; justify-content: space-between; align-items: center; border: 1px solid rgba(0,0,0,0.05); padding: 0 32px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.logo { display: flex; align-items: center; gap: 12px; }
.logo-box { width: 44px; height: 44px; border-radius: 12px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff;}
.real-icon { width: 100%; height: 100%; object-fit: cover; }
.logo-text { font-size: 20px; font-weight: 700; color: var(--color-blue-dark); }
.nav-links { display: flex; gap: 32px; }
.nav-links a { font-weight: 600; font-size: 15px; color: #475569; transition: 0.2s; }
.nav-links a:hover { color: var(--color-blue); }

/* Buttons */
.btn { display: inline-flex; align-items:center; justify-content:center; padding: 12px 32px; border-radius: 30px; font-weight: 700; cursor: pointer; transition: 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); text-align: center; }
.btn-primary { background: #111; color: #fff; border: none; box-shadow: 0 4px 14px rgba(0,0,0,0.2); }
.btn-primary:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 8px 25px rgba(0,0,0,0.25); }
.btn-large { padding: 16px 40px; font-size: 18px; }

/* Support & Features Card */
.card { background: white; border-radius: var(--radius-lg); padding: 60px; border: 1px solid #E2E8F0; }
.shadow-glow { box-shadow: 0 20px 40px rgba(70, 163, 243, 0.1); border-color: var(--color-blue-light);}
.support-area h2 { font-size: 40px; margin-bottom: 16px; color: var(--color-blue-dark);}
.support-area p { font-size: 18px; color: #64748B; max-width: 500px; margin: 0 auto; }

/* FAQ */
.faq-container { max-width: 800px; margin: 0 auto;}
.accordion { border-bottom: 1px solid #E2E8F0; border-radius: 0; }
.accordion-header { width: 100%; padding: 24px 0; display: flex; justify-content: space-between; font-weight: 700; background: none; border: none; font-size: 20px; cursor: pointer; text-align: left; color: var(--color-text); transition: color 0.2s;}
.accordion-header:hover { color: var(--color-blue); }
.acc-icon { color: var(--color-blue); font-size: 24px; font-weight: 400; transition: transform 0.3s;}
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-content p { padding-bottom: 24px; color: #475569; font-size: 17px; line-height: 1.6;}

/* Mobile Menu */
.menu-toggle { display: none; background: none; border:none; cursor: pointer; color: var(--color-dark); }
.menu-toggle svg { width: 28px; height: 28px; }
.mobile-menu { display: none; position: absolute; top: 85px; left: 16px; right: 16px; background: white; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); flex-direction: column; padding: 20px; border: 1px solid #E2E8F0; }
.mobile-menu.active { display: flex; }
.mobile-link { padding: 16px; border-bottom: 1px solid #F1F5F9; font-weight: 600; color: #333; }

/* Footer */
footer { background: #F8FAFC; text-align: center; border-top: 1px solid #E2E8F0;}
.footer-grid { margin: 0 auto; }
.footer-box { width: 48px; height: 48px; border-radius: 12px; overflow: hidden;}
.footer-links { display: flex; justify-content: center; gap: 32px; margin: 24px 0; font-weight: 500;}
.footer-links a { color: #64748B;}
.footer-links a:hover { color: var(--color-blue); }
.copyright { color: #94A3B8; font-size: 14px; }

/* Pre Footer Grid */
.pre-footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

/* Animations & Responsive */
.fade-in { animation: fadeIn 1s forwards cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in-up { opacity: 0; transform: translateY(40px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in-left { opacity: 0; transform: translateX(-40px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.fade-in-right { opacity: 0; transform: translateX(40px); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }
.scale-in { opacity: 0; transform: scale(0.95); transition: opacity 0.8s, transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1); }

.fade-in-up.visible, .fade-in-left.visible, .fade-in-right.visible, .scale-in.visible {
  opacity: 1; transform: translate(0) scale(1);
}

@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }

/* ========== TABLET (max-width: 900px) ========== */
@media (max-width: 900px) {
  .nav-links, .nav-actions { display: none; }
  .menu-toggle { display: block; }
  
  .max-w-6xl { padding: 0 24px; }
  .section-padding { padding: 60px 0; }
  
  /* Hero */
  .hero-title { font-size: 2.5rem; }
  .hero-grid { grid-template-columns: 1fr; text-align: center; padding-top: 120px; gap: 30px; }
  .hero-content { display: flex; flex-direction: column; align-items: center; }
  .hero-cta { justify-content: center; }
  .hero-subtitle { font-size: 16px !important; }
  
  /* Hero Phones */
  .hero-visual { min-height: 420px; }
  .phone-stack { width: 220px; height: 460px; transform: scale(0.8); transform-origin: top center; }
  .phone-mockup { width: 210px; height: 440px; border-radius: 30px; border-width: 6px; }
  
  /* Sticky Scroll Features - HIDE phone on mobile, show text only */
  .sticky-layout { flex-direction: column; gap: 0; }
  .scrolling-content { padding: 0; }
  .scroll-block { height: auto; min-height: auto; padding: 20px 16px; margin-bottom: 16px; opacity: 1; max-width: 100%; border-left: 3px solid #E2E8F0; background: #F8FAFC; border-radius: 0 12px 12px 0; }
  .scroll-block.active { border-left-color: var(--color-blue); background: #EFF6FF; }
  .scroll-block-line { display: none; }
  .scroll-block h3 { font-size: 24px; }
  .scroll-block p { font-size: 16px; }
  
  .sticky-visual { display: none !important; }
  
  /* Comparison */
  .comparison-grid { grid-template-columns: 1fr; }
  .comp-card { padding: 32px; }
  
  /* Testimonials Marquee */
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { width: 280px !important; }
  .testimonial-marquee-wrapper { overflow: hidden !important; }
  .testimonial-card p { font-size: 14px !important; }
  
  /* FAQ */
  .accordion-header { font-size: 17px; padding: 20px 0; }
  
  /* Pre-Footer / Community */
  .pre-footer-grid { grid-template-columns: 1fr !important; gap: 30px !important; text-align: center; }
  .pre-footer-grid h2 { font-size: 2rem !important; }
  .pre-footer-grid p { font-size: 1rem !important; }
  .pre-footer-grid > div { width: 100% !important; }
  .pre-footer-image-wrap { display: flex; justify-content: center; }
  .pre-footer-image-wrap img { max-width: 220px !important; }
  
  /* Community buttons center */
  #support div[style*="display: flex"][style*="gap: 16px"] { justify-content: center !important; }
  
  /* Footer */
  footer { padding: 40px 0 60px !important; }
  footer div[style*="gap: 32px"] { gap: 16px !important; flex-direction: column; align-items: center; }
}

/* ========== SMALL MOBILE (max-width: 480px) ========== */
@media (max-width: 480px) {
  .max-w-6xl { padding: 0 16px; }
  
  .hero-grid { padding-top: 100px; gap: 20px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 14px !important; max-width: 100% !important; }
  
  .hero-visual { min-height: 360px; }
  .phone-stack { transform: scale(0.65); }
  
  .version-badge { font-size: 12px; padding: 6px 12px; }
  .app-store-btn-hero img { height: 40px !important; }
  
  .user-proof { flex-direction: column; gap: 8px; font-size: 12px; }
  
  .scroll-block h3 { font-size: 22px; }
  .scroll-block p { font-size: 15px; }
  
  .sticky-phone-frame { max-width: 220px; height: 440px; }
  
  .accordion-header { font-size: 16px; }
  .accordion-content p { font-size: 15px; }
  
  .testimonial-card { width: 240px !important; }
  .testimonial-card p { font-size: 13px !important; }
  
  .pre-footer-grid h2 { font-size: 1.7rem !important; }
  
  footer span[style*="font-size: 28px"] { font-size: 20px !important; }
}
