/* ═══════════════════════════════════════
   KEYDAL — Corporate Design System
   ═══════════════════════════════════════ */

@font-face {
    font-family: 'Letteria Pro Script';
    src: url('/fonts/LetteriaPro-Script-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Letteria Pro Script';
    src: url('/fonts/LetteriaPro-Script-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    --black: #0a0f1a;
    --dark: #0f1729;
    --gray-950: #162035;
    --gray-900: #1e2a42;
    --gray-800: #2d3a52;
    --gray-700: #475569;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --white: #f8fafc;

    --accent: #4f46e5;
    --accent-hover: #4338ca;
    --accent-light: #818cf8;
    --accent-subtle: rgba(79, 70, 229, 0.08);
    --accent-glow: rgba(79, 70, 229, 0.15);

    --warm: #f59e0b;
    --warm-subtle: rgba(245, 158, 11, 0.08);

    --font: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --serif: 'Instrument Serif', Georgia, serif;
    --signature: 'Letteria Pro Script', cursive;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font);
    background: var(--white);
    color: var(--black);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; margin: 0; }
::selection { background: var(--accent); color: #fff; }

/* Content lists — subtle dot bullets */
.svc-detail-body ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.svc-detail-body ul li { padding-left: 20px; position: relative; font-size: 0.9rem; line-height: 1.6; }
.svc-detail-body ul li::before {
    content: ''; position: absolute; left: 2px; top: 10px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent);
}
.plan ul { list-style: none; padding: 0; }
.mega-feature-box ul { list-style: none; padding: 0; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ── Nav ── */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(250,250,250,0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--gray-200);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

/* Logo with glitch hover */
.logo { font-weight: 700; font-size: 1.15rem; letter-spacing: -0.5px; }
.logo-signature {
    font-family: var(--signature);
    font-weight: 400;
    font-size: 0.7rem;
    color: var(--gray-400);
    display: block;
    line-height: 1;
    margin-top: -2px;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}
.logo:hover .logo-signature { color: var(--accent); }
.logo-text {
    position: relative;
    display: inline-block;
    transition: all 0.3s var(--ease);
}
.logo-text::before,
.logo-text::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0; pointer-events: none;
}
.logo-text::before { color: var(--accent); z-index: -1; }
.logo-text::after { color: var(--warm); z-index: -1; }
.logo:hover .logo-text::before {
    animation: glitch1 0.4s ease both;
}
.logo:hover .logo-text::after {
    animation: glitch2 0.4s ease 0.05s both;
}
@keyframes glitch1 {
    0% { opacity: 0; transform: translate(0); }
    20% { opacity: 0.8; transform: translate(-2px, 1px); }
    40% { opacity: 0.8; transform: translate(2px, -1px); }
    60% { opacity: 0.5; transform: translate(-1px, 0); }
    100% { opacity: 0; transform: translate(0); }
}
@keyframes glitch2 {
    0% { opacity: 0; transform: translate(0); }
    20% { opacity: 0.8; transform: translate(2px, -1px); }
    40% { opacity: 0.8; transform: translate(-2px, 1px); }
    60% { opacity: 0.5; transform: translate(1px, 0); }
    100% { opacity: 0; transform: translate(0); }
}

/* Nav links with 3D flip hover */
.nav-links { display: flex; align-items: center; gap: 32px; }

.nav-link {
    font-size: 0.875rem; color: var(--gray-500); font-weight: 500;
    position: relative; overflow: hidden;
    perspective: 600px;
}
.nav-link span {
    display: inline-block;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1), color 0.3s;
    transform-origin: center bottom;
}
.nav-link::after {
    content: attr(data-text);
    position: absolute; top: 0; left: 0;
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    transform: rotateX(-90deg) translateY(100%);
    transform-origin: center top;
    transition: transform 0.5s cubic-bezier(0.76, 0, 0.24, 1);
}
.nav-link:hover span {
    transform: rotateX(90deg) translateY(-50%);
    opacity: 0;
}
.nav-link:hover::after {
    transform: rotateX(0) translateY(0);
}
.nav-link.active { color: var(--black); font-weight: 600; }
.nav-link.active::before {
    content: '';
    position: absolute; bottom: -4px; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 1px;
    animation: activeSlide 0.4s var(--ease) both;
}
@keyframes activeSlide {
    from { transform: scaleX(0); }
    to { transform: scaleX(1); }
}

.nav-link--game {
    color: #4ade80 !important;
    font-weight: 600 !important;
}
.nav-link--game::after {
    color: #22c55e !important;
}

/* Nav chevron */
.nav-chevron {
    margin-left: 2px;
    transition: transform 0.3s var(--ease);
    opacity: 0.5;
}
.nav-dropdown.active .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* ── Nav Dropdown trigger ── */
.nav-dropdown {
    position: relative;
}
.nav-dropdown > .nav-link {
    display: inline-flex; align-items: center; gap: 4px;
    background: none; border: none; cursor: pointer;
    font-family: var(--font);
}

/* ── Mega Dropdown — Tab Widget (3D) ── */
.mega-dropdown {
    position: fixed; top: 64px; left: 0; right: 0;
    z-index: 200;
    pointer-events: none;
}
.mega-dropdown.open {
    pointer-events: all;
}

.mega-backdrop {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    z-index: -1;
    background: rgba(10, 15, 26, 0);
    transition: background 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}
.mega-dropdown.open .mega-backdrop {
    background: rgba(10, 15, 26, 0.15);
    pointer-events: all;
}

/* The widget container — JS positions this to nav-inner bounds */
.mega-widget {
    padding-top: 8px;
    perspective: 1000px;
    perspective-origin: top center;
}
/* Invisible bridge between nav and panel */
.mega-widget::before {
    content: '';
    display: block;
    height: 8px;
    margin-top: -8px;
}

.mega-panel {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    overflow: hidden;
    position: relative;

    /* 3D — panel flips open like a book cover */
    transform-style: preserve-3d;
    transform-origin: top center;
    transform: rotateX(-70deg) scaleY(0.6);
    opacity: 0;
    transition:
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px -4px rgba(0,0,0,0.05);
}
.mega-dropdown.open .mega-panel {
    transform: rotateX(0deg) scaleY(1);
    opacity: 1;
    box-shadow:
        0 25px 60px -15px rgba(0,0,0,0.18),
        0 8px 20px -4px rgba(0,0,0,0.06),
        0 0 0 1px rgba(79,70,229,0.05);
}

/* Accent top border — slides in */
.mega-panel::before {
    content: ''; position: absolute; top: 0; left: 20px; right: 20px; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    border-radius: 0 0 2px 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s;
    z-index: 10;
}
.mega-dropdown.open .mega-panel::before {
    transform: scaleX(1);
}

.mega-panel-inner {
    padding: 28px 32px;
    position: relative; z-index: 1;
}

/* ── Hizmetler Mega Card Grid ── */
.mega-grid { display: grid; gap: 14px; }
.mega-grid--4 { grid-template-columns: repeat(4, 1fr); }

.mega-card {
    position: relative;
    padding: 22px 20px;
    border-radius: 14px;
    border: 1px solid var(--gray-200);
    background: var(--white);
    color: var(--black);
    text-decoration: none;
    display: flex; flex-direction: column; gap: 10px;
    overflow: hidden;
    /* Only transition hover transforms, NOT opacity/entrance */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s, box-shadow 0.3s;
}

/* Entrance via animation — fires once, no jitter */
.mega-dropdown.open .mega-card {
    animation: megaCardIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mega-dropdown.open .mega-card[data-idx="0"] { animation-delay: 0.05s; }
.mega-dropdown.open .mega-card[data-idx="1"] { animation-delay: 0.1s; }
.mega-dropdown.open .mega-card[data-idx="2"] { animation-delay: 0.15s; }
.mega-dropdown.open .mega-card[data-idx="3"] { animation-delay: 0.2s; }

@keyframes megaCardIn {
    from { opacity: 0; transform: translateY(20px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}


/* Card gradient overlay on hover */
.mega-card::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, var(--accent-subtle) 0%, rgba(129,140,248,0.04) 100%);
    opacity: 0; transition: opacity 0.35s;
    border-radius: 14px;
}
.mega-card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: var(--accent);
    box-shadow:
        0 16px 48px -12px rgba(79,70,229,0.2),
        0 0 0 1px rgba(79,70,229,0.1);
}
.mega-card:hover::before { opacity: 1; }

