/* FONTS */
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/PlusJakartaSans-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/PlusJakartaSans-Bold.woff2") format("woff2");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/PlusJakartaSans-ExtraBold.woff2") format("woff2");
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: "JetBrains Mono";
    src: url("../fonts/JetBrainsMono-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* DESIGN SYSTEM (GLOBAL TOKENS) */
:root {
    --bg-dark: #0b0d0f;
    --bg-surface: rgba(20, 24, 28, 0.7);
    --bg-surface-accent: rgba(30, 36, 42, 0.8);
    --color-text-primary: #f3f5f7;
    --color-text-muted: #8e9aa8;

    --bg-white: #ffffff;
    --bg-light: #f8fafc;
    --text-main: #111827;
    --text-muted-light: #4b5563;
    --text-subtle: #6b7280;

    --accent-primary: #0052cc;
    --accent-primary-hover: #0066ff;
    --accent-success: #10b981;
    --accent-star: #f59e0b;

    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-focus: rgba(255, 255, 255, 0.15);
    --border-light: rgba(15, 23, 42, 0.06);
    --border-light-hover: rgba(0, 82, 204, 0.15);

    --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-mono: "JetBrains Mono", monospace;

    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.2rem;
    --text-xl: clamp(1.2rem, 3vw, 1.5rem);
    --title-lg: clamp(2.5rem, 5vw, 4rem);
    --title-hero: clamp(37px, 6vw, 64px);

    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.25rem;
    --space-xl: clamp(4rem, 8vw, 8rem);
    
    --max-width: 1320px;
    --radius-lg: 20px;
    --radius-md: 12px;
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

/* RESET & BASE */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    min-height: 100vh;
    background-color: var(--bg-dark);
    color: var(--color-text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* UNIFIED STRUCTURAL CLASSES (Visual Consistency) */
section {
    padding: var(--space-xl) var(--space-md);
}
section:hover .section-decorative {
    transform: rotate(-5deg) translateY(-5px);
    opacity: 1;
    font-size: 4rem;
    top: -80px;
}

.section-container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    position: relative;
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title {
    color: var(--text-main);
    font-size: var(--title-lg);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    margin: 0;
    position: relative;
    z-index: 2;
}

.section-lead {
    color: var(--text-muted-light);
    font-size: var(--text-xl);
    line-height: 1.7;
    margin: 0;
    max-width: 880px;
    font-weight: 400;
}

.section-decorative {
    font-size: 2rem; 
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    opacity: 0.5;
    transition: var(--transition-smooth);
}




.bg-gradient-light {
    background: radial-gradient(circle at top left, rgba(0, 82, 204, 0.06), transparent 35%), var(--bg-light);
}

/* HERO SECTON */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh + 120px);
    padding: 120px 32px 100px;
    overflow: hidden;
}

.hero__container {
    position: relative;
    z-index: 10;
    display: grid;
    grid-template-columns: 54% 46%;
    gap: 80px;
    align-items: center;
    width: 100%;
    max-width: var(--max-width);
    transform: translateY(-60px);
}

.hero__background {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero__glow {
    position: absolute;
    border-radius: 999px;
}

.hero__glow--top-right {
    top: -20%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 82, 204, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(80px);
}

.hero__glow--bottom-center {
    bottom: -30%;
    left: 35%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    filter: blur(100px);
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero__availability {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hero__availability-dot {
    position: relative;
    width: 7px;
    height: 7px;
    background-color: var(--accent-success);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-success);
}

.hero__availability-dot::after {
    content: "";
    position: absolute;
    inset: -3px;
    border: 1px solid var(--accent-success);
    border-radius: 50%;
    animation: hero-pulse 2s infinite ease-out;
}

.hero__availability-text {
    font-size: 13px;
    font-weight: 400;
    letter-spacing: -0.01em;
    color: var(--color-text-primary);
}

@keyframes hero-pulse {
    0% { transform: scale(0.8); opacity: 0.8; }
    100% { transform: scale(2.2); opacity: 0; }
}

.hero__eyebrow {
    margin-bottom: 16px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero__title {
    margin-bottom: 24px;
    font-size: var(--title-hero);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.04em;
    text-wrap: balance;
    color: var(--color-text-primary);
}

.hero__description {
    max-width: 600px;
    margin-bottom: 36px;
    font-size: 18px;
    line-height: 1.6;
    color: var(--color-text-muted);
}

.hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}

/* BUTTONS */
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.button--primary {
    color: #ffffff;
    background-color: var(--accent-primary);
    border: 1px solid transparent;
    box-shadow: 0 4px 20px rgba(0, 82, 204, 0.25);
}

.button--primary:hover {
    background-color: var(--accent-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 25px rgba(0, 102, 255, 0.4);
}

.button--secondary {
    color: var(--color-text-primary);
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-subtle);
}

.button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--border-focus);
}

.button--trace {
    position: relative;
    overflow: visible;
}

.button--trace::before, .button--trace::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 10%;
    height: 1px;
    pointer-events: none;
}

