* {
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 2. Desktop/Centering Logic (The Default) */
html {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top, #3a0ca3, #240046, #10002b) no-repeat fixed;
    color: white;
}


/* ================= HEADER ================= */

.header-right {
    font-size: 24px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    height: 32px;

    color: #ffffff;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.7),
        0 0 18px rgba(199, 125, 255, 0.35);

}

/* blinking cursor */
.header-right::after {
    content: "|";
    margin-left: 4px;
    animation: cursorBlink 1s step-start infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

/* slide in */
.slogan-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* slide out + fade */
.slogan-slide-out {
    animation: slideOut 0.6s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

/* nav stays clean */
.main-nav {
    width: max-content;
    /* shrink to content width */
    text-align: center;
    font-size: clamp(11px, 1.1vw, 14px);
}

.main-nav a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(11px, 1.1vw, 14px);
    padding: 2px 4px;
    position: relative;
    transition: color 0.25s ease, letter-spacing 0.25s ease;

}

.main-nav a.active {
    pointer-events: none;
    color: gold;
}

.main-nav a:hover {
    color: gold;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

.main-nav span {
    margin: 0 3px;
    color: rgba(255, 255, 255, 0.5);
}


h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem
}

.text-gradient {
    background: linear-gradient(90deg, #1cc8d8, #67e8f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text
}

.glow-box {
    box-shadow: 0 0 30px rgba(28, 200, 216, 0.3)
}

.glow-text {
    text-shadow: 0 0 20px rgba(28, 200, 216, 0.5)
}

.grid-pattern {
    background-image: linear-gradient(rgba(38, 45, 58, 0.5) 1px, transparent 1px), linear-gradient(90deg, rgba(38, 45, 58, 0.5) 1px, transparent 1px);
    background-size: 60px 60px
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--primary-fg);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    box-shadow: 0 0 30px rgba(28, 200, 216, 0.3)
}

.btn-primary:hover {
    opacity: 0.9
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: var(--radius);
    background: transparent;
    color: var(--fg);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s
}

.btn-outline:hover {
    border-color: rgba(28, 200, 216, 0.5);
    color: var(--primary)
}

/* Header */
.top-header {
    position: fixed;
    top: 10px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 28px;
    z-index: 10;
    pointer-events: none;
    transition: transform 0.35s ease;
}

.top-header.hide-header {
    transform: translateY(-120%);
}

.header-left {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-box {
    background: #ffffff;
    padding: 6px 14px;
    border-radius: 8px;
    margin-bottom: clamp(6px, 1vw, 10px);

}

.logo-box img {
    height: 44px;
    display: block;
}

@media(max-width:768px) {
    .top-header {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center
    }

    .header-left {
        flex-direction: column;
        gap: 0.75rem
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center
    }
}

/* */
/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    position: relative;
    overflow: hidden
}

.hero .grid-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4
}

.hero .radial-glow {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    border-radius: 50%;
    background: rgba(28, 200, 216, 0.05);
    filter: blur(120px)
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1
}

.hero-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem
}

.hero p {
    font-size: 1.125rem;
    color: var(--muted-fg);
    max-width: 32rem;
    margin-bottom: 2rem;
    line-height: 1.7
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem
}

.hero-stats {
    display: flex;
    gap: 2rem;
    margin-top: 3rem
}

.hero-stats .stat-value {
    font-size: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: var(--primary)
}

.hero-stats .stat-label {
    font-size: 0.75rem;
    color: var(--muted-fg);
    margin-top: 0.25rem
}

.hero-image {
    position: relative
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 1px solid rgba(38, 45, 58, 0.5);
    box-shadow: 0 0 30px rgba(28, 200, 216, 0.3)
}

.hero-badge-float {
    position: absolute;
    bottom: -1rem;
    left: -1rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 0 30px rgba(28, 200, 216, 0.3)
}

.hero-badge-float .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    animation: pulse-glow 3s ease-in-out infinite
}

.hero-badge-float span {
    font-size: 0.875rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 500
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.4
    }

    50% {
        opacity: 1
    }
}

@media(max-width:1024px) {
    .hero-grid {
        grid-template-columns: 1fr
    }

    .hero h1 {
        font-size: 2.5rem
    }
}

/* Sections shared */
.section {
    padding: 6rem 0;
    position: relative
}

.section-alt {
    background: rgba(22, 26, 34, 0.5)
}

.section-header {
    text-align: center;
    margin-bottom: 4rem
}

.section-header .tag {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.section-header h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-top: 0.75rem
}

.section-header p {
    color: var(--muted-fg);
    margin-top: 1rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem
}

.service-card {
    padding: 1.5rem;
    border-radius: 1rem;
    background: var(--card);
    border: 1px solid rgba(38, 45, 58, 0.5);
    transition: border-color 0.3s, box-shadow 0.3s
}

.service-card:hover {
    border-color: rgba(28, 200, 216, 0.3);
    box-shadow: 0 0 30px rgba(28, 200, 216, 0.08)
}

.service-icon {
    width: 48px;
    height: 48px;
    border-radius: 0.75rem;
    background: rgba(28, 200, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary)
}

.service-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem
}

.service-card p {
    font-size: 0.875rem;
    color: var(--muted-fg);
    line-height: 1.6
}

@media(max-width:1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:640px) {
    .services-grid {
        grid-template-columns: 1fr
    }
}

/* How it works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem
}

.step .step-number {
    font-size: 3rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: rgba(28, 200, 216, 0.2);
    margin-bottom: 1rem
}

.step h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem
}

.step p {
    font-size: 0.875rem;
    color: var(--muted-fg);
    line-height: 1.6
}

@media(max-width:1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:640px) {
    .steps-grid {
        grid-template-columns: 1fr
    }
}

/* Why us */
.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.reasons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem
}

