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

:root {
    --navy: #0a0f1e;
    --navy-mid: #111827;
    --navy-light: #1e2d47;
    --blue: #1a6bff;
    --blue-light: #4d8fff;
    --cyan: #00d4ff;
    --white: #f8faff;
    --gray-100: #e8edf5;
    --gray-400: #8a9ab5;
    --gray-600: #4a5568;
    --accent: #00d4ff;
    --border: rgba(255, 255, 255, 0.07);
    --card-bg: rgba(255, 255, 255, 0.04);
    --font-display: 'Syne', sans-serif;
    --font-body: 'DM Sans', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--navy);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── NAV ── */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0 5vw;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(10, 15, 30, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: background 0.3s;
}

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
    color: var(--white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-logo .logo-mark {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 2.2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.01em;
    transition: color 0.2s;
}

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

.nav-cta {
    background: var(--blue);
    color: #fff !important;
    padding: 0.45rem 1.2rem;
    border-radius: 6px;
    font-weight: 500 !important;
    transition: background 0.2s !important;
}

.nav-cta:hover {
    background: var(--blue-light) !important;
    color: #fff !important;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    background: none;
    border: none;
    z-index: 1001;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all 0.3s ease;
    display: block;
    transform-origin: center;
}

.hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
    opacity: 0;
}

.hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── MOBILE NAV ── */
.mobile-nav {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 5vw;
    gap: 2rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.4s ease, opacity 0.4s ease;
    overflow-y: auto;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav a {
    color: var(--gray-100);
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 500;
    transition: color 0.2s;
}

.mobile-nav a:hover {
    color: var(--cyan);
}

.mobile-nav .nav-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    background: var(--blue) !important;
    color: #fff !important;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    font-size: 1.1rem;
    margin-top: 1rem;
}

/* ── HERO ── */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 5vw 80px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 60% at 60% 40%, rgba(26, 107, 255, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        var(--navy);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at 60% 40%, black 30%, transparent 80%);
}

.hero-content {
    position: relative;
    max-width: 720px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(26, 107, 255, 0.12);
    border: 1px solid rgba(26, 107, 255, 0.3);
    border-radius: 100px;
    padding: 0.35rem 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--blue-light);
    margin-bottom: 1.8rem;
    animation: fadeUp 0.6s ease both;
}

.hero-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--cyan);
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
    animation: fadeUp 0.6s 0.1s ease both;
}

.hero-headline .accent {
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-sub {
    font-size: 1.15rem;
    color: var(--gray-400);
    max-width: 540px;
    margin-bottom: 2.5rem;
    font-weight: 300;
    line-height: 1.7;
    animation: fadeUp 0.6s 0.2s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeUp 0.6s 0.3s ease both;
}

.btn-primary {
    background: var(--blue);
    color: #fff;
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
    box-shadow: 0 4px 20px rgba(26, 107, 255, 0.35);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary:hover {
    background: var(--blue-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(26, 107, 255, 0.45);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: inline-flex;
    align-items: center;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.04);
}

/* ── SECTIONS ── */
section {
    padding: 100px 5vw;
}

.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--blue-light);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.15;
    margin-bottom: 1.2rem;
    color: var(--white);
}

.section-body {
    font-size: 1.05rem;
    color: var(--gray-400);
    max-width: 600px;
    line-height: 1.75;
    font-weight: 300;
}

/* ── ABOUT ── */
#about {
    background: var(--navy-mid);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.stat-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.8rem;
    transition: border-color 0.3s, transform 0.3s;
}

.stat-card:hover {
    border-color: rgba(26, 107, 255, 0.4);
    transform: translateY(-3px);
}

.stat-card .num {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--blue), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-card .label {
    font-size: 0.85rem;
    color: var(--gray-400);
    font-weight: 400;
}

/* ── SERVICES ── */
#services {
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}

#services-wrap {
    padding: 100px 5vw;
}

.services-header {
    text-align: center;
    margin-bottom: 4rem;
}

.services-header .section-body {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.service-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--blue), var(--cyan));
    opacity: 0;
    transition: opacity 0.3s;
}