.button--trace::before {
    width: 80%;
}

.button--trace::after {
    width: 40px;
    transform: translateX(-100%);
    opacity: 0;
    animation: line-trace-unified 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}



@keyframes line-trace-unified {
    0% { left: 10%; transform: translateX(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 90%; transform: translateX(0%); opacity: 0; }
}

.button--trace-dark::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(0, 163, 255, 0.1) 20%, rgba(0, 163, 255, 0.1) 80%, rgba(255, 255, 255, 0) 100%);
}

.button--trace-dark::after {
    background: linear-gradient(90deg, transparent, #00a3ff 50%, #ffffff 90%, transparent);
    box-shadow: 0 0 8px #00a3ff;
}


.button--trace-light::after {

    background: linear-gradient(90deg, 
        rgba(0, 82, 204, 0) 0%, 
        rgba(0, 82, 204, 0.1) 40%, 
        rgba(0, 82, 204, 0.4) 70%, 
        rgba(0, 82, 204, 0.8) 90%,
        rgba(0, 82, 204, 0) 95%
    );

    box-shadow: none; 
}


/* HERO INTERACTIVE CARDS */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 520px;
    perspective: 1200px;
}

.hero__stack {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}

.hero-card {
    position: absolute;
    overflow: hidden;
    border-radius: var(--radius-lg);
}

