/* ============================================================
   3D Technology Services — Design System: Base
   Reset, typography, and global element defaults.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');
@import './shared.css';

/* ── Reset ── */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-base);
}

ul,
ol {
    list-style: none;
}

button {
    font: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input,
textarea,
select {
    font: inherit;
    color: inherit;
}

/* ── Accessibility ── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--gold-primary);
    color: #FFFFFF;
    padding: var(--space-md) var(--space-lg);
    z-index: 10000;
    font-weight: 300;
    text-decoration: none;
    transition: top var(--transition-base);
}

.skip-link:focus {
    top: 0;
}

/* ── Typography ── */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 300;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    letter-spacing: -1px;
    font-weight: 300;
}

h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 300;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
}

h4 {
    font-size: 1.2rem;
    font-weight: 300;
}


/* ── Background Effects ── */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-bg-glow);
    pointer-events: none;
    z-index: var(--z-background);
}

.accent-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-line);
    z-index: 100;
    opacity: 0.7;
}

/* ── Animations ── */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

@keyframes partnerScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* ── Scrollbar ── */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
}

::-webkit-scrollbar-thumb {
    background: var(--border-accent);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}

/* ── Selection ── */
::selection {
    background: rgba(13, 148, 136, 0.15);
    color: var(--text-primary);
}