.service-card:hover {
    border-color: rgba(26, 107, 255, 0.35);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-icon.blue {
    background: rgba(26, 107, 255, 0.15);
}

.card-icon.cyan {
    background: rgba(0, 212, 255, 0.12);
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.8rem;
    color: var(--white);
}

.service-card p {
    color: var(--gray-400);
    font-size: 0.95rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.25rem 0.75rem;
    font-size: 0.78rem;
    color: var(--gray-400);
}

/* ── APP SUPPORT & CONTACT ── */
#support,
#contact {
    border-top: 1px solid var(--border);
}

#support {
    background: var(--navy-mid);
    border-bottom: 1px solid var(--border);
}

.support-inner,
.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.support-info h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.support-info p {
    color: var(--gray-400);
    font-size: 0.9rem;
    line-height: 1.7;
    font-weight: 300;
    margin-bottom: 1.5rem;
}

.support-email-block {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    margin-top: 1.5rem;
}

.support-email-block .email-icon {
    width: 38px;
    height: 38px;
    background: rgba(26, 107, 255, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.support-email-block a {
    color: var(--blue-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.support-email-block a:hover {
    color: var(--cyan);
}

.support-email-block .label {
    font-size: 0.75rem;
    color: var(--gray-400);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.contact-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.contact-item .ci-icon {
    width: 40px;
    height: 40px;
    background: rgba(26, 107, 255, 0.12);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.contact-item .ci-text .ci-label {
    font-size: 0.75rem;
    color: var(--gray-400);
    margin-bottom: 2px;
}

.contact-item .ci-text .ci-value {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 400;
}

.contact-item .ci-text a {
    color: var(--white);
    text-decoration: none;
}

.contact-item .ci-text a:hover {
    color: var(--blue-light);
}

/* ── FORMS ── */
.support-form,
.contact-form-wrap {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem;
}

.support-form h3,
.contact-form-wrap h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--gray-400);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    color: var(--white);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
    -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-600);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--blue);
}

.form-group select option {
    background: var(--navy-mid);
}

.form-group textarea {
    resize: vertical;
    min-height: 110px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-submit {
    width: 100%;
    background: var(--blue);
    color: #fff;
    padding: 0.85rem;
    border-radius: 8px;
    border: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    margin-top: 0.5rem;
    transition: background 0.2s, transform 0.2s;
}

.form-submit:hover {
    background: var(--blue-light);
    transform: translateY(-1px);
}

.form-note {
    font-size: 0.78rem;
    color: var(--gray-600);
    margin-top: 0.75rem;
    text-align: center;
}

/* ── LEGAL PAGES CONTENT ── */
.legal-container {
    padding: 160px 5vw 100px;
    max-width: 800px;
    margin: 0 auto;
    min-height: 70vh;
}

.legal-container h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.legal-container .date {
    color: var(--blue-light);
    font-weight: 500;
    margin-bottom: 2.5rem;
    font-size: 0.95rem;
}

.legal-container h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 2.5rem 0 1rem;
    color: var(--white);
    border-bottom: 1px solid var(--border);
    padding-bottom: 0.5rem;
}

.legal-container p {
    color: var(--gray-100);
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 300;
    font-size: 1.05rem;
}

.legal-container a {
    color: var(--blue-light);
    text-decoration: none;
}

.legal-container a:hover {
    color: var(--cyan);
    text-decoration: underline;
}

/* ── FOOTER ── */
footer {
    background: #05080f;
    border-top: 1px solid var(--border);
    padding: 60px 5vw 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand .nav-logo {
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.88rem;
    color: var(--gray-400);
    line-height: 1.7;
    font-weight: 300;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.6rem;
}

.footer-col ul li a {
    font-size: 0.88rem;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col ul li a:hover {
    color: var(--white);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--gray-600);
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    font-size: 0.82rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal a:hover {
    color: var(--white);
}

.footer-address {
    margin-top: 1rem;
    font-size: 0.82rem;
    color: var(--gray-600);
    line-height: 1.6;
}

.footer-address strong {
    display: block;
    color: var(--gray-400);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.3rem;
}

/* ── ANIMATIONS ── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

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

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: none;
}

.reveal-d1 {
    transition-delay: 0.1s;
}

.reveal-d2 {
    transition-delay: 0.2s;
}

.reveal-d3 {
    transition-delay: 0.3s;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .about-grid,
    .services-grid,
    .support-inner,
    .contact-inner,
    .footer-top {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

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

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    section {
        padding: 70px 5vw;
    }

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

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}