/* =========================================================
   QİP METAL — Premium Industrial Stylesheet
   Palette: dark anthracite, black, titanium grey, off-white
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
    /* Core palette */
    --black: #06070a;
    --ink: #0a0c0f;          /* deepest base */
    --anthracite: #111419;   /* main dark surface */
    --anthracite-2: #161a20; /* raised surface */
    --steel: #1d2229;        /* card / divider */
    --titanium: #2a3038;     /* mid grey */
    --titanium-2: #3a414b;   /* lighter mid */
    --fog: #8b9099;          /* muted text */
    --silver: #b8bec7;       /* secondary text */
    --bone: #e7e3d8;         /* off-white text */
    --bone-soft: #d8d4c8;
    --white: #f4f1ea;

    /* Accent — brushed bronze/titanium gold */
    --gold: #c9a227;
    --gold-light: #e8d18a;
    --gold-dark: #8a6d12;
    --gold-glow: rgba(201, 162, 39, 0.35);

    /* Glass */
    --glass: rgba(22, 26, 32, 0.55);
    --glass-border: rgba(232, 209, 138, 0.14);
    --glass-hi: rgba(255, 255, 255, 0.04);

    /* Typography */
    --font-display: 'Unbounded', 'Sora', sans-serif;
    --font-body: 'Sora', system-ui, sans-serif;

    /* Layout */
    --container: 1320px;
    --gutter: clamp(1.25rem, 4vw, 4rem);
    --radius: 4px;
    --radius-lg: 10px;

    /* Motion */
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --dur: 0.6s;

    /* Shadows */
    --shadow-soft: 0 20px 60px -20px rgba(0,0,0,0.7);
    --shadow-glow: 0 0 40px -8px var(--gold-glow);
}

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

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

body {
    font-family: var(--font-body);
    background: var(--ink);
    color: var(--bone);
    line-height: 1.6;
    font-weight: 300;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.01em;
}

/* Subtle metal grain backdrop */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(201,162,39,0.06), transparent 60%),
        radial-gradient(900px 500px at 0% 100%, rgba(58,65,75,0.12), transparent 60%);
    opacity: 0.9;
}

img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; }

::selection { background: var(--gold); color: var(--ink); }

/* Scrollbar */
::-webkit-scrollbar { width: 9px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--titanium); border-radius: 6px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold-dark); }

/* ---------- LAYOUT HELPERS ---------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    position: relative;
    z-index: 1;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}
.section-tag::before {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.2rem, 5.5vw, 4.4rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    color: var(--bone);
}
.accent {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ---------- BUTTONS ---------- */
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    padding: 1rem 1.8rem;
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
    will-change: transform;
}
.btn svg { transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn--primary {
    color: var(--ink);
    background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
    box-shadow: 0 8px 30px -8px var(--gold-glow);
}
.btn--primary::after {
    content: "";
    position: absolute;
    top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
    transform: skewX(-20deg);
    transition: left 0.7s var(--ease);
}
.btn--primary:hover::after { left: 140%; }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px -8px var(--gold-glow); }

.btn--ghost {
    color: var(--bone);
    background: transparent;
    border: 1px solid var(--titanium-2);
    backdrop-filter: blur(6px);
}
.btn--ghost:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}
.btn--block { width: 100%; justify-content: center; }

/* =========================================================
   PRELOADER
   ========================================================= */
.loader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--ink);
    display: grid;
    place-items: center;
    transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
.loader.is-hidden { opacity: 0; visibility: hidden; }
.loader__inner { text-align: center; width: min(80vw, 320px); }

