:root {
    --bg: #080b09;
    --bg-soft: #0d120f;
    --card: rgba(17, 24, 19, 0.78);
    --green: #b6ff5c;
    --green-bright: #c8ff80;
    --text: #f2f5f1;
    --muted: #929c94;
    --border: rgba(182, 255, 92, 0.14);
    --font-main: "DM Sans", sans-serif;
    --font-heading: "Space Grotesk", sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: var(--font-main);
    overflow-x: hidden;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

::selection {
    background: var(--green);
    color: var(--bg);
}

/* =========================
   02. BACKGROUND EFFECTS
========================= */

.background-grid {
    position: fixed;
    inset: 0;
    z-index: -3;
    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 60px 60px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 85%
    );
}

.glow {
    position: absolute;
    z-index: -2;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.glow-one {
    width: 400px;
    height: 400px;
    background: var(--green);
    top: 100px;
    right: -180px;
}

.glow-two {
    width: 300px;
    height: 300px;
    background: #36ff9f;
    top: 900px;
    left: -180px;
    opacity: 0.06;
}

/* =========================
   03. HEADER
========================= */

.header {
    width: 100%;
    min-height: 86px;
    padding: 0 9%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;

    position: sticky;
    top: 0;
    z-index: 100;

    background: rgba(8, 11, 9, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    backdrop-filter: blur(18px);
}

.logo,
.footer-logo {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -2px;
}

.logo span,
.footer-logo span {
    color: var(--green);
}

.nav {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-link {
    color: var(--muted);
    font-size: 13px;
    transition: color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text);
}

.header-button {
    padding: 11px 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px;
    transition: 0.3s ease;
}

.header-button span {
    color: var(--green);
    margin-left: 8px;
}

.header-button:hover {
    border-color: var(--green);
    background: rgba(182, 255, 92, 0.06);
}

/* =========================
   04. COMMON SECTIONS
========================= */

.section {
    width: min(1100px, 82%);
    margin: 0 auto;
}

.eyebrow {
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.5px;
}

.section-heading {
    margin-bottom: 50px;
}

.section-heading h2,
.approach-panel h2 {
    font-family: var(--font-heading);
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    letter-spacing: -2px;
    margin-top: 17px;
}

.section-heading h2 span,
.approach-panel h2 span,
.contact-section h2 span {
    color: var(--green);
}

.section-description {
    color: var(--muted);
    margin-top: 15px;
    font-size: 14px;
}

/* =========================
   05. HERO
========================= */

.hero {
    min-height: 710px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 30px;
    position: relative;
    padding-top: 45px;
    padding-bottom: 100px;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 13px;
    border: 1px solid var(--border);
    background: rgba(182, 255, 92, 0.035);
    border-radius: 100px;

    color: #c5d2c7;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 1.7px;
    margin-bottom: 30px;
}

.status-dot,
.live-dot {
    width: 7px;
    height: 7px;
    background: var(--green);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(182, 255, 92, 0.8);
}

.status-dot {
    animation: pulse 2s infinite;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(48px, 6vw, 78px);
    line-height: 1.08;
    letter-spacing: -4px;
    font-weight: 600;
}

.gradient-text {
    background: linear-gradient(
        100deg,
        #f3f7f0 10%,
        var(--green) 90%
    );

    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.accent {
    color: var(--green);
}

.hero-description {
    max-width: 440px;
    margin-top: 25px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.9;
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 35px;
}

.button-primary,
.button-secondary {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;

    padding: 0 21px;
    border-radius: 7px;
    font-size: 12px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease,
        border-color 0.25s ease;
}

.button-primary {
    color: #10150b;
    background: var(--green);
    box-shadow: 0 0 28px rgba(182, 255, 92, 0.08);
}

.button-primary:hover {
    transform: translateY(-3px);
    background: var(--green-bright);
    box-shadow: 0 8px 35px rgba(182, 255, 92, 0.16);
}

.button-secondary {
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
    transform: translateY(-3px);
    border-color: var(--green);
}

.hero-footer {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 75px;
}

.mini-line {
    width: 35px;
    height: 1px;
    background: var(--green);
}

.hero-footer p {
    color: #78837b;
    font-size: 9px;
    letter-spacing: 2px;
}

/* =========================
   06. HERO VISUAL
========================= */

.hero-visual {
    min-height: 420px;
    position: relative;
    display: grid;
    place-items: center;
    isolation: isolate;
}

.hero-visual::before {
    content: "";
    position: absolute;
    width: 270px;
    height: 270px;
    background: var(--green);
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    z-index: -1;
}

.visual-orbit {
    position: absolute;
    border: 1px solid rgba(182, 255, 92, 0.13);
    border-radius: 50%;
    aspect-ratio: 1;
}

.orbit-one {
    width: 320px;
    transform: rotate(-25deg) scaleY(0.72);
}

.orbit-two {
    width: 240px;
    transform: rotate(40deg) scaleY(0.72);
    border-color: rgba(182, 255, 92, 0.25);
}

.visual-core {
    width: 155px;
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;

    border: 1px solid rgba(182, 255, 92, 0.4);
    border-radius: 30px;
    background: linear-gradient(
        145deg,
        rgba(182, 255, 92, 0.09),
        rgba(255, 255, 255, 0.015)
    );

    box-shadow:
        0 0 80px rgba(182, 255, 92, 0.07),
        inset 0 0 40px rgba(182, 255, 92, 0.025);

    transform: rotate(-8deg);
    animation: float 5s ease-in-out infinite;
}

.core-bracket {
    color: var(--green);
    font-family: var(--font-heading);
    font-size: 43px;
    font-weight: 500;
}

.core-slash {
    color: white;
    font-family: var(--font-heading);
    font-size: 49px;
    font-weight: 400;
}

.floating-card {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 13px;

    padding: 14px 17px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;

    background: rgba(15, 21, 17, 0.9);
    backdrop-filter: blur(15px);

    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
}

.card-top {
    top: 65px;
    right: -10px;
    animation: float 5s ease-in-out infinite;
}

.card-bottom {
    left: -5px;
    bottom: 65px;
    animation: float 5s ease-in-out 1s infinite;
}

.card-icon {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;

    color: var(--green);
    background: rgba(182, 255, 92, 0.09);
    font-size: 12px;
    font-weight: 700;
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 11px;
    font-weight: 600;
}

.floating-card small {
    color: var(--muted);
    font-size: 9px;
    margin-top: 3px;
}

.live-dot {
    width: 8px;
    height: 8px;
    flex-shrink: 0;
}

.visual-label {
    position: absolute;
    color: #78837b;
    font-family: var(--font-heading);
    font-size: 9px;
    letter-spacing: 2px;
}

.label-top {
    top: 20px;
    left: 0;
}

.label-bottom {
    bottom: 20px;
    right: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 25px;
    left: 0;

    display: flex;
    align-items: center;
    gap: 12px;

    color: #78837b;
    font-size: 9px;
    letter-spacing: 2px;
}

.scroll-indicator span {
    width: 25px;
    height: 1px;
    background: var(--green);
}

/* =========================
   07. ABOUT
========================= */

.about-section {
    padding-top: 110px;
    padding-bottom: 120px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.about-layout {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    gap: 80px;
    align-items: start;
}

.large-text {
    font-family: var(--font-heading);
    font-size: clamp(25px, 3vw, 36px);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -1px;
}

.large-text span {
    color: var(--green);
}

.about-details p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.text-link {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    margin-top: 8px;

    color: var(--green);
    font-size: 12px;
    font-weight: 600;
}

.text-link span {
    transition: transform 0.25s ease;
}

.text-link:hover span {
    transform: translate(4px, -4px);
}

/* =========================
   08. EXPERTISE CARDS
========================= */

.expertise-section {
    padding-top: 100px;
    padding-bottom: 120px;
}

.expertise-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.expertise-card {
    min-width: 0;
    padding: 28px 24px;
    position: relative;
    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.075);
    border-radius: 14px;
    background: var(--card);

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        background 0.3s ease;
}

.expertise-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        var(--green),
        transparent
    );

    opacity: 0;
    transition: opacity 0.3s ease;
}

.expertise-card:hover {
    transform: translateY(-7px);
    border-color: rgba(182, 255, 92, 0.3);
    background: rgba(20, 29, 22, 0.92);
}

.expertise-card:hover::after {
    opacity: 1;
}

.featured-card {
    border-color: rgba(182, 255, 92, 0.22);
    background: linear-gradient(
        145deg,
        rgba(182, 255, 92, 0.055),
        rgba(17, 24, 19, 0.8) 60%
    );
}

.card-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 45px;
}