.mega-card-icon {
    width: 46px; height: 46px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100);
    border-radius: 12px;
    color: var(--accent);
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative; z-index: 1;
}
.mega-card:hover .mega-card-icon {
    background: var(--accent);
    color: #fff;
    transform: scale(1.12) rotate(-8deg);
    box-shadow: 0 8px 28px -6px rgba(79,70,229,0.45);
}

.mega-card h4 {
    font-size: 0.92rem; font-weight: 700; letter-spacing: -0.2px;
    position: relative; z-index: 1;
    transition: color 0.25s;
}
.mega-card:hover h4 { color: var(--accent); }

.mega-card p {
    font-size: 0.8rem; color: var(--gray-500); line-height: 1.5;
    position: relative; z-index: 1;
    flex: 1;
}

.mega-card-tags {
    display: flex; flex-wrap: wrap; gap: 5px;
    position: relative; z-index: 1;
}
.mega-card-tags span {
    font-size: 0.68rem; font-weight: 600;
    padding: 3px 9px;
    border-radius: 100px;
    background: var(--accent-subtle);
    color: var(--accent);
    transition: all 0.3s;
}
.mega-card:hover .mega-card-tags span {
    background: rgba(79,70,229,0.15);
    transform: translateY(-1px);
}

.mega-card-arrow {
    position: absolute; top: 18px; right: 18px;
    color: var(--gray-300);
    opacity: 0; transform: translate(-6px, 6px) rotate(-45deg);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-card:hover .mega-card-arrow {
    opacity: 1; transform: translate(0, 0) rotate(0);
    color: var(--accent);
}

/* Mega bottom bar */
.mega-bottom {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 20px; padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}
.mega-dropdown.open .mega-bottom {
    animation: megaFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both;
}
@keyframes megaFadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.mega-see-all {
    font-size: 0.85rem; font-weight: 600; color: var(--gray-500);
    display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.3s var(--ease);
}
.mega-see-all svg { transition: transform 0.3s var(--ease); }
.mega-see-all:hover { color: var(--black); }
.mega-see-all:hover svg { transform: translateX(4px); }

.mega-cta {
    font-size: 0.82rem; font-weight: 600;
    display: inline-flex; align-items: center; gap: 8px;
    padding: 9px 22px; border-radius: 10px;
    background: var(--accent); color: #fff;
    transition: all 0.3s var(--ease);
    position: relative; overflow: hidden;
}
.mega-cta::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}
.mega-cta:hover::before { transform: translateX(100%); }
.mega-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(79,70,229,0.45);
}

/* ── Hosting Mega Layout ── */
.mega-hosting-layout {
    display: grid; grid-template-columns: 1fr 280px; gap: 24px;
}

.mega-hosting-list {
    display: flex; flex-direction: column; gap: 4px;
}

.mega-host-item {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    color: var(--black);
    text-decoration: none;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background 0.25s, border-color 0.25s, box-shadow 0.25s;
    position: relative;
}
.mega-dropdown.open .mega-host-item {
    animation: megaHostIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mega-dropdown.open .mega-host-item[data-idx="0"] { animation-delay: 0.05s; }
.mega-dropdown.open .mega-host-item[data-idx="1"] { animation-delay: 0.1s; }
.mega-dropdown.open .mega-host-item[data-idx="2"] { animation-delay: 0.15s; }
.mega-dropdown.open .mega-host-item[data-idx="3"] { animation-delay: 0.2s; }

@keyframes megaHostIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.mega-host-item:hover {
    background: var(--gray-100);
    border-color: var(--gray-200);
    transform: translateX(6px) scale(1.01);
    box-shadow: 0 4px 16px -4px rgba(0,0,0,0.06);
}

.mega-host-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); border-radius: 12px;
    color: var(--accent); flex-shrink: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-host-item:hover .mega-host-icon {
    background: var(--accent); color: #fff;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 20px -4px rgba(79,70,229,0.4);
}

.mega-host-info { flex: 1; }
.mega-host-info h4 {
    font-size: 0.88rem; font-weight: 600; letter-spacing: -0.1px;
    margin-bottom: 2px; transition: color 0.25s;
}
.mega-host-item:hover .mega-host-info h4 { color: var(--accent); }
.mega-host-info p {
    font-size: 0.76rem; color: var(--gray-500); line-height: 1.4;
}

.mega-host-price {
    font-size: 1.05rem; font-weight: 700; letter-spacing: -0.5px;
    color: var(--accent);
    flex-shrink: 0;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-host-price span {
    font-size: 0.72rem; font-weight: 500; color: var(--gray-400);
}
.mega-host-item:hover .mega-host-price {
    transform: scale(1.08);
    text-shadow: 0 0 20px rgba(79,70,229,0.3);
}

.mega-host-arrow {
    color: var(--gray-300);
    opacity: 0; transform: translateX(-8px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}
.mega-host-item:hover .mega-host-arrow {
    opacity: 1; transform: translateX(0);
    color: var(--accent);
}

/* Featured host item */
.mega-host-item--featured {
    background: linear-gradient(135deg, rgba(79,70,229,0.03), rgba(129,140,248,0.03));
    border: 1px solid rgba(79,70,229,0.12);
}
.mega-host-item--featured:hover {
    background: linear-gradient(135deg, rgba(79,70,229,0.07), rgba(129,140,248,0.05));
    border-color: var(--accent);
}
.mega-host-badge {
    position: absolute; top: -1px; right: 18px;
    font-size: 0.6rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px 4px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: #fff;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 12px -2px rgba(79,70,229,0.3);
    animation: megaBadgePulse 2.5s ease-in-out infinite;
}
@keyframes megaBadgePulse {
    0%, 100% { box-shadow: 0 4px 12px -2px rgba(79,70,229,0.3); }
    50% { box-shadow: 0 4px 20px -2px rgba(79,70,229,0.5); }
}

/* Hosting side feature box */
.mega-hosting-side {}
.mega-dropdown.open .mega-hosting-side {
    animation: megaSideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}
@keyframes megaSideIn {
    from { opacity: 0; transform: translateX(20px); }
    to { opacity: 1; transform: translateX(0); }
}

.mega-feature-box {
    background: linear-gradient(135deg, var(--dark), var(--gray-950));
    border-radius: 16px;
    padding: 26px 22px;
    color: var(--white);
    height: 100%;
    display: flex; flex-direction: column;
    position: relative; overflow: hidden;
}
.mega-feature-box::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(circle at 80% 20%, rgba(79,70,229,0.15) 0%, transparent 50%),
        radial-gradient(circle at 1px 1px, var(--gray-800) 0.5px, transparent 0.5px);
    background-size: 100% 100%, 18px 18px;
    pointer-events: none;
}
/* Animated glow inside feature box */
.mega-feature-box::after {
    content: ''; position: absolute;
    width: 120px; height: 120px; bottom: -40px; left: -20px;
    background: radial-gradient(circle, rgba(245,158,11,0.12) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none;
    animation: megaFeatureGlow 5s ease-in-out infinite;
}
@keyframes megaFeatureGlow {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(15px, -10px) scale(1.3); opacity: 1; }
}
.mega-feature-box > * { position: relative; z-index: 1; }

.mega-feature-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(79,70,229,0.2);
    border-radius: 12px;
    color: var(--accent-light);
    margin-bottom: 14px;
    transition: all 0.4s var(--ease);
}
.mega-feature-box:hover .mega-feature-icon {
    transform: scale(1.1) rotate(-5deg);
    background: rgba(79,70,229,0.3);
}

.mega-feature-box h4 {
    font-size: 0.95rem; font-weight: 700; margin-bottom: 12px;
}
.mega-feature-box ul {
    display: flex; flex-direction: column; gap: 7px;
    margin-bottom: 18px; flex: 1;
}
.mega-feature-box li {
    font-size: 0.78rem; color: var(--gray-300); padding-left: 18px;
    position: relative;
}
.mega-feature-box li::before {
    content: ''; position: absolute; left: 0; top: 6px;
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent-light);
}

.mega-feature-btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px; border-radius: 10px;
    background: var(--accent); color: #fff;
    font-size: 0.8rem; font-weight: 600;
    text-decoration: none;
    transition: all 0.35s var(--ease);
    align-self: flex-start;
    position: relative; overflow: hidden;
}
.mega-feature-btn::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.mega-feature-btn:hover::before { opacity: 1; }
.mega-feature-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px -4px rgba(79,70,229,0.5);
}

