:root {
  --bg: #FAFBFD;
  --bg-warm: #F5F3EF;
  --bg-card: #FFFFFF;
  --surface: #EDECEA;
  --accent: #1A65F1;
  --accent-light: #E8EFFD;
  --accent-hover: #1454CC;
  --accent-soft: rgba(26, 101, 241, 0.06);
  --green: #16A34A;
  --green-light: #DCFCE7;
  --orange: #EA580C;
  --orange-light: #FFF1E6;
  --text: #1A1D23;
  --text-secondary: #5C6170;
  --text-muted: #9BA1B0;
  --border: #E8E7E4;
  --border-hover: #D4D3CF;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-xs: 10px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.04), 0 1px 2px rgba(0,0,0,0.02);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --shadow-accent: 0 8px 32px rgba(26,101,241,0.18);
}

* { 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;
  -webkit-font-smoothing: antialiased;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border-hover); border-radius: 3px; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 0 48px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(250,251,253,0.85); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: var(--shadow-sm); }

.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); }
.nav-logo-icon { width: 34px; height: 34px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; }
.nav-logo-icon svg { width: 20px; height: 20px; color: #fff; }
.nav-logo-text { font-weight: 700; font-size: 18px; letter-spacing: -0.4px; }

.nav-links { display: flex; gap: 8px; list-style: none; }
.nav-links a { color: var(--text-secondary); text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 14px; border-radius: 10px; transition: all 0.2s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-cta { background: var(--accent); color: #fff; padding: 9px 22px; border-radius: 10px; text-decoration: none; font-weight: 600; font-size: 14px; transition: all 0.2s; display: flex; align-items: center; gap: 7px; }
.nav-cta svg { width: 16px; height: 16px; }
.nav-cta:hover { background: var(--accent-hover); box-shadow: var(--shadow-accent); }

/* HERO */
.hero { position: relative; padding: 140px 48px 100px; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--bg) 100%); }
.hero-grid { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.hero-content { position: relative; z-index: 2; }

.hero-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 8px; background: var(--green-light); border-radius: 50px; font-size: 13px; color: var(--green); font-weight: 600; margin-bottom: 28px; }
.hero-badge-dot { width: 20px; height: 20px; background: var(--green); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.hero-badge-dot svg { width: 12px; height: 12px; color: #fff; }

.hero h1 { font-size: 54px; font-weight: 800; line-height: 1.08; letter-spacing: -2px; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-desc { font-size: 17px; line-height: 1.65; color: var(--text-secondary); max-width: 440px; margin-bottom: 36px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.btn-primary { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: #fff; padding: 14px 28px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 15px; transition: all 0.25s; border: none; cursor: pointer; }
.btn-primary svg { width: 18px; height: 18px; }
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-accent); transform: translateY(-1px); }

.btn-ghost { display: inline-flex; align-items: center; gap: 8px; background: transparent; color: var(--text); padding: 14px 28px; border-radius: 12px; text-decoration: none; font-weight: 600; font-size: 15px; border: 1.5px solid var(--border); transition: all 0.25s; }
.btn-ghost svg { width: 18px; height: 18px; }
.btn-ghost:hover { border-color: var(--border-hover); background: var(--bg-card); box-shadow: var(--shadow-sm); }

/* Hero Visual */
.hero-visual { position: relative; height: 460px; display: flex; align-items: center; justify-content: center; }
.hero-visual-bg { position: absolute; width: 380px; height: 380px; background: radial-gradient(circle, var(--accent-light) 0%, transparent 70%); border-radius: 50%; opacity: 0.7; }

.hero-card { position: relative; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-lg); width: 340px; }
.hero-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.hero-card-header span { font-size: 13px; font-weight: 600; color: var(--text-muted); font-family: 'Space Mono', monospace; }
.hero-card-status { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--green); }
.hero-card-status::before { content: ''; width: 7px; height: 7px; background: var(--green); border-radius: 50%; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-route { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; }
.hero-route-point { text-align: center; flex: 1; }
.hero-route-point .city { font-size: 15px; font-weight: 700; }
.hero-route-point .time { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.hero-route-line { flex: 1; height: 2px; background: var(--surface); position: relative; border-radius: 1px; margin: 0 10px; }
.hero-route-line::before { content: ''; position: absolute; left: 0; top: 0; width: 60%; height: 100%; background: var(--accent); border-radius: 1px; animation: routeProgress 3s ease-in-out infinite; }
@keyframes routeProgress { 0% { width: 20%; } 50% { width: 80%; } 100% { width: 20%; } }
.hero-route-icon { width: 32px; height: 32px; background: var(--accent-light); border-radius: 8px; display: flex; align-items: center; justify-content: center; position: absolute; top: -15px; left: 50%; transform: translateX(-50%); }
.hero-route-icon svg { width: 16px; height: 16px; color: var(--accent); }

.hero-seats { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; margin-bottom: 20px; }
.hero-seat { width: 100%; aspect-ratio: 1; border-radius: 4px; transition: all 0.2s; }
.hero-seat.taken { background: var(--accent-light); }
.hero-seat.selected { background: var(--accent); }
.hero-seat.empty { background: var(--surface); }

.hero-card-footer { display: flex; justify-content: space-between; align-items: center; }
.hero-card-price { font-size: 22px; font-weight: 800; letter-spacing: -0.5px; }
.hero-card-price span { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hero-card-btn { padding: 10px 20px; background: var(--accent); color: #fff; border: none; border-radius: 10px; font-weight: 700; font-size: 13px; cursor: pointer; font-family: inherit; text-decoration: none; display: inline-block; }

.float-badge { position: absolute; background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 10px 16px; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; animation: floatBadge 4s ease-in-out infinite; z-index: 3; }
.float-badge-1 { top: 30px; right: -20px; }
.float-badge-2 { bottom: 40px; left: -30px; animation-delay: -2s; }
@keyframes floatBadge { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.float-badge-icon { width: 32px; height: 32px; border-radius: 8px; display: flex; align-items: center; justify-content: center; }
.float-badge-icon svg { width: 18px; height: 18px; }

/* ALERT */
.alert-strip { max-width: 1200px; margin: -20px auto 0; padding: 0 48px; position: relative; z-index: 10; }
.alert-inner { background: var(--orange-light); border: 1.5px solid rgba(234, 88, 12, 0.2); border-radius: var(--radius-sm); padding: 14px 24px; display: flex; align-items: center; gap: 12px; font-size: 14px; color: #92400e; font-weight: 500; }
.alert-inner a { color: var(--accent); font-weight: 700; text-decoration: none; }
.alert-inner a:hover { text-decoration: underline; }
.alert-icon-wrap { width: 32px; height: 32px; background: rgba(234,88,12,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.alert-icon-wrap svg { width: 18px; height: 18px; color: var(--orange); }

/* STATS */
.stats-strip { max-width: 1200px; margin: 20px auto 0; padding: 0 48px; position: relative; z-index: 10; }
.stats-inner { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; box-shadow: var(--shadow-md); }
.stat { text-align: center; }
.stat-value { font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.stat-value em { font-style: normal; color: var(--accent); }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 4px; font-weight: 500; }

/* SECTIONS */
section { padding: 100px 48px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-family: 'Space Mono', monospace; font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-weight: 700; margin-bottom: 12px; background: var(--accent-light); padding: 6px 14px; border-radius: 8px; }
.section-header h2 { font-size: clamp(30px, 3.5vw, 44px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 14px; }
.section-header p { font-size: 16px; color: var(--text-secondary); max-width: 480px; margin: 0 auto; line-height: 1.6; }

/* FEATURES */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.feature-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 32px 28px; transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.feature-card:hover { border-color: var(--accent); box-shadow: var(--shadow-lg), 0 0 0 3px var(--accent-soft); transform: translateY(-3px); }
.feature-icon { width: 48px; height: 48px; border-radius: var(--radius-xs); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.feature-icon svg { width: 26px; height: 26px; }
.fi-blue { background: var(--accent-light); } .fi-blue svg { color: var(--accent); }
.fi-green { background: var(--green-light); } .fi-green svg { color: var(--green); }
.fi-orange { background: var(--orange-light); } .fi-orange svg { color: var(--orange); }
.feature-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; letter-spacing: -0.2px; }
.feature-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* INTEGRATIONS */
.integrations-section { background: var(--bg-warm); }
.integrations-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.int-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 28px 24px; text-align: center; transition: all 0.3s; }
.int-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.int-logo { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.int-logo svg { width: 26px; height: 26px; }
.int-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.int-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 14px; }
.int-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 12px; border-radius: 50px; font-size: 11px; font-weight: 700; letter-spacing: 0.3px; }
.int-badge-on { background: var(--green-light); color: var(--green); }
.int-badge-api { background: var(--accent-light); color: var(--accent); }
.int-badge svg { width: 10px; height: 10px; }

/* TECH */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 1200px; margin: 0 auto; }
.tech-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius-sm); padding: 24px; display: flex; gap: 16px; align-items: flex-start; transition: all 0.2s; }
.tech-card:hover { border-color: var(--border-hover); box-shadow: var(--shadow-sm); }
.tech-icon { width: 40px; height: 40px; border-radius: var(--radius-xs); background: var(--surface); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.tech-icon svg { width: 20px; height: 20px; color: var(--text-secondary); }
.tech-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.tech-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* ABOUT */
.about-section { background: var(--bg-warm); }
.about-inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text h2 { font-size: 36px; font-weight: 800; letter-spacing: -1px; margin-bottom: 6px; }
.about-text .sub { color: var(--text-muted); font-size: 14px; margin-bottom: 16px; font-weight: 500; }
.about-text p { font-size: 15px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.about-feats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-feat { display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--text-secondary); }
.about-feat-check { width: 22px; height: 22px; background: var(--green-light); border-radius: 6px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.about-feat-check svg { width: 13px; height: 13px; color: var(--green); }

.about-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow-md); text-align: center; position: relative; overflow: hidden; }
.about-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--accent), #8B5CF6, var(--accent)); }
.about-card-logo { width: 72px; height: 72px; background: var(--accent); border-radius: 18px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; box-shadow: 0 8px 24px rgba(26,101,241,0.2); }
.about-card-logo svg { width: 36px; height: 36px; color: #fff; }
.about-card h3 { font-size: 20px; font-weight: 800; margin-bottom: 4px; }
.about-card .desc { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; }
.about-card-contacts { display: flex; flex-direction: column; gap: 10px; }
.about-card-contacts a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; background: var(--surface); border-radius: 10px; color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 500; transition: all 0.2s; }
.about-card-contacts a:hover { background: var(--accent-light); color: var(--accent); }
.about-card-contacts a svg { width: 16px; height: 16px; }

/* FOOTER */
footer { padding: 32px 48px; border-top: 1px solid var(--border); background: var(--bg); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--text-secondary); text-decoration: none; font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 5px; transition: color 0.2s; }
.footer-links a:hover { color: var(--accent); }
.footer-links a svg { width: 14px; height: 14px; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { height: 360px; }
  .features-grid, .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .integrations-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  nav { display: none; }

  section { padding: 60px 16px; }
  .hero { padding: 40px 16px 50px; }
  .hero-grid { gap: 36px; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; line-height: 1.12; margin-bottom: 14px; }
  .hero-badge { font-size: 12px; padding: 5px 12px 5px 6px; margin-bottom: 20px; }
  .hero-badge-dot { width: 18px; height: 18px; }
  .hero-badge-dot svg { width: 10px; height: 10px; }
  .hero-desc { font-size: 15px; margin-bottom: 24px; }
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { padding: 13px 24px; font-size: 14px; border-radius: 10px; justify-content: center; }

  .hero-visual { height: auto; min-height: 320px; }
  .hero-visual-bg { width: 260px; height: 260px; }
  .hero-card { width: 100%; max-width: 320px; padding: 20px; margin: 0 auto; }
  .hero-card-header span { font-size: 11px; }
  .hero-card-status { font-size: 11px; }
  .hero-route-point .city { font-size: 13px; }
  .hero-route-point .time { font-size: 11px; }
  .hero-card-price { font-size: 18px; }
  .hero-card-price span { font-size: 11px; }
  .hero-card-btn { padding: 9px 16px; font-size: 12px; }
  .hero-seats { gap: 4px; }
  .float-badge { padding: 8px 12px; font-size: 12px; border-radius: 10px; }
  .float-badge-1 { top: 10px; right: -5px; }
  .float-badge-2 { bottom: 20px; left: -5px; }
  .float-badge-icon { width: 28px; height: 28px; border-radius: 7px; }
  .float-badge-icon svg { width: 15px; height: 15px; }

  .alert-strip { padding: 0 16px; margin-top: -10px; }
  .alert-inner { padding: 12px 16px; font-size: 13px; gap: 10px; }
  .alert-icon-wrap { width: 28px; height: 28px; min-width: 28px; }
  .alert-icon-wrap svg { width: 15px; height: 15px; }

  .stats-strip { padding: 0 16px; margin-top: 16px; }
  .stats-inner { padding: 20px; grid-template-columns: repeat(2, 1fr); gap: 16px; border-radius: 14px; }
  .stat-value { font-size: 24px; }
  .stat-label { font-size: 11px; }

  .section-header { margin-bottom: 32px; }
  .section-tag { font-size: 11px; padding: 5px 10px; }
  .section-header h2 { font-size: 26px; letter-spacing: -1px; }
  .section-header p { font-size: 14px; }

  .features-grid, .tech-grid, .integrations-grid { grid-template-columns: 1fr; gap: 12px; }
  .feature-card { padding: 24px 20px; border-radius: 16px; }
  .feature-icon { width: 42px; height: 42px; margin-bottom: 14px; }
  .feature-icon svg { width: 22px; height: 22px; }
  .feature-card h3 { font-size: 15px; }
  .feature-card p { font-size: 13px; }

  .int-card { padding: 24px 18px; border-radius: 16px; }
  .int-logo { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 10px; }
  .int-logo svg { width: 22px; height: 22px; }
  .int-card h3 { font-size: 14px; }
  .int-card p { font-size: 12px; margin-bottom: 10px; }

  .tech-card { padding: 18px; gap: 12px; border-radius: 12px; }
  .tech-icon { width: 36px; height: 36px; }
  .tech-icon svg { width: 18px; height: 18px; }
  .tech-card h4 { font-size: 13px; }
  .tech-card p { font-size: 12px; }

  .about-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-text h2 { font-size: 28px; }
  .about-text .sub { font-size: 13px; }
  .about-text p { font-size: 14px; margin-bottom: 20px; }
  .about-feats { grid-template-columns: 1fr; gap: 8px; }
  .about-feat { font-size: 12px; }
  .about-card { padding: 28px 20px; border-radius: 16px; }
  .about-card-logo { width: 56px; height: 56px; border-radius: 14px; }
  .about-card-logo svg { width: 28px; height: 28px; }
  .about-card h3 { font-size: 18px; }
  .about-card .desc { font-size: 12px; margin-bottom: 18px; }
  .about-card-contacts a { padding: 9px; font-size: 12px; }

  footer { display: none; }
}

/* Extra small screens */
@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .hero-desc { font-size: 14px; }
  .hero-card { padding: 16px; }
  .hero-route-point .city { font-size: 12px; }
  .hero-card-price { font-size: 16px; }
  .stats-inner { grid-template-columns: 1fr; }
  .stat-value { font-size: 22px; }
  .section-header h2 { font-size: 24px; }
  .float-badge { display: none; }
}

/* HERO ROUTE TRANSITION */
.hero-route-point .city,
.hero-route-point .time,
.hero-card-header span,
.hero-card-price {
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.hero-card.switching .hero-route-point .city,
.hero-card.switching .hero-route-point .time,
.hero-card.switching .hero-card-header span,
.hero-card.switching .hero-card-price {
  opacity: 0;
  transform: translateY(8px);
}
.hero-seats .hero-seat {
  transition: background 0.5s ease;
}

/* REVEAL ANIMATION */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
