/* =========================================================
   AZAAN SHAHZAD - DIGITAL AGENCY
   COMPLETE CLEAN RESPONSIVE STYLESHEET
========================================================= */


/* =========================================================
   GLOBAL VARIABLES
========================================================= */

:root {
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --secondary: #06b6d4;

    --background: #080810;
    --background-soft: #10101a;

    --card: #12121d;
    --card-hover: #181824;

    --text: #f8fafc;
    --text-soft: #a1a1b5;
    --text-muted: #717184;

    --border: rgba(255, 255, 255, 0.09);

    --gradient:
        linear-gradient(
            135deg,
            #8b5cf6,
            #06b6d4
        );

    --container: 1180px;

    --radius-small: 10px;
    --radius-medium: 18px;
    --radius-large: 28px;

    --shadow:
        0 25px 70px rgba(0, 0, 0, 0.30);

    --transition: 0.3s ease;

    --header-height: 76px;
}


/* =========================================================
   LIGHT THEME
========================================================= */

body.light-theme {
    --background: #f7f7fb;
    --background-soft: #ffffff;

    --card: #ffffff;
    --card-hover: #f3f3f8;

    --text: #15151d;
    --text-soft: #555566;
    --text-muted: #77778a;

    --border: rgba(0, 0, 0, 0.08);

    --shadow:
        0 25px 70px rgba(30, 30, 60, 0.10);
}


/* =========================================================
   RESET
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    min-height: 100vh;

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    background: var(--background);
    color: var(--text);

    line-height: 1.6;

    overflow-x: hidden;

    transition:
        background var(--transition),
        color var(--transition);
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    margin: 0;
    padding: 0;
}


/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: min(
        calc(100% - 40px),
        var(--container)
    );

    max-width: var(--container);

    margin-inline: auto;
}


/* =========================================================
   HEADER
========================================================= */

.header {
    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    z-index: 1000;

    background:
        rgba(8, 8, 16, 0.72);

    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom:
        1px solid var(--border);

    transition:
        background var(--transition),
        box-shadow var(--transition);
}

body.light-theme .header {
    background:
        rgba(255, 255, 255, 0.82);
}

.navbar {
    min-height: var(--header-height);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;
}


/* =========================================================
   LOGO
========================================================= */

.logo {
    display: inline-flex;

    align-items: center;

    font-size: 1.7rem;

    font-weight: 800;

    letter-spacing: -0.05em;

    white-space: nowrap;
}

.logo-text {
    position: relative;
}

.logo .dot {
    color: var(--secondary);
}


/* =========================================================
   NAVIGATION
========================================================= */

.nav-links {
    display: flex;

    align-items: center;

    gap: 28px;
}

.nav-links > a {
    color: var(--text-soft);

    font-size: 0.92rem;

    font-weight: 600;

    transition:
        color var(--transition);
}

.nav-links > a:hover {
    color: var(--text);
}

.theme-toggle {
    width: 40px;
    height: 40px;

    display: grid;

    place-items: center;

    border:
        1px solid var(--border);

    border-radius: 50%;

    background: var(--card);

    color: var(--text);

    transition:
        transform var(--transition),
        background var(--transition);
}

.theme-toggle:hover {
    transform: rotate(20deg);
}

.menu-toggle {
    display: none;

    width: 42px;
    height: 42px;

    padding: 9px;

    border:
        1px solid var(--border);

    border-radius: 10px;

    background: var(--card);

    align-items: center;

    justify-content: center;

    flex-direction: column;

    gap: 5px;
}

.menu-toggle span {
    width: 20px;
    height: 2px;

    display: block;

    border-radius: 5px;

    background: var(--text);
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    min-height: 100vh;

    display: flex;

    align-items: center;

    padding:
        140px 0 90px;

    overflow: hidden;
}


/* =========================================================
   HERO BACKGROUND
========================================================= */

.hero-background {
    position: absolute;

    inset: 0;

    pointer-events: none;
}

.grid-background {
    position: absolute;

    inset: 0;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.035) 1px,
            transparent 1px
        );

    background-size:
        55px 55px;

    mask-image:
        radial-gradient(
            circle at center,
            black,
            transparent 75%
        );
}

.orb {
    position: absolute;

    width: 420px;
    height: 420px;

    border-radius: 50%;

    filter: blur(90px);

    opacity: 0.20;

    animation:
        floatOrb 8s ease-in-out infinite;
}

.orb-one {
    top: 10%;
    left: -120px;

    background:
        var(--primary);
}

.orb-two {
    right: -120px;
    bottom: 5%;

    background:
        var(--secondary);

    animation-delay:
        -4s;
}

@keyframes floatOrb {
    0%,
    100% {
        transform:
            translate(0, 0);
    }

    50% {
        transform:
            translate(30px, -35px);
    }
}


/* =========================================================
   HERO CONTENT
========================================================= */

.hero-content {
    position: relative;

    z-index: 2;

    width: 100%;

    display: grid;

    grid-template-columns:
        minmax(0, 1.05fr)
        minmax(0, 0.95fr);

    gap: 70px;

    align-items: center;
}

.hero-text {
    min-width: 0;
}