/* ── Kurumsal Mega Layout ── */
.mega-grid--3 { grid-template-columns: repeat(3, 1fr); }

.mega-kurumsal-layout {
    display: grid; grid-template-columns: 1fr 220px; gap: 24px;
}

.mega-contracts {
    border-left: 1px solid var(--gray-200);
    padding-left: 24px;
    opacity: 0; transform: translateX(16px);
}
.mega-dropdown.open .mega-contracts {
    animation: megaSideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.15s both;
}

.mega-contracts-title {
    font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--gray-400);
    margin-bottom: 12px; padding-bottom: 8px;
    border-bottom: 1px solid var(--gray-100);
}

.mega-contract-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--gray-500);
    font-size: 0.82rem; font-weight: 500;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.mega-dropdown.open .mega-contract-item {
    animation: megaHostIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.mega-dropdown.open .mega-contract-item[data-idx="0"] { animation-delay: 0.12s; }
.mega-dropdown.open .mega-contract-item[data-idx="1"] { animation-delay: 0.16s; }
.mega-dropdown.open .mega-contract-item[data-idx="2"] { animation-delay: 0.2s; }
.mega-dropdown.open .mega-contract-item[data-idx="3"] { animation-delay: 0.24s; }
.mega-dropdown.open .mega-contract-item[data-idx="4"] { animation-delay: 0.28s; }

.mega-contract-item svg {
    flex-shrink: 0; color: var(--gray-400);
    transition: color 0.25s;
}
.mega-contract-item:hover {
    background: var(--gray-100);
    color: var(--black);
    transform: translateX(4px);
}
.mega-contract-item:hover svg { color: var(--accent); }

/* ── Mobile Accordion (for dropdowns on mobile) ── */
.mobile-accordion {
    transform: translateX(-40px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.mobile-menu.open .mobile-accordion[data-index="1"] {
    transform: translateX(0); opacity: 1; transition-delay: 0.32s;
}
.mobile-menu.open .mobile-accordion[data-index="2"] {
    transform: translateX(0); opacity: 1; transition-delay: 0.39s;
}
.mobile-menu.open .mobile-accordion[data-index="4"] {
    transform: translateX(0); opacity: 1; transition-delay: 0.53s;
}

.mobile-accordion-trigger {
    width: 100%; background: none; border: none; cursor: pointer;
    font-family: var(--font);
    text-align: left;
    display: flex; align-items: center; gap: 16px;
    position: relative;
}
.mobile-accordion-chevron {
    margin-left: auto; color: var(--gray-500);
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}
.mobile-accordion.open .mobile-accordion-chevron {
    transform: rotate(180deg);
    color: var(--accent-light);
}

.mobile-accordion-panel {
    max-height: 0; overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                padding 0.5s cubic-bezier(0.33, 1, 0.68, 1);
    padding: 0 0 0 40px;
}
.mobile-accordion.open .mobile-accordion-panel {
    max-height: 300px;
    padding: 8px 0 12px 40px;
}

.mobile-sub-link {
    display: block;
    padding: 10px 0;
    font-size: 1rem; font-weight: 500;
    color: var(--gray-400);
    text-decoration: none;
    transform: translateX(-12px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1), color 0.2s;
    border-left: 2px solid var(--gray-800);
    padding-left: 16px;
}
.mobile-accordion.open .mobile-sub-link {
    transform: translateX(0); opacity: 1;
}
.mobile-accordion.open .mobile-sub-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-accordion.open .mobile-sub-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-accordion.open .mobile-sub-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-accordion.open .mobile-sub-link:nth-child(4) { transition-delay: 0.2s; }

.mobile-sub-link:hover, .mobile-sub-link:active {
    color: var(--white);
    border-left-color: var(--accent);
    transform: translateX(4px);
}

/* CTA button with shine effect */
.nav-lang {
    font-size: 0.72rem; font-weight: 700; letter-spacing: 1px;
    padding: 4px 10px; border-radius: 6px;
    border: 1px solid var(--gray-200); color: var(--gray-500);
    transition: all 0.2s;
}
.nav-lang:hover { border-color: var(--accent); color: var(--accent); }

.nav-cta {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--black); color: var(--white) !important;
    padding: 8px 20px; border-radius: 6px; font-weight: 600 !important;
    position: relative; overflow: hidden;
    transition: all 0.3s var(--ease) !important;
}
.nav-cta::before {
    content: '';
    position: absolute; top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s;
}
.nav-cta:hover::before { left: 100%; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(79,70,229,0.3); }
.nav-cta-arrow {
    transition: transform 0.3s var(--ease);
}
.nav-cta:hover .nav-cta-arrow { transform: translateX(3px); }

/* Burger with 3-line morph */
.burger {
    display: none; background: none; border: none; cursor: pointer;
    width: 32px; height: 24px; position: relative; z-index: 1001;
}
.burger span {
    display: block; width: 100%; height: 2px; background: var(--black);
    position: absolute; left: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    border-radius: 2px;
}
.burger span:nth-child(1) { top: 4px; width: 100%; }
.burger span:nth-child(2) { top: 11px; width: 70%; }
.burger span:nth-child(3) { top: 18px; width: 85%; }
.burger:hover span:nth-child(2) { width: 100%; }
.burger:hover span:nth-child(3) { width: 100%; }

.burger.open span:nth-child(1) {
    top: 11px; transform: rotate(45deg); width: 100%;
}
.burger.open span:nth-child(2) {
    opacity: 0; transform: translateX(20px); width: 100%;
}
.burger.open span:nth-child(3) {
    top: 11px; transform: rotate(-45deg); width: 100%;
}
.burger.open span { background: var(--white); }

/* ── Mobile 3D Menu ── */
.mobile-menu {
    position: fixed; inset: 0; z-index: 1000;
    pointer-events: none; visibility: hidden;
}
.mobile-menu.open {
    pointer-events: all; visibility: visible;
}

.mobile-menu-bg {
    position: absolute; inset: 0;
    background: var(--dark);
    transform: clipPath(circle(0% at calc(100% - 40px) 32px));
    clip-path: circle(0% at calc(100% - 40px) 32px);
    transition: clip-path 0.7s cubic-bezier(0.65, 0, 0.35, 1);
}
.mobile-menu.open .mobile-menu-bg {
    clip-path: circle(150% at calc(100% - 40px) 32px);
}

.mobile-menu-content {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    transition: opacity 0.3s 0.1s;
}
.mobile-menu.open .mobile-menu-content {
    opacity: 1;
    transition: opacity 0.4s 0.3s;
}

.mobile-menu-inner {
    width: 100%; max-width: 400px; padding: 0 32px;
}

.mobile-menu-links {
    display: flex; flex-direction: column; gap: 0;
}

.mobile-link {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 0;
    color: var(--gray-300);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transform: translateX(-40px);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                opacity 0.5s cubic-bezier(0.33, 1, 0.68, 1),
                color 0.3s;
}
.mobile-menu.open .mobile-link {
    transform: translateX(0); opacity: 1;
}
.mobile-menu.open .mobile-link[data-index="0"] { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link[data-index="1"] { transition-delay: 0.32s; }
.mobile-menu.open .mobile-link[data-index="2"] { transition-delay: 0.39s; }
.mobile-menu.open .mobile-link[data-index="3"] { transition-delay: 0.46s; }
.mobile-menu.open .mobile-link[data-index="4"] { transition-delay: 0.53s; }

.mobile-link-num {
    font-size: 0.7rem; font-weight: 600; color: var(--gray-500);
    font-variant-numeric: tabular-nums;
    min-width: 24px;
}
.mobile-link-text {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    font-weight: 700; letter-spacing: -0.5px;
    display: inline-block;
    transition: transform 0.4s cubic-bezier(0.33, 1, 0.68, 1);
}
.mobile-link:hover .mobile-link-text {
    transform: translateX(12px);
}
.mobile-link:hover { color: var(--white); }

.mobile-link-line {
    position: absolute; bottom: 0; left: 40px; right: 0; height: 1px;
    background: var(--gray-800);
}
.mobile-link-line::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.33, 1, 0.68, 1);
}
.mobile-link:hover .mobile-link-line::after { transform: scaleX(1); }

.mobile-link.active { color: var(--white); }
.mobile-link.active .mobile-link-num {
    color: var(--accent);
}

.mobile-link--game .mobile-link-text { color: #4ade80; }
.mobile-link--game:hover .mobile-link-text { color: #22c55e; }
.mobile-link--game .mobile-link-line::after {
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.mobile-menu-footer {
    margin-top: 48px;
    opacity: 0; transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.33, 1, 0.68, 1) 0.6s;
}
.mobile-menu.open .mobile-menu-footer {
    opacity: 1; transform: translateY(0);
}

.mobile-cta-btn {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    color: #fff; font-size: 1rem; font-weight: 600;
    border-radius: 12px;
    text-decoration: none;
    position: relative; overflow: hidden;
    transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.mobile-cta-btn::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0; transition: opacity 0.3s;
}
.mobile-cta-btn:hover::before { opacity: 1; }
.mobile-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(79,70,229,0.4);
}
.mobile-cta-btn svg {
    transition: transform 0.3s var(--ease);
}
.mobile-cta-btn:hover svg { transform: translateX(4px); }

/* ── Hero ── */
.hero {
    padding: 160px 0 100px; border-bottom: 1px solid var(--gray-200);
    position: relative; overflow: hidden;
    background: url('/img/hero-bg.svg') no-repeat center center;
    background-size: cover;
}
.hero::before {
    content: ''; position: absolute; width: 600px; height: 600px;
    top: -200px; right: -150px;
    background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, rgba(129,140,248,0.03) 40%, transparent 70%);
    border-radius: 50%; pointer-events: none; filter: blur(40px);
}
.hero::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        radial-gradient(circle at 1px 1px, var(--accent-subtle) 0.8px, transparent 0.8px);
    background-size: 32px 32px;
    mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 55%);
    -webkit-mask-image: radial-gradient(ellipse at 70% 40%, black 0%, transparent 55%);
    opacity: 0.6;
}
.page-header { padding: 140px 0 60px; border-bottom: 1px solid var(--gray-200); }

