/* ==============================
   SD STUDIO - GLOBAL STYLES
   ============================== */

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

html {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
}

body {
    --mouse-x: 50%;
    --mouse-y: 50%;
    position: relative;
    font-family: Arial, Helvetica, sans-serif;
    background:
        radial-gradient(circle at top, rgba(59, 130, 246, 0.12), transparent 30%),
        linear-gradient(180deg, #0B1020 0%, #0B1020 40%, #111827 100%);
    color: #F8FAFC;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.cursor-glow {
    position: fixed;
    left: var(--mouse-x);
    top: var(--mouse-y);
    width: 520px;
    height: 520px;
    margin-left: -260px;
    margin-top: -260px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.28), rgba(34, 211, 238, 0.12) 30%, transparent 62%);
    filter: blur(26px);
    pointer-events: none;
    z-index: 0;
    transition: left 0.12s ease-out, top 0.12s ease-out;
    animation: hologramPulse 5s ease-in-out infinite alternate;
}

.cursor-glow::before,
.cursor-glow::after {
    content: "";
    position: absolute;
    inset: 12% 12% 12% 12%;
    border: 1px solid rgba(96, 165, 250, 0.2);
    border-radius: 50%;
    transform: rotate(var(--line-rotation, 0deg));
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.08);
}

.cursor-glow::before {
    inset: 8% 8% 8% 8%;
    transform: rotate(25deg) scale(1.18);
    border-color: rgba(96, 165, 250, 0.25);
    animation: ringSpin 9s linear infinite;
}

.cursor-glow::after {
    inset: 22% 22% 22% 22%;
    transform: rotate(-18deg) scale(1.28);
    border-color: rgba(34, 211, 238, 0.18);
    animation: ringSpinReverse 7s linear infinite;
}

.cursor-glow .scan-ring,
.cursor-glow .scan-ring::before,
.cursor-glow .scan-ring::after {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    content: "";
}

.cursor-glow .scan-ring {
    inset: 0;
    border: 1px solid rgba(96, 165, 250, 0.18);
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.08);
    animation: scanRotate 12s linear infinite;
}

.cursor-glow .scan-ring::before {
    inset: 10% 10% 10% 10%;
    border: 1px solid rgba(34, 211, 238, 0.14);
    transform: rotate(34deg);
}

.cursor-glow .scan-ring::after {
    inset: 20% 20% 20% 20%;
    border: 1px solid rgba(96, 165, 250, 0.1);
    transform: rotate(-22deg);
}

@keyframes ringSpin {
    0% { transform: rotate(0deg) scale(1.18); }
    50% { transform: rotate(180deg) scale(1.24); }
    100% { transform: rotate(360deg) scale(1.18); }
}

@keyframes ringSpinReverse {
    0% { transform: rotate(0deg) scale(1.28); }
    50% { transform: rotate(-180deg) scale(1.34); }
    100% { transform: rotate(-360deg) scale(1.28); }
}

@keyframes scanRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes hologramPulse {
    0% {
        opacity: 0.7;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1.02);
    }
}

body::before,
body::after {
    content: "";
    position: fixed;
    inset: auto;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.45;
    pointer-events: none;
    z-index: 0;
    animation: floatGlow 14s ease-in-out infinite alternate;
}

body::before {
    width: 420px;
    height: 420px;
    background: rgba(59, 130, 246, 0.18);
    top: 10%;
    left: 4%;
}

body::after {
    width: 380px;
    height: 380px;
    background: rgba(34, 211, 238, 0.12);
    right: 6%;
    bottom: 8%;
    animation-delay: 3s;
}

body::selection {
    background: rgba(96, 165, 250, 0.35);
}

body > .tech-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, 0.06) 1px, transparent 1px),
        radial-gradient(circle at 20% 30%, rgba(59, 130, 246, 0.12), transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(34, 211, 238, 0.1), transparent 20%);
    background-size: 38px 38px, 38px 38px, 100% 100%, 100% 100%;
    animation: gridMove 20s linear infinite;
    opacity: 0.7;
}

body > .tech-grid::before,
body > .tech-grid::after {
    content: "";
    position: absolute;
    inset: 0;
    background-repeat: repeat;
    opacity: 0.35;
}