.hero-card--editor {
    display: flex;
    flex-direction: column;
    width: 580px;
    height: 380px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform: translateZ(0);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-card__header--browser {
    display: flex;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 16px;
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid var(--border-subtle);
}

.hero-card__browser-controls {
    display: flex;
    gap: 6px;
}

.hero-card__browser-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-card__browser-dot--red { background: rgba(239, 68, 68, 0.5); }
.hero-card__browser-dot--yellow { background: rgba(245, 158, 11, 0.5); }
.hero-card__browser-dot--green { background: rgba(16, 185, 129, 0.5); }

.hero-card__browser-address {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    max-width: 320px;
    height: 22px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 10px;
    letter-spacing: -0.01em;
    color: var(--color-text-muted);
}

.hero-card__body {
    flex-grow: 1;
    padding: 24px;
}

.code-block {
    font-family: var(--font-mono);
    font-size: 12px;
    line-height: 1.6;
    color: #a3aed0;
}

.code-block__line { display: block; }
.code-block__keyword { color: #ff79c6; }
.code-block__function { color: #50fa7b; }
.code-block__string { color: #f1fa8c; }
.code-block__comment { font-style: italic; color: #6272a4; }

.hero-card--performance {
    top: 30px;
    left: -30px;
    display: flex;
    align-items: center;
    gap: 14px;
    width: 190px;
    padding: 16px;
    background: var(--bg-surface-accent);
    border: 1px solid rgba(16, 185, 129, 0.2);
    transform: translateZ(40px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.hero-card__score-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
}

.hero-card__score-chart {
    width: 52px;
    height: 52px;
    transform: rotate(-90deg);
}

.hero-card__score-chart circle {
    fill: none;
    stroke-width: 4;
}

.hero-card__score-track { stroke: rgba(16, 185, 129, 0.1); }
.hero-card__score-progress {
    stroke: var(--accent-success);
    stroke-linecap: round;
    stroke-dasharray: 138;
    stroke-dashoffset: 2;
}

.hero-card__score-number {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 15px;
    font-weight: 700;
    color: var(--accent-success);
}

.hero-card__performance-title {
    margin-bottom: 2px;
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text-primary);
}

.hero-card__performance-text {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--accent-success);
}

.hero-card--testimonial {
    top: -30px;
    right: 20px;
    width: 260px;
    padding: 14px 16px;
    background: rgba(20, 24, 28, 0.4);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transform: translateZ(25px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-card__stars {
    display: flex;
    gap: 4px;
    margin-bottom: 8px;
}

.hero-card__star { width: 13px; height: 13px; fill: var(--accent-star); }
.hero-card__quote { margin-bottom: 8px; font-size: 11px; line-height: 1.5; color: var(--color-text-primary); }
.hero-card__author { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-text-muted); }

.hero-card--mobile-preview {
    right: -40px;
    bottom: 10px;
    display: flex;
    flex-direction: column;
    width: 140px;
    height: 240px;
    background: #14181c;
    border: 1px solid var(--border-subtle);
    transform: translateZ(60px) rotate(3deg);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.hero-card__phone-speaker { width: 40px; height: 4px; margin: 8px auto 4px; background: var(--border-focus); border-radius: 999px; }
.hero-card__phone-screen { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; margin: 6px; padding: 12px 8px; background: var(--bg-dark); border: 1px solid var(--border-subtle); border-radius: 12px; }
.hero-card__screen-block { width: 100%; background: rgba(255, 255, 255, 0.03); border-radius: 4px; }
.hero-card__screen-block--hero { height: 40px; background: linear-gradient(90deg, rgba(0, 82, 204, 0.1), rgba(0, 0, 0, 0)); }
.hero-card__screen-block--line-lg { width: 80%; height: 6px; }
.hero-card__screen-block--line-sm { width: 60%; height: 6px; }
.hero-card__screen-block--card { height: 50px; border: 1px dashed var(--border-subtle); }

.hero-card--audit {
    bottom: -20px;
    left: -10px;
    width: 240px;
    padding: 16px;
    background: var(--bg-surface-accent);
    border: 1px solid var(--border-subtle);
    font-family: var(--font-mono);
    transform: translateZ(45px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.hero-card__audit-title {
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-text-muted);
}

.hero-card__audit-list { display: flex; flex-direction: column; gap: 6px; }
.hero-card__audit-item { display: flex; align-items: center; justify-content: space-between; font-size: 11px; }
.hero-card__audit-label { color: #a3aed0; }
.hero-card__audit-value { padding: 2px 6px; background: rgba(16, 185, 129, 0.06); border: 1px solid rgba(16, 185, 129, 0.15); border-radius: 4px; font-weight: 400; color: var(--accent-success); }

/* STATS SEC */
.stats {
    width: 100%;
    display: flex;
    justify-content: center;
    background: var(--bg-white);
    padding: 0;
    /*padding-bottom: var(--space-xl);*/
    margin-bottom: calc(-1 * var(--space-lg));
}

.stats__grid {
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    width: 100%;
}

.stats__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 3rem;
    text-align: center;
}

.stats__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 20%;
    right: 0;
    width: 1px;
    height: 60%;
    background: var(--border-light);
}

.stats__value {
    margin: 0;
    font-size: clamp(3rem, 4vw, 4rem);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text-main);
}

.stats__label {
    margin: 0;
    font-size: var(--text-base);
    font-weight: 400;
    line-height: 1.4;
    color: var(--text-subtle);
}

/* EXPERTISE SEC */
.expertise {
    background-color: var(--bg-white);
    
}

.expertise__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
}

@media (min-width: 768px) { .expertise__grid { grid-template-columns: repeat(3, 1fr); } }

.expertise__card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.expertise__card:hover {
    transform: translateY(-4px);
    border-color: var(--border-light-hover);
    box-shadow: 0 20px 40px rgba(0, 82, 204, 0.03);
}

.expertise__icon {
    width: 22px;
    height: 22px;
    position: absolute;
}

.expertise__icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md) 0 var(--radius-md) 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    transition: var(--transition-fast);
    position: absolute;
    right: 0;
    bottom: 0;
}

.expertise__card:hover .expertise__icon-wrapper {
    background-color: var(--accent-primary);
    color: var(--bg-white);
}

.expertise__card-title {
    color: var(--text-main);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
}

.expertise__card-text {
    color: var(--text-muted-light);
    font-size: var(--text-base);
    line-height: 1.6;
}

/* PROJECTS SEC */


.projects__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    max-width: 1140px;
    margin-inline: auto;
}

@media (max-width: 768px) {
    .projects__grid {grid-template-columns: 1fr; }
}

.projects__card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 18px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-fast);
}