.hero-eyebrow {
    font-size: 0.8rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; margin-bottom: 20px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero h1, .page-header h1 {
    font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 700;
    line-height: 1.12; letter-spacing: -1.5px; max-width: 720px;
}
.hero h1 em, .page-header h1 em {
    font-family: var(--serif); font-style: italic; font-weight: 400;
}

.hero-sub {
    margin-top: 24px; font-size: 1.05rem; color: var(--gray-500);
    max-width: 560px; line-height: 1.7;
}

.hero-actions { display: flex; gap: 12px; margin-top: 40px; }

.hero-metrics {
    display: flex; gap: 48px; margin-top: 64px;
    padding-top: 40px; border-top: 1px solid var(--gray-200);
}
.metric strong { display: block; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.5px; }
.metric span { font-size: 0.82rem; color: var(--gray-500); }


/* ── Page header with background image ── */
.page-header.has-bg {
    position: relative; overflow: hidden;
}
.page-header.has-bg .page-bg-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 20%;
    opacity: 0.25;
    pointer-events: none;
}
/* Sol metin okunabilir, sağda görsel belirgin */
.page-header.has-bg::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(105deg,
        rgba(248,250,252,0.93) 0%,
        rgba(248,250,252,0.65) 45%,
        rgba(248,250,252,0.25) 100%);
    z-index: 1; pointer-events: none;
}
/* Alt kenar fade — watermark'ı keser */
.page-header.has-bg::after {
    content: ''; position: absolute;
    bottom: 0; left: 0; right: 0; height: 50%;
    background: linear-gradient(to top, var(--white) 5%, transparent 100%);
    z-index: 1; pointer-events: none;
}
.page-header.has-bg > .container { position: relative; z-index: 2; }

/* ── Dark page header ── */
.page-header--dark {
    background: var(--dark);
    border-bottom-color: var(--gray-800);
}
.page-header--dark .hero-eyebrow {
    background: linear-gradient(90deg, #22c55e, #4ade80);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Status page hero ── */
.status-hero-row {
    display: flex; justify-content: space-between; align-items: center;
}
.status-hero-right {
    text-align: center;
}
.status-score {
    display: flex; align-items: baseline; gap: 4px;
}
.status-score-num {
    font-size: 3.2rem; font-weight: 700;
    color: #4ade80; letter-spacing: -2px; line-height: 1;
}
.status-score-sep {
    font-size: 2.4rem; font-weight: 300;
    color: var(--gray-400); line-height: 1;
    margin: 0 2px;
}
.status-score-label {
    display: block; margin-top: 6px;
    font-size: 0.78rem; font-weight: 600;
    color: var(--gray-500); letter-spacing: 1px;
    text-transform: uppercase;
}
.status-header .hero-eyebrow {
    opacity: 0.6;
}
.status-hero-title {
    display: flex; align-items: center; gap: 14px;
    margin: 0; line-height: 1;
}
.status-dot {
    width: 14px; height: 14px;
    background: #22c55e;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 0 12px rgba(34,197,94,0.5);
    animation: statusPulse 2s ease-in-out infinite;
}
@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 12px rgba(34,197,94,0.5); }
    50% { box-shadow: 0 0 24px rgba(34,197,94,0.7); }
}
.status-letteria {
    font-family: var(--signature);
    font-weight: 400;
    font-size: 2.4rem;
    color: #4ade80;
}
.status-uptime {
    font-size: 0.85rem; font-weight: 600;
    color: var(--gray-400);
    margin-top: 14px;
    letter-spacing: 1.5px;
}

/* Status grid — dark cards */
.status-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--gray-800); border: 1px solid var(--gray-800);
    border-radius: 16px; overflow: hidden;
}
.status-card {
    background: var(--gray-950); padding: 24px;
    display: flex; flex-direction: column; gap: 8px;
    cursor: pointer;
    transition: background 0.3s var(--ease);
}
.status-card:hover { background: var(--gray-900); }
.status-card.active { background: var(--gray-900); }
.status-card-top {
    display: flex; justify-content: space-between; align-items: flex-start; gap: 8px;
}
.status-card-top h4 { font-size: 0.9rem; font-weight: 600; color: var(--white); }
.status-card p { font-size: 0.8rem; color: var(--gray-400); line-height: 1.5; flex: 1; }

.status-badge {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px; border-radius: 100px;
    flex-shrink: 0; white-space: nowrap;
}
.status-badge--ok {
    background: rgba(34,197,94,0.15); color: #4ade80;
}
.status-badge-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-card-bottom {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-top: auto; padding-top: 8px;
}
.status-card-uptime {
    font-size: 1.3rem; font-weight: 700;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent-light), var(--warm));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.status-card-nodes {
    font-size: 0.72rem; font-weight: 600;
    color: var(--gray-500);
    background: var(--gray-900);
    padding: 3px 10px; border-radius: 100px;
}

/* SLA row */
.sla-row { cursor: help; }

/* Floating tooltip (JS-positioned) */
.sla-tooltip {
    position: fixed;
    max-width: 360px;
    padding: 10px 14px;
    background: var(--gray-800);
    color: var(--gray-200);
    font-size: 0.75rem; font-weight: 400;
    line-height: 1.5;
    border-radius: 10px;
    border: 1px solid var(--gray-700);
    box-shadow: 0 12px 32px -4px rgba(0,0,0,0.4);
    pointer-events: none;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.2s, transform 0.2s;
    z-index: 100;
}
.sla-tooltip.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Status page section divider */
.status-divider { background: var(--dark); }
.status-divider-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gray-700), var(--accent-subtle), var(--gray-700), transparent);
}

