/* ===== DESIGN TOKENS ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Pacifico&display=swap');

:root {
  --primary: #FFBD59;
  --primary-dark: #E8AB3A;
  --primary-light: #FFCF80;
  --accent: #FFAD80;
  --bg: #FFFAF2;
  --bg-alt: #FFF4DC;
  --surface: #FFFFFF;
  --text: #1C1C2E;
  --text-muted: #6B6B8A;
  --border: rgba(255, 189, 89, 0.3);
  --shadow-sm: 0 2px 12px rgba(255,189,89,0.15);
  --shadow-md: 0 8px 32px rgba(255,189,89,0.2);
  --shadow-lg: 0 20px 60px rgba(255,189,89,0.22);
  --radius: 16px;
  --radius-lg: 24px;
  --gradient: linear-gradient(135deg, #FFBD59 0%, #FFAD80 100%);
  --gradient-soft: linear-gradient(135deg, #FFFAF2 0%, #FFF4DC 100%);
}

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 99px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 5%;
  height: 70px;
  background: rgba(255,249,240,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 38px; width: auto; max-width: 120px; object-fit: contain; }
.nav-logo span { font-size: 1.3rem; font-weight: 700; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { font-weight: 500; font-size: 0.95rem; color: var(--text-muted); transition: color 0.2s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; right: 0; height: 2px; background: var(--gradient); border-radius: 2px; transform: scaleX(0); transition: transform 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }
.nav-cta {
  background: var(--gradient); color: #fff; font-weight: 600;
  padding: 10px 22px; border-radius: 99px; font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(255,173,128,0.35);
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(255,173,128,0.45); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px; border-radius: 99px; font-weight: 600;
  font-size: 1rem; cursor: pointer; border: none; transition: all 0.25s;
  font-family: 'Poppins', sans-serif;
}
.btn-primary { background: var(--gradient); color: #fff; box-shadow: 0 6px 24px rgba(255,173,128,0.38); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(255,173,128,0.48); }
.btn-outline { background: transparent; color: var(--text); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary); color: var(--text); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1.1rem; }

/* ===== SECTION COMMON ===== */
.section { padding: 90px 5%; }
.section-tag {
  display: inline-block; background: var(--bg-alt); border: 1px solid var(--border);
  color: var(--primary-dark); font-weight: 600; font-size: 0.8rem; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 6px 16px; border-radius: 99px; margin-bottom: 16px;
}
.section-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; line-height: 1.2; margin-bottom: 16px; }
.section-title span { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.section-subtitle { font-size: 1.05rem; color: var(--text-muted); max-width: 580px; line-height: 1.7; }
.text-center { text-align: center; }
.text-center .section-subtitle { margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; position: relative; display: flex; align-items: center;
  padding: 100px 5% 60px; overflow: hidden;
}
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero-content { position: relative; z-index: 2; max-width: 580px; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,188,66,0.15); border: 1px solid rgba(255,188,66,0.4);
  color: var(--primary-dark); font-weight: 600; font-size: 0.85rem;
  padding: 8px 18px; border-radius: 99px; margin-bottom: 24px;
}
.hero-badge .dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 1.8s infinite; }
@keyframes pulse { 0%,100%{transform:scale(1);opacity:1} 50%{transform:scale(1.4);opacity:0.6} }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; line-height: 1.15; margin-bottom: 20px; }
.hero h1 .highlight { background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero p { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 36px; max-width: 480px; line-height: 1.7; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 52px; padding-top: 32px; border-top: 1px solid var(--border); flex-wrap: wrap; }
.hero-stat-num { font-size: 1.8rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-stat-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.hero-visual { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); z-index: 2; perspective: 800px; }
.phone-mockup {
  width: 260px; height: 520px; background: #1C1C2E;
  border-radius: 44px; padding: 12px;
  box-shadow: 0 40px 100px rgba(28,28,46,0.35), 0 0 0 1px rgba(255,255,255,0.08);
  transform: rotateY(-12deg) rotateX(4deg);
  transition: transform 0.1s ease-out;
  position: relative;
}
.phone-inner {
  width: 100%; height: 100%; background: var(--bg-alt);
  border-radius: 34px; overflow: hidden; display: flex;
  flex-direction: column; align-items: center; justify-content: center;
  position: relative;
}
.phone-status { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 100px; height: 26px; background: #1C1C2E; border-radius: 0 0 20px 20px; }
.phone-logo-wrap { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.phone-logo-wrap img { width: 80px; height: 80px; border-radius: 20px; }
.phone-app-name { font-weight: 700; font-size: 1rem; color: var(--text); }
.phone-screen-label { font-size: 0.72rem; color: var(--text-muted); }
.phone-glow { position: absolute; top: -20px; right: -20px; width: 200px; height: 200px; background: radial-gradient(circle, rgba(255,188,66,0.35) 0%, transparent 70%); pointer-events: none; border-radius: 50%; }

/* ===== FEATURES ===== */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 56px; }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px; cursor: default;
  transition: transform 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d; position: relative;
}
.feature-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px) rotateX(3deg) rotateY(-2deg); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(255,188,66,0.2), rgba(255,112,67,0.2));
  display: flex; align-items: center; justify-content: center; margin-bottom: 20px;
  font-size: 1.6rem;
}
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.feature-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* ===== HOW IT WORKS ===== */
.how-it-works { background: var(--gradient-soft); }
.steps { display: flex; gap: 0; margin-top: 56px; position: relative; flex-wrap: wrap; }
.steps::before { content: ''; position: absolute; top: 36px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, var(--primary), var(--accent)); z-index: 0; }
.step { flex: 1; min-width: 200px; text-align: center; position: relative; z-index: 1; padding: 0 20px; }
.step-num {
  width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 20px;
  background: var(--gradient); color: #fff; font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(255,173,128,0.4); border: 4px solid var(--bg);
}
.step h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.step p { font-size: 0.88rem; color: var(--text-muted); }