body > .tech-grid::before {
    background-image:
        linear-gradient(rgba(96, 165, 250, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(96, 165, 250, 0.15) 1px, transparent 1px);
    background-size: 90px 90px;
    transform: perspective(800px) rotateX(60deg) scale(1.8);
    transform-origin: center top;
    animation: panelShift 18s linear infinite;
}

body > .tech-grid::after {
    background-image: radial-gradient(circle, rgba(96, 165, 250, 0.4) 1px, transparent 1px);
    background-size: 22px 22px;
    animation: particleFloat 24s linear infinite;
}

section[id] {
    scroll-margin-top: 90px;
    scroll-snap-align: start;
    position: relative;
    z-index: 1;
}

@keyframes floatGlow {
    0% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    100% {
        transform: translate3d(20px, -20px, 0) scale(1.12);
    }
}

@keyframes gridMove {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-25px, 25px, 0);
    }
}

@keyframes panelShift {
    0% {
        transform: perspective(800px) rotateX(60deg) scale(1.8) translateY(0);
    }
    100% {
        transform: perspective(800px) rotateX(60deg) scale(1.8) translateY(30px);
    }
}

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px);
    }
    50% {
        transform: translateY(-18px) translateX(12px);
    }
    100% {
        transform: translateY(24px) translateX(-10px);
    }
}


/* ==============================
   NAVBAR
   ============================== */

.navbar {
    width: 100%;
    padding: 20px 7%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    background: rgba(11, 16, 32, 0.78);
    border-bottom: 1px solid rgba(38, 50, 71, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar h1 {
    font-size: 28px;
    font-weight: 700;
    color: #F8FAFC;
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: #94A3B8;
    font-size: 15px;
    font-weight: 500;

    transition: color 0.25s ease, transform 0.25s ease, text-shadow 0.25s ease;
}

nav ul li a:hover {
    color: #60A5FA;
    transform: translateY(-2px);
    text-shadow: 0 0 12px rgba(96, 165, 250, 0.4);
}


/* ==============================
   MAIN
   ============================== */

main {
    flex: 1;
}


/* ==============================
   HERO SECTION
   ============================== */

.hero {
    min-height: calc(100vh - 145px);

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

    text-align: center;
    padding: 60px 7%;

    position: relative;
    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(59, 130, 246, 0.15),
            transparent 40%
        );
}

.hero::before,
.hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.7;
}

.hero::before {
    width: 420px;
    height: 420px;
    background: rgba(59, 130, 246, 0.12);
    right: 10%;
    top: 8%;
}

.hero::after {
    width: 360px;
    height: 360px;
    background: rgba(34, 211, 238, 0.08);
    left: 12%;
    bottom: 6%;
}

.hero-content {
    max-width: 820px;
    position: relative;
    z-index: 1;
}

.hero-badges {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 22px;
}

.hero-badges span {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    background: rgba(17, 24, 39, 0.8);
    color: #F8FAFC;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero h2 {
    font-size: clamp(42px, 6vw, 72px);
    line-height: 1.05;
    letter-spacing: -2px;
    margin-bottom: 24px;

    color: #F8FAFC;
    text-shadow: 0 0 18px rgba(96, 165, 250, 0.18);
}

.hero p {
    max-width: 600px;
    margin: 0 auto 35px;

    font-size: 18px;
    line-height: 1.7;

    color: #94A3B8;
}

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

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-showcase {
    padding: 90px 7% 100px;
    background: linear-gradient(180deg, rgba(11, 16, 32, 1) 0%, rgba(17, 24, 39, 1) 100%);
    position: relative;
}

.scroll-showcase::before,
.about-panel::before,
.contact-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.04), transparent 35%, rgba(34, 211, 238, 0.04));
    pointer-events: none;
}

.contact-panel {
    overflow: hidden;
}

.contact-panel::after {
    content: "";
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    right: -80px;
    top: 60px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.18), transparent 65%);
    filter: blur(30px);
    animation: floatGlow 12s ease-in-out infinite alternate;
}

.section-heading {
    text-align: center;
    margin-bottom: 40px;
}

.eyebrow {
    color: #22D3EE;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.section-heading h3 {
    font-size: clamp(30px, 4vw, 48px);
    color: #F8FAFC;
    line-height: 1.1;
    letter-spacing: -1px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    position: relative;
    background: rgba(23, 32, 51, 0.9);
    border: 1px solid rgba(38, 50, 71, 0.95);
    border-radius: 20px;
    padding: 32px 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #22D3EE);
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: #3B82F6;
    box-shadow:
        0 22px 48px rgba(59, 130, 246, 0.15),
        0 0 30px rgba(59, 130, 246, 0.12);
}

.feature-card:hover .feature-icon {
    transform: rotate(6deg) scale(1.08);
    box-shadow: 0 0 18px rgba(96, 165, 250, 0.28);
}

.feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-icon {
    display: inline-flex;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(59, 130, 246, 0.12);
    color: #60A5FA;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 18px;
}

.feature-card h4 {
    color: #F8FAFC;
    font-size: 24px;
    margin-bottom: 12px;
}

