
/* ============================================================
   CODINGPRO LTD
   PREMIUM RESPONSIVE HOMEPAGE
   Complete Stylesheet
============================================================ */


/* ============================================================
   01. ROOT VARIABLES
============================================================ */

:root {

    /* Main colors */
    --bg: #07090d;
    --bg-soft: #0c1017;

    --card: #10151e;
    --card-light: #151b25;

    --white: #ffffff;

    --text: #f5f7fb;
    --text-soft: #d7dce5;

    --muted: #8d96a7;

    /* Brand */
    --primary: #6c63ff;
    --primary-light: #918bff;
    --primary-dark: #554de8;

    /* Borders */
    --border: rgba(255, 255, 255, .09);
    --border-light: rgba(255, 255, 255, .14);
    --border-hover: rgba(108, 99, 255, .40);

    /* Header */
    --header-bg: rgba(7, 9, 13, .72);

    /* Shadows */
    --shadow:
        0 30px 80px rgba(0, 0, 0, .35);

    --shadow-lg:
        0 40px 100px rgba(0, 0, 0, .5);

    /* Layout */
    --container: 1180px;

    /* Radius */
    --radius-sm: 12px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;

    /* Transitions */
    --transition-fast: .25s ease;

    --transition:
        .4s cubic-bezier(.22, 1, .36, 1);

    --transition-slow:
        .7s cubic-bezier(.22, 1, .36, 1);

    color-scheme: dark;
}


/* ============================================================
   LIGHT THEME
============================================================ */

html[data-theme="light"] {

    --bg: #f7f8fc;
    --bg-soft: #eef1f7;

    --card: #ffffff;
    --card-light: #f0f2f7;

    --white: #11131a;

    --text: #11131a;
    --text-soft: #343946;

    --muted: #667085;

    --border: rgba(15, 23, 42, .10);
    --border-light: rgba(15, 23, 42, .15);

    --border-hover:
        rgba(108, 99, 255, .35);

    --header-bg:
        rgba(247, 248, 252, .78);

    --shadow:
        0 30px 80px rgba(30, 41, 59, .10);

    --shadow-lg:
        0 40px 100px rgba(30, 41, 59, .14);

    color-scheme: light;
}


/* ============================================================
   02. RESET
============================================================ */

*,
*::before,
*::after {

    margin: 0;
    padding: 0;

    box-sizing: border-box;
}


html {

    scroll-behavior: smooth;

    background: var(--bg);
}


body {

    min-height: 100vh;

    font-family:
        "Inter",
        Arial,
        sans-serif;

    background: var(--bg);

    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

    transition:
        background-color .5s ease,
        color .5s ease;

    animation:
        pageReveal .8s ease both;
}


body,
button,
a,
input,
textarea,
select {

    font-family:
        "Inter",
        Arial,
        sans-serif;
}


img {

    max-width: 100%;

    display: block;
}


a {

    color: inherit;

    text-decoration: none;
}


button {

    border: 0;

    cursor: pointer;

    background: none;
}


ul {

    list-style: none;
}


/* ============================================================
   03. GLOBAL THEME TRANSITIONS
============================================================ */

body,
.header,
.navbar,
.service-card,
.project,
.process-step,
.about-box,
.experience-card,
.floating-card,
.code-window,
.stats,
.footer,
.cta-inner {

    transition:
        background-color .4s ease,
        border-color .4s ease,
        color .4s ease,
        box-shadow .4s ease;
}


/* ============================================================
   04. CONTAINER
============================================================ */

.container {

    width:
        min(
            var(--container),
            calc(100% - 48px)
        );

    margin-inline: auto;
}


/* ============================================================
   05. SECTIONS
============================================================ */

.section {

    padding:
        130px 0;

}


/* ============================================================
   06. SECTION LABEL
============================================================ */

.section-label {

    display: inline-block;

    margin-bottom: 18px;

    color: var(--primary-light);

    font-size: 11px;

    font-weight: 700;

    letter-spacing: .18em;

    text-transform: uppercase;
}


/* ============================================================
   07. PAGE LOAD ANIMATION
============================================================ */

@keyframes pageReveal {

    from {

        opacity: 0;

    }

    to {

        opacity: 1;

    }
}


@keyframes revealUp {

    from {

        opacity: 0;

        transform:
            translateY(35px);

    }

    to {

        opacity: 1;

        transform:
            translateY(0);

    }
}


@keyframes revealScale {

    from {

        opacity: 0;

        transform:
            scale(.92)
            translateY(25px);

    }

    to {

        opacity: 1;

        transform:
            scale(1)
            translateY(0);

    }
}


/* ============================================================
   08. NAVBAR
============================================================ */

.header {

    position: absolute;

    z-index: 100;

    top: 0;

    left: 0;

    width: 100%;
}


.navbar {

    height: 90px;

    display: flex;

    align-items: center;

    justify-content: space-between;
}


/* ============================================================
   LOGO
============================================================ */

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size: 22px;

    font-weight: 700;

    letter-spacing: -.04em;

    white-space: nowrap;
}


.logo-mark {

    width: 36px;
    height: 36px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #9d72ff
        );

    color: #fff;

    font-size: 14px;

    box-shadow:
        0 8px 30px
        rgba(108, 99, 255, .25);

    transition:
        transform .4s ease,
        box-shadow .4s ease;
}


.logo:hover .logo-mark {

    transform:
        rotate(-8deg)
        scale(1.06);

    box-shadow:
        0 12px 40px
        rgba(108, 99, 255, .35);
}


.logo-dot {

    color: var(--primary-light);
}


/* ============================================================
   NAV LINKS
============================================================ */

.nav-links {

    display: flex;

    align-items: center;

    gap: 38px;
}


.nav-links a {

    position: relative;

    color: var(--muted);

    font-size: 14px;

    font-weight: 500;

    transition:
        color .3s ease;
}


.nav-links a::after {

    content: "";

    position: absolute;

    left: 0;
    bottom: -7px;

    width: 0;
    height: 2px;

    border-radius: 50px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--primary-light)
        );

    transition:
        width .35s
        cubic-bezier(.22, 1, .36, 1);
}


.nav-links a:hover,
.nav-links a.active {

    color: var(--text);
}


.nav-links a:hover::after,
.nav-links a.active::after {

    width: 100%;
}


/* ============================================================
   NAV ACTIONS
============================================================ */

.nav-actions {

    display: flex;

    align-items: center;

    gap: 12px;
}


/* ============================================================
   THEME TOGGLE
============================================================ */

