/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #06060f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --text: #e2e8f0;
    --text-dim: #94a3b8;
    --text-dimmer: #64748b;
    --accent: #818cf8;
    --accent-bright: #a5b4fc;
    --accent-2: #c084fc;
    --green: #34d399;
    --amber: #fbbf24;
    --red: #f87171;
    --cyan: #22d3ee;
    --orange: #fb923c;
    --purple: #c084fc;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

/* ===== Ambient Background ===== */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
}

.orb-1 {
    width: 800px;
    height: 800px;
    background: var(--accent);
    top: -200px;
    left: -200px;
    animation: float 20s ease-in-out infinite;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-2);
    top: 40%;
    right: -200px;
    animation: float 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--cyan);
    bottom: -100px;
    left: 30%;
    animation: float 22s ease-in-out infinite 5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -20px) scale(1.05);
    }

    66% {
        transform: translate(-20px, 15px) scale(0.95);
    }
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 16px 0;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(6, 6, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: var(--accent);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 14px;
    color: white;
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: white;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: white;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 28px;
    height: 20px;
    position: relative;
    z-index: 101;
}

.mobile-menu-btn span {
    display: block;
    height: 2px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s;
    position: absolute;
    left: 0;
    right: 0;
}

.mobile-menu-btn span:nth-child(1) {
    top: 0;
}

.mobile-menu-btn span:nth-child(2) {
    top: 9px;
}

.mobile-menu-btn span:nth-child(3) {
    top: 18px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 9px;
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg);
    top: 9px;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(6, 6, 15, 0.98);
    backdrop-filter: blur(20px);
    padding: 24px;
    flex-direction: column;
    gap: 16px;
    z-index: 99;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.open {
    display: flex;
}

.mobile-menu a {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 16px;
    padding: 8px 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    border: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    box-shadow: 0 4px 20px rgba(129, 140, 248, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 8px 30px rgba(129, 140, 248, 0.5);
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: white;
    background: rgba(129, 140, 248, 0.05);
}

.btn-ghost {
    background: transparent;
    color: var(--text-dim);
}

.btn-ghost:hover {
    color: white;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 16px;
    border-radius: 12px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    z-index: 1;
    padding: 160px 0 60px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent-bright);
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--green);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.4;
    }
}

.hero-title {
    font-size: clamp(40px, 6vw, 72px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--accent-2), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-dim);
    max-width: 640px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    gap: 0;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    padding: 0 32px;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 800;
    color: white;
}

.stat-label {
    font-size: 13px;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ===== Dashboard Preview ===== */
.hero-visual {
    max-width: 1000px;
    margin: 60px auto 0;
    perspective: 1000px;
}

.dashboard-preview {
    background: rgba(15, 15, 30, 0.8);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow), 0 0 80px rgba(129, 140, 248, 0.08);
    transform: rotateX(2deg);
    transition: transform 0.5s ease;
}

.dashboard-preview:hover {
    transform: rotateX(0deg);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--border);
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.preview-dots span:nth-child(1) {
    background: #ef4444;
}

.preview-dots span:nth-child(2) {
    background: #f59e0b;
}

.preview-dots span:nth-child(3) {
    background: #22c55e;
}

.preview-url {
    font-size: 12px;
    color: var(--text-dimmer);
    margin-left: auto;
}

.preview-content {
    display: flex;
    min-height: 280px;
}

.preview-sidebar {
    width: 180px;
    padding: 12px;
    border-right: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 12px;
    color: var(--text-dimmer);
    transition: all 0.2s;
}

.sidebar-item.active {
    background: rgba(129, 140, 248, 0.15);
    color: var(--accent-bright);
}

.preview-main {
    flex: 1;
    padding: 16px;
}

.preview-card-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.preview-metric {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.metric-label {
    font-size: 11px;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.metric-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    margin: 4px 0 8px;
}

.metric-value.green {
    color: var(--green);
}

.metric-value.amber {
    color: var(--amber);
}

.metric-value.blue {
    color: var(--accent-bright);
}

.metric-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: var(--green);
    border-radius: 2px;
    transition: width 1s ease;
}

.metric-bar.amber .metric-fill {
    background: var(--amber);
}

.metric-bar.blue .metric-fill {
    background: var(--accent);
}

.preview-chart {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px;
}

