/* ================= ROOT ================= */
:root {
    --bg-main: #050718;
    --bg-elevated: #0b0f25;
    --bg-card: radial-gradient(circle at top left, #1b2143, #0a0f20);
    --border-subtle: rgba(121, 134, 214, 0.35);
    --accent-yellow: #ffb757;
    --accent-yt: #ff3b3b;
    --accent-ig: #e1306c;
    --accent-fb: #3b82f6;
    --accent-wa: #25d366;
    --text-main: #f7f8ff;
    --text-sub: #a6b0da;
    --radius-lg: 28px;
    --radius-md: 18px;
    --radius-pill: 999px;
    --shadow-soft: 0 24px 60px rgba(0, 0, 0, 0.85);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
        "Inter", sans-serif;
    background: radial-gradient(circle at top, #151938 0, #050718 45%, #020310 100%);
    color: var(--text-main);
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar minimal */
body::-webkit-scrollbar {
    width: 8px;
}

body::-webkit-scrollbar-track {
    background: #050718;
}

body::-webkit-scrollbar-thumb {
    background: #1f2345;
    border-radius: 10px;
}

/* ================= LOADER (SNAKE + LOGO INTRO) ================= */

.tv-loader {
    position: fixed;
    inset: 0;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    overflow: hidden;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.tv-loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}

.tv-loader-bg {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at top, rgba(0, 0, 0, 0.3), #000),
        url("assets/triaxvision-snake-intro.jpg") center/cover no-repeat;
    filter: grayscale(0.2);
    transform: scale(1.08);
    animation: tv-intro-pan 3.4s ease-out forwards;
    opacity: 0.9;
}

.tv-loader-inner {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.tv-loader-logo {
    position: relative;
    width: 260px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tv-loader-logo img {
    max-width: 220px;
    width: 90%;
    height: auto;
    display: block;
    filter: drop-shadow(0 0 26px rgba(0, 0, 0, 0.8)) drop-shadow(0 0 40px rgba(111, 176, 255, 0.9));
    animation: tv-logo-intro 3s ease-out forwards;
}

/* particle-like streak */
.tv-loader-logo::after {
    content: "";
    position: absolute;
    width: 220%;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.95),
            transparent);
    transform: rotate(12deg) translateX(-150%);
    opacity: 0;
    animation: tv-logo-streak 2.4s ease-out 0.4s forwards;
}

.tv-loader-textblock {
    text-align: center;
    text-shadow: 0 0 24px rgba(0, 0, 0, 0.9);
}

.tv-loader-label {
    display: block;
    font-size: 14px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #ffffff;
}

.tv-loader-sub {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    color: #d3ddff;
}

.tv-loader-progress {
    width: 190px;
    height: 3px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    overflow: hidden;
    box-shadow: 0 0 18px rgba(0, 0, 0, 0.9);
}

.tv-loader-bar {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #ffb757, #fd5f5f);
    animation: tv-loader-move 1.4s ease-in-out infinite;
}

@keyframes tv-loader-move {
    0% {
        transform: translateX(-120%);
    }

    50% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(120%);
    }
}

@keyframes tv-logo-intro {
    0% {
        opacity: 0;
        transform: translateY(22px) scale(0.7);
    }

    25% {
        opacity: 1;
        transform: translateY(0) scale(1.05);
    }

    55% {
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes tv-logo-streak {
    0% {
        opacity: 0;
        transform: rotate(12deg) translateX(-150%);
    }

    30% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotate(12deg) translateX(40%);
    }
}

@keyframes tv-intro-pan {
    0% {
        transform: scale(1.08) translateY(12px);
    }

    100% {
        transform: scale(1.02) translateY(0);
    }
}

/* ================= LAYOUT WRAPPER ================= */

.page-root {
    min-height: 100vh;
    padding: 20px 24px 40px;
    position: relative;
}

.background-glow {
    position: fixed;
    pointer-events: none;
    border-radius: 999px;
    filter: blur(80px);
    opacity: 0.45;
    z-index: -1;
}

.background-glow--top {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, #3846ff, transparent 65%);
    top: -160px;
    right: -100px;
}

.background-glow--mid {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle, #ff8a3c, transparent 70%);
    bottom: -120px;
    left: -80px;
}

/* ================= HEADER ================= */

.tv-header {
    max-width: 1240px;
    margin: 0 auto 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.tv-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* logo image holder */
.tv-logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #343fd8, #050718);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.7);
}

.tv-logo-mark--image img {
    width: 82%;
    height: auto;
    display: block;
}

.tv-logo-texts {
    display: flex;
    flex-direction: column;
}

.tv-logo-main {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.2em;
}

.tv-logo-sub {
    font-size: 11px;
    color: var(--text-sub);
}

.tv-nav {
    display: flex;
    gap: 18px;
    font-size: 13px;
}

.tv-nav .nav-link {
    color: var(--text-sub);
    text-decoration: none;
    padding: 6px 10px;
    border-radius: 999px;
    transition: color 0.2s ease, background 0.2s ease;
}

.tv-nav .nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
}

.tv-nav .nav-link.is-active {
    color: #050718;
    background: linear-gradient(135deg, #ffcf66, #ff7e41);
}

/* ================= HERO ================= */

.hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 16px 0 56px;
}

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.1fr);
    gap: 40px;
    align-items: center;
}