.eyebrow {
    display: inline-block;

    margin-bottom: 18px;

    color: var(--secondary);

    font-size: 0.75rem;

    font-weight: 800;

    letter-spacing: 0.16em;
}


/* =========================================================
   HERO HEADING
   SLIGHTLY SMALLER THAN ORIGINAL
========================================================= */

.hero h1 {
    max-width: 750px;

    font-size:
        clamp(
            2.6rem,
            5.8vw,
            4.8rem
        );

    line-height: 1;

    letter-spacing:
        -0.055em;

    margin-bottom:
        28px;
}

.gradient-text {
    background:
        var(--gradient);

    -webkit-background-clip: text;
    background-clip: text;

    color: transparent;
}

.hero-text > p {
    max-width: 620px;

    color: var(--text-soft);

    font-size: 1.08rem;

    line-height: 1.7;

    margin-bottom: 34px;
}


/* =========================================================
   HERO BUTTONS
========================================================= */

.hero-buttons {
    display: flex;

    flex-wrap: wrap;

    gap: 14px;
}

.btn {
    min-height: 52px;

    padding:
        0 22px;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    border-radius: 12px;

    font-weight: 700;

    border:
        1px solid transparent;

    transition:
        transform var(--transition),
        box-shadow var(--transition),
        background var(--transition);
}

.btn:hover {
    transform:
        translateY(-3px);
}

.btn-primary {
    background:
        var(--gradient);

    color: white;

    box-shadow:
        0 12px 35px
        rgba(124, 58, 237, 0.25);
}

.btn-primary:hover {
    box-shadow:
        0 18px 45px
        rgba(124, 58, 237, 0.38);
}

.btn-secondary {
    background:
        var(--card);

    color:
        var(--text);

    border-color:
        var(--border);
}


/* =========================================================
   HERO STATS
========================================================= */

.hero-stats {
    display: flex;

    flex-wrap: wrap;

    gap: 40px;

    margin-top: 55px;
}

.hero-stats div {
    display: flex;

    flex-direction: column;
}

.hero-stats strong {
    font-size: 1.6rem;

    letter-spacing:
        -0.04em;
}

.hero-stats span {
    color:
        var(--text-muted);

    font-size:
        0.8rem;
}


/* =========================================================
   HERO VISUAL
========================================================= */

.hero-visual {
    position: relative;

    min-height: 500px;

    min-width: 0;

    display: flex;

    align-items: center;

    justify-content: center;
}

.floating-card {
    background:
        rgba(18, 18, 29, 0.85);

    border:
        1px solid var(--border);

    backdrop-filter:
        blur(20px);

    -webkit-backdrop-filter:
        blur(20px);

    box-shadow:
        var(--shadow);
}

.card-main {
    width:
        min(
            100%,
            440px
        );

    min-height: 320px;

    border-radius: 20px;

    transform:
        perspective(1000px)
        rotateY(-8deg)
        rotateX(4deg);

    animation:
        mainFloat 6s ease-in-out infinite;
}

@keyframes mainFloat {
    0%,
    100% {
        transform:
            perspective(1000px)
            rotateY(-8deg)
            rotateX(4deg)
            translateY(0);
    }

    50% {
        transform:
            perspective(1000px)
            rotateY(-8deg)
            rotateX(4deg)
            translateY(-12px);
    }
}

.browser-top {
    height: 42px;

    display: flex;

    align-items: center;

    gap: 7px;

    padding:
        0 15px;

    border-bottom:
        1px solid var(--border);
}

.browser-top span {
    width: 9px;
    height: 9px;

    border-radius: 50%;

    background:
        var(--text-muted);
}

.browser-top span:first-child {
    background: #ff5f57;
}

.browser-top span:nth-child(2) {
    background: #ffbd2e;
}

.browser-top span:nth-child(3) {
    background: #28c840;
}

.browser-content {
    padding: 30px;
}

.mock-line {
    width: 55%;
    height: 12px;

    margin-bottom: 14px;

    border-radius: 20px;

    background:
        linear-gradient(
            90deg,
            var(--primary),
            var(--secondary)
        );

    opacity: 0.7;
}

.mock-line.large {
    width: 80%;

    height: 25px;
}

.mock-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap: 12px;

    margin-top: 45px;
}

.mock-grid div {
    height: 110px;

    border-radius: 12px;

    background:
        linear-gradient(
            135deg,
            rgba(124, 58, 237, 0.5),
            rgba(6, 182, 212, 0.15)
        );

    border:
        1px solid var(--border);
}

.mini-card {
    position: absolute;

    padding:
        15px 18px;

    border-radius: 14px;

    display: flex;

    align-items: center;

    gap: 12px;

    animation:
        miniFloat 5s ease-in-out infinite;
}

.card-speed {
    top: 50px;
    left: 0;
}

.card-growth {
    right: 0;
    bottom: 65px;

    animation-delay:
        -2s;
}

@keyframes miniFloat {
    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-10px);
    }
}

.mini-icon {
    width: 38px;
    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background:
        rgba(124, 58, 237, 0.2);

    color:
        var(--primary-light);

    font-weight: 800;
}

.mini-card strong {
    display: block;
}

.mini-card small {
    color:
        var(--text-muted);
}