.loader__mark {
    position: relative;
    width: 84px;
    height: 84px;
    margin: 0 auto 2rem;
    display: grid;
    place-items: center;
}
.loader__q {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    background: linear-gradient(120deg, var(--gold-light), var(--gold), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: pulseFade 1.4s ease-in-out infinite;
}
.loader__ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1.5px solid transparent;
    border-top-color: var(--gold);
    border-right-color: var(--gold-dark);
    animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulseFade {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.loader__bar {
    width: 100%;
    height: 2px;
    background: var(--steel);
    border-radius: 2px;
    overflow: hidden;
}
.loader__progress {
    display: block;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    box-shadow: 0 0 10px var(--gold-glow);
}
.loader__text {
    margin-top: 1rem;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.4em;
    color: var(--fog);
}

/* =========================================================
   CUSTOM CURSOR (desktop only)
   ========================================================= */
.cursor {
    position: fixed;
    top: 0; left: 0;
    z-index: 9000;
    pointer-events: none;
    mix-blend-mode: difference;
    display: none;
}
@media (hover: hover) and (pointer: fine) {
    .cursor { display: block; }
}
.cursor__dot {
    position: fixed;
    top: 0; left: 0;
    width: 6px; height: 6px;
    background: var(--bone);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cursor__ring {
    position: fixed;
    top: 0; left: 0;
    width: 38px; height: 38px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease), height 0.3s var(--ease), opacity 0.3s;
    opacity: 0.6;
}
.cursor.is-hover .cursor__ring {
    width: 56px; height: 56px;
    background: rgba(201,162,39,0.08);
    opacity: 1;
}
.cursor.is-view .cursor__ring {
    width: 70px; height: 70px;
    background: rgba(201,162,39,0.15);
}
.cursor.is-view .cursor__dot { opacity: 0; }

/* =========================================================
   SCROLL PROGRESS BAR
   ========================================================= */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    height: 2px;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    box-shadow: 0 0 8px var(--gold-glow);
    z-index: 8000;
    transition: width 0.1s linear;
}

/* =========================================================
   HEADER / NAV
   ========================================================= */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 7000;
    padding: 1.4rem 0;
    transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s;
    border-bottom: 1px solid transparent;
}
.header.is-scrolled {
    background: rgba(10, 12, 15, 0.75);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--glass-border);
}
.header__inner {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
}
.logo__mark { display: grid; place-items: center; transition: transform 0.5s var(--ease); align-self: center; }
.logo__mark svg { width: 44px; height: 44px; }
.logo:hover .logo__mark { transform: rotate(180deg); }
.logo__block {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    line-height: 1;
}
.logo__text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.3rem;
    letter-spacing: 0.18em;
    color: var(--bone);
    line-height: 1;
}
.logo__text span {
    color: var(--gold);
    margin-left: 0.15em;
}
.logo__sub {
    font-family: var(--font-body);
    font-size: 0.56rem;
    font-weight: 300;
    letter-spacing: 0.06em;
    color: var(--fog);
    line-height: 1.15;
    text-transform: uppercase;
    white-space: nowrap;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}
.nav__link {
    position: relative;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.06em;
    color: var(--silver);
    transition: color 0.3s;
    padding: 0.3rem 0;
}
.nav__link::after {
    content: "";
    position: absolute;
    left: 0; bottom: -2px;
    width: 0; height: 1px;
    background: var(--gold);
    transition: width 0.4s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--bone); }
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }

.nav__cta {
    padding: 0.6rem 1.3rem;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ink);
    background: linear-gradient(120deg, var(--gold-light), var(--gold));
    border-radius: var(--radius);
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 24px;
    justify-content: center;
}
.menu-toggle span {
    height: 1.5px;
    width: 100%;
    background: var(--bone);
    transition: transform 0.4s var(--ease), opacity 0.3s;
    transform-origin: center;
}
.menu-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.is-open span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* =========================================================
   HERO
   ========================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 8rem var(--gutter) 6rem;
}
.hero__canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
.hero__grain {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    opacity: 0.4;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: overlay;
}
.hero__vignette {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(ellipse 80% 60% at 50% 50%, transparent 30%, rgba(6,7,10,0.5) 75%, var(--ink) 100%),
        linear-gradient(180deg, rgba(6,7,10,0.4) 0%, transparent 25%, transparent 70%, var(--ink) 100%);
}

.hero__content {
    position: relative;
    z-index: 5;
    max-width: 900px;
    margin-inline: auto;
    text-align: center;
    width: 100%;
}
.hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.32em;
    color: var(--gold);
    margin-bottom: 2.2rem;
}
.hero__eyebrow-line {
    width: 42px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.hero__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2.8rem, 9vw, 7.5rem);
    line-height: 0.98;
    letter-spacing: -0.03em;
    color: var(--bone);
    margin-bottom: 1.8rem;
}
.hero__title .reveal-line { display: block; overflow: hidden; }
.hero__title em {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.3rem);
    font-weight: 300;
    color: var(--silver);
    max-width: 620px;
    margin: 0 auto 2.8rem;
    line-height: 1.5;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 5.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.4em;
    color: var(--fog);
}
.hero__scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(180deg, var(--gold), transparent);
    position: relative;
    overflow: hidden;
}
.hero__scroll-line::after {
    content: "";
    position: absolute;
    top: -50%;
    left: 0;
    width: 100%;
    height: 50%;
    background: var(--bone);
    animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
    0% { top: -50%; }
    100% { top: 100%; }
}