.hero-eyebrow {
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 12px;
}

.hero-title {
    font-size: clamp(32px, 3vw, 40px);
    line-height: 1.16;
    margin: 0 0 14px;
}

.hero-title-imax {
    display: inline-block;
    background: linear-gradient(135deg, #ffcf66, #ff7e41);
    -webkit-background-clip: text;
    color: transparent;
}

.hero-body {
    font-size: 14px;
    color: var(--text-sub);
    max-width: 520px;
    margin-bottom: 22px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 26px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    border: 1px solid transparent;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #ffcf66, #ff7e41);
    color: #050718;
    box-shadow: 0 14px 36px rgba(255, 153, 60, 0.55);
}

.btn-primary:hover {
    box-shadow: 0 18px 44px rgba(255, 153, 60, 0.75);
}

.btn-ghost {
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--text-main);
    background: rgba(7, 10, 30, 0.8);
}

.btn-ghost:hover {
    background: rgba(16, 21, 52, 0.95);
}

.hero-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.metric-card {
    min-width: 140px;
    padding: 10px 12px;
    border-radius: 16px;
    background: radial-gradient(circle at top left, #272f5b, #080d22);
    border: 1px solid rgba(126, 141, 216, 0.5);
}

.metric-label {
    display: block;
    font-size: 11px;
    color: #c2c9f0;
    margin-bottom: 6px;
}

.metric-value {
    display: block;
    font-size: 20px;
    font-weight: 600;
}

.metric-sub {
    display: block;
    font-size: 11px;
    color: var(--text-sub);
}

/* HERO mini teaser (logo altındaki küçük video) */
.hero-mini-teaser {
    margin-top: 16px;
    padding: 10px 12px;
    border-radius: 18px;
    background: radial-gradient(circle at top left, #252f5d, #060a1c);
    border: 1px solid rgba(125, 139, 236, 0.7);
    max-width: 260px;
}

.hero-mini-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #ffcf7a;
    margin-bottom: 6px;
}

.hero-mini-video {
    width: 100%;
    border-radius: 12px;
    display: block;
    object-fit: cover;
    height: 120px;
}

/* HERO RIGHT */
.hero-device-col {
    display: flex;
    justify-content: flex-end;
}

/* ================= VIDEO CARDS (GLOBAL) ================= */

.video-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: 14px;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    max-width: 360px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.video-card--hero {
    max-width: 400px;
}

.video-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(90, 112, 255, 0.55), transparent 55%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.video-card:hover::after {
    opacity: 1;
}

.video-card-header {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 11px;
}

/* platform badges now clickable <a> */
.platform-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 10px;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
}

.platform-badge--yt {
    background: rgba(255, 59, 59, 0.16);
    color: #ffd5d5;
}