/* =========================================================
   HERO PROFILE IMAGE
========================================================= */

section.hero > .hero-image {
    position: absolute !important;

    top: 82px !important;
    right: 45px !important;

    width: 120px !important;
    height: 120px !important;

    min-width: 120px !important;
    min-height: 120px !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    z-index: 200 !important;

    display: block !important;

    border-radius: 50% !important;

    overflow: hidden !important;

    background:
        var(--card) !important;

    border:
        2px solid
        rgba(255, 255, 255, 0.20) !important;

    box-shadow:
        0 15px 35px
        rgba(0, 0, 0, 0.45),
        0 0 30px
        rgba(6, 182, 212, 0.18) !important;

    transform: none !important;

    animation:
        profileFloatDesktop 4s ease-in-out infinite !important;
}


section.hero > .hero-image img {
    width: 100% !important;
    height: 100% !important;

    min-width: 100% !important;
    min-height: 100% !important;

    max-width: none !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    display: block !important;

    object-fit: cover !important;

    object-position:
        center center !important;

    border-radius:
        50% !important;
}


section.hero > .hero-image .hero-image-glow {
    position: absolute !important;

    inset: -6px !important;

    z-index: -1 !important;

    border-radius:
        50% !important;

    background:
        radial-gradient(
            circle,
            rgba(6, 182, 212, 0.25),
            transparent 70%
        ) !important;

    filter:
        blur(9px) !important;

    pointer-events:
        none !important;
}


@keyframes profileFloatDesktop {
    0%,
    100% {
        transform:
            translateY(0);
    }

    50% {
        transform:
            translateY(-6px);
    }
}


/* =========================================================
   PROFILE HOVER
========================================================= */

section.hero > .hero-image:hover {
    animation-play-state:
        paused !important;

    transform:
        translateY(-3px)
        scale(1.04) !important;

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.50),
        0 0 40px
        rgba(6, 182, 212, 0.25) !important;
}


/* =========================================================
   GENERAL SECTIONS
========================================================= */

.section {
    padding:
        120px 0;
}

.section-heading {
    max-width: 700px;

    margin-bottom:
        60px;
}

.section-heading h2 {
    font-size:
        clamp(
            2.3rem,
            5vw,
            4rem
        );

    line-height:
        1.05;

    letter-spacing:
        -0.055em;

    margin-bottom:
        20px;
}

.section-heading p {
    color:
        var(--text-soft);

    font-size:
        1.05rem;
}


/* =========================================================
   SERVICES
========================================================= */

.services-section {
    background:
        var(--background-soft);
}

.services-grid {
    display: grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        22px;
}

.service-card {
    position: relative;

    padding:
        34px;

    min-height:
        390px;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    overflow:
        hidden;

    transition:
        transform var(--transition),
        background var(--transition),
        border-color var(--transition);
}

.service-card:hover {
    transform:
        translateY(-8px);

    background:
        var(--card-hover);

    border-color:
        rgba(124, 58, 237, 0.4);
}

.service-number {
    position: absolute;

    top: 25px;
    right: 28px;

    color:
        var(--text-muted);

    font-size:
        0.75rem;

    font-weight:
        700;
}

.service-icon {
    width:
        58px;

    height:
        58px;

    display:
        grid;

    place-items:
        center;

    margin-bottom:
        30px;

    border-radius:
        15px;

    background:
        rgba(124, 58, 237, 0.12);

    color:
        var(--primary-light);

    font-size:
        1.3rem;

    font-weight:
        800;
}

.service-card h3 {
    font-size:
        1.35rem;

    margin-bottom:
        14px;
}

.service-card p {
    color:
        var(--text-soft);

    margin-bottom:
        25px;
}

.service-card ul {
    list-style:
        none;

    display:
        grid;

    gap:
        9px;

    color:
        var(--text-muted);

    font-size:
        0.9rem;
}

.service-card li::before {
    content:
        "•";

    color:
        var(--secondary);

    margin-right:
        8px;
}


/* =========================================================
   PORTFOLIO
========================================================= */

.portfolio-section {
    background:
        var(--background);
}

.filter-buttons {
    display:
        flex;

    flex-wrap:
        wrap;

    gap:
        10px;

    margin-bottom:
        35px;
}

.filter-btn {
    padding:
        10px 18px;

    border:
        1px solid var(--border);

    border-radius:
        999px;

    background:
        var(--card);

    color:
        var(--text-soft);

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.filter-btn:hover {
    transform:
        translateY(-2px);
}

.filter-btn.active {
    background:
        var(--gradient);

    color:
        white;

    border-color:
        transparent;
}

.portfolio-grid {
    display:
        grid;

    grid-template-columns:
        repeat(
            2,
            minmax(0, 1fr)
        );

    gap:
        22px;
}

.portfolio-link {
    display:
        block;

    width:
        100%;

    max-width:
        100%;

    min-width:
        0;

    color:
        inherit;

    text-decoration:
        none;
}

.portfolio-item {
    width:
        100%;

    min-width:
        0;

    height:
        100%;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-medium);

    overflow:
        hidden;

    transition:
        transform var(--transition),
        opacity var(--transition);
}

.portfolio-item:hover {
    transform:
        translateY(-7px);
}