.hero__marquee {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    z-index: 5;
    overflow: hidden;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    background: rgba(6,7,10,0.5);
    backdrop-filter: blur(8px);
    padding: 0.9rem 0;
}
.hero__marquee-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    white-space: nowrap;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 400;
    letter-spacing: 0.25em;
    color: var(--fog);
    animation: marquee 40s linear infinite;
    width: max-content;
}
.hero__marquee-track .dot { color: var(--gold); }
@keyframes marquee {
    to { transform: translateX(-50%); }
}

/* =========================================================
   ABOUT
   ========================================================= */
.about {
    padding: clamp(6rem, 14vh, 12rem) 0;
    position: relative;
}
.about__grid {
    display: grid;
    grid-template-columns: 1fr 3fr;
    gap: clamp(2rem, 6vw, 6rem);
    align-items: start;
}
.about__label { position: sticky; top: 8rem; }

.about__title {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 4.5vw, 3.8rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    color: var(--bone);
    margin-bottom: 2.2rem;
}
.about__text {
    font-size: clamp(1.05rem, 1.6vw, 1.25rem);
    font-weight: 300;
    color: var(--silver);
    line-height: 1.7;
    max-width: 720px;
    margin-bottom: 3.5rem;
}

.about__stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    border-top: 1px solid var(--steel);
    padding-top: 2.5rem;
}
.stat { display: flex; flex-direction: column; gap: 0.5rem; }
.stat__num {
    font-family: var(--font-display);
    font-weight: 500;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1;
    background: linear-gradient(120deg, var(--gold-light), var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat__label {
    font-size: 0.78rem;
    color: var(--fog);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

/* =========================================================
   PRODUCTION POWER
   ========================================================= */
.power {
    padding: clamp(5rem, 12vh, 10rem) 0;
    background: linear-gradient(180deg, var(--ink), var(--anthracite));
    position: relative;
}
.power__head { margin-bottom: 1.5rem; }
.power__lead {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: var(--silver);
    max-width: 720px;
    margin-bottom: 4rem;
    font-weight: 300;
    line-height: 1.7;
}

.power__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--steel);
    border: 1px solid var(--steel);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.power__card {
    background: var(--anthracite);
    padding: 2.5rem 2rem;
    transition: background 0.5s var(--ease);
    position: relative;
    overflow: hidden;
}
.power__card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(400px circle at var(--mx,50%) var(--my,50%), rgba(201,162,39,0.08), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.power__card:hover::before { opacity: 1; }
.power__card:hover { background: var(--anthracite-2); }
.power__card-num {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 1.5rem;
}
.power__card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--bone);
    margin-bottom: 0.8rem;
    letter-spacing: -0.01em;
}
.power__card p {
    font-size: 0.92rem;
    color: var(--fog);
    line-height: 1.6;
}

/* =========================================================
   SERVICES
   ========================================================= */
.services {
    padding: clamp(5rem, 12vh, 10rem) 0;
    position: relative;
}
.services__head { text-align: center; margin-bottom: 5rem; }
.services__head .section-tag { justify-content: center; }
.services__head .section-tag::after {
    content: "";
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}
.services__intro {
    max-width: 640px;
    margin: 1.5rem auto 0;
    color: var(--silver);
    font-weight: 300;
    line-height: 1.7;
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
}

.service-card {
    position: relative;
    padding: 2.2rem 1.9rem;
    min-height: 220px;
    background: linear-gradient(160deg, var(--anthracite-2), var(--anthracite));
    border: 1px solid var(--steel);
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: default;
    transition: transform 0.5s var(--ease), border-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* Metallic light sweep on hover */
.service-card__shine {
    position: absolute;
    top: 0; left: -150%;
    width: 70%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(232,209,138,0.12), rgba(255,255,255,0.06), transparent);
    transform: skewX(-18deg);
    transition: left 0.8s var(--ease);
    pointer-events: none;
}
.service-card:hover .service-card__shine { left: 150%; }
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--gold-dark);
    box-shadow: 0 24px 60px -24px rgba(0,0,0,0.8), 0 0 30px -10px var(--gold-glow);
}

