*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --yellow: #F5A623;
  --yellow-dark: #E09600;
  --yellow-light: #FFF8E7;
  --dark: #1a1a2e;
  --bg: #FAFAF7;
  --bg-warm: #F5F3EE;
  --gray: #6b7280;
  --gray-light: #9ca3af;
  --card-bg: #FFFFFF;
  --card-border: rgba(0,0,0,0.06);
  --card-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.03);
  --card-shadow-hover: 0 8px 30px rgba(0,0,0,0.08);
  --radius: 20px;
  --text: #111827;
  --text-light: #374151;
  --text-muted: #6b7280;
  --green: #16a34a;
  --blue: #2563eb;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Plus Jakarta Sans', -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text-light);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== ANIMATIONS ===== */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(2deg); } }
@keyframes float-slow { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes slide-up { from { opacity: 0; transform: translateY(50px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scale-in { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: scale(1); } }
@keyframes dot-pulse { 0%, 100% { opacity: 0.3; transform: scale(1); } 50% { opacity: 1; transform: scale(1.3); } }
@keyframes rotate-slow { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

.animate-on-scroll { opacity: 0; transform: translateY(40px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }
.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ===== LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
section { position: relative; }

/* ===== NAV ===== */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 16px 0; transition: all 0.4s ease; }
nav.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); border-bottom: 1px solid var(--card-border); padding: 10px 0; box-shadow: 0 1px 8px rgba(0,0,0,0.04); }
nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo { width: 44px; height: 44px; border-radius: 14px; background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); display: flex; align-items: center; justify-content: center; font-size: 22px; box-shadow: 0 4px 16px rgba(245, 166, 35, 0.25); }
.nav-title { font-weight: 800; font-size: 20px; color: var(--text); }
.nav-links { display: flex; gap: 28px; list-style: none; align-items: center; }
.nav-links a { color: var(--gray); text-decoration: none; font-size: 14px; font-weight: 600; transition: color 0.3s; position: relative; }
.nav-links a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--yellow); border-radius: 2px; transition: width 0.3s; }
.nav-links a:hover, .nav-links a.active-link { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active-link::after { width: 100%; }
.nav-cta { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: var(--dark) !important; padding: 10px 24px; border-radius: 12px; font-weight: 700; font-size: 14px; text-decoration: none; transition: all 0.3s; box-shadow: 0 4px 16px rgba(245, 166, 35, 0.25); }
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(245, 166, 35, 0.4); }
.nav-cta::after { display: none !important; }
.mobile-menu-btn { display: none; background: none; border: none; color: var(--text); font-size: 28px; cursor: pointer; }

/* ===== HERO ===== */
.hero { min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 120px 0 80px; background: linear-gradient(180deg, var(--yellow-light) 0%, var(--bg) 60%); }
.hero-bg { position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 30%, rgba(245,166,35,0.12) 0%, transparent 50%), radial-gradient(ellipse at 80% 70%, rgba(245,166,35,0.06) 0%, transparent 50%); }
.hero-orb { position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.25; }
.hero-orb-1 { width: 500px; height: 500px; background: var(--yellow); top: -150px; right: -100px; animation: float 8s ease-in-out infinite; }
.hero-orb-2 { width: 350px; height: 350px; background: #e67e22; bottom: -80px; left: -80px; animation: float 10s ease-in-out infinite reverse; }

.hero .container { position: relative; z-index: 1; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.8); border: 1px solid var(--card-border); border-radius: 100px; padding: 8px 20px; font-size: 13px; font-weight: 600; color: var(--yellow-dark); margin-bottom: 24px; animation: slide-up 0.8s ease-out; backdrop-filter: blur(10px); }
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: dot-pulse 2s infinite; }
.hero h1 { font-size: clamp(40px, 5vw, 64px); font-weight: 900; line-height: 1.08; color: var(--text); margin-bottom: 24px; animation: slide-up 0.8s ease-out 0.1s both; letter-spacing: -0.02em; }
.hero h1 .highlight { background: linear-gradient(135deg, var(--yellow), #ff9500); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 18px; color: var(--text-muted); line-height: 1.7; margin-bottom: 36px; max-width: 480px; animation: slide-up 0.8s ease-out 0.2s both; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; animation: slide-up 0.8s ease-out 0.3s both; }
.hero-trust { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 36px; animation: slide-up 0.8s ease-out 0.4s both; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--text-muted); }
.hero-trust-item .icon { font-size: 18px; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 32px; border-radius: 14px; font-size: 16px; font-weight: 700; text-decoration: none; border: none; cursor: pointer; transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1); font-family: inherit; }
.btn-primary { background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: var(--dark); box-shadow: 0 4px 20px rgba(245, 166, 35, 0.3); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 36px rgba(245, 166, 35, 0.45); }
.btn-secondary { background: var(--card-bg); color: var(--text); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); }
.btn-secondary:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--card-shadow-hover); }
.btn svg { width: 20px; height: 20px; }