.portfolio-image {
    position:
        relative;

    width:
        100%;

    height:
        260px;

    display:
        grid;

    place-items:
        center;

    overflow:
        hidden;

    background:
        linear-gradient(
            135deg,
            #191235,
            #102b39
        );
}

.portfolio-image img {
    width:
        100%;

    height:
        100%;

    max-width:
        none;

    display:
        block;

    object-fit:
        cover;

    object-position:
        center center;

    transition:
        transform 0.5s ease;
}

.portfolio-item:hover
.portfolio-image img {
    transform:
        scale(1.04);
}

.portfolio-info {
    min-width:
        0;

    padding:
        22px;

    display:
        flex;

    justify-content:
        space-between;

    align-items:
        center;

    gap:
        15px;
}

.portfolio-info > div:first-child {
    min-width:
        0;
}

.portfolio-info span {
    color:
        var(--secondary);

    font-size:
        0.72rem;

    font-weight:
        700;

    text-transform:
        uppercase;

    letter-spacing:
        0.08em;
}

.portfolio-info h3 {
    margin-top:
        5px;

    font-size:
        1.1rem;

    overflow-wrap:
        anywhere;
}

.portfolio-arrow {
    width:
        38px;

    height:
        38px;

    flex-shrink:
        0;

    display:
        grid;

    place-items:
        center;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    color:
        var(--text);

    transition:
        transform var(--transition),
        background var(--transition);
}

.portfolio-link:hover
.portfolio-arrow {
    transform:
        rotate(45deg);

    background:
        rgba(124, 58, 237, 0.12);
}


/* =========================================================
   PRICING
========================================================= */

.pricing-section {
    width:
        100%;

    background:
        var(--background-soft);
}

.pricing-wrapper {
    width:
        100%;

    max-width:
        var(--container);

    margin-inline:
        auto;

    padding:
        12px;

    border:
        1px solid var(--border);

    border-radius:
        25px;

    background:
        var(--card);

    box-shadow:
        var(--shadow);

    overflow:
        visible;
}


/* =========================================================
   PRICING TABS
========================================================= */

.pricing-tabs {
    width:
        100%;

    display:
        grid;

    grid-template-columns:
        repeat(
            3,
            minmax(0, 1fr)
        );

    gap:
        8px;

    padding:
        8px;

    border-bottom:
        1px solid var(--border);
}

.pricing-tab {
    position:
        relative;

    width:
        100%;

    min-height:
        52px;

    padding:
        14px 18px;

    border:
        none;

    border-radius:
        12px;

    background:
        transparent;

    color:
        var(--text-soft);

    font-weight:
        700;

    transition:
        background var(--transition),
        color var(--transition),
        transform var(--transition);
}

.pricing-tab:hover {
    transform:
        translateY(-2px);
}

.pricing-tab.active {
    background:
        rgba(124, 58, 237, 0.15);

    color:
        var(--primary-light);
}


/* =========================================================
   MOST POPULAR BADGE
========================================================= */

.business-tab {
    padding-top:
        17px;
}

.popular-badge {
    position:
        absolute;

    top:
        -13px;

    left:
        50%;

    transform:
        translateX(-50%);

    z-index:
        10;

    white-space:
        nowrap;

    padding:
        5px 12px;

    border-radius:
        999px;

    background:
        var(--gradient);

    color:
        white;

    font-size:
        0.62rem;

    font-weight:
        800;

    letter-spacing:
        0.08em;

    line-height:
        1;

    box-shadow:
        0 8px 20px
        rgba(124, 58, 237, 0.30);
}


/* =========================================================
   PRICING CONTENT
========================================================= */

.pricing-content {
    width:
        100%;

    display:
        grid;

    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    gap:
        70px;

    padding:
        55px;
}

.pricing-info {
    min-width:
        0;
}

.pricing-info h3 {
    font-size:
        clamp(
            1.8rem,
            3vw,
            2.4rem
        );

    line-height:
        1.15;

    margin-bottom:
        15px;
}

.pricing-info p {
    max-width:
        550px;

    color:
        var(--text-soft);

    line-height:
        1.7;

    margin-bottom:
        25px;
}


/* =========================================================
   PRICE
========================================================= */

.price {
    display:
        flex;

    flex-direction:
        column;

    margin-bottom:
        30px;
}

.price span {
    color:
        var(--text-muted);

    font-size:
        0.8rem;

    margin-bottom:
        4px;
}

.price strong {
    font-size:
        clamp(
            2.4rem,
            5vw,
            3.5rem
        );

    line-height:
        1;

    letter-spacing:
        -0.06em;
}


/* =========================================================
   PRICING FEATURES
========================================================= */

.pricing-features {
    min-width:
        0;

    padding-left:
        35px;

    border-left:
        1px solid var(--border);
}

.pricing-features h4 {
    margin-bottom:
        22px;

    font-size:
        1.15rem;
}

.pricing-features ul {
    list-style:
        none;

    display:
        grid;

    gap:
        15px;

    margin:
        0;

    padding:
        0;
}

.pricing-features li {
    color:
        var(--text-soft);

    line-height:
        1.5;

    overflow-wrap:
        anywhere;
}


/* =========================================================
   TESTIMONIALS
========================================================= */