.theme-toggle {

    position: relative;

    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background:
        rgba(255, 255, 255, .04);

    color: var(--text);

    overflow: hidden;

    transition:
        transform .3s ease,
        background-color .3s ease,
        border-color .3s ease;
}


.theme-toggle:hover {

    transform:
        rotate(12deg)
        scale(1.05);

    border-color:
        var(--border-hover);

    background:
        rgba(108, 99, 255, .10);
}


.theme-icon {

    position: absolute;

    width: 100%;
    height: 100%;

    display: grid;

    place-items: center;

    font-size: 14px;

    transition:
        transform .4s
        cubic-bezier(.22, 1, .36, 1),
        opacity .3s ease;
}


.moon-icon {

    opacity: 1;

    transform:
        translateY(0)
        rotate(0);
}


.sun-icon {

    opacity: 0;

    transform:
        translateY(25px)
        rotate(90deg);
}


html[data-theme="light"]
.moon-icon {

    opacity: 0;

    transform:
        translateY(-25px)
        rotate(-90deg);
}


html[data-theme="light"]
.sun-icon {

    opacity: 1;

    transform:
        translateY(0)
        rotate(0);
}


/* ============================================================
   NAV BUTTON
============================================================ */

.nav-button {

    display: flex;

    align-items: center;

    gap: 10px;

    min-height: 46px;

    padding:
        0 20px;

    border:
        1px solid var(--border);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, .04);

    color: var(--text);

    font-size: 13px;

    font-weight: 600;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease;
}


.nav-button:hover {

    background: var(--text);

    color:
        var(--bg);

    border-color:
        var(--text);

    transform:
        translateY(-2px);
}


/* ============================================================
   MOBILE MENU
============================================================ */

.menu-toggle {

    display: none;

    width: 44px;
    height: 44px;

    align-items: center;
    justify-content: center;

    border:
        1px solid var(--border);

    border-radius: 12px;

    color: var(--text);

    background:
        rgba(255, 255, 255, .04);

    font-size: 18px;

    transition:
        .3s ease;
}


.menu-toggle:hover {

    background:
        rgba(108, 99, 255, .10);

    border-color:
        var(--border-hover);
}


/* ============================================================
   09. HERO
============================================================ */

.hero {

    position: relative;

    min-height: 850px;

    display: flex;

    align-items: center;

    overflow: hidden;

    padding-top: 80px;

    background:

        radial-gradient(
            circle at 75% 35%,
            rgba(108, 99, 255, .18),
            transparent 30%
        ),

        radial-gradient(
            circle at 15% 70%,
            rgba(67, 124, 255, .08),
            transparent 28%
        ),

        var(--bg);
}


/* ============================================================
   HERO GRID
============================================================ */

.hero-grid {

    position: absolute;

    inset: 0;

    opacity: .25;

    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:
        70px 70px;

    mask-image:
        radial-gradient(
            ellipse at center,
            black 20%,
            transparent 75%
        );

    pointer-events: none;
}


html[data-theme="light"]
.hero-grid {

    opacity: .35;

    background-image:

        linear-gradient(
            rgba(15, 23, 42, .055) 1px,
            transparent 1px
        ),

        linear-gradient(
            90deg,
            rgba(15, 23, 42, .055) 1px,
            transparent 1px
        );
}


/* ============================================================
   HERO GLOWS
============================================================ */

.hero-glow {

    position: absolute;

    border-radius: 50%;

    filter: blur(100px);

    pointer-events: none;
}


.glow-one {

    width: 350px;
    height: 350px;

    top: 20%;
    right: 15%;

    background:
        rgba(108, 99, 255, .12);

    animation:
        glowMoveOne 8s ease-in-out infinite;
}


.glow-two {

    width: 250px;
    height: 250px;

    bottom: 10%;
    left: 20%;

    background:
        rgba(0, 184, 255, .08);

    animation:
        glowMoveTwo 10s ease-in-out infinite;
}


@keyframes glowMoveOne {

    0%,
    100% {

        transform:
            translate(0, 0)
            scale(1);

    }

    50% {

        transform:
            translate(-30px, 20px)
            scale(1.15);

    }
}


@keyframes glowMoveTwo {

    0%,
    100% {

        transform:
            translate(0, 0)
            scale(1);

    }

    50% {

        transform:
            translate(25px, -20px)
            scale(1.2);

    }
}


/* ============================================================
   HERO CONTAINER
============================================================ */

.hero-container {

    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 70px;

    align-items: center;
}


/* ============================================================
   HERO CONTENT
============================================================ */

.hero-content {

    position: relative;

    z-index: 3;
}


.eyebrow {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding:
        8px 14px;

    border:
        1px solid var(--border);

    border-radius: 50px;

    background:
        rgba(255, 255, 255, .035);

    color: var(--muted);

    font-size: 11px;

    font-weight: 600;

    margin-bottom: 25px;

    animation:
        revealUp .8s .1s both;
}


.eyebrow-dot {

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background:
        #6effb1;

    box-shadow:
        0 0 12px #6effb1;

    animation:
        pulseDot 2s ease-in-out infinite;
}


@keyframes pulseDot {

    0%,
    100% {

        transform:
            scale(1);

        opacity: 1;

    }

    50% {

        transform:
            scale(1.4);

        opacity: .6;

    }
}


/* ============================================================
   HERO HEADING
============================================================ */

.hero h1 {

    max-width: 720px;

    font-family:
        "Space Grotesk",
        sans-serif;

    font-size:
        clamp(48px, 6vw, 82px);

    line-height: .98;

    letter-spacing:
        -.055em;

    font-weight: 700;

    animation:
        revealUp .8s .2s both;
}


.hero h1 span {

    display: block;

    background:
        linear-gradient(
            100deg,
            var(--text),
            #7770ff 55%,
            #a77cff
        );

    -webkit-background-clip: text;

    background-clip: text;

    color: transparent;
}


/* ============================================================
   HERO DESCRIPTION
============================================================ */

.hero-description {

    max-width: 610px;

    margin-top: 30px;

    color: var(--muted);

    font-size: 17px;

    line-height: 1.8;

    animation:
        revealUp .8s .3s both;
}


/* ============================================================
   HERO BUTTONS
============================================================ */

.hero-buttons {

    display: flex;

    gap: 14px;

    margin-top: 36px;

    animation:
        revealUp .8s .4s both;
}


.btn {

    min-height: 52px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 12px;

    padding:
        0 23px;

    border-radius: 12px;

    font-size: 13px;

    font-weight: 700;

    transition:
        transform .35s
        cubic-bezier(.22, 1, .36, 1),
        box-shadow .35s ease,
        background-color .35s ease,
        color .35s ease,
        border-color .35s ease;
}


