@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:ital,wght@0,300;0,400;0,500;1,400&display=swap');

:root {
  --blue: #1565C0;
  --blue-dark: #0D47A1;
  --blue-light: #1976D2;
  --cyan: #00ACC1;
  --green: #2E7D32;
  --red: #e53935;
  --bg: #f8faff;
  --dark: #0a0f1e;
  --text: #1a2340;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --shadow: 0 4px 24px rgba(21,101,192,0.10);
  --shadow-lg: 0 8px 48px rgba(21,101,192,0.18);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'DM Sans', sans-serif; background: var(--bg); color: var(--text); overflow-x: hidden; }
h1,h2,h3,h4,h5 { font-family: 'Syne', sans-serif; }
a { text-decoration: none; }
ul { list-style: none; }

/* NAVBAR */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(248,250,255,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 0 5%; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.08); }
.nav-logo { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 1.4rem; color: var(--blue); display: flex; align-items: center; gap: 10px; }
.nav-logo .logo-icon { width: 36px; height: 36px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; flex-shrink: 0; }
.nav-logo .logo-text { background: linear-gradient(135deg, var(--blue), var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { color: var(--text-muted); font-size: 0.92rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.btn-nav-outline { padding: 9px 20px; border: 2px solid var(--blue); border-radius: 24px; color: var(--blue); font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.88rem; transition: all 0.2s; display: inline-block; }
.btn-nav-outline:hover { background: var(--blue); color: white; }
.btn-nav-primary { padding: 10px 22px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 24px; color: white; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 0.88rem; transition: all 0.25s; box-shadow: 0 4px 14px rgba(21,101,192,0.3); display: inline-block; }
.btn-nav-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(21,101,192,0.4); color: white; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu { display: none; position: fixed; top: 68px; left: 0; right: 0; background: white; border-bottom: 1px solid var(--border); padding: 20px 5%; flex-direction: column; gap: 4px; z-index: 999; box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.mobile-menu.open { display: flex; }
.mobile-menu a { color: var(--text); font-size: 1rem; font-weight: 500; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-child { border-bottom: none; }

/* BUTTONS */
.btn-main { padding: 14px 32px; background: linear-gradient(135deg, var(--blue), var(--cyan)); border-radius: 100px; color: white; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; box-shadow: 0 6px 24px rgba(21,101,192,0.35); transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; border: none; cursor: pointer; }
.btn-main:hover { transform: translateY(-3px); box-shadow: 0 10px 32px rgba(21,101,192,0.45); color: white; }
.btn-ghost { padding: 14px 32px; border: 2px solid var(--border); border-radius: 100px; color: var(--text); font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1rem; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-white { padding: 14px 36px; background: white; border-radius: 100px; color: var(--blue); font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1rem; transition: all 0.25s; box-shadow: 0 4px 20px rgba(0,0,0,0.15); display: inline-flex; align-items: center; gap: 8px; }
.btn-white:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); color: var(--blue); }
.btn-white-outline { padding: 14px 36px; background: transparent; border: 2px solid rgba(255,255,255,0.6); border-radius: 100px; color: white; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 1rem; transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px; }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: white; color: white; }

/* PAGE HERO */
.page-hero { padding: 140px 5% 80px; background: linear-gradient(160deg, #f0f7ff, var(--bg)); text-align: center; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(21,101,192,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(21,101,192,0.04) 1px, transparent 1px); background-size: 48px 48px; }
.page-hero-inner { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem,4vw,3.2rem); font-weight: 800; margin-bottom: 16px; line-height: 1.15; }
.page-hero h1 span { background: linear-gradient(135deg,var(--blue),var(--cyan)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero p { font-size: 1.1rem; color: var(--text-muted); max-width: 560px; margin: 0 auto; line-height: 1.7; }

/* SECTIONS */
.section { padding: 90px 5%; }
.section-white { background: white; }
.section-light { background: linear-gradient(160deg, #f0f7ff, #f8faff); }
.max-w { max-width: 1200px; margin: 0 auto; }
.section-label { display: inline-block; background: rgba(21,101,192,0.08); color: var(--blue); font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; }
.section-title { font-size: clamp(1.9rem,3vw,2.8rem); font-weight: 800; line-height: 1.2; color: var(--text); margin-bottom: 14px; }
.section-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; max-width: 560px; }
.section-head { text-align: center; margin-bottom: 60px; }
.section-head .section-sub { margin: 0 auto; }

/* FEATURE CARDS */
.feat-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.feat-card { background: var(--bg); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; transition: all 0.3s; position: relative; overflow: hidden; }
.feat-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg,var(--blue),var(--cyan)); opacity: 0; transition: opacity 0.3s; }
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(21,101,192,0.2); }
.feat-card:hover::before { opacity: 1; }
.feat-icon { width: 54px; height: 54px; background: linear-gradient(135deg,rgba(21,101,192,0.12),rgba(0,172,193,0.12)); border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 20px; }
.feat-title { font-size: 1.1rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.feat-desc { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; }

/* FAQ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.faq-q { padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; font-family: 'Syne', sans-serif; font-weight: 600; font-size: 0.97rem; color: var(--text); background: white; border: none; width: 100%; text-align: left; transition: background 0.2s; }
.faq-q:hover { background: var(--bg); }
.faq-icon { width: 26px; height: 26px; background: var(--bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--blue); 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; background: var(--bg); }
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p { padding: 0 24px 20px; font-size: 0.91rem; color: var(--text-muted); line-height: 1.7; }

/* CTA */
.cta-section { background: linear-gradient(135deg, var(--blue-dark), var(--blue), var(--cyan)); padding: 90px 5%; text-align: center; position: relative; overflow: hidden; }
.cta-section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; bottom: 0; background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px); background-size: 48px 48px; }
.cta-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.cta-title { font-size: clamp(2rem,3.5vw,3rem); font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.15; }
.cta-sub { font-size: 1.05rem; color: rgba(255,255,255,0.8); margin-bottom: 36px; line-height: 1.7; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 60px 5% 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto 48px; }
.footer-logo-wrap { font-family: 'Syne',sans-serif; font-weight: 800; font-size: 1.4rem; color: white; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
.footer-logo-wrap .icon { width: 32px; height: 32px; background: linear-gradient(135deg,var(--blue),var(--cyan)); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 0.9rem; }
.footer-desc { font-size: 0.88rem; line-height: 1.7; color: rgba(255,255,255,0.5); margin-bottom: 20px; }
.footer-socials { display: flex; gap: 10px; }
.soc-btn { width: 36px; height: 36px; background: rgba(255,255,255,0.06); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 0.85rem; transition: all 0.2s; font-weight: 700; }
.soc-btn:hover { background: var(--blue); color: white; }
.footer-col h4 { font-family: 'Syne',sans-serif; font-weight: 700; font-size: 0.9rem; color: white; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.5); font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--cyan); }
.footer-bottom { max-width: 1200px; margin: 0 auto; padding-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.35); flex-wrap: wrap; gap: 12px; }

/* FORMS */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-weight: 600; font-size: 0.9rem; margin-bottom: 8px; color: var(--text); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 2px solid var(--border); border-radius: 12px; font-family: 'DM Sans', sans-serif; font-size: 0.95rem; color: var(--text); background: white; transition: border-color 0.2s; outline: none; }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ANIMATIONS */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.5;transform:scale(1.3)} }
@keyframes bounce { 0%,60%,100%{transform:translateY(0)} 30%{transform:translateY(-6px)} }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.fade-in { opacity: 0; transform: translateY(30px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .feat-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .feat-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .cta-btns { flex-direction: column; align-items: center; }
  .section { padding: 60px 5%; }
  .page-hero { padding: 110px 5% 60px; }
}