.projects__img-wrap {
    position: relative;
    aspect-ratio: 16 / 8;
    background: linear-gradient(135deg, #e8eef5, #dde6f0);
    border-bottom: 1px solid var(--border-light);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.projects__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.projects__tag {
    position: absolute;
    top: 12px;
    left: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(0, 82, 204, 0.15);
    border-radius: 100px;
    padding: 4px 10px;
}

.projects__body {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    flex: 1;
}

.projects__card-title {
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-main);
    margin: 0 0 0.4rem;
}

.projects__card-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

.projects__card-title a:hover {
    color: var(--accent-primary);
}

.projects__card-text {
    font-size: var(--text-sm);
    line-height: 1.7;
    color: var(--text-muted-light);
    margin: 0;
}

.projects__section-label {
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-subtle);
    margin: 0 0 0.6rem;
}

.projects__focus-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.projects__focus-list li {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--text-muted-light);
}

.projects__focus-list li::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-primary);
    flex-shrink: 0;
    margin-top: 0.47em;
}

.projects__results {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.projects__result-highlight {
    font-size: var(--text-sm);
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 9px;
}

.projects__result-highlight::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-success);
    flex-shrink: 0;
}

.projects__result-item {
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--text-muted-light);
    margin: 0;
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.projects__result-item::before {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--accent-success);
    flex-shrink: 0;
    margin-top: 0.47em;
}


@media (max-width: 1080px) {
    .hero__container { grid-template-columns: 100%; gap: 80px; }
    .hero { padding-top: 140px; padding-bottom: 80px; }
    .hero__content { align-items: center; text-align: center; }
    .hero__actions { justify-content: center; }
    .hero__visual { max-width: 580px; margin: 0 auto; }
    .hero-card--mobile-preview { right: 0; }
    .hero-card--performance { left: 0; }

    .stats__grid { grid-template-columns: repeat(2, 1fr); transform: initial; }
    .stats__item:nth-child(2)::after { display: none; }
}

@media (max-width: 640px) {
    .hero { padding: 96px 20px 64px; }
    .hero__container { gap: 48px; }
    .hero__description { font-size: 16px; }
    .hero__actions .button { width: 100%; }
    .hero__visual { height: 380px; }
    .hero-card--editor { width: 100%; height: 280px; }
    .hero-card--testimonial { display: none; }
    .hero-card--performance { top: -20px; left: -15px; transform: translateZ(20px) scale(0.85); }
    .hero-card--mobile-preview { display: none; right: -15px; bottom: -20px; transform: translateZ(30px) rotate(3deg) scale(0.8); }
    .hero-card--audit { bottom: -30px; left: initial; right: -15px; transform: translateZ(25px) scale(0.8); }
}

@media (max-width: 480px) {
    .stats__grid { grid-template-columns: 1fr; }
    .stats__item::after { display: none; }
    .stats__item:not(:last-child) { border-bottom: 1px solid var(--border-light); }
}