.btn-primary {

    background:
        linear-gradient(
            135deg,
            var(--primary),
            #8970ff
        );

    color: #fff;

    box-shadow:
        0 15px 40px
        rgba(108, 99, 255, .25);
}


.btn-primary:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 20px 50px
        rgba(108, 99, 255, .35);
}


.btn-primary i {

    transition:
        transform .3s ease;
}


.btn-primary:hover i {

    transform:
        translateX(4px);
}


.btn-outline {

    border:
        1px solid var(--border);

    color: var(--text-soft);

    background:
        rgba(255, 255, 255, .025);
}


.btn-outline:hover {

    border-color:
        var(--border-light);

    background:
        rgba(255, 255, 255, .07);

    transform:
        translateY(-3px);
}


/* ============================================================
   HERO TRUST
============================================================ */

.hero-trust {

    display: flex;

    align-items: center;

    gap: 14px;

    margin-top: 42px;

    animation:
        revealUp .8s .5s both;
}


.trust-avatars {

    display: flex;

    align-items: center;
}


.trust-avatars span {

    width: 34px;
    height: 34px;

    display: grid;

    place-items: center;

    border:
        2px solid var(--bg);

    border-radius: 50%;

    background:
        var(--card-light);

    color:
        #bfc4ff;

    font-size: 9px;

    font-weight: 800;
}


.trust-avatars span + span {

    margin-left: -8px;
}


.hero-trust strong {

    display: block;

    color: var(--text);

    font-size: 12px;
}


.hero-trust small {

    display: block;

    color: var(--muted);

    font-size: 10px;
}


/* ============================================================
   10. HERO VISUAL
============================================================ */

.hero-visual {

    position: relative;

    min-height: 520px;

    display: grid;

    place-items: center;

    animation:
        revealScale 1s .25s both;
}


/* ============================================================
   ORBITS
============================================================ */

.visual-orbit {

    position: absolute;

    border:
        1px solid rgba(255, 255, 255, .07);

    border-radius: 50%;

    pointer-events: none;
}


.orbit-one {

    width: 460px;
    height: 460px;

    transform:
        rotate(-20deg);

    animation:
        orbitRotate 20s linear infinite;
}


.orbit-two {

    width: 330px;
    height: 330px;

    transform:
        rotate(30deg);

    border-color:
        rgba(108, 99, 255, .15);

    animation:
        orbitRotateReverse 16s linear infinite;
}


@keyframes orbitRotate {

    from {

        transform:
            rotate(0deg);

    }

    to {

        transform:
            rotate(360deg);

    }
}


@keyframes orbitRotateReverse {

    from {

        transform:
            rotate(360deg);

    }

    to {

        transform:
            rotate(0deg);

    }
}


/* ============================================================
   CODE WINDOW
============================================================ */

.code-window {

    position: relative;

    z-index: 3;

    width:
        min(500px, 100%);

    border:
        1px solid rgba(255, 255, 255, .1);

    border-radius: 20px;

    overflow: hidden;

    background:
        linear-gradient(
            145deg,
            rgba(22, 27, 38, .95),
            rgba(10, 13, 19, .96)
        );

    box-shadow:
        0 40px 100px
        rgba(0, 0, 0, .5),

        0 0 80px
        rgba(108, 99, 255, .12);

    animation:
        heroFloat 6s ease-in-out infinite;
}


@keyframes heroFloat {

    0%,
    100% {

        transform:
            perspective(1000px)
            rotateY(-8deg)
            rotateX(3deg)
            translateY(0);

    }

    50% {

        transform:
            perspective(1000px)
            rotateY(-8deg)
            rotateX(3deg)
            translateY(-12px);

    }
}


/* ============================================================
   CODE WINDOW HEADER
============================================================ */

.window-header {

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        0 17px;

    border-bottom:
        1px solid var(--border);

    background:
        rgba(255, 255, 255, .025);
}


.window-dots {

    display: flex;

    gap: 6px;
}


.window-dots span {

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background:
        #444b59;
}


.window-title {

    color:
        #737c8d;

    font-size: 10px;
}


/* ============================================================
   CODE CONTENT
============================================================ */

.code-content {

    padding:
        34px 28px;
}


.code-content pre {

    overflow-x: auto;

    font-family:
        "SFMono-Regular",
        Consolas,
        monospace;

    font-size: 14px;

    line-height: 2;

    color:
        #d5d9e2;
}


.code-purple {
    color: #b58cff;
}


.code-blue {
    color: #63b3ff;
}


.code-key {
    color: #91a4bb;
}


.code-string {
    color: #79d5b0;
}


/* ============================================================
   FLOATING CARDS
============================================================ */

.floating-card {

    position: absolute;

    z-index: 5;

    display: flex;

    align-items: center;

    gap: 12px;

    padding:
        14px 17px;

    border:
        1px solid var(--border);

    border-radius: 15px;

    background:
        rgba(16, 21, 30, .88);

    backdrop-filter:
        blur(15px);

    box-shadow:
        0 20px 50px
        rgba(0, 0, 0, .3);
}


.card-top {

    top: 50px;

    right: -15px;

    animation:
        floatingTop 5s ease-in-out infinite;
}


.card-bottom {

    bottom: 55px;

    left: -15px;

    animation:
        floatingBottom 5.5s ease-in-out infinite;
}


@keyframes floatingTop {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(-12px)
            rotate(1deg);

    }
}


@keyframes floatingBottom {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);

    }

    50% {

        transform:
            translateY(10px)
            rotate(-1deg);

    }
}


.floating-icon {

    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(108, 99, 255, .13);

    color:
        #9c96ff;

    font-size: 14px;
}


.floating-card strong {

    display: block;

    color:
        var(--text);

    font-size: 11px;
}


.floating-card small {

    display: block;

    color:
        var(--muted);

    font-size: 9px;
}


/* ============================================================
   11. STATS
============================================================ */

.stats {

    position: relative;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);

    background:
        var(--bg-soft);
}


.stats-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    padding:
        35px 0;
}


.stat {

    text-align: center;

    border-right:
        1px solid var(--border);

    transition:
        transform .35s ease;
}


.stat:last-child {

    border-right: 0;
}


.stat:hover {

    transform:
        translateY(-4px);
}


.stat strong {

    display: block;

    font-family:
        "Space Grotesk";

    font-size: 30px;

    color:
        var(--text);
}


.stat span {

    color:
        var(--muted);

    font-size: 11px;
}