/* ===== CTA BANNER ===== */
.cta-banner {
  background: var(--gradient); border-radius: var(--radius-lg);
  padding: 60px 48px; text-align: center; position: relative; overflow: hidden;
  margin: 0 5% 90px;
}
.cta-banner::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 240px; height: 240px; background: rgba(255,255,255,0.12);
  border-radius: 50%;
}
.cta-banner::after {
  content: ''; position: absolute; bottom: -80px; left: -40px;
  width: 200px; height: 200px; background: rgba(255,255,255,0.08);
  border-radius: 50%;
}
.cta-banner h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: #fff; margin-bottom: 12px; }
.cta-banner p { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.05rem; }

/* ===== GOOGLE PLAY BUTTON ===== */
.play-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #1C1C2E; color: #fff; padding: 14px 28px;
  border-radius: 14px; font-weight: 600; transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}
.play-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(0,0,0,0.4); }
.play-btn svg { width: 28px; height: 28px; }
.play-btn-text { display: flex; flex-direction: column; text-align: left; }
.play-btn-text span:first-child { font-size: 0.7rem; font-weight: 400; opacity: 0.75; }
.play-btn-text span:last-child { font-size: 1rem; font-weight: 700; }

/* ===== SCREENSHOTS ===== */
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; margin-top: 48px; }
.screenshot-slot {
  aspect-ratio: 9/18; background: var(--bg-alt); border: 2px dashed var(--border);
  border-radius: 24px; display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 12px; color: var(--text-muted); font-size: 0.85rem; text-align: center; padding: 20px;
}
.screenshot-slot .ss-icon { font-size: 2.5rem; opacity: 0.5; }

/* ===== FAQ ===== */
.faq-list { margin-top: 48px; display: flex; flex-direction: column; gap: 12px; max-width: 780px; margin-left: auto; margin-right: auto; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.faq-q {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 24px; cursor: pointer; font-weight: 600; gap: 12px;
  transition: background 0.2s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-icon { font-size: 1.2rem; transition: transform 0.3s; flex-shrink: 0; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.3s; }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a-inner { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ===== CONTACT FORM ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-top: 56px; align-items: start; }
.contact-info h3 { font-size: 1.4rem; font-weight: 700; margin-bottom: 16px; }
.contact-info p { color: var(--text-muted); line-height: 1.7; margin-bottom: 24px; }
.contact-detail { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-weight: 500; }
.contact-detail span:first-child { font-size: 1.3rem; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 6px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border);
  border-radius: 12px; font-family: 'Poppins', sans-serif; font-size: 0.95rem;
  background: var(--surface); color: var(--text); outline: none; transition: border 0.2s;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(255,188,66,0.15); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ===== PRIVACY ===== */
.privacy-content { max-width: 800px; margin: 56px auto 0; }
.privacy-section { margin-bottom: 40px; }
.privacy-section h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; color: var(--text); padding-bottom: 8px; border-bottom: 2px solid var(--border); }
.privacy-section p, .privacy-section li { color: var(--text-muted); font-size: 0.96rem; line-height: 1.8; margin-bottom: 10px; }
.privacy-section ul { padding-left: 20px; }
.privacy-section li { list-style: disc; }

/* ===== ABOUT ===== */
.about-hero { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-hero-image { border-radius: var(--radius-lg); overflow: hidden; }
.mission-card { background: var(--gradient); border-radius: var(--radius-lg); padding: 40px; color: #fff; margin-top: 60px; }
.mission-card h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.mission-card p { opacity: 0.9; line-height: 1.7; }
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 48px; }
.value-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; text-align: center; }
.value-icon { font-size: 2.2rem; margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.value-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.6; }
.founder-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; display: flex; gap: 28px; align-items: flex-start; margin-top: 48px; }
.founder-avatar {
  width: 90px; height: 90px; border-radius: 50%; flex-shrink: 0;
  background: var(--gradient); display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: #fff; font-weight: 800;
}
.founder-info h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 4px; }
.founder-role { color: var(--primary-dark); font-weight: 600; font-size: 0.88rem; margin-bottom: 14px; }
.founder-bio { color: var(--text-muted); font-size: 0.93rem; line-height: 1.75; }

/* ===== FOOTER ===== */
footer {
  background: var(--text); color: rgba(255,255,255,0.8);
  padding: 60px 5% 30px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .nav-logo span { color: var(--primary); -webkit-text-fill-color: var(--primary); background: none; }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; line-height: 1.7; opacity: 0.7; max-width: 280px; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--primary); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 0.88rem; color: rgba(255,255,255,0.65); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; opacity: 0.55; flex-wrap: wrap; gap: 8px; }

/* ===== PAGE HERO ===== */
.page-hero {
  padding: 140px 5% 80px; background: var(--gradient-soft);
  border-bottom: 1px solid var(--border); text-align: center;
}
.page-hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-visual { display: none; }
  .steps::before { display: none; }
  .contact-grid, .about-hero, .footer-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .founder-card { flex-direction: column; }
}
@media (max-width: 640px) {
  .nav-links { display: none; position: fixed; top: 70px; left: 0; right: 0; background: var(--bg); flex-direction: column; padding: 24px 5%; border-bottom: 1px solid var(--border); gap: 16px; }
  .nav-links.open { display: flex; }
  .hamburger { display: flex; }
  .hero-btns { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 60px 5%; }
  .cta-banner { padding: 40px 24px; margin: 0 0 60px; }
  .hero-stats { gap: 20px; }
}