.expertise-number {
    color: #7e8980;
    font-family: var(--font-heading);
    font-size: 11px;
}

.expertise-symbol {
    width: 43px;
    height: 43px;
    display: grid;
    place-items: center;

    color: var(--green);
    border: 1px solid var(--border);
    border-radius: 10px;

    font-family: var(--font-heading);
    font-size: 16px;
}

.expertise-card h3 {
    font-family: var(--font-heading);
    font-size: 19px;
    letter-spacing: -0.5px;
    margin-bottom: 12px;
}

.expertise-card > p {
    min-height: 90px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.9;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 22px;
}

.tag-list span {
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 5px;

    color: #aab5ac;
    font-size: 9px;
}

/* =========================
   09. APPROACH
========================= */

.approach-section {
    padding-bottom: 120px;
}

.approach-panel {
    padding: 55px;
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 60px;

    border: 1px solid var(--border);
    border-radius: 18px;

    background:
        radial-gradient(
            ellipse at top left,
            rgba(182, 255, 92, 0.08),
            transparent 60%
        ),
        #0c100d;
}

.approach-panel h2 {
    font-size: clamp(37px, 4vw, 52px);
}

.approach-points {
    display: flex;
    flex-direction: column;
}

.approach-item {
    display: flex;
    gap: 17px;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.approach-item:first-child {
    padding-top: 0;
}

.approach-item:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.approach-check {
    flex-shrink: 0;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;

    border-radius: 8px;
    background: rgba(182, 255, 92, 0.08);
    color: var(--green);
    font-size: 13px;
}

.approach-item h3 {
    font-size: 13px;
    font-weight: 600;
}

.approach-item p {
    color: var(--muted);
    font-size: 11px;
    margin-top: 5px;
}

/* =========================
   10. CONTACT
========================= */

.contact-section {
    padding-top: 100px;
    padding-bottom: 120px;
    text-align: center;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: clamp(45px, 7vw, 76px);
    line-height: 1.12;
    letter-spacing: -3px;
    margin-top: 25px;
}

.contact-section > p {
    max-width: 420px;
    margin: 22px auto 30px;

    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
}

/* =========================
   11. FOOTER
========================= */

.footer {
    min-height: 100px;
    padding: 25px 9%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.07);
    background: rgba(8, 11, 9, 0.8);
}