.testimonial-slider {
    position:
        relative;

    max-width:
        850px;

    margin-inline:
        auto;

    display:
        flex;

    align-items:
        center;

    gap:
        20px;
}

.testimonial-track {
    flex:
        1;

    min-width:
        0;

    overflow:
        hidden;
}

.testimonial {
    display:
        none;

    padding:
        45px;

    text-align:
        center;

    background:
        var(--card);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-large);
}

.testimonial.active {
    display:
        block;

    animation:
        testimonialFade 0.4s ease;
}

@keyframes testimonialFade {
    from {
        opacity:
            0;

        transform:
            translateX(15px);
    }

    to {
        opacity:
            1;

        transform:
            translateX(0);
    }
}

.stars {
    color:
        #fbbf24;

    letter-spacing:
        5px;

    margin-bottom:
        20px;
}

.testimonial blockquote {
    font-size:
        clamp(
            1.1rem,
            2.5vw,
            1.5rem
        );

    color:
        var(--text-soft);

    margin-bottom:
        30px;
}

.testimonial-author {
    display:
        flex;

    justify-content:
        center;

    align-items:
        center;

    gap:
        12px;
}

.avatar {
    width:
        45px;

    height:
        45px;

    border-radius:
        50%;

    display:
        grid;

    place-items:
        center;

    background:
        var(--gradient);

    color:
        white;

    font-size:
        0.75rem;

    font-weight:
        800;
}

.testimonial-author div:last-child {
    display:
        flex;

    flex-direction:
        column;

    text-align:
        left;
}

.testimonial-author span {
    color:
        var(--text-muted);

    font-size:
        0.75rem;
}

.slider-btn {
    flex-shrink:
        0;

    width:
        45px;

    height:
        45px;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    background:
        var(--card);

    color:
        var(--text);

    transition:
        background var(--transition),
        transform var(--transition);
}

.slider-btn:hover {
    background:
        var(--primary);

    color:
        white;

    transform:
        scale(1.05);
}

.testimonial-dots {
    display:
        flex;

    justify-content:
        center;

    gap:
        8px;

    margin-top:
        25px;
}

.testimonial-dot {
    width:
        8px;

    height:
        8px;

    padding:
        0;

    border:
        none;

    border-radius:
        50%;

    background:
        var(--text-muted);

    transition:
        width var(--transition),
        background var(--transition);
}

.testimonial-dot.active {
    width:
        24px;

    border-radius:
        999px;

    background:
        var(--secondary);
}


/* =========================================================
   CONTACT
========================================================= */

.contact-section {
    background:
        var(--background-soft);
}

.contact-container {
    display:
        grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap:
        80px;

    align-items:
        start;
}

.contact-info {
    min-width:
        0;
}

.contact-info h2 {
    font-size:
        clamp(
            2.4rem,
            5vw,
            4rem
        );

    line-height:
        1.05;

    letter-spacing:
        -0.055em;

    margin-bottom:
        20px;
}

.contact-info > p {
    max-width:
        520px;

    color:
        var(--text-soft);

    margin-bottom:
        35px;
}

.contact-details {
    display:
        grid;

    gap:
        18px;
}

.contact-detail {
    display:
        flex;

    align-items:
        center;

    gap:
        14px;

    width:
        fit-content;
}

.contact-detail:hover strong {
    color:
        var(--secondary);
}

.contact-icon {
    width:
        48px;

    height:
        48px;

    display:
        grid;

    place-items:
        center;

    flex-shrink:
        0;

    border-radius:
        13px;

    background:
        rgba(124, 58, 237, 0.12);

    color:
        var(--primary-light);

    border:
        1px solid var(--border);
}

.contact-detail div:last-child {
    display:
        flex;

    flex-direction:
        column;

    min-width:
        0;
}

.contact-detail span {
    color:
        var(--text-muted);

    font-size:
        0.75rem;
}

.contact-detail strong {
    transition:
        color var(--transition);

    overflow-wrap:
        anywhere;
}


/* =========================================================
   WHATSAPP
========================================================= */

.whatsapp-detail .contact-icon {
    background:
        rgba(37, 211, 102, 0.12);

    color:
        #25d366;
}

.whatsapp-detail strong {
    color:
        var(--text);
}

.whatsapp-button {
    margin-top:
        30px;

    display:
        inline-flex;

    align-items:
        center;

    gap:
        12px;

    padding:
        14px 20px;

    border-radius:
        12px;

    background:
        #25d366;

    color:
        white;

    font-weight:
        700;

    transition:
        transform var(--transition),
        box-shadow var(--transition);
}

.whatsapp-button:hover {
    transform:
        translateY(-3px);

    box-shadow:
        0 12px 30px
        rgba(37, 211, 102, 0.25);
}

.whatsapp-button strong {
    margin-left:
        5px;
}


/* =========================================================
   CONTACT FORM
========================================================= */

.contact-form-wrapper {
    width:
        100%;

    padding:
        35px;

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-large);

    background:
        var(--card);

    box-shadow:
        var(--shadow);
}

.contact-form {
    display:
        grid;

    gap:
        20px;
}

.form-group {
    display:
        grid;

    gap:
        8px;
}