/* ============================================================
   12. SECTION HEADINGS
============================================================ */

.section-heading {

    display: flex;

    align-items: end;

    justify-content: space-between;

    gap: 50px;

    margin-bottom: 65px;
}


.section-heading h2 {

    max-width: 650px;

    font-family:
        "Space Grotesk";

    font-size:
        clamp(38px, 5vw, 58px);

    line-height: 1.05;

    letter-spacing:
        -.05em;

    color:
        var(--text);
}


.section-heading h2 span {

    color:
        var(--primary-light);
}


.section-heading > p {

    max-width: 400px;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.8;
}


/* ============================================================
   13. SERVICES
============================================================ */

.services {

    background:
        linear-gradient(
            180deg,
            var(--bg),
            var(--bg-soft)
        );
}


.services-grid {

    display: grid;

    grid-template-columns:
        repeat(2, 1fr);

    gap: 18px;
}


.service-card {

    position: relative;

    isolation: isolate;

    min-height: 360px;

    padding: 38px;

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, .035),
            rgba(255, 255, 255, .012)
        );

    transition:
        transform .45s
        cubic-bezier(.22, 1, .36, 1),
        border-color .35s ease,
        box-shadow .45s ease;
}


html[data-theme="light"]
.service-card {

    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.95),
            rgba(245,247,251,.95)
        );
}


.service-card::before {

    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -90px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle,
            rgba(108, 99, 255, .20),
            transparent 70%
        );

    opacity: 0;

    z-index: -1;

    transition:
        opacity .5s ease,
        transform .6s ease;
}


.service-card:hover {

    transform:
        translateY(-10px);

    border-color:
        var(--border-hover);

    box-shadow:
        var(--shadow);
}


.service-card:hover::before {

    opacity: 1;

    transform:
        scale(1.5);
}


.service-number {

    position: absolute;

    top: 25px;
    right: 30px;

    font-family:
        "Space Grotesk";

    font-size: 12px;

    color:
        var(--muted);
}


.service-icon {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    margin-bottom: 28px;

    border-radius: 15px;

    background:
        rgba(108, 99, 255, .12);

    color:
        #9a94ff;

    font-size: 19px;

    transition:
        transform .45s
        cubic-bezier(.22, 1, .36, 1),
        background-color .35s ease;
}


.service-card:hover .service-icon {

    transform:
        translateY(-4px)
        rotate(-4deg);

    background:
        rgba(108, 99, 255, .18);
}


.service-card h3 {

    margin-bottom: 15px;

    font-family:
        "Space Grotesk";

    font-size: 24px;

    color:
        var(--text);
}


.service-card p {

    max-width: 480px;

    color:
        var(--muted);

    font-size: 13px;

    line-height: 1.8;
}


.service-card ul {

    display: flex;

    flex-wrap: wrap;

    gap: 8px;

    margin-top: 20px;
}


.service-card li {

    padding:
        6px 10px;

    border:
        1px solid var(--border);

    border-radius:
        50px;

    color:
        var(--muted);

    font-size: 10px;

    transition:
        border-color .3s ease,
        color .3s ease;
}


.service-card:hover li {

    border-color:
        rgba(108, 99, 255, .25);

    color:
        var(--text-soft);
}


.service-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    margin-top: 25px;

    color:
        #aaa4ff;

    font-size: 11px;

    font-weight: 700;
}


.service-link i {

    transition:
        transform .3s ease;
}


.service-link:hover i {

    transform:
        translateX(5px);
}


/* ============================================================
   14. ABOUT
============================================================ */

.about {

    background:
        var(--bg-soft);
}


.about-grid {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 100px;

    align-items: center;
}


/* ============================================================
   ABOUT VISUAL
============================================================ */

.about-visual {

    position: relative;

    min-height: 500px;

    display: grid;

    place-items: center;
}


.about-box {

    width: 370px;

    padding: 45px;

    border:
        1px solid var(--border);

    border-radius:
        25px;

    background:
        linear-gradient(
            145deg,
            var(--card-light),
            var(--card)
        );

    box-shadow:
        30px 30px 80px
        rgba(0, 0, 0, .25);

    transition:
        transform .5s
        cubic-bezier(.22, 1, .36, 1);
}


.about-box:hover {

    transform:
        translateY(-8px)
        rotate(-1deg);
}


.about-small {

    color:
        var(--primary-light);

    font-size: 10px;

    letter-spacing: .15em;
}


.about-box strong {

    display: block;

    margin-top: 20px;

    font-family:
        "Space Grotesk";

    font-size: 38px;

    line-height: 1.1;

    color:
        var(--text);
}


.about-box strong span {

    color:
        var(--primary-light);
}


.about-line {

    width: 50px;
    height: 2px;

    margin:
        25px 0;

    background:
        var(--primary);

    box-shadow:
        0 0 20px
        rgba(108, 99, 255, .5);
}


.about-box p {

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


/* ============================================================
   EXPERIENCE CARD
============================================================ */

.experience-card {

    position: absolute;

    right: 15px;

    bottom: 20px;

    width: 180px;

    padding: 25px;

    border:
        1px solid var(--border);

    border-radius: 20px;

    background:
        rgba(108, 99, 255, .12);

    backdrop-filter:
        blur(20px);

    box-shadow:
        var(--shadow);

    animation:
        floatingBottom 5s ease-in-out infinite;
}


.experience-card span {

    color:
        var(--primary-light);

    font-size: 9px;

    letter-spacing: .15em;
}


.experience-card strong {

    display: block;

    margin-top: 12px;

    font-family:
        "Space Grotesk";

    font-size: 27px;

    line-height: 1;

    color:
        var(--text);
}


/* ============================================================
   ABOUT CONTENT
============================================================ */

.about-content h2 {

    max-width: 650px;

    font-family:
        "Space Grotesk";

    font-size:
        clamp(38px, 4vw, 56px);

    line-height: 1.05;

    letter-spacing:
        -.05em;

    color:
        var(--text);
}


.about-content h2 span {

    color:
        var(--primary-light);
}


.about-content > p {

    max-width: 550px;

    margin-top: 25px;

    color:
        var(--muted);

    font-size: 14px;

    line-height: 1.9;
}


/* ============================================================
   FEATURES
============================================================ */

.features {

    display: grid;

    gap: 22px;

    margin-top: 38px;
}


.feature {

    display: flex;

    gap: 16px;

    transition:
        transform .35s ease;
}


.feature:hover {

    transform:
        translateX(6px);
}


.feature-icon {

    flex:
        0 0 42px;

    width: 42px;
    height: 42px;

    display: grid;

    place-items: center;

    border-radius: 11px;

    background:
        rgba(108, 99, 255, .1);

    color:
        #a19cff;

    transition:
        transform .35s ease,
        background-color .35s ease;
}


.feature:hover .feature-icon {

    transform:
        rotate(-5deg)
        scale(1.05);

    background:
        rgba(108, 99, 255, .18);
}


.feature h4 {

    margin-bottom: 3px;

    font-size: 13px;

    color:
        var(--text);
}


.feature p {

    color:
        var(--muted);

    font-size: 11px;
}


/* ============================================================
   15. PORTFOLIO
============================================================ */

.portfolio {

    background:
        var(--bg);
}


.portfolio-grid {

    display: grid;

    grid-template-columns:
        1.35fr .65fr;

    gap: 18px;
}


.project {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-lg);

    background:
        var(--card);

    transition:
        transform .5s
        cubic-bezier(.22, 1, .36, 1),
        border-color .35s ease,
        box-shadow .5s ease;
}


