@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-SemiBold.woff2') format('woff2');
    font-weight: 600; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
    font-family: 'Montserrat';
    src: url('/assets/fonts/Montserrat-ExtraBold.woff2') format('woff2');
    font-weight: 800; font-style: normal; font-display: swap;
}

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

:root {
    --blue:    #1a5cff;
    --blue-dk: #1247cc;
    --navy:    #0a1628;
    --navy-2:  #0f1f3d;
    --accent:  #00c2a8;
    --gray:    #6b7a99;
    --gray-lt: #e8edf5;
    --white:   #ffffff;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--navy);
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Navigation ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 200;
    transition: background .25s, box-shadow .25s;
}
.nav.scrolled {
    background: rgba(10,22,40,.94);
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0,0,0,.25);
}
.nav-inner {
    display: flex; align-items: center; justify-content: space-between;
    max-width: 1120px; margin: 0 auto; padding: 0 24px;
    height: 66px;
}
.nav-logo {
    display: flex; align-items: center; gap: 10px;
    text-decoration: none; color: var(--white);
    font-size: 15px; font-weight: 700; letter-spacing: -.2px;
}
.nav-links {
    display: flex; align-items: center; gap: 28px;
}
.nav-links a {
    color: rgba(255,255,255,.75); text-decoration: none;
    font-size: 13px; font-weight: 500; transition: color .15s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
    background: rgba(255,255,255,.12) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255,255,255,.25) !important;
    padding: 7px 16px !important; border-radius: 8px !important;
    font-weight: 600 !important; transition: all .15s !important;
}
.nav-cta:hover { background: rgba(255,255,255,.2) !important; }

/* ── Hero ── */
.hero {
    position: relative; overflow: hidden;
    background: linear-gradient(135deg, #050e1f 0%, #0a1f45 40%, #0f2b62 70%, #0a1628 100%);
    padding-top: 66px; min-height: 100vh;
    display: flex; flex-direction: column; justify-content: center;
}
.hero-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
}
.hero-skyline {
    position: absolute; bottom: 0; left: 0; right: 0; width: 100%;
    height: 320px;
}
.hero-grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(26,92,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,92,255,.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 40%, transparent 100%);
}

.hero > .container {
    position: relative; z-index: 1;
    padding-top: 80px; padding-bottom: 40px;
    text-align: center;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 7px;
    background: rgba(0,194,168,.15); border: 1px solid rgba(0,194,168,.3);
    color: var(--accent); border-radius: 20px; padding: 5px 14px;
    font-size: 11px; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    margin-bottom: 24px;
}
.dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: .5; transform: scale(1.3); }
}

.hero-title {
    font-size: clamp(36px, 6vw, 68px);
    font-weight: 800; color: var(--white); line-height: 1.1;
    letter-spacing: -1.5px; margin-bottom: 22px;
}
.gradient-text {
    background: linear-gradient(90deg, var(--accent) 0%, var(--blue) 60%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 17px; color: rgba(255,255,255,.65); max-width: 600px;
    margin: 0 auto 36px; line-height: 1.7; font-weight: 400;
}

.hero-actions {
    display: flex; align-items: center; justify-content: center; gap: 14px;
    margin-bottom: 48px; flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--blue); color: var(--white);
    padding: 14px 28px; border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 700;
    text-decoration: none; cursor: pointer; border: none;
    box-shadow: 0 4px 24px rgba(26,92,255,.5);
    transition: all .2s;
}
.btn-hero-primary:hover {
    background: var(--blue-dk);
    transform: translateY(-1px);
    box-shadow: 0 8px 32px rgba(26,92,255,.6);
}
.btn-hero-primary.btn-large { font-size: 16px; padding: 16px 36px; }

.btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255,255,255,.8); padding: 14px 22px; border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 600;
    text-decoration: none; border: 1.5px solid rgba(255,255,255,.2);
    transition: all .2s; background: rgba(255,255,255,.04);
}
.btn-hero-secondary:hover {
    background: rgba(255,255,255,.1); color: var(--white);
    border-color: rgba(255,255,255,.4);
}