.platform-badge--ig {
    background: rgba(225, 48, 108, 0.16);
    color: #ffd0e5;
}

.platform-badge--fb {
    background: rgba(59, 130, 246, 0.18);
    color: #d5e5ff;
}

.scene-tag {
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 10px;
    background: rgba(5, 8, 26, 0.9);
    color: #c4ccf1;
}

.video-card-frame {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 10px;
    background: #000;
}

.wall-video {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}

.video-play-overlay {
    position: absolute;
    inset: 0;
    border: none;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.55),
            rgba(0, 0, 0, 0.05) 40%,
            transparent);
    cursor: pointer;
}

.video-play-overlay::before {
    content: "▶";
    position: absolute;
    right: 10px;
    bottom: 8px;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.video-play-overlay.is-paused::before {
    content: "❚❚";
}

/* hero card sound toggle overlay */
.device-sound-toggle {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: none;
    background: rgba(0, 0, 0, 0.7);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
    cursor: pointer;
}

.device-sound-toggle::before {
    content: "🔇";
    font-size: 16px;
}

.device-sound-toggle.is-active::before {
    content: "🔊";
}

.video-card-footer h3 {
    font-size: 14px;
    margin: 0 0 4px;
}

.video-card-footer p {
    font-size: 12px;
    color: var(--text-sub);
    margin: 0;
}

/* SIGNAL STRIP */

.signal-strip {
    margin-top: 32px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(123, 135, 221, 0.4);
    background: linear-gradient(90deg, rgba(12, 18, 45, 0.95), rgba(9, 14, 38, 0.9));
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 11px;
    color: var(--text-sub);
}

.signal-item {
    display: flex;
    flex-direction: column;
}

.signal-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 10px;
}

.signal-value {
    font-size: 11px;
}

.signal-divider {
    width: 1px;
    height: 26px;
    background: rgba(131, 142, 214, 0.45);
}

/* ================= SECTION GENERIC ================= */

.section-header {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: left;
}

.section-eyebrow {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.section-header h2 {
    font-size: 26px;
    margin: 0 0 10px;
}

.section-header p {
    font-size: 14px;
    color: var(--text-sub);
}

/* ================= ECOSYSTEM ================= */

.ecosystem {
    max-width: 1240px;
    margin: 20px auto 60px;
}

.video-wall {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

/* ================= PIPELINE ================= */

.pipeline {
    max-width: 1240px;
    margin: 40px auto 70px;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
}

.pipeline-step {
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #242b55, #080d22);
    border: 1px solid rgba(132, 146, 228, 0.6);
    position: relative;
    overflow: hidden;
}

.pipeline-step::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(255, 163, 71, 0.55), transparent 55%);
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.pipeline-step:hover::after {
    opacity: 1;
}

.step-index {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent-yellow);
    margin-bottom: 8px;
}

.pipeline-step h3 {
    margin: 0 0 6px;
    font-size: 15px;
}

.pipeline-step p {
    margin: 0;
    font-size: 13px;
    color: var(--text-sub);
}

/* ================= SPONSOR ================= */

.sponsor {
    max-width: 1240px;
    margin: 20px auto 70px;
}

.sponsor-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1.1fr;
    gap: 20px;
}

.sponsor-card {
    padding: 18px 18px 20px;
    border-radius: 22px;
    background: radial-gradient(circle at top left, #262d59, #050818);
    border: 1px solid rgba(139, 152, 230, 0.6);
    font-size: 13px;
    color: var(--text-sub);
}

.sponsor-card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    color: var(--text-main);
}

.sponsor-card ul {
    list-style: none;
    margin: 0 0 14px;
    padding: 0;
}

.sponsor-card li {
    margin-bottom: 6px;
    padding-left: 14px;
    position: relative;
}

.sponsor-card li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-yellow);
}

.sponsor-card--payments .payments-strip {
    margin-top: 10px;
    background: rgba(5, 8, 26, 0.9);
    border-radius: 16px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: space-between;
}

.sponsor-card--payments img {
    height: 26px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.8));
}

.btn-full {
    width: 100%;
}