.form-group label {
    font-size:
        0.85rem;

    font-weight:
        700;
}

.form-group input,
.form-group textarea,
.form-group select {
    width:
        100%;

    padding:
        14px 15px;

    border:
        1px solid var(--border);

    border-radius:
        10px;

    outline:
        none;

    background:
        var(--background-soft);

    color:
        var(--text);

    transition:
        border-color var(--transition),
        box-shadow var(--transition);
}

.form-group textarea {
    resize:
        vertical;

    min-height:
        130px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color:
        rgba(124, 58, 237, 0.7);

    box-shadow:
        0 0 0 4px
        rgba(124, 58, 237, 0.1);
}

.form-group input.valid,
.form-group textarea.valid,
.form-group select.valid {
    border-color:
        #22c55e;
}

.form-group input.invalid,
.form-group textarea.invalid,
.form-group select.invalid {
    border-color:
        #ef4444;
}

.error-message {
    min-height:
        17px;

    color:
        #ef4444;

    font-size:
        0.75rem;
}

.form-submit {
    width:
        100%;
}

.form-note {
    color:
        var(--text-muted);

    font-size:
        0.72rem;

    text-align:
        center;
}


/* =========================================================
   MODAL
========================================================= */

.modal {
    position:
        fixed;

    inset:
        0;

    z-index:
        3000;

    display:
        none;

    place-items:
        center;

    padding:
        20px;
}

.modal.active {
    display:
        grid;
}

.modal-overlay {
    position:
        absolute;

    inset:
        0;

    background:
        rgba(0, 0, 0, 0.75);

    backdrop-filter:
        blur(8px);
}

.modal-content {
    position:
        relative;

    z-index:
        1;

    width:
        min(
            100%,
            450px
        );

    padding:
        45px 35px;

    text-align:
        center;

    border:
        1px solid var(--border);

    border-radius:
        25px;

    background:
        var(--card);

    box-shadow:
        0 30px 100px
        rgba(0, 0, 0, 0.5);

    animation:
        modalIn 0.3s ease;
}

@keyframes modalIn {
    from {
        opacity:
            0;

        transform:
            scale(0.9);
    }

    to {
        opacity:
            1;

        transform:
            scale(1);
    }
}

.modal-close {
    position:
        absolute;

    top:
        15px;

    right:
        18px;

    border:
        none;

    background:
        none;

    color:
        var(--text-muted);

    font-size:
        1.8rem;
}

.success-icon {
    width:
        65px;

    height:
        65px;

    margin:
        0 auto 20px;

    display:
        grid;

    place-items:
        center;

    border-radius:
        50%;

    background:
        rgba(34, 197, 94, 0.12);

    color:
        #22c55e;

    font-size:
        1.7rem;

    font-weight:
        800;
}

.modal-content h3 {
    font-size:
        1.7rem;

    margin-bottom:
        10px;
}

.modal-content p {
    color:
        var(--text-soft);

    margin-bottom:
        25px;
}


/* =========================================================
   FOOTER
========================================================= */

.footer {
    padding-top:
        70px;

    background:
        var(--background);
}

.footer-content {
    display:
        grid;

    grid-template-columns:
        1fr auto;

    gap:
        80px;

    padding-bottom:
        60px;
}

.footer-brand {
    max-width:
        350px;
}

.footer-brand p {
    color:
        var(--text-muted);

    margin-top:
        15px;
}

.footer-links {
    display:
        flex;

    gap:
        90px;
}

.footer-links div {
    display:
        flex;

    flex-direction:
        column;

    gap:
        10px;
}

.footer-links h4 {
    margin-bottom:
        10px;
}

.footer-links a {
    color:
        var(--text-muted);

    font-size:
        0.9rem;

    transition:
        color var(--transition);
}

.footer-links a:hover {
    color:
        var(--secondary);
}

.footer-bottom {
    padding:
        22px 0;

    display:
        flex;

    align-items:
        center;

    justify-content:
        space-between;

    gap:
        20px;

    border-top:
        1px solid var(--border);

    color:
        var(--text-muted);

    font-size:
        0.75rem;
}


/* =========================================================
   FOOTER SOCIAL LINKS
========================================================= */

.footer-brand .social-links {
    display:
        flex;

    align-items:
        center;

    gap:
        18px;

    margin-top:
        24px;
}

.footer-brand .social-links a {
    width:
        44px;

    height:
        44px;

    display:
        flex;

    align-items:
        center;

    justify-content:
        center;

    border:
        1px solid var(--border);

    border-radius:
        50%;

    background:
        rgba(255, 255, 255, 0.03);

    color:
        var(--text-soft);

    font-size:
        18px;

    transition:
        transform 0.3s ease,
        color 0.3s ease,
        background 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}

.footer-brand .social-links a:hover {
    transform:
        translateY(-5px);

    color:
        white;

    background:
        rgba(124, 58, 237, 0.15);

    border-color:
        rgba(124, 58, 237, 0.5);

    box-shadow:
        0 10px 25px
        rgba(124, 58, 237, 0.18);
}


/* =========================================================
   SCROLL ANIMATION
========================================================= */

.animate-on-scroll {
    opacity:
        0;

    transform:
        translateY(30px);

    transition:
        opacity 0.7s ease,
        transform 0.7s ease;
}