.project:hover {

    transform:
        translateY(-8px);

    border-color:
        var(--border-hover);

    box-shadow:
        var(--shadow);
}


.project-image {

    min-height: 400px;

    display: grid;

    place-items: center;

    overflow: hidden;

    background:
        radial-gradient(
            circle at center,
            rgba(108, 99, 255, .15),
            transparent 60%
        );
}


.project-mobile {

    min-height: 400px;

    background:
        radial-gradient(
            circle at center,
            rgba(0, 180, 255, .08),
            transparent 60%
        );
}


/* ============================================================
   BROWSER MOCKUP
============================================================ */

.mockup-browser {

    width: 75%;

    overflow: hidden;

    border:
        1px solid rgba(255, 255, 255, .1);

    border-radius: 12px;

    background:
        #111722;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, .5);

    transition:
        transform .6s
        cubic-bezier(.22, 1, .36, 1);
}


.project:hover .mockup-browser {

    transform:
        scale(1.035)
        translateY(-5px);
}


.browser-bar {

    height: 30px;

    display: flex;

    align-items: center;

    gap: 5px;

    padding-left: 12px;

    border-bottom:
        1px solid
        rgba(255,255,255,.08);
}


.browser-bar span {

    width: 6px;
    height: 6px;

    border-radius: 50%;

    background:
        #515968;
}


.browser-content {

    padding:
        30px;
}


.mock-line {

    width: 55%;
    height: 15px;

    margin-bottom: 10px;

    border-radius: 5px;

    background:
        #293142;
}


.mock-line.short {

    width: 35%;
}


.mock-cards {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 10px;

    margin-top: 40px;
}


.mock-cards span {

    height: 100px;

    border-radius: 8px;

    background:
        #1c2431;

    transition:
        transform .4s ease;
}


.project:hover
.mock-cards span:nth-child(1) {

    transform:
        translateY(-5px);
}


.project:hover
.mock-cards span:nth-child(2) {

    transform:
        translateY(-10px);
}


.project:hover
.mock-cards span:nth-child(3) {

    transform:
        translateY(-5px);
}


/* ============================================================
   PHONE MOCKUP
============================================================ */

.phone-mockup {

    width: 150px;
    height: 290px;

    padding: 8px;

    border-radius: 25px;

    background:
        #202734;

    box-shadow:
        0 30px 80px
        rgba(0, 0, 0, .6);

    transition:
        transform .6s
        cubic-bezier(.22, 1, .36, 1);
}


.project:hover .phone-mockup {

    transform:
        scale(1.045)
        translateY(-8px)
        rotate(-2deg);
}


.phone-screen {

    height: 100%;

    padding:
        20px 12px;

    border-radius: 19px;

    background:
        linear-gradient(
            160deg,
            #151a25,
            #0a0d13
        );
}


.phone-title {

    color:
        #fff;

    font-size: 10px;

    font-weight: 700;
}


.phone-chart {

    height: 80px;

    margin-top: 20px;

    border-radius: 10px;

    background:
        linear-gradient(
            145deg,
            rgba(108,99,255,.4),
            rgba(108,99,255,.03)
        );

    animation:
        phoneChartPulse 4s ease-in-out infinite;
}


@keyframes phoneChartPulse {

    0%,
    100% {

        opacity: .7;

    }

    50% {

        opacity: 1;

    }
}


.phone-row {

    height: 35px;

    margin-top: 10px;

    border-radius: 7px;

    background:
        #171e2a;
}


/* ============================================================
   PROJECT INFO
============================================================ */

.project-info {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding:
        24px 26px;
}


.project-info span {

    color:
        var(--primary-light);

    font-size: 9px;

    font-weight: 700;

    letter-spacing: .12em;
}


.project-info h3 {

    margin-top: 5px;

    font-family:
        "Space Grotesk";

    font-size: 18px;

    color:
        var(--text);
}


.project-info > a {

    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    color:
        #aaa4ff;

    font-size: 12px;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease;
}


.project-info > a:hover {

    transform:
        rotate(10deg);

    background:
        var(--text);

    color:
        var(--bg);
}


/* ============================================================
   TEXT LINK
============================================================ */

.text-link {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    color:
        #aaa4ff;

    font-size: 12px;

    font-weight: 700;
}


.text-link i {

    transition:
        transform .3s ease;
}


.text-link:hover i {

    transform:
        translateX(5px);
}


/* ============================================================
   16. PROCESS
============================================================ */

.process {

    background:
        var(--bg-soft);
}


.centered {

    display: flex;

    flex-direction: column;

    align-items: center;

    text-align: center;
}


.centered h2 {

    max-width: 700px;
}


.centered p {

    max-width: 550px;

    margin-top: 20px;
}


/* ============================================================
   PROCESS GRID
============================================================ */

.process-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 0;

    margin-top: 70px;
}


.process-step {

    position: relative;

    padding:
        0 28px;

    border-left:
        1px solid var(--border);

    transition:
        transform .4s ease;
}


.process-step:first-child {

    border-left: 0;
}


.process-step:hover {

    transform:
        translateY(-8px);
}


.process-step > span {

    color:
        var(--muted);

    font-family:
        "Space Grotesk";

    font-size: 12px;
}


.process-icon {

    width: 55px;
    height: 55px;

    display: grid;

    place-items: center;

    margin:
        22px 0;

    border:
        1px solid var(--border);

    border-radius: 15px;

    color:
        #9b95ff;

    background:
        rgba(108, 99, 255, .08);

    transition:
        transform .4s
        cubic-bezier(.22, 1, .36, 1),
        background-color .35s ease;
}