.feature-card p {
    color: #94A3B8;
    line-height: 1.7;
    font-size: 16px;
}

.home-projects {
    padding: 90px 7% 100px;
    position: relative;
    overflow: hidden;
}

.project-feature {
    max-width: 1240px;
    margin: 0 auto 36px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 28px;
    align-items: center;
    background: rgba(17, 24, 39, 0.72);
    border: 1px solid rgba(38, 50, 71, 0.95);
    border-radius: 24px;
    padding: 28px;
    box-shadow: 0 20px 42px rgba(15, 23, 42, 0.2);
}

.project-feature-copy {
    position: relative;
    z-index: 1;
}

.project-feature-copy h3 {
    color: #F8FAFC;
    font-size: clamp(30px, 4vw, 46px);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.project-feature-copy p {
    color: #94A3B8;
    line-height: 1.8;
    font-size: 17px;
}

.project-feature-visual {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(38, 50, 71, 0.95);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.22);
}

.project-feature-visual img {
    display: block;
    width: 100%;
    height: 420px;
    object-fit: cover;
    background: #111827;
}

.project-output-strip {
    max-width: 1280px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}

.project-output-track {
    display: flex;
    width: max-content;
    gap: 24px;
    animation: project-output-scroll 26s linear infinite;
}

.project-output-strip:hover .project-output-track {
    animation-play-state: paused;
}

.project-output-track img {
    width: min(320px, 38vw);
    height: 220px;
    object-fit: cover;
    flex: 0 0 auto;
    border-radius: 18px;
    border: 1px solid rgba(38, 50, 71, 0.95);
    background: #111827;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.18);
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 20px;
}

.project-actions.small .cta-button {
    min-height: 42px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

@keyframes project-output-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.about-panel,
.contact-panel {
    padding: 90px 7% 100px;
    position: relative;
}

.about-inner,
.contact-inner {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.about-inner h3,
.contact-inner h3 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -1px;
    margin-bottom: 20px;
    color: #F8FAFC;
}

.about-inner p,
.about-inner li,
.contact-card-item a {
    color: #94A3B8;
    font-size: 17px;
    line-height: 1.8;
}

.about-inner ul {
    margin-top: 18px;
    padding-left: 20px;
}

.about-inner ul li {
    list-style: none;
    position: relative;
    padding-left: 26px;
    margin-bottom: 10px;
}

.about-inner ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #60A5FA;
    font-size: 24px;
    line-height: 1;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin-top: 28px;
}

.contact-card-item {
    position: relative;
    background: rgba(23, 32, 51, 0.9);
    border: 1px solid rgba(38, 50, 71, 0.95);
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22);
    overflow: hidden;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-card-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #22D3EE);
}

.contact-card-item::after {
    content: "";
    position: absolute;
    top: -30%;
    left: -20%;
    width: 55%;
    height: 160%;
    background: linear-gradient(90deg, transparent, rgba(96, 165, 250, 0.18), transparent);
    transform: translateX(-140%) rotate(20deg);
    transition: transform 0.8s ease;
}

.contact-card-item:hover::after {
    transform: translateX(260%) rotate(20deg);
}

.contact-card-item:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: #3B82F6;
    box-shadow:
        0 22px 48px rgba(59, 130, 246, 0.15),
        0 0 30px rgba(59, 130, 246, 0.12);
}

.contact-card-item img {
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 2px solid rgba(96, 165, 250, 0.55);
    box-shadow: 0 10px 24px rgba(59, 130, 246, 0.18);
    position: relative;
    z-index: 1;
}

.contact-card-item h4 {
    color: #F8FAFC;
    font-size: 24px;
    margin-bottom: 16px;
    transition: color 0.25s ease, transform 0.25s ease;
    position: relative;
    z-index: 1;
}

.contact-card-item:hover h4 {
    transform: translateX(3px);
}

.contact-card-item a {
    position: relative;
    z-index: 1;
    display: block;
    text-decoration: none;
    margin-top: 8px;
    transition: color 0.25s ease, transform 0.25s ease;
}

.contact-card-item:hover a {
    color: #60A5FA;
    transform: translateX(4px);
}

/* ==============================
   CTA BUTTON
   ============================== */

.cta-button {
    display: inline-block;

    padding: 14px 26px;

    background-color: #3B82F6;
    color: #F8FAFC;

    text-decoration: none;
    font-size: 15px;
    font-weight: 600;

    border-radius: 8px;

    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.25);

    transition:
        background-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
}