.reason {
    display: flex;
    gap: 1rem
}

.reason-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(28, 200, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary)
}

.reason h3 {
    font-size: 0.875rem;
    font-weight: 600
}

.reason p {
    font-size: 0.75rem;
    color: var(--muted-fg);
    margin-top: 0.25rem;
    line-height: 1.6
}

.stats-card {
    border-radius: 1rem;
    border: 1px solid rgba(38, 45, 58, 0.5);
    background: var(--card);
    padding: 2rem
}

.stat-bar {
    margin-bottom: 1.5rem
}

.stat-bar:last-child {
    margin-bottom: 0
}

.stat-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    margin-bottom: 0.5rem
}

.stat-bar-header span:first-child {
    font-weight: 500
}

.stat-bar-header span:last-child {
    color: var(--primary);
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700
}

.stat-bar-track {
    height: 8px;
    border-radius: 999px;
    background: var(--secondary);
    overflow: hidden
}

.stat-bar-fill {
    height: 100%;
    border-radius: 999px;
    background: var(--primary);
    transition: width 1s ease
}

@media(max-width:1024px) {
    .why-grid {
        grid-template-columns: 1fr
    }
}

/* Contact */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem
}

.contact-item-icon {
    width: 40px;
    height: 40px;
    border-radius: 0.5rem;
    background: rgba(28, 200, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary)
}

.contact-item .label {
    font-size: 0.875rem;
    color: var(--muted-fg)
}

.contact-item .value {
    font-weight: 500
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem
}

.contact-form .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    background: #ffffff;
    border: 1px solid var(--border);

    color: #111;

    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--muted-fg)
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: rgba(28, 200, 216, 0.5)
}

.contact-form textarea {
    resize: none
}

@media(max-width:768px) {
    .contact-grid {
        grid-template-columns: 1fr
    }

    .contact-form .row {
        grid-template-columns: 1fr
    }
}


/* SVG icons inline */
.icon {
    width: 20px;
    height: 20px;
    display: inline-block
}

.icon-lg {
    width: 24px;
    height: 24px
}

.header-left,
.header-left *,
.header-right {
    pointer-events: auto;
}


.header-right {
    font-size: 24px;
    font-weight: 500;
    text-align: right;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    height: 32px;

    color: #ffffff;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.7),
        0 0 18px rgba(199, 125, 255, 0.35);

}


/* blinking cursor */
.header-right::after {
    content: "|";
    margin-left: 4px;
    animation: cursorBlink 1s step-start infinite;
}

@keyframes cursorBlink {
    50% {
        opacity: 0;
    }
}

/* slide in */
.slogan-slide-in {
    animation: slideIn 0.6s ease-out forwards;
}

/* slide out + fade */
.slogan-slide-out {
    animation: slideOut 0.6s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(-120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .header-right {
        display: none;

        .top-header {
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            gap: 8px;
        }

        .header-left {
            align-items: center;
        }

        .main-nav {
            justify-content: center;
        }

    }
}


/* ================= FOOTER ================= */

.site-footer {
    border-top: 1px solid rgba(38, 45, 58, 0.5);
    padding: 2rem 0;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center
}

.footer-brand {
    font-size: 26px;
    font-weight: 700;
    letter-spacing: 1px;
    animation: brandGlow 3s ease-in-out infinite;
}

.footer-copy {
    margin-top: 6px;
    font-size: 13px;
    opacity: 0.75;
}

.footer-copy a {
    color: #ffffff;
    /* white */
    text-decoration: none;
    /* no underline */
    transition: color 0.25s ease;
}

.footer-copy a:hover {
    color: gold;
    /* hover golden */
    text-decoration: none;
}


@keyframes brandGlow {

    0%,
    100% {
        text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
    }

    50% {
        text-shadow: 0 0 14px rgba(255, 255, 255, 0.85);
    }
}

.main-nav-footer {
    display: flex;
    /* ✅ REQUIRED */
    justify-content: center;
    gap: 10px;

    width: max-content;
    margin: 0 auto;

    padding-bottom: 20px;
}

.main-nav-footer a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: clamp(11px, 1.1vw, 14px);
    padding: 2px 4px;
    position: relative;
    transition: color 0.25s ease, letter-spacing 0.25s ease;

}

.main-nav-footer a.active {
    pointer-events: none;
    color: gold;
}

.main-nav-footer a:hover {
    color: gold;
}

.main-nav-footer a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 0;
    height: 1px;
    background: #ffffff;
    transform: translateX(-50%);
    transition: width 0.25s ease;
}

.main-nav-footer a:hover::after {
    width: 100%;
}

.main-nav-footer span {
    margin: 0 3px;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {

    .main-nav-footer {
        gap: 3px;
        /* reduce space */
        flex-wrap: wrap;
        /* allow wrapping if needed */
    }

    .main-nav-footer span {
        margin: 0 3px;
        /* smaller separator spacing */
    }

    .main-nav-footer a {
        padding: 3px 2px;
        /* reduce link padding */
    }

}


/* Audit Section */
.audit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem
}

.audit-card {
    padding: 1.75rem;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid rgba(38, 45, 58, 0.5);
    transition: border-color 0.3s, box-shadow 0.3s
}

.audit-card:hover {
    border-color: rgba(28, 200, 216, 0.3);
    box-shadow: 0 0 30px rgba(28, 200, 216, 0.08)
}

.audit-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(28, 200, 216, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary)
}

.audit-card:hover .audit-icon {
    background: rgba(28, 200, 216, 0.2)
}

.audit-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.5rem
}

.audit-card p {
    font-size: 0.875rem;
    color: var(--muted-fg);
    line-height: 1.6
}

@media(max-width:640px) {
    .audit-grid {
        grid-template-columns: 1fr
    }
}