@import url('./variables.css');

@font-face {
    font-family: 'Inter';
    src: url('../fonts/InterVariable.woff2') format('woff2');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    color-scheme: dark;
}

body {
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-family: 'Inter', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button {
    cursor: pointer;
}

img {
    display: block;
    max-width: 100%;
}

::selection {
    background: var(--brand-primary);
    color: var(--bg-primary);
}

:focus-visible {
    outline: 2px solid var(--brand-primary);
    outline-offset: 4px;
}

/* Container */

.container-custom {
    width: min(calc(100% - 64px), var(--container-width));
    margin-inline: auto;
}

/* Sections */

.section {
    padding-block: var(--section-spacing);
}

/* Typography */

.text-gradient {
    background: linear-gradient( 110deg, #7dd3fc, #38bdf8 50%, #60a5fa );
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

/* Buttons */

.btn-primary-custom,
.btn-outline-custom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 50px;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.btn-primary-custom {
    background: var(--text-primary);
    color: var(--bg-primary);
    border: 1px solid transparent;
}

    .btn-primary-custom:hover {
        background: #dce8f3;
        transform: translateY(-2px);
    }

.btn-outline-custom {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-primary);
}

    .btn-outline-custom:hover {
        background: var(--surface-primary);
        border-color: var(--border-hover);
    }
/* =========================================
   SHARED SECTION COMPONENTS
   ========================================= */

.section-eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 22px;
    color: var(--brand-primary);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
}

.eyebrow-line {
    width: 24px;
    height: 1px;
    background: var(--brand-primary);
}

.section-title {
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -.045em;
}

    .section-title .text-gradient {
        display: block;
    }

.section-description {
    max-width: 640px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.85;
}

@media (max-width: 768px) {

    .section-title {
        font-size: clamp(32px, 7vw, 44px);
    }

    :root {
        --section-spacing: 72px;
    }

    .container-custom {
        width: calc(100% - 40px);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