.process-step:hover
.process-icon {

    transform:
        scale(1.08)
        rotate(-5deg);

    background:
        rgba(108, 99, 255, .16);
}


.process-step h3 {

    font-family:
        "Space Grotesk";

    font-size: 19px;

    color:
        var(--text);
}


.process-step p {

    margin-top: 10px;

    color:
        var(--muted);

    font-size: 11px;

    line-height: 1.8;
}


/* ============================================================
   17. CTA
============================================================ */

.cta {

    padding:
        100px 0;

    background:
        var(--bg);
}


.cta-inner {

    position: relative;

    overflow: hidden;

    padding:
        90px 30px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-xl);

    background:
        radial-gradient(
            circle at 50% 100%,
            rgba(108, 99, 255, .2),
            transparent 55%
        ),

        var(--card);

    transition:
        transform .5s ease,
        border-color .4s ease;
}


.cta-inner:hover {

    border-color:
        rgba(108, 99, 255, .25);
}


.cta-glow {

    position: absolute;

    width: 300px;
    height: 300px;

    top: -180px;
    left: 50%;

    transform:
        translateX(-50%);

    border-radius: 50%;

    background:
        rgba(108, 99, 255, .2);

    filter:
        blur(80px);

    animation:
        ctaGlow 7s ease-in-out infinite;
}


@keyframes ctaGlow {

    0%,
    100% {

        transform:
            translateX(-50%)
            scale(1);

        opacity: .6;

    }

    50% {

        transform:
            translateX(-50%)
            scale(1.3);

        opacity: 1;

    }
}


.cta h2 {

    position: relative;

    font-family:
        "Space Grotesk";

    font-size:
        clamp(40px, 5vw, 65px);

    line-height: 1;

    letter-spacing:
        -.05em;

    color:
        var(--text);
}


.cta h2 span {

    color:
        var(--primary-light);
}


.cta p {

    position: relative;

    max-width: 550px;

    margin:
        25px auto 35px;

    color:
        var(--muted);

    font-size: 14px;
}


.btn-light {

    position: relative;

    background:
        #fff;

    color:
        #080a0e;
}


html[data-theme="light"]
.btn-light {

    background:
        #11131a;

    color:
        #fff;
}


.btn-light:hover {

    transform:
        translateY(-4px);

    box-shadow:
        0 15px 40px
        rgba(255, 255, 255, .15);
}


/* ============================================================
   18. FOOTER
============================================================ */

.footer {

    padding-top:
        80px;

    background:
        #05070a;

    border-top:
        1px solid var(--border);
}


html[data-theme="light"]
.footer {

    background:
        #eef1f7;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1.3fr;

    gap: 50px;

    padding-bottom:
        70px;
}


/* ============================================================
   FOOTER BRAND
============================================================ */

.footer-brand p {

    max-width: 300px;

    margin-top: 20px;

    color:
        var(--muted);

    font-size: 12px;

    line-height: 1.8;
}


/* ============================================================
   SOCIALS
============================================================ */

.socials {

    display: flex;

    gap: 8px;

    margin-top: 25px;
}


.socials a {

    width: 35px;
    height: 35px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    color:
        var(--muted);

    font-size: 11px;

    transition:
        transform .3s ease,
        background-color .3s ease,
        color .3s ease,
        border-color .3s ease;
}


.socials a:hover {

    background:
        var(--text);

    color:
        var(--bg);

    border-color:
        var(--text);

    transform:
        translateY(-3px);
}


/* ============================================================
   FOOTER COLUMNS
============================================================ */

.footer-column {

    display: flex;

    flex-direction: column;

    gap: 12px;
}


.footer-column h4 {

    margin-bottom: 8px;

    color:
        var(--text);

    font-size: 12px;
}


.footer-column a {

    color:
        var(--muted);

    font-size: 11px;

    transition:
        color .3s ease,
        transform .3s ease;
}


.footer-column a:hover {

    color:
        var(--text);

    transform:
        translateX(4px);
}


/* ============================================================
   FOOTER BOTTOM
============================================================ */

.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 20px;

    padding:
        25px 0;

    border-top:
        1px solid var(--border);

    color:
        var(--muted);

    font-size: 10px;
}


.footer-bottom div {

    display: flex;

    gap: 20px;
}


.footer-bottom a {

    transition:
        color .3s ease;
}


.footer-bottom a:hover {

    color:
        var(--text);
}


/* ============================================================
   19. SCROLL REVEAL
============================================================ */

.reveal {

    opacity: 0;

    transform:
        translateY(45px);

    transition:
        opacity .8s ease,
        transform .8s
        cubic-bezier(.22, 1, .36, 1);
}


.reveal.active {

    opacity: 1;

    transform:
        translateY(0);
}


/* ============================================================
   STAGGERED SERVICES
============================================================ */

.services-grid .reveal:nth-child(1) {

    transition-delay:
        .05s;
}


.services-grid .reveal:nth-child(2) {

    transition-delay:
        .12s;
}


.services-grid .reveal:nth-child(3) {

    transition-delay:
        .19s;
}


.services-grid .reveal:nth-child(4) {

    transition-delay:
        .26s;
}


/* ============================================================
   STAGGERED PROCESS
============================================================ */

.process-grid .reveal:nth-child(1) {

    transition-delay:
        .05s;
}


.process-grid .reveal:nth-child(2) {

    transition-delay:
        .12s;
}


.process-grid .reveal:nth-child(3) {

    transition-delay:
        .19s;
}


.process-grid .reveal:nth-child(4) {

    transition-delay:
        .26s;
}


/* ============================================================
   20. FOCUS ACCESSIBILITY
============================================================ */

a:focus-visible,
button:focus-visible {

    outline:
        3px solid
        rgba(108, 99, 255, .45);

    outline-offset:
        4px;

}


/* ============================================================
   21. LARGE TABLETS
============================================================ */

@media (max-width: 1100px) {

    .container {

        width:
            min(
                var(--container),
                calc(100% - 40px)
            );
    }


    .nav-links {

        gap: 24px;
    }


    .hero-container {

        gap: 45px;
    }


    .about-grid {

        gap: 60px;
    }


    .footer-grid {

        gap: 30px;
    }

}


/* ============================================================
   22. TABLET
============================================================ */