/* Machines detail table inside detail panel */
.status-machines {
    margin-top: 24px; padding-top: 20px;
    border-top: 1px solid var(--gray-800);
}
.status-machines-title {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--gray-500); margin-bottom: 14px;
}
.status-machines-table {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px;
}
.status-machine {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 14px;
    background: var(--gray-900);
    border-radius: 10px;
    border: 1px solid var(--gray-800);
    transition: border-color 0.2s;
}
.status-machine:hover { border-color: var(--gray-700); }
.status-machine-dot {
    width: 8px; height: 8px; border-radius: 50%;
    flex-shrink: 0;
}
.status-machine-dot--ok { background: #22c55e; box-shadow: 0 0 6px rgba(34,197,94,0.4); }
.status-machine-dot--warn { background: #f59e0b; box-shadow: 0 0 6px rgba(245,158,11,0.4); }
.status-machine-dot--down { background: #ef4444; box-shadow: 0 0 6px rgba(239,68,68,0.4); }
.status-machine-info { flex: 1; min-width: 0; }
.status-machine-name {
    font-size: 0.78rem; font-weight: 600; color: var(--white);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.status-machine-loc {
    font-size: 0.68rem; color: var(--gray-500);
}
.status-machine-uptime {
    font-size: 0.78rem; font-weight: 700; color: #4ade80;
    flex-shrink: 0;
}

/* Status detail panel — opens below grid on click */
.status-detail {
    margin-top: 20px;
    background: var(--gray-950);
    border: 1px solid var(--gray-800);
    border-radius: 16px;
    padding: 32px;
    display: none;
    animation: statusDetailIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.status-detail.open { display: block; }
@keyframes statusDetailIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}
.status-detail-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-800);
}
.status-detail-header h3 { font-size: 1.1rem; font-weight: 700; color: var(--white); }
.status-detail-close {
    background: none; border: none; cursor: pointer;
    color: var(--gray-500); padding: 4px;
    transition: color 0.2s;
}
.status-detail-close:hover { color: var(--white); }

/* 30-day bar chart */
.status-bars {
    display: flex; gap: 3px; align-items: flex-end; height: 48px;
    margin-bottom: 20px;
}
.status-bar {
    flex: 1; border-radius: 2px;
    background: #22c55e;
    min-height: 4px;
    transition: all 0.2s;
}
.status-bar:hover {
    filter: brightness(1.2);
    transform: scaleY(1.1);
    transform-origin: bottom;
}
.status-bars-label {
    display: flex; justify-content: space-between;
    font-size: 0.7rem; color: var(--gray-500);
    margin-bottom: 20px;
}

/* Detail stats row */
.status-detail-stats {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px;
}
.status-detail-stat {
    text-align: center;
}
.status-detail-stat strong {
    display: block; font-size: 1.4rem; font-weight: 700; color: var(--white);
    letter-spacing: -0.5px;
}
.status-detail-stat span {
    font-size: 0.75rem; color: var(--gray-500);
}

/* ── Hero visual (homepage) ── */
.hero-visual {
    position: absolute; inset: 0; z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.hero-visual {
    perspective: 1000px;
}
.hero-visual img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0.12;
    transform: rotateX(-3deg) scale(1.08);
    transform-origin: top center;
    mask-image: linear-gradient(to bottom, black 0%, black 30%, rgba(0,0,0,0.5) 55%, transparent 80%);
    -webkit-mask-image: linear-gradient(to bottom, black 0%, black 30%, rgba(0,0,0,0.5) 55%, transparent 80%);
    animation: heroImgRise 1.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes heroImgRise {
    from {
        transform: rotateX(-8deg) scale(1.15) translateY(40px);
        opacity: 0;
    }
    to {
        transform: rotateX(-3deg) scale(1.08) translateY(0);
        opacity: 0.12;
    }
}


/* ── Buttons ── */
.btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 13px 28px; font-family: var(--font); font-size: 0.875rem;
    font-weight: 600; border-radius: 8px; border: none; cursor: pointer;
    transition: all 0.2s var(--ease); background: var(--black); color: var(--white);
}
.btn:hover { opacity: 0.88; }
.btn--outline { background: transparent; color: var(--black); border: 1px solid var(--gray-300); }
.btn--outline:hover { border-color: var(--black); opacity: 1; }
.btn--white { background: var(--white); color: var(--black); }
.btn--white:hover { opacity: 0.9; }
.btn--block { width: 100%; }

/* ── Sections ── */
.section {
    padding: 100px 0;
    background: url('/img/services-bg.svg') no-repeat center center;
    background-size: cover;
}
.section--dark {
    background: var(--dark) url('/img/dark-section-bg.svg') no-repeat center center;
    background-size: cover;
    color: var(--white);
    position: relative; overflow: hidden;
}
.section--dark::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(79,70,229,0.06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(245,158,11,0.03) 0%, transparent 50%),
        radial-gradient(circle at 1px 1px, var(--gray-800) 0.5px, transparent 0.5px);
    background-size: 100% 100%, 100% 100%, 28px 28px;
}
.section--dark > * { position: relative; z-index: 1; }
.section--dark .section-label { color: var(--gray-400); }
.section--dark .section-title { color: var(--white); }

.section-label {
    font-size: 0.78rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--accent); margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 700;
    line-height: 1.2; letter-spacing: -0.75px; margin-bottom: 56px;
}

.divider { border: none; border-top: 1px solid var(--gray-200); margin: 0 auto; max-width: 1140px; }

/* ── Home Services Grid ── */
.home-services {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
    background: var(--gray-200); border: 1px solid var(--gray-200); border-radius: 12px; overflow: hidden;
}

.home-svc {
    background: var(--white); padding: 36px 32px;
    display: flex; flex-direction: column; gap: 8px;
    transition: background 0.2s;
    position: relative;
}
.home-svc:hover { background: var(--gray-100); }

/* Service card background images */
.home-svc.has-svc-bg { overflow: hidden; }
.svc-bg-img {
    position: absolute; inset: -20px;
    width: calc(100% + 40px); height: calc(100% + 40px);
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s var(--ease);
    pointer-events: none;
    z-index: 0;
}
.home-svc.has-svc-bg::after {
    content: ''; position: absolute; inset: 0;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(0);
    z-index: 1;
    transition: all 0.5s var(--ease);
    pointer-events: none;
}
.home-svc.has-svc-bg:hover .svc-bg-img {
    opacity: 1;
}
.home-svc.has-svc-bg:hover::after {
    background: linear-gradient(to top,
        rgba(10,15,26,0.85) 0%,
        rgba(10,15,26,0.6) 50%,
        rgba(10,15,26,0.3) 100%);
    backdrop-filter: blur(2px);
}
.home-svc.has-svc-bg .home-svc-num,
.home-svc.has-svc-bg h3,
.home-svc.has-svc-bg p,
.home-svc.has-svc-bg .home-svc-arrow {
    position: relative; z-index: 2;
    transition: color 0.4s var(--ease);
}
.home-svc.has-svc-bg:hover .home-svc-num { color: var(--accent-light); }
.home-svc.has-svc-bg:hover h3 { color: #fff; }
.home-svc.has-svc-bg:hover p { color: rgba(255,255,255,0.75); }
.home-svc.has-svc-bg:hover .home-svc-arrow { color: var(--accent-light); }
.home-svc-num { font-size: 0.75rem; font-weight: 600; color: var(--gray-400); }
.home-svc h3 { font-size: 1.05rem; font-weight: 600; letter-spacing: -0.2px; }
.home-svc p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.6; flex: 1; }
.home-svc-arrow {
    font-size: 1.1rem; color: var(--gray-400); transition: all 0.2s;
    align-self: flex-end;
}
.home-svc:hover .home-svc-arrow { color: var(--black); transform: translateX(4px); }

