:root {
    --gg-bg: #080b12;
    --gg-bg-soft: #0d1220;
    --gg-panel: rgba(17, 24, 39, 0.78);
    --gg-panel-solid: #111827;
    --gg-panel-strong: #162033;
    --gg-border: rgba(148, 163, 184, 0.18);
    --gg-border-strong: rgba(255, 193, 7, 0.42);
    --gg-text: #f8fafc;
    --gg-muted: #94a3b8;
    --gg-muted-strong: #cbd5e1;
    --gg-accent: #ffc107;
    --gg-accent-soft: rgba(255, 193, 7, 0.13);
    --gg-blue: #38bdf8;
    --gg-success: #22c55e;
    --gg-danger: #fb7185;
    --gg-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
    --gg-shadow-soft: 0 14px 40px rgba(0, 0, 0, 0.26);
    --gg-radius: 18px;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    overflow-y: auto !important;
    background: var(--gg-bg);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--gg-text);
    background:
        radial-gradient(circle at 16% 8%, rgba(56, 189, 248, 0.13), transparent 28%),
        radial-gradient(circle at 84% 2%, rgba(255, 193, 7, 0.11), transparent 24%),
        linear-gradient(180deg, #080b12 0%, #0b1020 48%, #080b12 100%);
    overflow-x: hidden;
    overflow-y: auto !important;
}

a {
    color: var(--gg-accent);
}

a:hover {
    color: #ffd75a;
}

::selection {
    background: rgba(255, 193, 7, 0.28);
    color: #fff;
}

.text-muted,
.text-secondary {
    color: var(--gg-muted) !important;
}

.text-warning {
    color: var(--gg-accent) !important;
}

.bg-light {
    background:
        radial-gradient(circle at top left, rgba(56, 189, 248, 0.12), transparent 34%),
        linear-gradient(135deg, #101827 0%, #0b1020 100%) !important;
}

.card {
    color: var(--gg-text);
    background: var(--gg-panel) !important;
    border: 1px solid var(--gg-border) !important;
    box-shadow: var(--gg-shadow-soft) !important;
    backdrop-filter: blur(18px);
}

.alert-warning {
    color: #ffedb5;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.3) !important;
}

.alert-warning .alert-link {
    color: #fff1b8;
}

.custom-navbar {
    background: rgba(8, 11, 18, 0.82);
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
    transition: all 0.3s ease;
    padding: 12px 0;
}

.custom-navbar.navbar-scrolled {
    padding: 7px 0;
    background: rgba(8, 11, 18, 0.95) !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.custom-navbar .nav-link {
    color: rgba(248, 250, 252, 0.78) !important;
    font-weight: 600;
    transition: color 0.25s ease;
    position: relative;
    padding: 8px 14px;
}

.custom-navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gg-accent);
    transition: all 0.25s ease;
    transform: translateX(-50%);
    border-radius: 999px;
}

.custom-navbar .nav-link:hover::after,
.custom-navbar .nav-link.active::after {
    width: 58%;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
    color: var(--gg-accent) !important;
}

.brand-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--gg-accent), #ffdd57);
    color: #080b12;
    font-weight: 900;
    border-radius: 9px;
    font-size: 1rem;
    margin-right: 5px;
    vertical-align: middle;
    box-shadow: 0 10px 24px rgba(255, 193, 7, 0.24);
}

.btn-warning {
    color: #101010;
    background: linear-gradient(135deg, #ffc107, #ffdd57);
    border: 0;
    box-shadow: 0 12px 26px rgba(255, 193, 7, 0.18);
}

.btn-warning:hover,
.btn-warning:focus {
    color: #080b12;
    background: linear-gradient(135deg, #ffd24c, #ffe58a);
    box-shadow: 0 16px 34px rgba(255, 193, 7, 0.3);
}

.btn-outline-light {
    border-color: rgba(248, 250, 252, 0.24);
    color: rgba(248, 250, 252, 0.92);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
    color: #fff;
    background: rgba(248, 250, 252, 0.08);
    border-color: rgba(248, 250, 252, 0.44);
}

.hero-section {
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 16%, rgba(56, 189, 248, 0.22), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(255, 193, 7, 0.18), transparent 26%),
        linear-gradient(135deg, #080b12 0%, #101827 52%, #07111f 100%);
    position: relative;
    padding-top: 104px;
    padding-bottom: 72px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: linear-gradient(180deg, rgba(0,0,0,.82), transparent 78%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -1px;
    width: min(1180px, calc(100% - 32px));
    height: 1px;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, rgba(255, 193, 7, 0.55), transparent);
}

.hero-shape {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    filter: blur(10px);
}

.shape-1 {
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(255, 193, 7, 0.11), transparent 62%);
    top: -220px;
    right: -160px;
}

.shape-2 {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.18), transparent 64%);
    bottom: -120px;
    left: -100px;
}