.cta-button:hover {
    background-color: #60A5FA;

    transform: translateY(-3px) scale(1.02);
    filter: brightness(1.08);

    box-shadow:
        0 12px 30px rgba(59, 130, 246, 0.35),
        0 0 22px rgba(96, 165, 250, 0.25);
}

.cta-button:active {
    transform: translateY(-1px);
}


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

footer {
    padding: 20px 7%;

    text-align: center;

    background-color: #111827;

    border-top: 1px solid #263247;

    color: #94A3B8;

    font-size: 13px;
}


/* ==============================
   RESPONSIVE DESIGN
   ============================== */

@media (max-width: 768px) {

    .navbar {
        padding: 18px 5%;
        flex-direction: column;
        gap: 18px;
    }

    .navbar h1 {
        font-size: 25px;
    }

    nav ul {
        gap: 20px;
    }

    nav ul li a {
        font-size: 14px;
    }

    .hero {
        min-height: calc(100vh - 180px);
        padding: 50px 5%;
    }

    .hero h2 {
        font-size: 44px;
    }

    .hero p {
        font-size: 16px;
    }

    .feature-grid,
    .home-project-grid {
        grid-template-columns: 1fr;
    }
}


@media (max-width: 480px) {

    nav ul {
        gap: 14px;
    }

    nav ul li a {
        font-size: 13px;
    }

    .hero h2 {
        font-size: 38px;
    }

    .hero p {
        font-size: 15px;
    }

    .cta-button {
        width: 100%;
        max-width: 280px;
    }

    .scroll-showcase {
        padding: 70px 5% 80px;
    }

    .feature-card {
        padding: 26px 20px;
    }
}

/* =========================================================
   SD STUDIO — POLISHED RESPONSIVE LAYER
   Keeps the existing palette and design language.
========================================================= */

:root {
    --sd-bg: #0B1020;
    --sd-surface: #111827;
    --sd-card: #172033;
    --sd-blue: #3B82F6;
    --sd-blue-hover: #60A5FA;
    --sd-text: #F8FAFC;
    --sd-muted: #94A3B8;
    --sd-border: #263247;
    --sd-cyan: #22D3EE;
}

* {
    -webkit-tap-highlight-color: transparent;
}

body {
    overflow-x: hidden;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    min-height: 76px;
    gap: 24px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--sd-text);
    text-decoration: none;
    flex-shrink: 0;
}

.brand img {
    width: 46px;
    height: 46px;
    display: block;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid var(--sd-border);
    box-shadow: 0 0 22px rgba(59, 130, 246, 0.18);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.brand:hover img {
    transform: rotate(-3deg) scale(1.04);
    border-color: var(--sd-blue);
}

.brand span {
    color: var(--sd-text);
    font-size: 23px;
    font-weight: 700;
    letter-spacing: -0.7px;
    white-space: nowrap;
}

.navbar nav ul li a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 7px 0;
    position: relative;
}

.navbar nav ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background-color: var(--sd-blue);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}

.navbar nav ul li a:hover::after,
.navbar nav ul li a.active::after {
    transform: scaleX(1);
}

button,
a,
input,
select,
textarea {
    -webkit-tap-highlight-color: transparent;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--sd-cyan);
    outline-offset: 3px;
}

img {
    max-width: 100%;
}

@media (max-width: 768px) {
    .navbar {
        min-height: auto;
        padding: 14px 5%;
        flex-direction: column;
        gap: 12px;
    }

    .brand img {
        width: 42px;
        height: 42px;
    }

    .brand span {
        font-size: 21px;
    }

    .navbar nav {
        width: 100%;
    }

    .navbar nav ul {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 4px 20px;
    }

    .navbar nav ul li a {
        font-size: 13px;
        min-height: 38px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 12px 4% 10px;
        gap: 8px;
    }

    .brand img {
        width: 38px;
        height: 38px;
    }

    .brand span {
        font-size: 19px;
    }

    .navbar nav ul {
        gap: 2px 13px;
    }

    .navbar nav ul li a {
        font-size: 12px;
        min-height: 34px;
    }

    footer {
        padding: 18px 5%;
        line-height: 1.6;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* Home — mobile-friendly spacing */
.hero {
    isolation: isolate;
}

@media (max-width: 768px) {
    .hero {
        min-height: calc(100svh - 125px);
        padding: 55px 5%;
    }

    .hero h2 {
        font-size: clamp(38px, 10vw, 54px);
        letter-spacing: -1.5px;
    }

    .hero p {
        max-width: 520px;
        font-size: 16px;
    }

    .cta-button {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: calc(100svh - 115px);
        padding: 45px 20px;
    }

    .hero h2 {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 15px;
        line-height: 1.65;
        margin-bottom: 28px;
    }
}