.hero-stats {
    display: flex; align-items: center; justify-content: center;
    gap: 0; flex-wrap: wrap;
}
.hero-stat { text-align: center; padding: 0 32px; }
.hero-stat-num {
    font-size: 28px; font-weight: 800; color: var(--white); line-height: 1;
}
.hero-stat-num span { font-size: 13px; font-weight: 500; color: var(--accent); margin-left: 3px; }
.hero-stat-lbl { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 4px; text-transform: uppercase; letter-spacing: .5px; }
.hero-stat-divider { width: 1px; height: 36px; background: rgba(255,255,255,.1); }

/* ── Mock Dashboard ── */
.hero-dashboard-wrap {
    position: relative; z-index: 1;
    padding-bottom: 0; margin-top: 24px;
}
.mock-dashboard {
    background: #f0f4fb; border-radius: 14px 14px 0 0;
    box-shadow: 0 -8px 60px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.08);
    display: flex; overflow: hidden; height: 340px;
    max-width: 900px; margin: 0 auto;
}
.mock-sidebar {
    width: 180px; background: #0a1628; padding: 18px 14px;
    flex-shrink: 0;
}
.mock-logo {
    display: flex; align-items: center; gap: 8px; margin-bottom: 18px;
}
.mock-logo-icon {
    width: 24px; height: 24px; border-radius: 6px; background: var(--blue); flex-shrink: 0;
}
.mock-nav-item {
    height: 7px; border-radius: 4px; background: rgba(255,255,255,.1);
    margin-bottom: 10px;
}
.mock-main { flex: 1; padding: 16px; overflow: hidden; }
.mock-kpis {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px;
    margin-bottom: 12px;
}
.mock-kpi {
    background: var(--white); border-radius: 7px; padding: 10px 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.mock-chart-area {
    background: var(--white); border-radius: 7px; padding: 12px;
    margin-bottom: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.mock-chart { height: 90px; }
.mock-table-card {
    background: var(--white); border-radius: 7px; padding: 12px;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.mock-row {
    display: flex; justify-content: space-between;
    font-size: 10px; color: #444; padding: 4px 0;
    border-bottom: 1px solid #f3f5f9;
}
.mock-row:last-child { border-bottom: none; }

/* ── Sections ── */
.section { padding: 90px 0; }
.section-label {
    font-size: 11px; font-weight: 700; color: var(--blue);
    text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 12px;
}
.section-title {
    font-size: clamp(28px, 4vw, 44px); font-weight: 800; line-height: 1.15;
    color: var(--navy); margin-bottom: 16px; letter-spacing: -.5px;
}
.section-sub {
    font-size: 16px; color: var(--gray); max-width: 600px; line-height: 1.7;
    margin-bottom: 52px;
}

/* ── Features ── */
.features-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.feature-card {
    background: #f7f9fd; border-radius: 14px; padding: 28px;
    border: 1.5px solid #e8edf5;
    transition: transform .2s, box-shadow .2s;
}
.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(10,22,40,.1);
    border-color: #d0d8ee;
}
.feature-icon {
    width: 48px; height: 48px; border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.feature-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.feature-card p  { font-size: 13px; color: var(--gray); line-height: 1.7; }

/* ── Hamburg section ── */
.hamburg-section {
    background: linear-gradient(135deg, #050e1f 0%, #0a1f45 50%, #0d2755 100%);
    padding: 90px 0; position: relative; overflow: hidden;
}
.hamburg-section::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background-image: linear-gradient(rgba(26,92,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(26,92,255,.04) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
}
.hamburg-inner {
    position: relative; z-index: 1;
    display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.hamburg-svg { width: 100%; border-radius: 16px; box-shadow: 0 12px 60px rgba(0,0,0,.4); }

/* ── Steps ── */
.steps-grid {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0;
    align-items: start; max-width: 900px; margin: 0 auto;
}
.step { text-align: center; padding: 0 20px; }
.step-num {
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--blue); color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 800; margin: 0 auto 16px;
    box-shadow: 0 4px 16px rgba(26,92,255,.4);
}
.step h3 { font-size: 15px; font-weight: 700; margin-bottom: 10px; }
.step p  { font-size: 13px; color: var(--gray); line-height: 1.7; }
.step-code {
    background: #0a1628; color: #7ec8e3; border-radius: 7px;
    padding: 10px 12px; font-family: 'Courier New', monospace;
    font-size: 10px; line-height: 1.6; margin-top: 14px; text-align: left;
}
.step-arrow {
    font-size: 24px; color: #d0d8ee; padding-top: 14px;
    user-select: none; align-self: center;
}

/* ── Comparison ── */
.comparison-table { max-width: 700px; margin: 0 auto; }
.comparison-header, .comparison-row {
    display: grid; grid-template-columns: 1fr 140px 140px;
}
.comparison-header {
    padding: 12px 0; border-bottom: 2px solid var(--gray-lt);
}
.comp-head {
    display: flex; align-items: center; justify-content: center;
    font-size: 12px; font-weight: 700; padding: 8px 10px; border-radius: 8px;
}
.comp-hwm { background: #e8edff; color: var(--blue); }
.comp-ga  { background: #fff5e6; color: #c07030; }
.comparison-row {
    padding: 12px 0; border-bottom: 1px solid #f3f5f9; align-items: center;
}
.comparison-row:last-child { border-bottom: none; }
.comp-feature { font-size: 13px; color: var(--navy); font-weight: 500; }
.comp-cell { text-align: center; }
.comp-yes { color: #38a169; font-size: 16px; font-weight: 700; }
.comp-no  { color: #c53030; font-size: 16px; }

/* ── CTA ── */
.cta-section {
    background: linear-gradient(135deg, #050e1f 0%, #0a1f45 60%, #0f2b62 100%);
    padding: 100px 0; text-align: center; position: relative; overflow: hidden;
}
.cta-bg-shape {
    position: absolute; width: 600px; height: 600px;
    border-radius: 50%; background: radial-gradient(circle, rgba(26,92,255,.2) 0%, transparent 70%);
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: clamp(32px, 5vw, 52px); font-weight: 800; color: var(--white);
    margin-bottom: 16px; letter-spacing: -.5px;
}
.cta-section p { font-size: 17px; color: rgba(255,255,255,.65); margin-bottom: 36px; }
.cta-note {
    margin-top: 20px; font-size: 13px; color: rgba(255,255,255,.45);
}
.cta-note a { color: rgba(255,255,255,.7); text-decoration: none; }
.cta-note a:hover { color: var(--white); }

/* ── Footer ── */
.footer { background: #050e1f; padding: 60px 0 28px; }
.footer-inner {
    display: flex; justify-content: space-between; gap: 40px;
    padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.07);
    flex-wrap: wrap;
}
.footer-logo {
    display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
    font-size: 14px; font-weight: 700; color: var(--white);
}
.footer-brand p { font-size: 12px; color: rgba(255,255,255,.4); line-height: 1.6; }
.footer-links { display: flex; gap: 48px; }
.footer-col {
    display: flex; flex-direction: column; gap: 10px;
}
.footer-col strong { font-size: 11px; color: rgba(255,255,255,.5); text-transform: uppercase; letter-spacing: 1px; }
.footer-col a { font-size: 13px; color: rgba(255,255,255,.5); text-decoration: none; transition: color .15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 20px; font-size: 11px; color: rgba(255,255,255,.3); flex-wrap: wrap; gap: 10px;
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,.3); text-decoration: none; }
.footer-bottom-links a:hover { color: rgba(255,255,255,.6); }

/* ── Responsive ── */
@media (max-width: 960px) {
    .features-grid { grid-template-columns: 1fr 1fr; }
    .hamburg-inner { grid-template-columns: 1fr; }
    .hamburg-svg { max-width: 480px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-arrow { display: none; }
    .mock-kpis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 18px; }
    .hero-stat-divider { display: none; }
    .mock-dashboard { height: 260px; }
    .mock-sidebar { width: 120px; }
    .comparison-table { overflow-x: auto; }
    .footer-links { flex-direction: column; gap: 24px; }
    .nav-links a:not(.nav-cta) { display: none; }
}