.service-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}
.service-card__num {
    font-family: var(--font-display);
    font-size: 0.7rem;
    color: var(--titanium-2);
    letter-spacing: 0.2em;
    font-weight: 500;
    transition: color 0.4s;
}
.service-card:hover .service-card__num { color: var(--gold); }
.service-card__icon {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 8px;
    background: rgba(201,162,39,0.06);
    border: 1px solid var(--steel);
    color: var(--gold);
    transition: background 0.4s, border-color 0.4s, transform 0.5s var(--ease);
}
.service-card:hover .service-card__icon {
    background: rgba(201,162,39,0.14);
    border-color: var(--gold-dark);
    transform: rotate(-8deg) scale(1.05);
}
.service-card__title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--bone);
    letter-spacing: -0.01em;
    line-height: 1.25;
    margin-top: 1.8rem;
}
.service-card__desc {
    font-size: 0.86rem;
    color: var(--fog);
    line-height: 1.55;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease), opacity 0.4s 0.1s, margin-top 0.5s var(--ease);
}
.service-card:hover .service-card__desc {
    max-height: 120px;
    opacity: 1;
    margin-top: 0.7rem;
}

/* =========================================================
   PRODUCTS
   ========================================================= */
.products {
    padding: clamp(5rem, 12vh, 10rem) 0;
    background: linear-gradient(180deg, var(--anthracite), var(--ink));
    position: relative;
}
.products__head { margin-bottom: 4rem; }

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.products__more {
    margin-top: 3.5rem;
    text-align: center;
}
.product-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--steel);
    background: var(--anthracite);
    transition: transform 0.5s var(--ease), border-color 0.5s;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--gold-dark); }