.home-svc--game {
    background: linear-gradient(135deg, #0f2318, #162a1c);
    border: 1px solid rgba(81,199,82,0.15);
    color: #d1fae5;
}
.home-svc--game:hover { background: linear-gradient(135deg, #14301e, #1c3624); border-color: rgba(81,199,82,0.3); }
.home-svc--game h3 { color: #4ade80; }
.home-svc--game p { color: #86efac; }
.home-svc--game .home-svc-num { color: #4ade80; }
.home-svc--game .home-svc-arrow { color: #4ade80; }

/* ── Service Detail ── */
.svc-detail {
    display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start;
}

.svc-detail-header h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
    line-height: 1.25; letter-spacing: -0.5px; margin-top: 8px;
}

.svc-detail-body p {
    color: var(--gray-500); font-size: 0.95rem; line-height: 1.75; margin-bottom: 16px;
}

.svc-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 28px; }
.svc-detail-tags span {
    font-size: 0.75rem; font-weight: 500; padding: 5px 14px;
    border-radius: 100px; background: var(--accent-subtle); color: var(--accent);
}

/* Tech logo tags */
.tech-tags {
    display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 28px;
}
.tech-tag {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 16px 8px 10px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-size: 0.78rem; font-weight: 600; color: var(--gray-700);
    transition: all 0.25s var(--ease);
}
.tech-tag:hover {
    border-color: var(--accent);
    background: var(--accent-subtle);
    color: var(--accent);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -4px rgba(79,70,229,0.15);
}
.tech-tag svg, .tech-tag img {
    width: 20px; height: 20px; flex-shrink: 0;
}

/* ── Why / Infra Grid ── */
.why-grid, .infra-grid {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
    background: var(--gray-800); border: 1px solid var(--gray-800);
    border-radius: 12px; overflow: hidden;
}

.infra-grid { grid-template-columns: repeat(3, 1fr); }

.why-card, .infra-card { background: var(--gray-950); padding: 36px 28px; transition: background 0.3s; }
.why-card:hover, .infra-card:hover { background: var(--gray-900); }
.why-num, .infra-stat {
    font-size: 1.6rem; font-weight: 700; letter-spacing: -0.5px;
    background: linear-gradient(135deg, var(--accent-light), var(--warm));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--accent); margin-bottom: 8px;
}
.why-card h4, .infra-card h4 { font-size: 0.95rem; font-weight: 600; margin-bottom: 8px; color: var(--white); }
.why-card p, .infra-card p { font-size: 0.85rem; color: var(--gray-400); line-height: 1.6; }

/* ── Pricing ── */
.pricing {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 20px; align-items: start;
}

.plan {
    background: var(--gray-950); border: 1px solid var(--gray-800);
    border-radius: 12px; padding: 36px;
}
.plan--featured {
    border-color: var(--accent);
    background: linear-gradient(180deg, rgba(37,99,235,0.06), var(--gray-950) 50%);
}

.plan-header h3 { font-size: 1.1rem; font-weight: 600; }
.plan-header p { font-size: 0.82rem; color: var(--gray-400); margin-top: 2px; }

.plan-price { margin: 24px 0; display: flex; align-items: baseline; gap: 2px; }
.plan-amount { font-size: 2.5rem; font-weight: 700; letter-spacing: -1px; }
.plan-period { font-size: 0.9rem; color: var(--gray-400); }

.plan ul { display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.plan li {
    font-size: 0.875rem; color: var(--gray-300); padding-left: 20px; position: relative;
}
.plan li::before {
    content: '✓'; position: absolute; left: 0;
    color: var(--accent); font-weight: 700; font-size: 0.75rem;
}

.plan .btn { background: var(--white); color: var(--black); }
.plan .btn:hover { opacity: 0.9; }
.plan .btn--outline { background: transparent; color: var(--white); border-color: var(--gray-700); }
.plan .btn--outline:hover { border-color: var(--white); }
.plan--featured .btn { background: var(--accent); color: #fff; }
.plan--featured .btn:hover { background: var(--accent-hover); opacity: 1; }

/* ── VPS Table ── */
.vps-table-wrap { overflow-x: auto; }
.vps-table {
    width: 100%; border-collapse: collapse; font-size: 0.9rem;
}
.vps-table th {
    text-align: left; padding: 12px 16px; font-size: 0.75rem;
    text-transform: uppercase; letter-spacing: 1px; color: var(--gray-400);
    border-bottom: 2px solid var(--gray-200); font-weight: 600;
}
.vps-table td {
    padding: 16px; border-bottom: 1px solid var(--gray-100); color: var(--gray-700);
}
.vps-table td strong { color: var(--black); }
.vps-table tr:hover td { background: var(--gray-100); }

/* Dark table variant */
.section--dark .vps-table th {
    color: var(--gray-400);
    border-bottom-color: var(--gray-700);
}
.section--dark .vps-table td {
    color: var(--gray-300);
    border-bottom-color: var(--gray-800);
}
.section--dark .vps-table td strong { color: var(--white); }
.section--dark .vps-table tr:hover td { background: var(--gray-900); }

.table-btn {
    font-size: 0.8rem; font-weight: 600; color: var(--accent);
    padding: 6px 16px; border: 1px solid var(--accent-subtle);
    border-radius: 6px; transition: all 0.2s;
}
.table-btn:hover { background: var(--accent-subtle); }

.table-note {
    margin-top: 20px; font-size: 0.85rem; color: var(--gray-500);
}
.table-note a { color: var(--accent); font-weight: 500; }

/* ── CTA Box ── */
.cta-box { text-align: center; max-width: 600px; }
.cta-box h2 {
    font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700;
    letter-spacing: -0.5px; line-height: 1.3;
}
.cta-box p { color: var(--gray-500); margin: 16px 0 32px; font-size: 1rem; }
.section--dark .cta-box p { color: var(--gray-400); }

/* ── Contact Page ── */
.contact-layout {
    display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start;
}

.contact-form-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 24px -8px rgba(0,0,0,0.06);
}
.contact-form-header h2 { font-size: 1.4rem; font-weight: 700; letter-spacing: -0.5px; }
.contact-form-header p { font-size: 0.88rem; color: var(--gray-500); margin-top: 4px; margin-bottom: 28px; }

/* ── Modern Form (cform) ── */
.cform { display: flex; flex-direction: column; gap: 20px; }
.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform-group { display: flex; flex-direction: column; gap: 6px; }
.cform-label {
    font-size: 0.78rem; font-weight: 600; color: var(--gray-500);
}
.cform-req { color: var(--accent); }

/* Input with icon */
.cform-input-wrap {
    position: relative; display: flex; align-items: center;
}
.cform-icon {
    position: absolute; left: 14px;
    color: var(--gray-400); pointer-events: none;
    transition: color 0.25s;
}
.cform-input {
    width: 100%; padding: 12px 14px 12px 42px;
    background: var(--gray-100);
    border: 1.5px solid transparent; border-radius: 12px;
    font-family: var(--font); font-size: 0.88rem; color: var(--black);
    outline: none;
    transition: all 0.25s var(--ease);
}
.cform-input::placeholder { color: var(--gray-400); }
.cform-input:hover { border-color: var(--gray-300); background: var(--white); }
.cform-input:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-subtle);
}
.cform-input:focus ~ .cform-icon,
.cform-input-wrap:focus-within .cform-icon { color: var(--accent); }

/* Select with icon — Tailwind-like */
.cform-select-wrap {
    position: relative; display: flex; align-items: center;
}
.cform-select {
    width: 100%; padding: 12px 40px 12px 42px;
    background: var(--gray-100);
    border: 1.5px solid transparent; border-radius: 12px;
    font-family: var(--font); font-size: 0.88rem; color: var(--black);
    outline: none; cursor: pointer;
    appearance: none; -webkit-appearance: none;
    transition: all 0.25s var(--ease);
}
.cform-select:hover { border-color: var(--gray-300); background: var(--white); }
.cform-select:focus {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-subtle);
}
.cform-select:focus ~ .cform-icon { color: var(--accent); }
.cform-select:invalid { color: var(--gray-400); }
.cform-select option {
    color: var(--black);
    padding: 10px 14px;
    font-size: 0.88rem;
    background: var(--white);
}
.cform-select option:checked {
    background: var(--accent-subtle);
    color: var(--accent);
}
.cform-select optgroup {
    font-weight: 700; color: var(--gray-500);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 0 4px;
}

/* Custom dropdown — replaces native select visually */
.cform-dropdown-wrap {
    position: relative;
}
.cform-dropdown-trigger {
    width: 100%; padding: 12px 40px 12px 42px;
    background: var(--gray-100);
    border: 1.5px solid transparent; border-radius: 12px;
    font-family: var(--font); font-size: 0.88rem; color: var(--black);
    outline: none; cursor: pointer;
    text-align: left;
    transition: all 0.25s var(--ease);
    display: flex; align-items: center;
}
.cform-dropdown-trigger.placeholder { color: var(--gray-400); }
.cform-dropdown-trigger:hover { border-color: var(--gray-300); background: var(--white); }
.cform-dropdown-wrap.open .cform-dropdown-trigger {
    border-color: var(--accent);
    background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-subtle);
    border-radius: 12px 12px 0 0;
}
.cform-dropdown-wrap.open .cform-icon { color: var(--accent); }
.cform-dropdown-wrap.open .cform-select-chevron {
    transform: rotate(180deg); color: var(--accent);
}

.cform-dropdown-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white);
    border: 1.5px solid var(--accent);
    border-top: none;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 12px 32px -8px rgba(0,0,0,0.12);
    max-height: 280px; overflow-y: auto;
    z-index: 50;
    opacity: 0; transform: translateY(-4px);
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
}
.cform-dropdown-wrap.open .cform-dropdown-menu {
    opacity: 1; transform: translateY(0);
    pointer-events: all;
}

.cform-dropdown-menu::-webkit-scrollbar { width: 6px; }
.cform-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.cform-dropdown-menu::-webkit-scrollbar-thumb { background: var(--gray-300); border-radius: 3px; }