/* ===== STATS ===== */
.stats { padding: 80px 0; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { text-align: center; padding: 32px 16px; border-radius: var(--radius); background: var(--card-bg); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); transition: all 0.4s; }
.stat-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); border-color: rgba(245, 166, 35, 0.2); }
.stat-number { font-size: 42px; font-weight: 900; background: linear-gradient(135deg, var(--yellow), #ff9500); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; margin-bottom: 4px; }
.stat-label { font-size: 14px; color: var(--gray); font-weight: 600; }

/* ===== SECTION COMMON ===== */
.section-label { display: inline-flex; align-items: center; gap: 8px; background: var(--yellow-light); border: 1px solid rgba(245, 166, 35, 0.15); border-radius: 100px; padding: 8px 20px; font-size: 13px; font-weight: 700; color: var(--yellow-dark); margin-bottom: 16px; }
.section-title { font-size: clamp(32px, 4vw, 48px); font-weight: 900; color: var(--text); margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.02em; }
.section-sub { font-size: 18px; color: var(--text-muted); max-width: 600px; line-height: 1.7; margin-bottom: 60px; }
.section-center { text-align: center; }
.section-center .section-sub { margin-left: auto; margin-right: auto; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; background: var(--bg-warm); }
.hiw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.hiw-card { text-align: center; padding: 40px 28px; background: var(--card-bg); border-radius: var(--radius); border: 1px solid var(--card-border); box-shadow: var(--card-shadow); transition: all 0.4s; }
.hiw-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.hiw-icon { width: 80px; height: 80px; border-radius: 24px; background: var(--yellow-light); display: flex; align-items: center; justify-content: center; font-size: 36px; margin: 0 auto 20px; }
.hiw-step { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--dark); font-size: 14px; font-weight: 900; margin-bottom: 12px; }
.hiw-card h3 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.hiw-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px; transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1); position: relative; overflow: hidden; box-shadow: var(--card-shadow); }
.feature-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--yellow), transparent); opacity: 0; transition: opacity 0.4s; }
.feature-card:hover { transform: translateY(-6px); border-color: rgba(245, 166, 35, 0.2); box-shadow: var(--card-shadow-hover); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 56px; height: 56px; border-radius: 16px; background: var(--yellow-light); display: flex; align-items: center; justify-content: center; font-size: 26px; margin-bottom: 20px; }
.feature-card h3 { font-size: 18px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* ===== WHY US ===== */
.why-us { padding: 100px 0; background: var(--bg-warm); }
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.why-list { list-style: none; display: flex; flex-direction: column; gap: 24px; }
.why-item { display: flex; gap: 16px; align-items: flex-start; }
.why-icon { width: 48px; height: 48px; min-width: 48px; border-radius: 14px; background: var(--yellow-light); display: flex; align-items: center; justify-content: center; font-size: 22px; }
.why-item h4 { font-size: 16px; font-weight: 800; color: var(--text); margin-bottom: 4px; }
.why-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.why-visual { background: var(--card-bg); border-radius: 24px; padding: 40px; border: 1px solid var(--card-border); box-shadow: var(--card-shadow-hover); }

/* ===== SAFETY ===== */
.safety-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.safety-card { text-align: center; padding: 32px 20px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); box-shadow: var(--card-shadow); transition: all 0.4s; }
.safety-card:hover { transform: translateY(-6px); box-shadow: var(--card-shadow-hover); }
.safety-icon { font-size: 40px; margin-bottom: 16px; }
.safety-card h4 { font-size: 15px; font-weight: 800; color: var(--text); margin-bottom: 6px; }
.safety-card p { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; background: var(--bg-warm); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: var(--radius); padding: 32px; transition: all 0.4s; box-shadow: var(--card-shadow); }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.testimonial-stars { color: var(--yellow); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card blockquote { font-size: 14px; color: var(--text-light); line-height: 1.8; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.testimonial-name { font-size: 14px; font-weight: 700; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--gray); }

/* ===== FAQ ===== */
.faq-item { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; overflow: hidden; box-shadow: var(--card-shadow); transition: all 0.3s; }
.faq-item:hover { box-shadow: var(--card-shadow-hover); }
.faq-question { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; background: none; border: none; cursor: pointer; font-family: inherit; font-size: 15px; font-weight: 700; color: var(--text); text-align: left; gap: 16px; }
.faq-question .arrow { font-size: 18px; color: var(--gray); transition: transform 0.3s; min-width: 20px; }
.faq-item.open .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 300px; }
.faq-answer-inner { padding: 0 24px 20px; font-size: 14px; color: var(--text-muted); line-height: 1.8; }