.shape-3 {
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.11), transparent 62%);
    bottom: 110px;
    right: 10%;
}

.hero-section img {
    filter: drop-shadow(0 22px 38px rgba(0, 0, 0, 0.4));
}

.hero-badge,
.section-badge {
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.34);
    color: #ffd75a;
    padding: 8px 18px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 700;
    letter-spacing: 0;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.hero-badge {
    animation: fadeInDown .7s ease both;
}

.hero-title {
    font-size: clamp(2.35rem, 6vw, 4.7rem);
    line-height: 1.08;
    text-shadow: 0 24px 60px rgba(0,0,0,.38);
    animation: fadeInDown .9s ease .1s both;
}

.text-gradient {
    background: linear-gradient(90deg, #ffc107, #ffffff 52%, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    animation: fadeInUp 1s ease .3s both;
    color: var(--gg-muted-strong);
    opacity: .95;
    font-size: 1.16rem;
    max-width: 660px;
}

.hero-btn,
.hero-btn-outline {
    border-radius: 999px;
    transition: all .28s ease;
}

.hero-btn {
    box-shadow: 0 16px 38px rgba(255, 193, 7, .28);
    animation: fadeInUp 1s ease .5s both;
}

.hero-btn:hover,
.hero-btn-outline:hover {
    transform: translateY(-3px);
}

.hero-btn-outline {
    animation: fadeInUp 1s ease .6s both;
}

.scroll-indicator {
    animation: fadeInUp 1s ease .9s both;
}

.scroll-mouse {
    display: inline-block;
    width: 28px;
    height: 44px;
    border: 2px solid rgba(255,255,255,.34);
    border-radius: 20px;
    position: relative;
    margin: 0 auto;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--gg-accent);
    border-radius: 4px;
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollAnim 1.8s infinite;
}

.stats-section,
.about-section,
.features-section,
.cta-section {
    background: transparent;
    position: relative;
}

.stats-section {
    border-bottom: 1px solid var(--gg-border);
}

.stat-icon {
    font-size: 1.7rem;
    color: var(--gg-accent);
}

.stat-card,
.feature-card,
.about-card-main,
.about-card-float,
.timeline-content,
.doc-card {
    background: linear-gradient(180deg, rgba(17, 24, 39, 0.9), rgba(15, 23, 42, 0.82));
    border: 1px solid var(--gg-border);
    box-shadow: var(--gg-shadow-soft);
    backdrop-filter: blur(18px);
}

.stat-card {
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

.stat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 193, 7, 0.38);
    box-shadow: var(--gg-shadow);
}

.stat-card h2 {
    font-size: 2.45rem;
}

.about-left {
    transform: translateX(-30px);
    opacity: 0;
    transition: all .7s ease;
}

.about-right {
    transform: translateX(30px);
    opacity: 0;
    transition: all .7s ease .2s;
}

.about-left.visible,
.about-right.visible {
    transform: translateX(0);
    opacity: 1;
}

.about-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255, 193, 7, 0.12);
    color: var(--gg-accent);
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 50%;
    font-size: .88rem;
    flex-shrink: 0;
    font-weight: 700;
}

.about-visual {
    position: relative;
    padding: 20px 20px 80px 20px;
}

.about-card-main {
    border-radius: var(--gg-radius) !important;
}

.about-logo-mini {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--gg-accent), #ffdd57);
    color: #080b12;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 1.1rem;
    border-radius: 12px;
}

.progress {
    background: rgba(148, 163, 184, 0.15);
}

.about-card-float {
    position: absolute;
    border-radius: 14px !important;
    white-space: nowrap;
}

.float-1 {
    bottom: 30px;
    left: -10px;
}

.float-2 {
    bottom: 80px;
    right: -10px;
}

.float-3 {
    top: 20px;
    right: 20px;
}

.feature-card {
    border-radius: var(--gg-radius) !important;
    transition: all .35s ease;
    transform: translateY(30px);
    opacity: 0;
}

.feature-card.visible {
    transform: translateY(0);
    opacity: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 193, 7, 0.45);
    box-shadow: var(--gg-shadow);
}

.feature-icon {
    width: 62px;
    height: 62px;
    background: rgba(255, 193, 7, 0.12);
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--gg-accent);
    transition: all .28s ease;
}