@media (max-width: 1000px) {

    /* NAV */

    .nav-links {

        gap: 18px;
    }


    .nav-button {

        padding:
            0 16px;
    }


    /* HERO */

    .hero {

        min-height:
            auto;

        padding-top:
            140px;

        padding-bottom:
            100px;
    }


    .hero-container {

        grid-template-columns:
            1fr;

        gap:
            50px;
    }


    .hero-content {

        text-align:
            center;
    }


    .hero-description {

        margin-inline:
            auto;
    }


    .hero-buttons,
    .hero-trust {

        justify-content:
            center;
    }


    .hero-visual {

        min-height:
            450px;

        width:
            min(650px, 100%);

        margin-inline:
            auto;
    }


    /* ABOUT */

    .about-grid {

        grid-template-columns:
            1fr;

        gap:
            70px;
    }


    .about-visual {

        max-width:
            600px;

        width:
            100%;

        margin-inline:
            auto;
    }


    .about-content {

        text-align:
            center;
    }


    .about-content > p {

        margin-inline:
            auto;
    }


    .features {

        max-width:
            500px;

        margin-inline:
            auto;

        text-align:
            left;
    }


    /* PORTFOLIO */

    .portfolio-grid {

        grid-template-columns:
            1fr 1fr;
    }


    /* FOOTER */

    .footer-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ============================================================
   23. MOBILE NAVIGATION
============================================================ */

@media (max-width: 760px) {

    .container {

        width:
            min(
                var(--container),
                calc(100% - 32px)
            );
    }


    .section {

        padding:
            90px 0;
    }


    /* --------------------------------
       NAV
    -------------------------------- */

    .navbar {

        height:
            80px;
    }


    .nav-links {

        position:
            absolute;

        top:
            80px;

        left:
            16px;

        right:
            16px;

        display:
            flex;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            4px;

        padding:
            12px;

        border:
            1px solid var(--border);

        border-radius:
            18px;

        background:
            rgba(12, 16, 23, .96);

        backdrop-filter:
            blur(20px);

        box-shadow:
            0 25px 60px
            rgba(0, 0, 0, .4);

        opacity:
            0;

        visibility:
            hidden;

        transform:
            translateY(-12px)
            scale(.98);

        transform-origin:
            top center;

        transition:
            opacity .3s ease,
            transform .35s ease,
            visibility .3s ease;
    }


    html[data-theme="light"]
    .nav-links {

        background:
            rgba(255, 255, 255, .97);

        box-shadow:
            0 25px 60px
            rgba(30, 41, 59, .15);
    }


    .nav-links.show {

        opacity:
            1;

        visibility:
            visible;

        transform:
            translateY(0)
            scale(1);
    }


    .nav-links a {

        padding:
            13px 14px;

        border-radius:
            10px;
    }


    .nav-links a:hover {

        background:
            rgba(108, 99, 255, .08);
    }


    .nav-links a::after {

        display:
            none;
    }


    .nav-actions {

        margin-left:
            auto;

        margin-right:
            10px;
    }


    .nav-button {

        display:
            none;
    }


    .theme-toggle {

        width:
            42px;

        height:
            42px;
    }


    .menu-toggle {

        display:
            flex;
    }


    /* --------------------------------
       HERO
    -------------------------------- */

    .hero {

        min-height:
            auto;

        padding-top:
            125px;

        padding-bottom:
            80px;
    }


    .hero h1 {

        font-size:
            clamp(
                43px,
                13vw,
                65px
            );
    }


    .hero-description {

        font-size:
            14px;
    }


    .hero-buttons {

        flex-direction:
            column;

        width:
            100%;
    }


    .btn {

        width:
            100%;
    }


    .hero-trust {

        margin-top:
            32px;
    }


    .hero-visual {

        min-height:
            390px;
    }


    .visual-orbit {

        display:
            none;
    }


    .code-window {

        transform:
            none;
    }


    .card-top {

        top:
            20px;

        right:
            -5px;
    }


    .card-bottom {

        left:
            -5px;

        bottom:
            20px;
    }


    /* --------------------------------
       STATS
    -------------------------------- */

    .stats-grid {

        grid-template-columns:
            repeat(2, 1fr);

        gap:
            25px;
    }


    .stat {

        border-right:
            1px solid var(--border);
    }


    .stat:nth-child(2) {

        border-right:
            0;
    }


    .stat:nth-child(3),
    .stat:nth-child(4) {

        padding-top:
            25px;
    }


    /* --------------------------------
       HEADINGS
    -------------------------------- */

    .section-heading {

        flex-direction:
            column;

        align-items:
            flex-start;

        margin-bottom:
            45px;

        gap:
            20px;
    }


    .section-heading h2 {

        font-size:
            40px;
    }


    .section-heading > p {

        max-width:
            100%;
    }


    /* --------------------------------
       SERVICES
    -------------------------------- */

    .services-grid {

        grid-template-columns:
            1fr;
    }


    .service-card {

        min-height:
            auto;

        padding:
            30px;
    }


    /* --------------------------------
       ABOUT
    -------------------------------- */

    .about-box {

        width:
            min(
                100%,
                360px
            );
    }


    .experience-card {

        right:
            0;
    }


    /* --------------------------------
       PORTFOLIO
    -------------------------------- */

    .portfolio-grid {

        grid-template-columns:
            1fr;
    }


    .project-image,
    .project-mobile {

        min-height:
            330px;
    }


    /* --------------------------------
       PROCESS
    -------------------------------- */

    .process-grid {

        grid-template-columns:
            1fr;

        gap:
            35px;
    }


    .process-step {

        border-left:
            0;

        border-bottom:
            1px solid var(--border);

        padding:
            0 0 35px;
    }


    .process-step:last-child {

        border-bottom:
            0;
    }


    /* --------------------------------
       CTA
    -------------------------------- */

    .cta {

        padding:
            70px 0;
    }


    .cta-inner {

        padding:
            70px 22px;
    }


    /* --------------------------------
       FOOTER
    -------------------------------- */

    .footer {

        padding-top:
            65px;
    }


    .footer-grid {

        grid-template-columns:
            1fr;

        gap:
            40px;

        padding-bottom:
            50px;
    }


    .footer-bottom {

        flex-direction:
            column;

        align-items:
            flex-start;
    }

}


/* ============================================================
   24. SMALL MOBILE
============================================================ */

@media (max-width: 480px) {

    /* HERO */

    .hero {

        padding-top:
            120px;
    }


    .eyebrow {

        font-size:
            9px;

        padding:
            7px 11px;
    }


    .hero h1 {

        font-size:
            43px;
    }


    .hero-description {

        font-size:
            13px;
    }


    .hero-visual {

        min-height:
            350px;
    }


    /* CODE */

    .code-content {

        padding:
            20px 15px;
    }


    .code-content pre {

        font-size:
            10px;
    }


    /* FLOATING CARDS */

    .floating-card {

        padding:
            10px;
    }


    .floating-icon {

        width:
            32px;

        height:
            32px;
    }


    .floating-card strong {

        font-size:
            9px;
    }


    .floating-card small {

        font-size:
            8px;
    }


    .card-top {

        right:
            0;
    }


    .card-bottom {

        left:
            0;
    }


    /* HEADINGS */

    .section-heading h2 {

        font-size:
            35px;
    }


    .about-content h2 {

        font-size:
            38px;
    }


    /* ABOUT */

    .about-box {

        padding:
            30px;
    }


    .about-box strong {

        font-size:
            30px;
    }


    .experience-card {

        width:
            150px;

        padding:
            18px;
    }


    .experience-card strong {

        font-size:
            22px;
    }


    /* PROJECTS */

    .project-image,
    .project-mobile {

        min-height:
            280px;
    }


    .mockup-browser {

        width:
            82%;
    }


    .browser-content {

        padding:
            20px;
    }


    /* CTA */

    .cta h2 {

        font-size:
            40px;
    }


    /* FOOTER */

    .footer-bottom {

        font-size:
            9px;
    }


    .footer-bottom div {

        gap:
            14px;
    }

}


/* ============================================================
   25. VERY SMALL SCREENS
============================================================ */

@media (max-width: 360px) {

    .container {

        width:
            calc(100% - 24px);
    }


    .logo {

        font-size:
            19px;
    }


    .logo-mark {

        width:
            32px;

        height:
            32px;
    }


    .hero h1 {

        font-size:
            39px;
    }


    .hero-visual {

        min-height:
            320px;
    }


    .floating-card {

        transform:
            scale(.88);
    }


    .card-top {

        right:
            -12px;
    }


    .card-bottom {

        left:
            -12px;
    }

}


/* ============================================================
   26. REDUCED MOTION
============================================================ */

/*
   Users who have enabled reduced motion should not receive
   unnecessary continuous movement.
*/

@media (prefers-reduced-motion: reduce) {

    html {

        scroll-behavior:
            auto;
    }


    *,
    *::before,
    *::after {

        animation-duration:
            .01ms !important;

        animation-iteration-count:
            1 !important;

        transition-duration:
            .01ms !important;

        scroll-behavior:
            auto !important;
    }


    .reveal {

        opacity:
            1;

        transform:
            none;
    }


    .hero-content .eyebrow,
    .hero h1,
    .hero-description,
    .hero-buttons,
    .hero-trust,
    .hero-visual {

        animation:
            none;
    }


    .code-window,
    .floating-card,
    .experience-card,
    .hero-glow,
    .visual-orbit,
    .cta-glow {

        animation:
            none;
    }

}


/* =========================================================
   CAC REGISTRATION
========================================================= */

.cac-card {
    position: relative;
    margin-top: 25px;
    padding: 22px;
    border: 1px solid var(--border-color);
    border-radius: 22px;
    background: var(--card-bg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition:
        transform 0.4s ease,
        box-shadow 0.4s ease,
        border-color 0.4s ease;
}

.cac-card::before {
    content: "";
    position: absolute;
    top: -100px;
    right: -100px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.07;
    filter: blur(30px);
    pointer-events: none;
}

.cac-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
    border-color: var(--primary-color);
}


/* =========================================================
   CAC HEADER
========================================================= */

.cac-header {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    gap: 13px;

    margin-bottom: 20px;
}

.cac-icon {
    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 14px;

    background: var(--primary-color);
    color: #fff;

    font-size: 18px;
}

.cac-header > div:nth-child(2) {
    flex: 1;
}

.cac-label {
    display: block;

    margin-bottom: 4px;

    font-size: 9px;
    font-weight: 700;

    letter-spacing: 1.5px;

    color: var(--text-muted);
}

.cac-header h4 {
    margin: 0;

    font-family: "Space Grotesk", sans-serif;

    font-size: 16px;
    font-weight: 700;

    color: var(--text-color);
}

.cac-check {
    color: #20b26b;
    font-size: 21px;
}


/* =========================================================
   CAC DETAILS
========================================================= */

.cac-details {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: 1fr 1fr;

    gap: 12px;

    margin-bottom: 18px;
}

.cac-detail {
    padding: 13px 14px;

    border-radius: 12px;

    background: var(--secondary-bg);
}

.cac-detail span {
    display: block;

    margin-bottom: 5px;

    font-size: 10px;
    font-weight: 600;

    text-transform: uppercase;
    letter-spacing: 0.8px;

    color: var(--text-muted);
}

.cac-detail strong {
    display: block;

    font-size: 13px;
    font-weight: 700;

    color: var(--text-color);
}


/* =========================================================
   CAC CERTIFICATE
========================================================= */

.cac-certificate {
    position: relative;

    width: 100%;

    overflow: hidden;

    border-radius: 15px;

    background: #f4f4f4;

    border: 1px solid var(--border-color);

    cursor: pointer;
}

.cac-certificate img {
    display: block;

    width: 100%;
    height: 210px;

    object-fit: contain;

    transition:
        transform 0.6s ease,
        filter 0.6s ease;
}

.cac-certificate:hover img {
    transform: scale(1.04);

    filter: brightness(0.72);
}


/* =========================================================
   CERTIFICATE OVERLAY
========================================================= */

.certificate-overlay {
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    padding: 18px;

    display: flex;
    align-items: center;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.75),
        transparent
    );

    opacity: 0;

    transition: opacity 0.35s ease;
}

.cac-certificate:hover .certificate-overlay {
    opacity: 1;
}

.certificate-overlay span {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #fff;

    font-size: 11px;
    font-weight: 700;

    letter-spacing: 1px;
}

.certificate-overlay i {
    font-size: 14px;
}


/* =========================================================
   CAC FOOTER
========================================================= */

.cac-footer {
    position: relative;
    z-index: 2;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 15px;

    margin-top: 15px;
    padding-top: 14px;

    border-top: 1px solid var(--border-color);

    font-size: 10px;
    font-weight: 600;

    color: var(--text-muted);
}

.cac-footer span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.cac-footer i {
    color: #20b26b;
}


/* =========================================================
   CAC MOBILE
========================================================= */

@media (max-width: 600px) {

    .cac-card {
        padding: 17px;
        border-radius: 18px;
    }

    .cac-details {
        grid-template-columns: 1fr;
    }

    .cac-certificate img {
        height: 180px;
        object-fit: contain;
    }

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

}

/* ============================================================
   END OF CODINGPRO LTD STYLESHEET
============================================================ */