/* REVIEWS */
.reviews {
    background-color: var(--bg-white);
}
.reviews__slider-container {
    width: 100%;
    overflow: hidden;
    padding: 2rem 0;
    position: relative;
    /* Subtle side gradients for a premium fade finish */
    mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.reviews__track {
    display: flex;
    gap: var(--space-md);
    width: max-content;
    animation: reviewsScroll 35s linear infinite;
}

.reviews-card {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    width: 380px; 
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    transition: var(--transition-fast);
}

.reviews-card:hover {
    border-color: var(--border-light-hover);
    transform: translateY(-2px);
    background: var(--bg-white);
    box-shadow: 0 15px 30px rgba(0, 82, 204, 0.02);
}

.reviews-card__rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-card__stars {
    color: var(--accent-star);
    font-size: 0.95rem;
    letter-spacing: 2px;
}

.reviews-card__score {
    font-family: var(--font-mono);
    font-size: var(--text-xs);
    font-weight: 700;
    color: var(--text-subtle);
    background: rgba(245, 158, 11, 0.08);
    padding: 2px 6px;
    border-radius: 4px;
}

.reviews-card__quote {
    color: var(--text-muted-light);
    font-size: var(--text-sm);
    line-height: 1.6;
    font-style: normal;
    flex-grow: 1;
}

.reviews-card__meta {
    border-top: 1px solid var(--border-light);
    padding-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.reviews-card__author {
    color: var(--text-main);
    font-weight: 700;
    font-size: var(--text-sm);
    font-style: normal;
}

.reviews-card__role {
    color: var(--text-subtle);
    font-size: var(--text-xs);
}

@keyframes reviewsScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - (var(--space-md) / 2))); }
}

@media (max-width: 480px) {
    .reviews-card { width: 290px; } 
}









/* CONTACT SEC */
.contact {
    background-color: var(--bg-dark);
    position: relative;
}

.contact .section-title {
    color: var(--color-text-primary);
}

.contact .section-lead {
    color: var(--color-text-muted);
}

.contact__grid {
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 50px;
    align-items: start;
}


.contact__form-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.contact__form {
    display: flex;
    flex-direction: column;
    gap: 24px;
    position: relative;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: var(--text-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
}

.form-label .required {
    color: #ef4444;
    margin-left: 2px;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    font-family: var(--font-sans);
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    transition: var(--transition-fast);
    outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 82, 204, 0.15);
}

.form-group.has-error .form-input,
.form-group.has-error .form-select,
.form-group.has-error .form-textarea {
    border-color: rgba(239, 68, 68, 0.85);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12);
}

.form-group.has-error .select-wrapper::after {
    color: #fca5a5;
}

.form-error {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #fca5a5;
}

.form-input::placeholder {
    color: rgba(142, 154, 168, 0.4);
}

.form-textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.5;
}

.form-textarea::placeholder {
    color: rgba(142, 154, 168, 0.4);
}


.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: '↓';
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--color-text-muted);
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

.form-select {
    appearance: none;
    -webkit-appearance: none;
    padding-right: 40px;
    cursor: pointer;
    color-scheme: dark;
}

.form-select option {
    background-color: #14181c; 
    color: var(--color-text-primary); 
    padding: 12px;
}

.form-select option:disabled {
    color: rgba(142, 154, 168, 0.4);
}

.checkbox-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--text-sm);
    color: var(--color-text-primary);
    cursor: pointer;
    position: relative;
}

.form-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-subtle);
    border-radius: 4px;
    display: inline-block;
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.form-checkbox:checked ~ .checkbox-custom {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-checkbox:checked ~ .checkbox-custom::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}


.contact__submit {
    width: 100%;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    position: relative;
}

.contact__submit-label {
    display: inline-flex;
    align-items: center;
}

.contact__submit-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: rgba(255, 255, 255, 1);
    animation: form-spin 0.7s linear infinite;
}

.contact__submit.is-loading {
    opacity: 0.88;
    cursor: progress;
}

.contact__submit.is-loading .contact__submit-spinner {
    display: inline-block;
}

.contact__submit:disabled {
    opacity: 0.82;
    cursor: not-allowed;
}

.form-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    pointer-events: none;
}

.form-notice {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    text-align: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px;
    border: 1px dashed var(--border-subtle);
}


.contact__info-panel {
    position: relative;
    height: 100%;
}

.contact__premium-card {
    position: sticky;
    top: 40px;
    width: 100%;
    background: var(--bg-surface-accent);
    border: 1px solid var(--border-focus);
    display: flex;
    flex-direction: column;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}



.contact__card-image-wrapper {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid var(--border-subtle);
}

.contact__card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}