.chart-title {
    font-size: 11px;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.chart-svg {
    width: 100%;
    margin-top: 8px;
}

/* ===== Logos ===== */
.logos-section {
    position: relative;
    z-index: 1;
    padding: 60px 0;
    border-top: 1px solid var(--border);
}

.logos-label {
    text-align: center;
    font-size: 13px;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 24px;
}

.logos-row {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.logo-item {
    font-size: 16px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    letter-spacing: 0.02em;
}

/* ===== Section Shared ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 100px;
    background: rgba(129, 140, 248, 0.1);
    border: 1px solid rgba(129, 140, 248, 0.2);
    font-size: 12px;
    font-weight: 600;
    color: var(--accent-bright);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 560px;
    margin: 16px auto 0;
}

/* ===== Features ===== */
.features {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(129, 140, 248, 0.15);
    transform: translateY(-4px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(129, 140, 248, 0.1);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon.orange {
    background: rgba(251, 146, 60, 0.1);
    color: var(--orange);
}

.feature-icon.green {
    background: rgba(52, 211, 153, 0.1);
    color: var(--green);
}

.feature-icon.purple {
    background: rgba(192, 132, 252, 0.1);
    color: var(--purple);
}

.feature-icon.cyan {
    background: rgba(34, 211, 238, 0.1);
    color: var(--cyan);
}

.feature-icon.red {
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== How It Works ===== */
.how-it-works {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.steps-grid {
    display: flex;
    align-items: flex-start;
    gap: 0;
}

.step {
    flex: 1;
    padding: 32px;
    text-align: center;
}

.step-number {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    line-height: 1;
}

.step h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
}

.step p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

.step-connector {
    width: 80px;
    height: 2px;
    margin-top: 56px;
    background: linear-gradient(90deg, var(--accent), var(--accent-2));
    flex-shrink: 0;
    border-radius: 1px;
}

/* ===== Compliance ===== */
.compliance {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.compliance-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: all 0.3s ease;
}

.compliance-card:hover {
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.compliance-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    background: rgba(248, 113, 113, 0.1);
    color: var(--red);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.compliance-badge.green {
    background: rgba(52, 211, 153, 0.1);
    color: var(--green);
}

.compliance-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.compliance-card p {
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.7;
}

/* ===== Pricing ===== */
.pricing {
    position: relative;
    z-index: 1;
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: start;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    background: rgba(129, 140, 248, 0.05);
    border-color: rgba(129, 140, 248, 0.25);
    box-shadow: 0 0 60px rgba(129, 140, 248, 0.1);
    transform: scale(1.02);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 16px;
    border-radius: 100px;
}

.pricing-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.price {
    margin-bottom: 8px;
}

.price-amount {
    font-size: 40px;
    font-weight: 800;
    color: white;
}

.price-period {
    font-size: 16px;
    color: var(--text-dimmer);
}

.price-desc {
    font-size: 14px;
    color: var(--text-dim);
    margin-bottom: 24px;
}

.price-features {
    list-style: none;
    margin-bottom: 28px;
}

.price-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-dim);
    border-bottom: 1px solid var(--border);
    position: relative;
    padding-left: 24px;
}

.price-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}

/* ===== CTA ===== */
.cta-section {
    position: relative;
    z-index: 1;
    padding: 80px 0;
}

.cta-card {
    background: linear-gradient(135deg, rgba(129, 140, 248, 0.1), rgba(192, 132, 252, 0.05));
    border: 1px solid rgba(129, 140, 248, 0.2);
    border-radius: 24px;
    padding: 64px;
    text-align: center;
}

.cta-card h2 {
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.cta-card p {
    font-size: 16px;
    color: var(--text-dim);
    max-width: 480px;
    margin: 0 auto 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    position: relative;
    z-index: 1;
    padding: 64px 0 32px;
    border-top: 1px solid var(--border);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--text-dimmer);
    margin-top: 12px;
    max-width: 280px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: white;
    margin-bottom: 4px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-dimmer);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-dimmer);
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-animate].animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 900px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        flex-direction: column;
        align-items: center;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin: 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .pricing-card.featured {
        transform: none;
    }

    .compliance-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .preview-sidebar {
        display: none;
    }

    .preview-card-row {
        grid-template-columns: 1fr;
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-card {
        padding: 40px 24px;
    }
}