/* ================= STORE FRONT ================= */

.storefront {
    max-width: 1240px;
    margin: 20px auto 70px;
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.store-card {
    background: radial-gradient(circle at top left, #242b55, #070b1b);
    border-radius: 22px;
    border: 1px solid rgba(121, 136, 230, 0.7);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
}

.store-media {
    position: relative;
    overflow: hidden;
}

.store-media img {
    width: 100%;
    height: 190px;
    object-fit: cover;
    display: block;
}

.store-tag {
    position: absolute;
    left: 12px;
    bottom: 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.7);
    font-size: 10px;
    color: #ffffff;
}

/* future commerce kartı */
.store-card--future .store-tag {
    background: linear-gradient(135deg, #ffcf66, #ff7e41);
    color: #050718;
}

.store-body {
    padding: 12px 14px 14px;
}

.store-body h3 {
    margin: 0 0 6px;
    font-size: 14px;
}

.store-body p {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--text-sub);
}

.store-cta {
    font-size: 12px;
    text-decoration: none;
    color: #ffcf7a;
}

.store-note {
    font-size: 11px;
    color: #d6ddff;
    margin: 0 0 6px;
}

/* ================= PROJECTS ================= */

.projects {
    max-width: 1240px;
    margin: 20px auto 70px;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 18px;
}

.project-card {
    padding: 16px 16px 18px;
    border-radius: 20px;
    background: radial-gradient(circle at top left, #262c57, #070b1c);
    border: 1px solid rgba(135, 150, 233, 0.7);
    font-size: 13px;
    color: var(--text-sub);
}

.project-card h3 {
    margin: 4px 0 8px;
    font-size: 15px;
    color: var(--text-main);
}

.project-region {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--accent-yellow);
}

/* ================= FOOTER ================= */

.footer {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 26px;
    border-top: 1px solid rgba(97, 108, 190, 0.5);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 18px;
    margin-bottom: 18px;
}

.footer-brand {
    display: flex;
    gap: 12px;
}

.tv-logo-mark--footer {
    width: 40px;
    height: 40px;
}

.footer-brand h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.footer-brand p {
    margin: 0;
    font-size: 13px;
    color: var(--text-sub);
}

.footer-col h4 {
    margin: 0 0 8px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #d5dbff;
}

.footer-col a {
    display: block;
    font-size: 13px;
    color: var(--text-sub);
    text-decoration: none;
    margin-bottom: 4px;
}

.footer-col a:hover {
    color: #ffffff;
}

/* sosyal ikonlu linkler */
.social-link {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-sub);
    text-decoration: none;
    margin-bottom: 4px;
}

.social-link:hover {
    color: #ffffff;
}

.social-icon {
    width: 16px;
    height: 16px;
    display: block;
}

.footer-bottom {
    font-size: 11px;
    color: var(--text-sub);
}

/* ================= WHATSAPP FLOAT ================= */

.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    text-decoration: none;
    z-index: 998;
}

.wa-inner {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent-wa), #128c7e);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    color: #ffffff;
    font-size: 12px;
}

.wa-icon {
    font-size: 16px;
}

.wa-textblock {
    display: flex;
    flex-direction: column;
}

.wa-label {
    font-weight: 600;
}

.wa-sub {
    font-size: 10px;
    opacity: 0.9;
}

.wa-inner:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 52px rgba(0, 0, 0, 0.85);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 960px) {
    .tv-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .tv-nav {
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .hero-layout {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-device-col {
        justify-content: flex-start;
    }

    .signal-strip {
        border-radius: 20px;
        flex-direction: column;
        align-items: flex-start;
    }

    .signal-divider {
        display: none;
    }

    .sponsor-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }
}

@media (max-width: 640px) {
    .page-root {
        padding: 16px 14px 30px;
    }

    .tv-header {
        margin-bottom: 18px;
    }

    .hero {
        padding-bottom: 40px;
    }

    .video-card {
        max-width: 100%;
    }

    .footer-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .wa-float {
        right: 14px;
        bottom: 14px;
    }

    .wall-video {
        height: 220px;
    }
}