.product-card__visual {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background:
        radial-gradient(ellipse 70% 80% at 50% 45%, #1f242c 0%, #111419 60%, #0a0c0f 100%);
}
/* Gerçek ürün görseli (siyah zeminde ışık halesi + gölge ile öne çıkar) */
.product-card__visual--img {
    background:
        radial-gradient(circle at 50% 35%, rgba(201,162,39,0.10), transparent 55%),
        radial-gradient(ellipse 80% 90% at 50% 50%, #1d2229 0%, #0e1116 70%);
}
.product-card__img {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 86%;
    height: 86%;
    object-fit: contain;
    filter: drop-shadow(0 18px 30px rgba(0,0,0,0.65)) drop-shadow(0 0 1px rgba(232,209,138,0.15));
    transition: transform 0.7s var(--ease), filter 0.7s var(--ease);
}
.product-card:hover .product-card__img {
    transform: translate(-50%, -52%) scale(1.05);
    filter: drop-shadow(0 24px 40px rgba(0,0,0,0.75)) drop-shadow(0 0 12px rgba(232,209,138,0.3));
}
/* Prosedürel yedek (görsel yoksa) */
.product-card__visual--1 { background: radial-gradient(circle at 30% 30%, #3a414b, #161a20 70%); }
.product-card__visual--2 { background: radial-gradient(circle at 70% 40%, #2a3038, #0a0c0f 70%); }
.product-card__visual--3 { background: radial-gradient(circle at 50% 20%, #3a414b, #111419 75%); }
.product-card__visual--4 { background: radial-gradient(circle at 40% 60%, #2a3038, #161a20 70%); }
.product-card__visual--5 { background: radial-gradient(circle at 60% 30%, #3a414b, #0a0c0f 70%); }
.product-card__visual--6 { background: radial-gradient(circle at 35% 50%, #2a3038, #111419 75%); }

.product-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(180deg, transparent 60%, rgba(6,7,10,0.5) 100%);
}
.product-card__index {
    position: absolute;
    top: 1.2rem; left: 1.2rem;
    z-index: 3;
    font-family: var(--font-display);
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    color: var(--gold);
    background: rgba(6,7,10,0.5);
    backdrop-filter: blur(6px);
    padding: 0.4rem 0.7rem;
    border-radius: var(--radius);
    border: 1px solid var(--glass-border);
}
.product-card__overlay {
    position: absolute;
    bottom: 1.2rem; left: 1.2rem;
    z-index: 3;
}
.product-card__material {
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--silver);
    background: rgba(6,7,10,0.55);
    backdrop-filter: blur(6px);
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius);
}
.product-card__shine {
    position: absolute;
    top: 0; left: -150%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(232,209,138,0.18), transparent);
    transform: skewX(-18deg);
    transition: left 0.9s var(--ease);
    z-index: 2;
    pointer-events: none;
}
.product-card:hover .product-card__shine { left: 160%; }

.product-card__body { padding: 1.6rem 1.5rem 1.8rem; }
.product-card__body h3 {
    font-family: var(--font-display);
    font-size: 1.18rem;
    font-weight: 500;
    color: var(--bone);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.product-card__body p {
    font-size: 0.88rem;
    color: var(--fog);
    line-height: 1.55;
}

/* =========================================================
   SLOGAN BANNERS
   ========================================================= */
.slogan {
    position: relative;
    padding: clamp(6rem, 16vh, 12rem) 0;
    overflow: hidden;
    text-align: center;
    border-top: 1px solid var(--steel);
    border-bottom: 1px solid var(--steel);
}
.slogan--1 {
    background:
        radial-gradient(ellipse 60% 80% at 50% 50%, rgba(201,162,39,0.08), transparent 70%),
        var(--ink);
}
.slogan--2 {
    background: var(--anthracite);
}
.slogan--3 {
    background:
        radial-gradient(ellipse 70% 80% at 50% 50%, rgba(201,162,39,0.06), transparent 70%),
        var(--ink);
}
.slogan__bg-text {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(8rem, 30vw, 28rem);
    line-height: 1;
    color: rgba(232,209,138,0.025);
    letter-spacing: -0.04em;
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
}
.slogan__bg-text--right { right: -10%; left: auto; transform: translate(0, -50%); }

.slogan__text {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: clamp(2rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.025em;
    color: var(--bone);
}
.slogan__text .reveal-line { display: block; }
.slogan__text em {
    font-style: italic;
    font-weight: 300;
    background: linear-gradient(120deg, var(--gold-light), var(--gold) 60%, var(--gold-dark));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.slogan__text--small { font-size: clamp(1.8rem, 4.5vw, 3.6rem); }
.slogan__text--center { margin-inline: auto; }

/* =========================================================
   PROCESS
   ========================================================= */
.process {
    padding: clamp(5rem, 12vh, 10rem) 0;
    position: relative;
}
.process__head { margin-bottom: 5rem; }

.process__timeline {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem 4rem;
}
.process__line {
    position: absolute;
    top: 0; bottom: 0;
    left: 50%;
    width: 1px;
    background: var(--steel);
    transform: translateX(-50%);
    z-index: 0;
}
.process__line-fill {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 0%;
    background: linear-gradient(180deg, var(--gold-light), var(--gold), var(--gold-dark));
    box-shadow: 0 0 12px var(--gold-glow);
    transition: height 0.1s linear;
}

.process__step {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}
.process__step:nth-child(even) {
    flex-direction: row-reverse;
    text-align: right;
}
.process__node {
    flex-shrink: 0;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--anthracite);
    border: 1px solid var(--titanium-2);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold);
    transition: border-color 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.process__step.is-active .process__node {
    border-color: var(--gold);
    box-shadow: 0 0 24px -4px var(--gold-glow);
    transform: scale(1.08);
}
.process__content { padding-top: 0.3rem; }
.process__content h3 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--bone);
    margin-bottom: 0.5rem;
    letter-spacing: -0.01em;
}
.process__content p {
    font-size: 0.9rem;
    color: var(--fog);
    line-height: 1.6;
    max-width: 360px;
}
.process__step:nth-child(even) .process__content p { margin-left: auto; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact {
    padding: clamp(5rem, 12vh, 10rem) 0;
    background: linear-gradient(180deg, var(--ink), var(--anthracite));
    position: relative;
}
.contact__grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: clamp(3rem, 6vw, 6rem);
    align-items: start;
}
.contact__lead {
    font-size: 1.05rem;
    color: var(--silver);
    font-weight: 300;
    line-height: 1.7;
    max-width: 460px;
    margin: 1.5rem 0 3rem;
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}
.contact__item {
    display: flex;
    gap: 1.1rem;
    align-items: flex-start;
    color: var(--silver);
    font-size: 0.92rem;
    line-height: 1.5;
    transition: color 0.3s;
}
.contact__item:hover { color: var(--bone); }
.contact__item strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.2em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.contact__icon {
    flex-shrink: 0;
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: var(--radius);
    background: var(--anthracite-2);
    border: 1px solid var(--steel);
    color: var(--gold);
}

.contact__quick {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}
.quick-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.3rem;
    font-family: var(--font-display);
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 1px solid var(--titanium-2);
    background: var(--anthracite-2);
    color: var(--bone);
    transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s, background 0.3s;
}
.quick-btn:hover { transform: translateY(-2px); border-color: var(--gold); color: var(--gold-light); }
.quick-btn--wa { color: #25d366; border-color: rgba(37,211,102,0.4); }
.quick-btn--wa:hover { background: rgba(37,211,102,0.1); border-color: #25d366; }

/* Form */
.contact__form-wrap {
    background: var(--glass);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: clamp(2rem, 4vw, 3rem);
    box-shadow: var(--shadow-soft);
}
.contact-form { display: flex; flex-direction: column; gap: 1.8rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }

.field { position: relative; }
.field input,
.field textarea,
.field select {
    width: 100%;
    padding: 1.3rem 0 0.7rem;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--titanium);
    font-size: 0.98rem;
    font-weight: 300;
    color: var(--bone);
    outline: none;
    border-radius: 0;
    transition: border-color 0.3s;
}
.field textarea {
    resize: vertical;
    min-height: 90px;
    padding-top: 1.3rem;
}
.field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background: transparent;
}
.field select option { background: var(--anthracite); color: var(--bone); }
.field--select::after {
    content: "";
    position: absolute;
    right: 0; top: 50%;
    width: 8px; height: 8px;
    border-right: 1.5px solid var(--gold);
    border-bottom: 1.5px solid var(--gold);
    transform: translateY(-70%) rotate(45deg);
    pointer-events: none;
}
.field label {
    position: absolute;
    left: 0; top: 1.3rem;
    font-size: 0.98rem;
    color: var(--fog);
    pointer-events: none;
    transition: transform 0.35s var(--ease), color 0.3s, font-size 0.35s;
    transform-origin: left;
}
.field input:focus + label,
.field input:not(:placeholder-shown) + label,
.field textarea:focus + label,
.field textarea:not(:placeholder-shown) + label,
.field select:focus + label,
.field select:valid + label {
    transform: translateY(-1.1rem) scale(0.72);
    color: var(--gold);
    letter-spacing: 0.08em;
}
.field__line {
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 1.5px;
    background: linear-gradient(90deg, var(--gold-light), var(--gold));
    transition: width 0.45s var(--ease);
}
.field input:focus ~ .field__line,
.field textarea:focus ~ .field__line,
.field select:focus ~ .field__line { width: 100%; }

.form-feedback {
    font-size: 0.86rem;
    min-height: 1.2rem;
    text-align: center;
}
.form-feedback.is-ok { color: #4ade80; }
.form-feedback.is-err { color: #f87171; }
.form-note {
    text-align: center;
    font-size: 0.76rem;
    color: var(--titanium-2);
    letter-spacing: 0.04em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
    padding: 5rem 0 8rem;
    border-top: 1px solid var(--steel);
    background: var(--ink);
    position: relative;
}
.footer__top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}
.footer__brand p {
    color: var(--fog);
    font-size: 0.9rem;
    max-width: 320px;
    line-height: 1.6;
    margin-top: 1.2rem;
}
.logo--footer { margin-bottom: 0; }
.footer__col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.22em;
    color: var(--gold);
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.footer__col a, .footer__col span {
    font-size: 0.88rem;
    color: var(--fog);
    transition: color 0.3s;
}
.footer__col a:hover { color: var(--bone); }

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--steel);
    font-size: 0.78rem;
    color: var(--titanium-2);
    letter-spacing: 0.04em;
}

/* =========================================================
   MOBILE BOTTOM NAV
   ========================================================= */
.mobile-nav {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 7000;
    display: none;
    align-items: center;
    justify-content: space-around;
    padding: 0.5rem 0.6rem calc(0.5rem + env(safe-area-inset-bottom));
    background: rgba(10, 12, 15, 0.92);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border-top: 1px solid var(--glass-border);
}
.mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    padding: 0.4rem 0.8rem;
    color: var(--fog);
    font-size: 0.62rem;
    font-family: var(--font-display);
    letter-spacing: 0.06em;
    border-radius: var(--radius);
    transition: color 0.3s;
    min-width: 52px;
}
.mobile-nav__item.is-active { color: var(--gold); }
.mobile-nav__item svg { transition: transform 0.3s; }
.mobile-nav__item.is-active svg { transform: translateY(-2px); }

.mobile-nav__wa {
    width: 56px; height: 56px;
    margin-top: -28px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #25d366, #128c4b);
    color: #fff;
    box-shadow: 0 8px 24px -6px rgba(37,211,102,0.6), 0 0 0 4px rgba(10,12,15,0.92);
    transition: transform 0.3s var(--ease);
}
.mobile-nav__wa:active { transform: scale(0.92); }

/* =========================================================
   REVEAL ANIMATION STATES (GSAP targets)
   ========================================================= */
.reveal { opacity: 0; transform: translateY(40px); }
.reveal-line {
    display: inline-block;
    transform: translateY(110%);
    will-change: transform;
}
.reveal-text { opacity: 0; transform: translateY(30px); }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
    .nav { gap: 1.6rem; }
    .about__grid { grid-template-columns: 1fr; }
    .about__label { position: static; }
    .power__grid { grid-template-columns: repeat(2, 1fr); }
    .services__grid { grid-template-columns: repeat(2, 1fr); }
    .products__grid { grid-template-columns: repeat(2, 1fr); }
    .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
}

@media (max-width: 768px) {
    :root { --gutter: 1.3rem; }

    /* Logo şirket adı mobilde punto küçülterek tek satırda sığar */
    .logo__sub {
        font-size: 0.32rem;
        letter-spacing: 0.02em;
        white-space: nowrap;
        line-height: 1.15;
    }

    /* Native mobile-app feel */
    .header { padding: 1rem 0; }

    /* On touch devices, service descriptions always visible (no hover) */
    .service-card__desc {
        max-height: 120px !important;
        opacity: 1 !important;
        margin-top: 0.7rem !important;
    }
    .nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: 82%;
        max-width: 360px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 1.8rem;
        padding: 5rem 2.5rem;
        background: rgba(10,12,15,0.97);
        backdrop-filter: blur(24px);
        border-left: 1px solid var(--glass-border);
        transform: translateX(100%);
        transition: transform 0.6s var(--ease);
        z-index: 6999;
    }
    .nav.is-open { transform: translateX(0); }
    .nav__link { font-size: 1.4rem; font-family: var(--font-display); font-weight: 400; }
    .nav__cta { margin-top: 1rem; padding: 0.9rem 1.8rem; font-size: 0.9rem; }
    .menu-toggle { display: flex; z-index: 7001; }

    .hero { padding: 7rem var(--gutter) 5rem; }
    .hero__scroll { display: none; }
    .hero__actions .btn { flex: 1; justify-content: center; padding: 1rem 1.2rem; font-size: 0.76rem; }

    .about__stats { grid-template-columns: repeat(2, 1fr); gap: 1.8rem 1.2rem; }

    .power__grid { grid-template-columns: 1fr; }
    .services__grid { grid-template-columns: 1fr; }
    .products__grid { grid-template-columns: 1fr; }

    .process__timeline { grid-template-columns: 1fr; gap: 2.5rem; }
    .process__line { left: 27px; transform: none; }
    .process__step, .process__step:nth-child(even) {
        flex-direction: row;
        text-align: left;
    }
    .process__content p { max-width: 100%; }
    .process__step:nth-child(even) .process__content p { margin-left: 0; }

    .contact__grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }

    .footer__top { grid-template-columns: 1fr; gap: 2.5rem; }
    .footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .footer { padding-bottom: 7rem; }

    .mobile-nav { display: flex; }
    body { padding-bottom: 0; }

    .slogan__bg-text { font-size: clamp(6rem, 40vw, 14rem); }
}

@media (max-width: 480px) {
    .hero__title { font-size: clamp(2.4rem, 13vw, 4rem); }
    .btn { padding: 0.95rem 1.4rem; }
    .stat__num { font-size: 2rem; }
}

/* Safety net: if GSAP fails to load, JS forces .gsap-failed on <html>
   after 3s so hidden reveal elements become visible. */
html.gsap-failed .reveal,
html.gsap-failed .reveal-text { opacity: 1 !important; transform: none !important; }
html.gsap-failed .reveal-line { transform: none !important; }

/* =========================================================
   REDUCED MOTION
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .reveal, .reveal-text { opacity: 1 !important; transform: none !important; }
    .reveal-line { transform: none !important; }
    .hero__marquee-track, .loader__ring, .hero__scroll-line::after { animation: none !important; }
}