.feature-card:hover .feature-icon {
    background: linear-gradient(135deg, #ffc107, #ffdd57);
    color: #080b12;
    transform: translateY(-2px);
}

.cta-card {
    background:
        radial-gradient(circle at 18% 20%, rgba(56, 189, 248, 0.18), transparent 28%),
        linear-gradient(135deg, #111827 0%, #162033 56%, #0b1020 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--gg-shadow);
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 36px 36px;
    opacity: .45;
    pointer-events: none;
}

.cta-card > * {
    position: relative;
}

.timeline {
    position: relative;
    padding-left: 2rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 24px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--gg-accent) 0%, rgba(56, 189, 248, 0.36) 58%, rgba(148, 163, 184, 0.14) 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    margin-bottom: 2.5rem;
    padding-left: 3.5rem;
}

.timeline-icon {
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 48px;
    height: 48px;
    background: #111827;
    border: 2px solid rgba(255, 193, 7, 0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--gg-accent);
    box-shadow: 0 0 0 6px rgba(255, 193, 7, 0.08), 0 14px 30px rgba(0, 0, 0, 0.32);
    z-index: 1;
}

.timeline-content {
    border-radius: var(--gg-radius) !important;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.timeline-content:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 193, 7, 0.4);
    box-shadow: var(--gg-shadow);
}

.timeline-content ul {
    margin-bottom: 0;
}

.doc-section {
    min-height: 100vh;
    padding: 122px 0 76px !important;
    background:
        radial-gradient(circle at 20% 8%, rgba(255, 193, 7, 0.12), transparent 30%),
        radial-gradient(circle at 85% 16%, rgba(56, 189, 248, 0.14), transparent 28%),
        linear-gradient(180deg, #080b12 0%, #0b1020 100%);
}

.doc-card {
    border-radius: 22px;
    padding: clamp(1.5rem, 4vw, 3rem);
}

.doc-card h1,
.doc-card h5 {
    color: var(--gg-text);
}

.doc-card p,
.doc-card li {
    color: var(--gg-muted-strong);
}

.doc-card ul {
    padding-left: 1.25rem;
}

.doc-callout {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.28);
    border-radius: 16px;
    color: #fff4c8;
}

.custom-footer {
    background: linear-gradient(135deg, #070a10 0%, #0c111d 100%);
    color: #fff;
    border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.custom-footer .text-muted {
    color: rgba(255,255,255,0.65) !important;
}

.footer-link {
    color: rgba(255,255,255,.56);
    text-decoration: none;
    transition: all .25s ease;
    display: inline-block;
}

.footer-link:hover {
    color: var(--gg-accent);
    transform: translateY(-3px);
}

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

.footer-nav a {
    color: rgba(255,255,255,.58);
    text-decoration: none;
    font-size: .9rem;
    transition: all .25s;
}

.footer-nav a:hover {
    color: var(--gg-accent);
    padding-left: 5px;
}

.footer-input {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.15);
    color: #fff;
    border-radius: 10px 0 0 10px;
    padding: 10px 14px;
}

.footer-input::placeholder {
    color: rgba(255,255,255,.35);
}

.footer-input:focus {
    background: rgba(255,255,255,.12);
    border-color: var(--gg-accent);
    color: #fff;
    box-shadow: none;
}

.footer-divider {
    border-color: rgba(255,255,255,.1);
    margin: 20px 0 16px;
}

.footer-bottom-link:hover {
    color: var(--gg-accent) !important;
}

@keyframes scrollAnim {
    0% {
        opacity: 1;
        top: 7px;
    }

    100% {
        opacity: 0;
        top: 26px;
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080b12;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(#243044, var(--gg-accent));
    border-radius: 10px;
}

@media (max-width: 991px) {
    .custom-navbar .d-flex.gap-2 {
        margin-top: 12px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.35rem;
    }

    .hero-sub {
        font-size: 1rem;
    }

    .stat-card h2 {
        font-size: 1.8rem;
    }

    .about-visual {
        padding: 20px 10px 96px 10px;
    }

    .float-1 {
        left: 0;
    }

    .float-2 {
        right: 0;
    }

    .float-3 {
        right: 10px;
    }

    .cta-card {
        padding: 3rem 1.5rem !important;
    }

    .timeline {
        padding-left: 0;
    }

    .timeline::before {
        left: 15px;
    }

    .timeline-item {
        padding-left: 4rem;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .doc-section {
        padding-top: 106px !important;
    }
}