/* ===== INSTALL ===== */
.install { padding: 100px 0; }
.install-box { background: linear-gradient(135deg, var(--yellow-light), rgba(245,166,35,0.05)); border: 1px solid rgba(245,166,35,0.15); border-radius: 32px; padding: 64px; text-align: center; position: relative; overflow: hidden; }
.install-box::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(ellipse at center, rgba(245,166,35,0.06) 0%, transparent 60%); animation: rotate-slow 20s linear infinite; }
.install-box > * { position: relative; z-index: 1; }
.install-emoji { font-size: 64px; margin-bottom: 24px; animation: float-slow 3s ease-in-out infinite; }
.install-box h2 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 900; color: var(--text); margin-bottom: 16px; }
.install-box .section-sub { margin: 0 auto 40px; text-align: center; }
.install-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.install-btn { display: flex; align-items: center; gap: 14px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 16px; padding: 16px 28px; color: var(--text); text-decoration: none; transition: all 0.4s; cursor: pointer; box-shadow: var(--card-shadow); }
.install-btn:hover { background: #fff; transform: translateY(-4px); box-shadow: var(--card-shadow-hover); }
.install-btn-icon { font-size: 32px; }
.install-btn-text { text-align: left; }
.install-btn-text .small { font-size: 11px; color: var(--gray); font-weight: 500; }
.install-btn-text .big { font-size: 16px; font-weight: 800; }

/* ===== FOOTER ===== */
footer { padding: 64px 0 32px; background: var(--text); color: rgba(255,255,255,0.6); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-logo { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.footer-brand-name { font-weight: 800; font-size: 18px; color: #fff; }
.footer-desc { font-size: 14px; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.4); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.6); text-decoration: none; padding: 4px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--yellow); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-bottom p { font-size: 13px; }
.footer-bottom a { color: var(--yellow); text-decoration: none; font-size: 13px; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero .container { text-align: center; }
  .hero-sub { margin: 0 auto 36px; }
  .hero-buttons { justify-content: center; }
  .hero-trust { justify-content: center; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
  .features-grid, .testimonial-grid { grid-template-columns: 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); }
  .hiw-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; gap: 40px; }
  .safety-grid { grid-template-columns: repeat(2, 1fr); }
  .install-box { padding: 40px 24px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
  .install-buttons { flex-direction: column; align-items: center; }
  .install-btn { width: 100%; }
  .stats .container { grid-template-columns: 1fr 1fr; gap: 12px; }
  .safety-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* Mobile nav */
.nav-links.show { display: flex !important; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(255,255,255,0.98); backdrop-filter: blur(20px); padding: 24px; gap: 16px; border-bottom: 1px solid var(--card-border); box-shadow: 0 12px 24px rgba(0,0,0,0.06); animation: slide-up 0.3s ease-out; }
.nav-links.show .nav-cta { text-align: center; display: block; }