.cform-dropdown-group {
    font-size: 0.68rem; font-weight: 700; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: 1px;
    padding: 10px 16px 4px;
}
.cform-dropdown-item {
    padding: 10px 16px;
    font-size: 0.86rem; color: var(--gray-700);
    cursor: pointer;
    transition: all 0.15s;
    display: flex; align-items: center; gap: 8px;
}
.cform-dropdown-item:hover {
    background: var(--accent-subtle);
    color: var(--accent);
}
.cform-dropdown-item.selected {
    background: var(--accent-subtle);
    color: var(--accent); font-weight: 600;
}
.cform-dropdown-item:last-child { border-radius: 0 0 10px 10px; }

.cform-select-chevron {
    position: absolute; right: 14px;
    color: var(--gray-400); pointer-events: none;
    transition: transform 0.25s, color 0.25s;
}
.cform-select:focus ~ .cform-select-chevron {
    transform: rotate(180deg); color: var(--accent);
}

/* Chip selector */
.cform-chips {
    display: flex; flex-wrap: wrap; gap: 8px;
}
.cform-chip {
    padding: 8px 18px;
    background: var(--gray-100);
    border: 1.5px solid transparent; border-radius: 100px;
    font-family: var(--font); font-size: 0.8rem; font-weight: 500;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.25s var(--ease);
}
.cform-chip:hover {
    border-color: var(--gray-300); background: var(--white); color: var(--black);
}
.cform-chip.active {
    border-color: var(--accent); background: var(--accent-subtle);
    color: var(--accent); font-weight: 600;
}

/* Textarea */
.cform-textarea-wrap { position: relative; }
.cform-textarea {
    width: 100%; padding: 14px 16px;
    background: var(--gray-100);
    border: 1.5px solid transparent; border-radius: 12px;
    font-family: var(--font); font-size: 0.88rem; color: var(--black);
    outline: none; resize: vertical; min-height: 130px;
    transition: all 0.25s var(--ease);
}
.cform-textarea::placeholder { color: var(--gray-400); }
.cform-textarea:hover { border-color: var(--gray-300); background: var(--white); }
.cform-textarea:focus {
    border-color: var(--accent); background: var(--white);
    box-shadow: 0 0 0 4px var(--accent-subtle);
}
.cform-char-count {
    position: absolute; bottom: 10px; right: 14px;
    font-size: 0.7rem; color: var(--gray-400);
}

/* Submit */
.cform-submit {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 14px 32px; margin-top: 4px;
    font-size: 0.92rem;
}
.cform-submit svg { transition: transform 0.3s var(--ease); }
.cform-submit:hover svg { transform: translateX(4px); }

.cform-privacy {
    font-size: 0.75rem; color: var(--gray-400); text-align: center; margin-top: -4px;
}
.cform-privacy a { color: var(--accent); font-weight: 500; }

/* ── Contact Info Side ── */
.contact-info-side {
    display: flex; flex-direction: column; gap: 16px;
    position: sticky; top: 88px;
}

.contact-info-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 16px;
    padding: 28px;
}
.contact-info-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.contact-info-sub { font-size: 0.82rem; color: var(--gray-500); margin-bottom: 20px; }