.footer-logo {
    font-size: 26px;
}

.footer > p,
.footer-year {
    color: #78837b;
    font-size: 11px;
}

/* =========================
   12. ANIMATIONS
========================= */

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-8deg);
    }

    50% {
        transform: translateY(-10px) rotate(-8deg);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 12px rgba(182, 255, 92, 0.8);
    }

    50% {
        opacity: 0.5;
        box-shadow: 0 0 3px rgba(182, 255, 92, 0.3);
    }
}

/* =========================
   13. RESPONSIVE DESIGN
========================= */

@media (min-width: 1400px) {
    .section {
        width: min(1180px, 82%);
    }

    .hero {
        min-height: 800px;
    }
}

@media (max-width: 1000px) {
    .header {
        padding: 0 5%;
    }

    .section {
        width: 88%;
    }

    .hero {
        grid-template-columns: 1fr 0.8fr;
        gap: 10px;
    }

    .hero h1 {
        font-size: clamp(46px, 6vw, 65px);
        letter-spacing: -3px;
    }

    .hero-visual {
        transform: scale(0.9);
    }

    .expertise-grid {
        gap: 12px;
    }

    .expertise-card {
        padding: 24px 18px;
    }

    .about-layout {
        gap: 45px;
    }

    .approach-panel {
        padding: 40px;
        gap: 35px;
    }
}

@media (max-width: 760px) {
    .header {
        min-height: 75px;
        padding: 0 6%;
        gap: 15px;
    }

    .logo {
        font-size: 28px;
    }

    .nav {
        gap: 16px;
    }

    .nav-link {
        font-size: 11px;
    }

    .header-button {
        padding: 9px 11px;
        font-size: 11px;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 85px;
        padding-bottom: 100px;
    }

    .hero-content {
        max-width: 600px;
    }

    .hero h1 {
        font-size: clamp(49px, 9vw, 72px);
    }

    .hero-visual {
        min-height: 390px;
        margin-top: 20px;
        transform: none;
    }

    .card-top {
        right: 3%;
    }

    .card-bottom {
        left: 3%;
    }

    .hero-footer {
        margin-top: 50px;
    }

    .scroll-indicator {
        bottom: 25px;
    }

    .about-layout {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .expertise-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .expertise-card > p {
        min-height: auto;
    }

    .card-topline {
        margin-bottom: 25px;
    }

    .approach-panel {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 35px 28px;
    }

    .about-section,
    .expertise-section {
        padding-top: 80px;
        padding-bottom: 85px;
    }

    .approach-section {
        padding-bottom: 85px;
    }

    .contact-section {
        padding-top: 85px;
        padding-bottom: 90px;
    }
}

@media (max-width: 480px) {
    .header {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 13px 5%;
    }

    .nav {
        order: 3;
        width: 100%;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0 3px;
    }

    .nav-link {
        font-size: 12px;
    }

    .section {
        width: 90%;
    }

    .hero {
        padding-top: 65px;
    }

    .hero h1 {
        font-size: 47px;
        letter-spacing: -2.7px;
    }

    .hero-description {
        font-size: 13px;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .button-primary,
    .button-secondary {
        width: 100%;
    }

    .hero-visual {
        min-height: 330px;
    }

    .orbit-one {
        width: 270px;
    }

    .orbit-two {
        width: 205px;
    }

    .visual-core {
        width: 125px;
        height: 125px;
        border-radius: 25px;
    }

    .card-top {
        top: 30px;
        right: 0;
    }

    .card-bottom {
        bottom: 35px;
        left: 0;
    }

    .floating-card {
        padding: 11px;
        gap: 9px;
    }

    .floating-card strong {
        font-size: 10px;
    }

    .floating-card small {
        font-size: 8px;
    }

    .visual-label {
        font-size: 7px;
        letter-spacing: 1px;
    }

    .section-heading h2 {
        letter-spacing: -1.5px;
    }

    .approach-panel {
        padding: 28px 20px;
    }

    .contact-section h2 {
        font-size: 48px;
        letter-spacing: -2px;
    }

    .footer {
        flex-wrap: wrap;
        justify-content: space-between;
        padding: 25px 5%;
    }

    .footer > p {
        order: 3;
        width: 100%;
        text-align: center;
    }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}