.animate-on-scroll.visible {
    opacity:
        1;

    transform:
        translateY(0);
}

.fade-in {
    animation:
        filterFade 0.35s ease;
}

@keyframes filterFade {
    from {
        opacity:
            0;

        transform:
            scale(0.96);
    }

    to {
        opacity:
            1;

        transform:
            scale(1);
    }
}


/* =========================================================
   LARGE LAPTOP
========================================================= */

@media (max-width: 1200px) {

    .container {
        width:
            min(
                calc(100% - 35px),
                1100px
            );
    }

    .hero-content {
        gap:
            45px;
    }

    .pricing-content {
        gap:
            45px;

        padding:
            45px;
    }

    .contact-container {
        gap:
            50px;
    }

    section.hero > .hero-image {
        top:
            82px !important;

        right:
            30px !important;

        width:
            105px !important;

        height:
            105px !important;

        min-width:
            105px !important;

        min-height:
            105px !important;
    }
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .container {
        width:
            min(
                calc(100% - 30px),
                820px
            );
    }

    .hero {
        padding:
            120px 0 70px;
    }

    .hero-content {
        grid-template-columns:
            1fr;

        gap:
            45px;
    }

    .hero-text {
        text-align:
            center;

        max-width:
            720px;

        margin-inline:
            auto;
    }

    .hero-text > p {
        margin-inline:
            auto;
    }

    .hero-buttons {
        justify-content:
            center;
    }

    .hero-stats {
        justify-content:
            center;
    }

    .hero-visual {
        min-height:
            400px;
    }

    .card-main {
        width:
            min(
                100%,
                500px
            );
    }

    .services-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .contact-container {
        grid-template-columns:
            1fr;

        gap:
            50px;
    }

    .pricing-wrapper {
        max-width:
            100%;
    }

    .pricing-content {
        grid-template-columns:
            1fr;

        gap:
            30px;

        padding:
            35px;
    }

    .pricing-features {
        padding-left:
            0;

        padding-top:
            30px;

        border-left:
            0;

        border-top:
            1px solid var(--border);
    }

    .portfolio-grid {
        grid-template-columns:
            repeat(
                2,
                minmax(0, 1fr)
            );
    }

    .footer-content {
        grid-template-columns:
            1fr;

        gap:
            40px;
    }

    section.hero > .hero-image {
        top:
            82px !important;

        right:
            22px !important;

        width:
            88px !important;

        height:
            88px !important;

        min-width:
            88px !important;

        min-height:
            88px !important;
    }
}


/* =========================================================
   MOBILE
   IMAGE = SMALL + RIGHT + BELOW NAVBAR
========================================================= */