.contact-info-items { display: flex; flex-direction: column; gap: 4px; }
.ci-item {
    display: flex; align-items: center; gap: 14px;
    padding: 12px 14px; border-radius: 12px;
    text-decoration: none; color: var(--black);
    transition: all 0.25s var(--ease);
}
.ci-item:hover { background: var(--gray-100); transform: translateX(4px); }
.ci-icon {
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--gray-100); border-radius: 10px;
    color: var(--accent); flex-shrink: 0;
    transition: all 0.3s var(--ease);
}
.ci-icon--discord { color: #5865F2; }
.ci-item:hover .ci-icon {
    background: var(--accent); color: #fff;
    transform: scale(1.05) rotate(-3deg);
}
.ci-item:hover .ci-icon--discord { background: #5865F2; }
.ci-label { font-size: 0.7rem; font-weight: 600; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.5px; }
.ci-value { font-size: 0.88rem; font-weight: 500; }

/* Dark card */
.contact-info-card--dark {
    background: var(--dark); border-color: var(--gray-800); color: var(--white);
}
.contact-info-card--dark h3 { color: var(--white); }
.contact-hours { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.ch-row {
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.82rem; color: var(--gray-400);
}
.ch-badge {
    font-size: 0.72rem; font-weight: 600;
    padding: 3px 10px; border-radius: 100px;
    background: var(--gray-800); color: var(--gray-400);
}
.ch-badge--open { background: rgba(16,185,129,0.15); color: #34d399; }
.ch-badge--closed { background: rgba(239,68,68,0.15); color: #f87171; }

/* Accent stat card */
.contact-info-card--accent {
    background: linear-gradient(135deg, var(--accent), var(--accent-hover));
    border: none; color: #fff;
    display: flex; flex-direction: column; align-items: center;
    text-align: center; padding: 24px;
}
.contact-info-card--accent strong {
    font-size: 2rem; font-weight: 700; letter-spacing: -1px; line-height: 1;
}
.contact-info-card--accent span {
    font-size: 0.82rem; opacity: 0.85; margin-top: 4px;
}

/* ── Blog ── */

.blog-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}

.blog-card {
    background: var(--white); border: 1px solid var(--gray-200);
    border-radius: 16px; overflow: hidden;
    text-decoration: none; color: var(--black);
    transition: all 0.35s var(--ease);
    display: flex; flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px -12px rgba(0,0,0,0.1);
    border-color: var(--accent);
}

.blog-card-img {
    position: relative; aspect-ratio: 16/9; overflow: hidden;
    background: var(--gray-100);
}
.blog-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.blog-card:hover .blog-card-img img { transform: scale(1.05); }

.blog-card-tag {
    position: absolute; top: 12px; left: 12px;
    font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px; border-radius: 100px;
    background: var(--white); color: var(--gray-600);
}

.blog-card-body {
    padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.blog-card-body h3 { font-size: 0.95rem; font-weight: 700; letter-spacing: -0.2px; line-height: 1.4; }
.blog-card-body p { font-size: 0.82rem; color: var(--gray-500); line-height: 1.5; flex: 1; }
.blog-card-meta {
    display: flex; gap: 12px; margin-top: auto; padding-top: 8px;
    font-size: 0.72rem; font-weight: 600; color: var(--gray-400);
    text-transform: uppercase; letter-spacing: 0.5px;
}

/* Blog post page */
.blog-breadcrumb {
    font-size: 0.8rem; color: var(--gray-400); margin-bottom: 16px;
}
.blog-breadcrumb a { color: var(--accent); }
.blog-post-meta {
    display: flex; gap: 16px; margin-top: 16px;
    font-size: 0.78rem; font-weight: 600; color: var(--gray-400);
}

.blog-content { max-width: 780px; }
.blog-content h2 {
    font-size: 1.3rem; font-weight: 700; margin-top: 40px; margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.blog-content h3 {
    font-size: 1.05rem; font-weight: 700; margin-top: 32px; margin-bottom: 8px;
}
.blog-content p { margin-bottom: 12px; }
.blog-content pre {
    background: var(--dark); color: #e2e8f0;
    padding: 20px 24px; border-radius: 12px;
    font-size: 0.82rem; line-height: 1.7;
    overflow-x: auto; margin: 16px 0;
    border: 1px solid var(--gray-800);
}
.blog-content code {
    font-family: 'DM Mono', 'SF Mono', 'Fira Code', monospace;
    font-size: 0.84rem;
}
.blog-content p code {
    background: var(--gray-100); padding: 2px 8px;
    border-radius: 6px; font-size: 0.82rem;
    color: var(--accent);
}

.blog-cta-box {
    margin-top: 40px; padding: 24px;
    background: var(--accent-subtle);
    border-radius: 14px;
    border: 1px solid rgba(79,70,229,0.15);
}
.blog-cta-box strong { color: var(--accent); }
.blog-cta-box p { margin-top: 4px; color: var(--gray-600); }
.blog-cta-box a { color: var(--accent); font-weight: 600; }

/* ── FAQ Accordion ── */
.faq-list {
    max-width: 780px; display: flex; flex-direction: column;
}
.faq-item {
    border-bottom: 1px solid var(--gray-200);
}
.faq-question {
    width: 100%; display: flex; justify-content: space-between; align-items: center;
    gap: 16px; padding: 20px 0;
    background: none; border: none; cursor: pointer;
    font-family: var(--font); font-size: 0.95rem; font-weight: 600;
    color: var(--black); text-align: left;
    transition: color 0.2s;
}
.faq-question:hover { color: var(--accent); }
.faq-chevron {
    flex-shrink: 0; color: var(--gray-400);
    transition: transform 0.3s var(--ease), color 0.2s;
}
.faq-item.open .faq-chevron {
    transform: rotate(180deg); color: var(--accent);
}
.faq-answer {
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s var(--ease), padding 0.35s;
}
.faq-item.open .faq-answer {
    max-height: 300px; padding-bottom: 20px;
}
.faq-answer p {
    font-size: 0.88rem; color: var(--gray-500); line-height: 1.7;
}

/* Dark section FAQ */
.section--dark .faq-item { border-bottom-color: var(--gray-800); }
.section--dark .faq-question { color: var(--white); }
.section--dark .faq-answer p { color: var(--gray-400); }

/* ── Footer ── */
.footer {
    background: var(--dark); color: var(--gray-300); padding: 72px 0 32px;
    position: relative;
    border-top: 1px solid var(--gray-800);
}
.footer::before {
    content: ''; position: absolute; top: -1px; left: 10%; right: 10%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(79,70,229,0.2), rgba(245,158,11,0.1), transparent);
    pointer-events: none;
}
.footer-top {
    display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr; gap: 40px;
    padding-bottom: 48px; border-bottom: 1px solid var(--gray-800);
}
.footer .logo { color: var(--white); font-size: 1.2rem; }
.footer-col--brand p { margin-top: 14px; font-size: 0.84rem; color: var(--gray-500); max-width: 300px; line-height: 1.65; }
.footer-col h4 {
    font-size: 0.72rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 1.5px; color: var(--gray-400); margin-bottom: 18px;
}
.footer-col a {
    display: block; font-size: 0.84rem; color: var(--gray-500);
    padding: 4px 0; transition: color 0.2s, transform 0.2s;
}
.footer-col a:hover { color: var(--white); transform: translateX(3px); }

.footer-social {
    display: flex; gap: 12px; margin-top: 20px;
}
.footer-social a {
    width: 36px; height: 36px;
    display: flex !important; align-items: center; justify-content: center;
    background: var(--gray-800); border-radius: 10px;
    color: var(--gray-400); transition: all 0.25s;
    padding: 0 !important;
}
.footer-social a svg {
    flex-shrink: 0;
}
.footer-social a:hover {
    background: var(--accent); color: #fff;
    transform: translateY(-2px);
}

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 24px; font-size: 0.78rem; color: var(--gray-500);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: var(--gray-500); transition: color 0.2s; }
.footer-bottom-links a:hover { color: var(--white); }

/* ── Animations ── */

/* Scroll progress bar */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warm));
    z-index: 9999; transition: width 0.1s linear; pointer-events: none;
}

/* Cursor glow */
.cursor-glow {
    position: fixed; width: 300px; height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%; pointer-events: none; z-index: 0;
    transform: translate(-50%, -50%); opacity: 0.5;
    transition: opacity 0.3s;
    display: none;
}
@media (min-width: 769px) { .cursor-glow { display: block; } }

/* Nav scroll effects */
.nav { transition: all 0.4s var(--ease); }
.nav--scrolled {
    background: rgba(248,250,252,0.95);
    box-shadow: 0 1px 20px rgba(0,0,0,0.06);
}
.nav--hidden { transform: translateY(-100%); }

/* Hide mobile menu on desktop */
@media (min-width: 769px) {
    .mobile-menu { display: none !important; }
}
/* Hide mega dropdowns on mobile */
@media (max-width: 768px) {
    .mega-dropdown { display: none !important; }
}

/* Reveal with stagger */
.reveal {
    opacity: 0; transform: translateY(28px);
    transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible { opacity: 1; transform: none; }

/* Text reveal */
.reveal-text {
    opacity: 0; transform: translateY(12px);
    transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.reveal-text.revealed { opacity: 1; transform: none; }

/* Button spinner */
.btn-spinner {
    display: inline-block; width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.3); border-top-color: #fff;
    border-radius: 50%; animation: spin 0.6s linear infinite;
    vertical-align: middle; margin-right: 6px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.btn--success { background: #10b981 !important; border-color: #10b981 !important; }

/* Hero title entrance */
.hero h1 {
    animation: heroSlideUp 0.9s var(--ease) 0.1s both;
}
.hero h1 em {
    display: inline-block;
    animation: heroEmphasis 1.2s var(--ease) 0.6s both;
}
@keyframes heroSlideUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes heroEmphasis {
    from { opacity: 0; transform: translateX(-20px) rotate(-2deg); }
    to { opacity: 1; transform: translateX(0) rotate(0); }
}

/* Hero badge pulse */
.hero-badge {
    animation: fadeInDown 0.7s var(--ease) 0.3s both;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Hero metrics stagger */
.hero-metrics .metric {
    animation: fadeInUp 0.6s var(--ease) both;
}
.hero-metrics .metric:nth-child(1) { animation-delay: 0.8s; }
.hero-metrics .metric:nth-child(2) { animation-delay: 0.95s; }
.hero-metrics .metric:nth-child(3) { animation-delay: 1.1s; }
.hero-metrics .metric:nth-child(4) { animation-delay: 1.25s; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Home service card hover effects */
.home-svc {
    transition: all 0.35s var(--ease);
    position: relative; overflow: hidden;
}
.home-svc::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light), var(--warm));
    transform: scaleX(0); transform-origin: left;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
/* Alt sıra (4-5-6): sağdan sola dolsun */
.home-svc:nth-child(n+4)::before {
    transform-origin: right;
    background: linear-gradient(270deg, var(--accent), var(--accent-light), var(--warm));
}
.home-svc:hover::before { transform: scaleX(1); }

/* Why card glow on hover */
.why-card, .infra-card {
    transition: all 0.35s var(--ease);
    position: relative;
}
.why-card::after, .infra-card::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle at 50% 0%, var(--accent-glow) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.4s; pointer-events: none;
    border-radius: inherit;
}
.why-card:hover::after, .infra-card:hover::after { opacity: 1; }


/* Button hover ripple */
.btn {
    position: relative; overflow: hidden;
}
.btn::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s var(--ease);
}
.btn:hover::after { transform: translateX(100%); }

/* Footer links hover slide */
.footer-col a {
    position: relative; display: inline-block;
    transition: transform 0.25s var(--ease), color 0.25s;
}
.footer-col a:hover { transform: translateX(4px); }

/* Section divider animation */
.section--dark::after {
    content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-glow), var(--warm-subtle), transparent);
    pointer-events: none;
    animation: shimmer 4s ease-in-out infinite;
}
@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* VPS table row hover */
.vps-table tr { transition: all 0.2s; }
.vps-table tr:hover td { background: var(--gray-100); }
.table-btn { transition: all 0.25s var(--ease); }
.table-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px var(--accent-subtle); }

/* Smooth page transition feel */
body { animation: pageIn 0.5s var(--ease); }
@keyframes pageIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .hero-metrics { gap: 32px; }
    .home-services { grid-template-columns: repeat(2, 1fr); }
    .why-grid { grid-template-columns: repeat(2, 1fr); }
    .infra-grid { grid-template-columns: repeat(2, 1fr); }
    .svc-detail { grid-template-columns: 1fr; gap: 24px; }
    .mega-grid--4 { grid-template-columns: repeat(2, 1fr); }
    .mega-hosting-layout { grid-template-columns: 1fr; }
    .mega-hosting-side { display: none; }
}

@media (max-width: 768px) {
    .burger { display: block; }
    .nav-links { display: none !important; }
    .mobile-menu { display: block; }
    .dropdown { display: none !important; }

    .hero { padding: 120px 0 60px; }
    .page-header { padding: 110px 0 40px; }
    .hero h1, .page-header h1 { font-size: 2rem; }
    .hero-metrics { flex-wrap: wrap; gap: 24px 40px; }
    .section { padding: 72px 0; }
    .home-services { grid-template-columns: 1fr; }
    .why-grid, .infra-grid { grid-template-columns: 1fr; }
    .status-grid { grid-template-columns: repeat(2, 1fr); }
    .status-hero-row { flex-direction: column; gap: 24px; align-items: flex-start; }
    .pricing { grid-template-columns: 1fr; max-width: 420px; }
    .contact-layout { grid-template-columns: 1fr; gap: 32px; }
    .contact-info-side { position: static; }
    .contact-form-card { padding: 24px; }
    .cform-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero h1, .page-header h1 { font-size: 1.75rem; }
    .footer-top { grid-template-columns: 1fr; }
}