.contact__card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-surface-accent) 100%);
    pointer-events: none;
}


.contact__card-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
}

.contact__card-title {
    font-size: var(--text-xl);
    font-weight: 800;
    color: var(--color-text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.contact__card-description {
    font-size: var(--text-sm);
    line-height: 1.6;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

.contact__direct-btn {
    width: 100%;
    justify-content: center;
    gap: 8px;
}

.contact__btn-icon {
    transition: transform var(--transition-fast);
}

.contact__direct-btn:hover .contact__btn-icon {
    transform: translate(2px, -2px);
}

.form-toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 9999;
    width: min(100% - 32px, 420px);
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 14, 20, 0.92);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateY(16px);
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
}

.form-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.form-toast__title {
    display: block;
    margin-bottom: 4px;
    font-size: 0.92rem;
    font-weight: 800;
    color: var(--color-text-primary);
}

.form-toast__message {
    display: block;
    font-size: 0.88rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.form-toast--success {
    border-color: rgba(16, 185, 129, 0.35);
    box-shadow: 0 24px 60px rgba(16, 185, 129, 0.12), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.form-toast--success .form-toast__title {
    color: #86efac;
}

.form-toast--error {
    border-color: rgba(239, 68, 68, 0.35);
    box-shadow: 0 24px 60px rgba(239, 68, 68, 0.12), 0 24px 60px rgba(0, 0, 0, 0.4);
}

.form-toast--error .form-toast__title {
    color: #fca5a5;
}

@keyframes form-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 992px) {

    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact__premium-card {
        position: relative;
        top: 0;
    }

    .section-decorative {
        display: none;
    }
}

@media (max-width: 576px) {

    .form-row {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .contact__form-wrapper {
        padding: 24px 16px;
    }
    
    .contact__card-body {
        padding: 24px 16px;
    }

    .form-toast {
        right: 16px;
        left: 16px;
        bottom: 16px;
        width: auto;
    }
}





/* HOMEPAGE */
.homepage {
    min-height: 100vh;
}

.homepage-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
    padding: 32px;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(0, 82, 204, 0.14), transparent 32%),
        radial-gradient(circle at bottom left, rgba(16, 185, 129, 0.08), transparent 30%),
        var(--bg-dark);
}

.homepage-hero__glow {
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
    filter: blur(90px);
    opacity: 0.55;
}

.homepage-hero__glow--top {
    top: -10%;
    right: -8%;
    width: min(42vw, 520px);
    height: min(42vw, 520px);
    background: radial-gradient(circle, rgba(0, 102, 255, 0.18) 0%, rgba(0, 0, 0, 0) 70%);
}

.homepage-hero__glow--bottom {
    bottom: -18%;
    left: -10%;
    width: min(36vw, 460px);
    height: min(36vw, 460px);
    background: radial-gradient(circle, rgba(16, 185, 129, 0.14) 0%, rgba(0, 0, 0, 0) 70%);
}

.homepage-hero__container {
    position: relative;
    z-index: 1;
    width: min(100%, 920px);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.1rem;
}

.homepage-hero__pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border: 1px solid var(--border-subtle);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-primary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.homepage-hero__title {
    max-width: 14ch;
    margin: 0;
    color: var(--color-text-primary);
    font-size: clamp(2.9rem, 7vw, 5.9rem);
    line-height: 0.98;
    font-weight: 800;
    letter-spacing: -0.05em;
}

.homepage-hero__description {
    max-width: 40rem;
    margin: 0;
    color: var(--color-text-muted);
    font-size: clamp(1rem, 1.8vw, 1.18rem);
    line-height: 1.7;
}

.homepage-hero__actions {
    display: flex;
    justify-content: center;
    margin-top: 0.5rem;
}

.homepage-hero__trust {
    margin: 0;
    color: var(--color-text-muted);
    font-size: 0.88rem;
    line-height: 1.5;
    letter-spacing: 0.02em;
}

@media (max-width: 480px) {

    .homepage-hero__title {
        font-size: clamp(2.4rem, 12vw, 3.6rem);
    }

    .homepage-hero__description {
        font-size: 0.98rem;
    }
}