@media (max-width: 760px) {

    .menu-toggle {
        display:
            flex;
    }

    .nav-links {
        position:
            absolute;

        top:
            calc(
                var(--header-height) + 8px
            );

        left:
            20px;

        right:
            20px;

        padding:
            20px;

        flex-direction:
            column;

        align-items:
            stretch;

        gap:
            5px;

        background:
            var(--card);

        border:
            1px solid var(--border);

        border-radius:
            16px;

        box-shadow:
            var(--shadow);

        opacity:
            0;

        pointer-events:
            none;

        transform:
            translateY(-10px);

        transition:
            opacity var(--transition),
            transform var(--transition);
    }

    .nav-links.open {
        opacity:
            1;

        pointer-events:
            auto;

        transform:
            translateY(0);
    }

    .nav-links > a {
        padding:
            12px;

        border-radius:
            8px;
    }

    .nav-links > a:hover {
        background:
            var(--background-soft);
    }

    .theme-toggle {
        align-self:
            center;
    }


    /* MOBILE HERO */

    .hero {
        padding:
            120px 0 60px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.5rem,
                13vw,
                4.2rem
            );
    }

    .hero-stats {
        gap:
            25px;
    }


    /* HIDE LARGE HERO PREVIEW */

    .hero-visual {
        display:
            none !important;
    }


    /* MOBILE PROFILE IMAGE */

    section.hero > .hero-image {
        position:
            absolute !important;

        top:
            calc(
                var(--header-height) + 12px
            ) !important;

        right:
            14px !important;

        width:
            58px !important;

        height:
            58px !important;

        min-width:
            58px !important;

        min-height:
            58px !important;

        max-width:
            58px !important;

        max-height:
            58px !important;

        margin:
            0 !important;

        padding:
            0 !important;

        z-index:
            200 !important;

        border-radius:
            50% !important;

        overflow:
            hidden !important;

        transform:
            none !important;

        animation:
            profileFloatMobile 4s ease-in-out infinite !important;
    }

    section.hero > .hero-image img {
        width:
            58px !important;

        height:
            58px !important;

        min-width:
            58px !important;

        min-height:
            58px !important;

        max-width:
            58px !important;

        max-height:
            58px !important;

        object-fit:
            cover !important;

        object-position:
            center center !important;
    }

    section.hero > .hero-image .hero-image-glow {
        inset:
            -4px !important;

        filter:
            blur(6px) !important;
    }


    /* FOOTER */

    .footer-content {
        grid-template-columns:
            1fr;

        gap:
            40px;
    }

    .footer-links {
        gap:
            50px;
    }

    .footer-bottom {
        flex-direction:
            column;

        align-items:
            flex-start;
    }

    .footer-brand .social-links {
        gap:
            14px;

        margin-top:
            20px;
    }

    .footer-brand .social-links a {
        width:
            40px;

        height:
            40px;

        font-size:
            16px;
    }
}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {

    .container {
        width:
            calc(100% - 28px);
    }

    .section {
        padding:
            85px 0;
    }

    .hero {
        padding:
            115px 0 60px;
    }

    .hero h1 {
        font-size:
            clamp(
                2.2rem,
                12.5vw,
                3.5rem
            );
    }

    .hero-text > p {
        font-size:
            0.95rem;
    }

    .hero-buttons {
        flex-direction:
            column;

        align-items:
            stretch;
    }

    .hero-buttons .btn {
        width:
            100%;
    }

    .hero-stats {
        display:
            grid;

        grid-template-columns:
            repeat(
                3,
                minmax(0, 1fr)
            );

        gap:
            10px;

        margin-top:
            40px;
    }

    .hero-stats strong {
        font-size:
            1.25rem;
    }

    .hero-stats span {
        font-size:
            0.68rem;

        line-height:
            1.3;
    }


    /* PROFILE */

    section.hero > .hero-image {
        top:
            calc(
                var(--header-height) + 10px
            ) !important;

        right:
            12px !important;

        width:
            52px !important;

        height:
            52px !important;

        min-width:
            52px !important;

        min-height:
            52px !important;

        max-width:
            52px !important;

        max-height:
            52px !important;
    }

    section.hero > .hero-image img {
        width:
            52px !important;

        height:
            52px !important;

        min-width:
            52px !important;

        min-height:
            52px !important;

        max-width:
            52px !important;

        max-height:
            52px !important;
    }


    /* SERVICES */

    .services-grid {
        grid-template-columns:
            1fr;
    }


    /* PORTFOLIO */

    .portfolio-grid {
        grid-template-columns:
            1fr;

        gap:
            16px;
    }

    .portfolio-image {
        height:
            220px;
    }

    .portfolio-info {
        padding:
            18px;
    }


    /* PRICING */

    .pricing-wrapper {
        padding:
            8px;

        border-radius:
            20px;
    }

    .pricing-tabs {
        grid-template-columns:
            1fr;

        gap:
            10px;

        padding:
            8px;

        border-bottom:
            0;
    }

    .pricing-tab {
        min-height:
            50px;

        padding:
            13px;
    }

    .business-tab {
        margin-top:
            4px;

        padding-top:
            16px;
    }

    .popular-badge {
        top:
            -10px;

        font-size:
            0.58rem;

        padding:
            5px 10px;
    }

    .pricing-content {
        padding:
            25px 20px;

        gap:
            25px;
    }

    .pricing-info h3 {
        font-size:
            1.8rem;
    }

    .price strong {
        font-size:
            2.7rem;
    }

    .pricing-features li {
        font-size:
            0.9rem;
    }


    /* TESTIMONIALS */

    .testimonial-slider {
        gap:
            8px;
    }

    .testimonial {
        padding:
            30px 20px;
    }

    .testimonial blockquote {
        font-size:
            1rem;
    }

    .slider-btn {
        width:
            38px;

        height:
            38px;
    }


    /* CONTACT */

    .contact-form-wrapper {
        padding:
            22px;
    }


    /* FOOTER */

    .footer-links {
        flex-direction:
            column;

        gap:
            30px;
    }
}


/* =========================================================
   VERY SMALL PHONE
========================================================= */

@media (max-width: 380px) {

    .container {
        width:
            calc(100% - 24px);
    }

    .hero {
        padding-top:
            108px;
    }

    .hero h1 {
        font-size:
            clamp(
                2rem,
                11.8vw,
                3rem
            );
    }

    .hero-stats strong {
        font-size:
            1.1rem;
    }

    .hero-stats span {
        font-size:
            0.62rem;
    }


    /* PROFILE */

    section.hero > .hero-image {
        top:
            calc(
                var(--header-height) + 8px
            ) !important;

        right:
            10px !important;

        width:
            48px !important;

        height:
            48px !important;

        min-width:
            48px !important;

        min-height:
            48px !important;

        max-width:
            48px !important;

        max-height:
            48px !important;
    }

    section.hero > .hero-image img {
        width:
            48px !important;

        height:
            48px !important;

        min-width:
            48px !important;

        min-height:
            48px !important;

        max-width:
            48px !important;

        max-height:
            48px !important;
    }


    /* PRICING */

    .pricing-wrapper {
        padding:
            5px;
    }

    .pricing-tabs {
        padding:
            6px;
    }

    .pricing-content {
        padding:
            20px 15px;
    }

    .pricing-info h3 {
        font-size:
            1.6rem;
    }

    .pricing-info p {
        font-size:
            0.92rem;
    }

    .price strong {
        font-size:
            2.4rem;
    }
}


/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    section.hero > .hero-image {
        animation:
            none !important;
    }

    .orb,
    .card-main,
    .mini-card,
    .animate-on-scroll {
        animation:
            none !important;
    }
}