/* ═══════════════════════════════════════════
   CALVENIS - Corporate Website Styles
   ═══════════════════════════════════════════ */

:root {
    --midnight: #0A1628;
    --navy: #1E3A5F;
    --royal: #1E40AF;
    --signal: #3B82F6;
    --signal-light: #60A5FA;
    --ice: #F8FAFC;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --white: #FFFFFF;
    --font: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --shadow: 0 1px 3px rgba(0,0,0,0.06), 0 6px 16px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 12px 32px rgba(0,0,0,0.08);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    /* Fluid scale tokens */
    --pad-container: clamp(16px, 4vw, 24px);
    --pad-section: clamp(56px, 9vw, 100px);
    --gap-grid: clamp(20px, 4vw, 32px);
    --gap-grid-lg: clamp(28px, 5vw, 48px);
    --nav-height: 72px;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--font); color: var(--gray-700); line-height: 1.7; background: var(--white); overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font-family: inherit; font-size: inherit; }

/* ── Container ── */
.container { max-width: 1140px; margin: 0 auto; padding: 0 var(--pad-container); }

/* ── Scroll Progress Bar ── */
.scroll-progress {
    position: fixed;
    top: 0; left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--signal), var(--signal-light));
    z-index: 1100;
    transition: width 0.05s linear;
    box-shadow: 0 0 12px rgba(59,130,246,0.5);
}

/* ── Back to Top ── */
.back-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: none;
    background: var(--signal);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(59,130,246,0.35);
    opacity: 0;
    transform: translateY(12px) scale(0.8);
    pointer-events: none;
    transition: var(--transition);
    z-index: 900;
}
.back-top.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.back-top:hover { background: var(--royal); transform: translateY(-4px) scale(1.05); }
.back-top svg { width: 22px; height: 22px; }

/* ── Sections ── */
.section { padding: var(--pad-section) 0; }
.section-alt { background: var(--gray-50); }
.section-dark { background: var(--midnight); }

.section-header { margin-bottom: clamp(32px, 6vw, 56px); }
.section-header.center { text-align: center; }
.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--signal);
    margin-bottom: 12px;
}
.section-tag.light { color: var(--signal-light); }
.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--midnight);
    line-height: 1.2;
}
.section-title.light { color: var(--white); }
.section-desc {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 540px;
    margin: 12px auto 0;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}
.btn-primary {
    background: var(--signal);
    color: var(--white);
    border-color: var(--signal);
}
.btn-primary:hover {
    background: var(--royal);
    border-color: var(--royal);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(59,130,246,0.35);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}
.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.1);
}
.btn-full { width: 100%; justify-content: center; }

/* ═══════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: clamp(12px, 2vw, 20px) 0;
    transition: var(--transition);
}
.navbar.scrolled {
    background: rgba(10, 22, 40, 0.98);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: clamp(8px, 1.5vw, 12px) 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}
.nav-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 var(--pad-container);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
}
.nav-logo-icon { width: 36px; height: 36px; }
.nav-logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 4px;
}
.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 8px;
}
.nav-menu a {
    color: rgba(255,255,255,0.7);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 100px;
    transition: var(--transition);
}
.nav-menu a:hover { color: var(--white); background: rgba(255,255,255,0.1); }
.nav-menu a.active:not(.nav-cta) {
    color: var(--white);
    background: rgba(59,130,246,0.15);
}
.nav-cta {
    background: var(--signal) !important;
    color: var(--white) !important;
}
.nav-cta:hover { background: var(--royal) !important; box-shadow: 0 4px 16px rgba(59,130,246,0.4); }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(88px, 12vw, 112px) 0 clamp(56px, 8vw, 80px);
    background: linear-gradient(135deg, #0A1628 0%, #1E3A5F 50%, #0A1628 100%);
    overflow: hidden;
}
#particleCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    opacity: 0.4;
}
.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 var(--pad-container);
    max-width: 100%;
}
.hero-logo { margin-bottom: clamp(16px, 4vw, 32px); }
.hero-logo-svg { width: clamp(96px, 16vw, 160px); height: clamp(96px, 16vw, 160px); }

/* Signal wave pulse animation */
.wave { animation: pulse 2.5s ease-in-out infinite; }
.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 0.3s; }
.wave-3 { animation-delay: 0.6s; }
@keyframes pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 1; }
}

.hero-title { margin-bottom: 20px; overflow-wrap: anywhere; word-break: break-word; }
.hero-title-main {
    display: block;
    font-size: clamp(2.2rem, 9vw, 5rem);
    font-weight: 900;
    letter-spacing: clamp(2px, 2vw, 16px);
    color: var(--white);
    line-height: 1.1;
}
.hero-title-sub {
    display: block;
    font-size: clamp(0.72rem, 2vw, 1.15rem);
    font-weight: 400;
    letter-spacing: clamp(2px, 1.2vw, 8px);
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-top: 8px;
}
.hero-desc {
    font-size: clamp(0.95rem, 2vw, 1.2rem);
    color: rgba(255,255,255,0.6);
    max-width: 620px;
    margin: 0 auto clamp(24px, 5vw, 36px);
    line-height: 1.7;
}
.hero-rotator {
    display: inline-block;
    color: var(--signal-light);
    font-weight: 600;
    border-bottom: 2px solid rgba(96,165,250,0.35);
    padding: 0 4px;
    min-width: 280px;
    text-align: center;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
@media (max-width: 760px) {
    .hero-rotator { min-width: 0; display: inline; }
}
.hero-rotator.fading { opacity: 0; transform: translateY(-4px); }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}
.scroll-indicator {
    width: 24px; height: 40px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 12px;
    margin: 8px auto 0;
    position: relative;
}
.scroll-indicator::after {
    content: '';
    width: 4px; height: 8px;
    background: rgba(255,255,255,0.4);
    border-radius: 2px;
    position: absolute;
    top: 6px; left: 50%; transform: translateX(-50%);
    animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
    0% { top: 6px; opacity: 1; }
    100% { top: 22px; opacity: 0; }
}

/* ═══════════════════════════════════════════
   STATS
   ═══════════════════════════════════════════ */
.stats {
    background: var(--midnight);
    padding: 48px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    color: var(--signal);
    line-height: 1;
}
.stat-label {
    display: block;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
    margin-top: 6px;
    font-weight: 500;
}

/* ═══════════════════════════════════════════
   TRUST BAR
   ═══════════════════════════════════════════ */
.trust-bar {
    background: var(--midnight);
    padding: 48px 0 64px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.trust-label {
    text-align: center;
    color: rgba(255,255,255,0.35);
    font-size: 0.72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 28px;
}
.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}
.trust-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: rgba(255,255,255,0.75);
    padding: 12px 20px;
    border-radius: 12px;
    transition: var(--transition);
}
.trust-item:hover {
    background: rgba(255,255,255,0.04);
    transform: translateY(-2px);
}
.trust-item svg {
    width: 32px; height: 32px;
    color: var(--signal-light);
    flex-shrink: 0;
}
.trust-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.5px;
}
.trust-item span {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    margin-top: 2px;
}
.trust-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.08);
}
@media (max-width: 768px) {
    .trust-divider { display: none; }
    .trust-logos { gap: 12px; }
}

/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-lead {
    font-size: 1.15rem;
    color: var(--gray-800);
    margin-bottom: 16px;
    line-height: 1.8;
}
.about-text p { margin-bottom: 16px; }
.about-values { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.value-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.value-item:hover { background: var(--gray-100); transform: translateX(4px); }
.value-icon {
    width: 40px; height: 40px;
    flex-shrink: 0;
    color: var(--signal);
}
.value-icon svg { width: 100%; height: 100%; }
.value-item strong { display: block; font-size: 0.95rem; color: var(--midnight); }
.value-item span { font-size: 0.85rem; color: var(--gray-500); }

.about-visual { display: flex; justify-content: center; }
.about-card {
    position: relative;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--gray-50), var(--white));
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gray-200);
    overflow: hidden;
}
.about-logo-bg {
    position: absolute;
    width: 120%; height: 120%;
    top: -10%; left: -10%;
}
.about-card-content { position: relative; text-align: center; padding: 40px; }
.about-year {
    font-size: 5rem;
    font-weight: 900;
    color: var(--midnight);
    line-height: 1;
    opacity: 0.08;
}
.about-card-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--midnight);
    margin-top: -16px;
    line-height: 1.6;
}
.about-kicker {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--signal);
    margin-bottom: 20px;
}
.about-statement {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--midnight);
    line-height: 1.25;
    letter-spacing: -0.5px;
}
.about-signature {
    margin-top: 28px;
    padding-top: 16px;
    border-top: 1px solid rgba(30,64,175,0.12);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gray-500);
}

/* ── About Stack (Vertical Integration Visual) ── */
.about-stack {
    width: 100%;
    max-width: 420px;
    background: linear-gradient(180deg, var(--midnight) 0%, #0F1F3A 100%);
    border-radius: 20px;
    padding: clamp(24px, 4vw, 36px);
    color: var(--white);
    border: 1px solid rgba(59,130,246,0.18);
    box-shadow: 0 20px 60px rgba(10,22,40,0.18);
    position: relative;
    overflow: hidden;
}
.about-stack::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 240px; height: 240px;
    background: radial-gradient(circle, rgba(59,130,246,0.18) 0%, transparent 70%);
    pointer-events: none;
}
.stack-header { margin-bottom: 28px; position: relative; }
.stack-kicker {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--signal-light);
    margin-bottom: 10px;
}
.stack-title {
    font-size: clamp(1.3rem, 3vw, 1.65rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.5px;
    color: var(--white);
}
.stack-rail {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 22px;
}
.stack-rail::before {
    content: '';
    position: absolute;
    left: 16px;
    top: 18px;
    bottom: 18px;
    width: 1.5px;
    background: linear-gradient(180deg, transparent 0%, rgba(96,165,250,0.35) 15%, rgba(96,165,250,0.35) 85%, transparent 100%);
}
.stack-layer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 0;
}
.stack-layer .stack-icon {
    position: absolute;
    left: -22px;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(15,31,58,1);
    border: 1.5px solid rgba(96,165,250,0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--signal-light);
    flex-shrink: 0;
    z-index: 1;
    transition: var(--transition);
}
.stack-layer .stack-icon svg { width: 16px; height: 16px; }
.stack-layer:hover .stack-icon {
    background: var(--signal);
    border-color: var(--signal);
    color: var(--white);
    transform: scale(1.08);
}
.stack-content { margin-left: 24px; }
.stack-label {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 0.2px;
}
.stack-sub {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    margin-top: 2px;
    letter-spacing: 0.3px;
}
.stack-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.3px;
}
.stack-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #22C55E;
    box-shadow: 0 0 10px rgba(34,197,94,0.6);
    flex-shrink: 0;
    animation: dotPulse 2s ease-in-out infinite;
}
@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* ═══════════════════════════════════════════
   SOLUTIONS — Sektörel Dikeyler (flush grid, Aselsan-poster)
   ═══════════════════════════════════════════ */
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: var(--gray-200);
    gap: 1px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.solution-card {
    background: var(--white);
    padding: clamp(28px, 3.5vw, 40px) clamp(24px, 3vw, 34px);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition);
    position: relative;
    isolation: isolate;
}
.solution-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(59,130,246,0.04) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: -1;
}
.solution-card:hover { background: #FBFCFE; }
.solution-card:hover::after { opacity: 1; }
.solution-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.solution-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: var(--signal);
    padding-top: 6px;
}
.solution-icon {
    width: 38px;
    height: 38px;
    color: var(--midnight);
    flex-shrink: 0;
    transition: color 0.3s ease, transform 0.3s ease;
}
.solution-card:hover .solution-icon { color: var(--signal); transform: translateY(-2px); }
.solution-icon svg { width: 100%; height: 100%; }
.solution-card h3 {
    font-size: 1.18rem;
    font-weight: 700;
    color: var(--midnight);
    line-height: 1.35;
    margin-top: 4px;
}
.solution-card p {
    font-size: 0.92rem;
    color: var(--gray-600);
    line-height: 1.7;
    flex: 1;
}
.solution-foot {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid var(--gray-200);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--gray-500);
}
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gray-400);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(156,163,175,0.18);
}
.status-dot.active {
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16,185,129,0.22);
    animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot {
    0%, 100% { box-shadow: 0 0 0 3px rgba(16,185,129,0.22); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0.10); }
}

/* ═══════════════════════════════════════════
   SERVICES — legacy (kept for backward refs, not in active layout)
   ═══════════════════════════════════════════ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 36px 28px;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--signal);
}
.service-icon {
    width: 52px; height: 52px;
    color: var(--signal);
    margin-bottom: 20px;
}
.service-icon svg { width: 100%; height: 100%; }
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--midnight);
    margin-bottom: 10px;
}
.service-card p { font-size: 0.9rem; color: var(--gray-500); line-height: 1.7; }

/* ═══════════════════════════════════════════
   PRODUCTS
   ═══════════════════════════════════════════ */
.product-card {
    display: grid;
    grid-template-columns: minmax(280px, 380px) 1fr;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    margin-bottom: 28px;
}
.product-card:hover { box-shadow: var(--shadow-lg); border-color: var(--signal); }

/* Subtle tilt effect for cards */
.tilt {
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
    will-change: transform;
}
@media (hover: hover) and (pointer: fine) {
    .tilt:hover { transform: perspective(1200px) translateY(-4px); }
}
.product-reverse { direction: rtl; }
.product-reverse > * { direction: ltr; }

.product-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(16px, 3vw, 24px);
    min-height: clamp(220px, 36vw, 320px);
    overflow: hidden;
}
.pv-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.pv-blue { background: linear-gradient(135deg, #0B1D35 0%, #1E40AF 100%); }
.pv-amber { background: linear-gradient(135deg, #78350F 0%, #B45309 100%); }
.pv-green { background: linear-gradient(135deg, #064E3B 0%, #047857 100%); }
.pv-purple { background: linear-gradient(135deg, #3B0764 0%, #6D28D9 100%); }
.pv-rose { background: linear-gradient(135deg, #881337 0%, #BE123C 100%); }
.pv-teal { background: linear-gradient(135deg, #134E4A 0%, #0D9488 100%); }
.pv-slate { background: linear-gradient(135deg, #0F172A 0%, #334155 100%); }
.pv-cyan { background: linear-gradient(135deg, #0C4A6E 0%, #0284C7 100%); }

/* Dot grid overlay */
.pv-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 20px 20px;
}

.pv-illustration {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    max-height: 240px;
}

/* Product screenshot mockup — full-bleed, covers entire product-visual tile */
.pv-screenshot-wrap {
    padding: 0;
    min-height: 360px;
    overflow: hidden;
}
.pv-screenshot-frame {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    border-radius: 0;
    overflow: hidden;
    background: #0F172A;
}
.pv-screenshot-bar {
    flex: 0 0 auto;
    display: flex;
    gap: 6px;
    padding: 10px 14px;
    background: linear-gradient(180deg, #1E293B 0%, #0F172A 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    z-index: 2;
}
.pv-screenshot-bar span {
    width: 10px; height: 10px; border-radius: 50%;
    background: rgba(255,255,255,0.16);
}
.pv-screenshot-bar span:nth-child(1) { background: #EF4444; }
.pv-screenshot-bar span:nth-child(2) { background: #F59E0B; }
.pv-screenshot-bar span:nth-child(3) { background: #10B981; }
.pv-screenshot {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    object-position: top left;
    transition: transform 0.6s ease;
}
.product-card:hover .pv-screenshot {
    transform: scale(1.02);
}
.pv-screenshot-wrap .pv-badge {
    z-index: 3;
}

/* Product screen tour gallery (Ekran Turu) */
.product-gallery {
    max-width: 1220px;
    margin: -28px auto 72px;
    padding: 0 28px;
}
.pg-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: #FDA4AF;
    text-transform: uppercase;
    margin-bottom: 14px;
    padding-left: 4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pg-label::before {
    content: '';
    width: 18px;
    height: 1.5px;
    background: #FDA4AF;
    opacity: 0.75;
}
.pg-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.pg-grid.pg-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 820px;
    margin: 0 auto;
}
.pg-label-green { color: #6EE7B7; }
.pg-label-green::before { background: #6EE7B7; }
.pg-label-green ~ .pg-grid .pg-item:hover {
    border-color: rgba(110,231,183,0.45);
}
.pg-item {
    position: relative;
    display: block;
    border-radius: 12px;
    overflow: hidden;
    background: #0F172A;
    border: 1px solid rgba(255,255,255,0.08);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    text-decoration: none;
    box-shadow: 0 8px 22px rgba(0,0,0,0.18);
}
.pg-item:hover {
    transform: translateY(-4px);
    border-color: rgba(253,164,175,0.45);
    box-shadow: 0 16px 40px rgba(0,0,0,0.38);
}
.pg-item img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    object-position: top left;
}
.pg-caption {
    position: absolute;
    bottom: 10px;
    left: 12px;
    background: rgba(15,23,42,0.82);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    padding: 5px 11px;
    border-radius: 6px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.08);
}
@media (max-width: 820px) {
    .pg-grid { grid-template-columns: 1fr; }
    .product-gallery { padding: 0 20px; }
}

.pv-badge {
    position: absolute;
    top: 14px; left: 14px;
    z-index: 2;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 14px;
    border-radius: 100px;
}
.pv-badge-live {
    background: rgba(16,185,129,0.2);
    color: #6EE7B7;
    border: 1px solid rgba(16,185,129,0.4);
    animation: badgePulse 2s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.3); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}

.product-info { padding: clamp(20px, 4vw, 32px); }
.product-info h3 { font-size: 1.35rem; font-weight: 800; color: var(--midnight); margin-bottom: 4px; }
.product-tagline { font-size: 0.88rem; color: var(--signal); font-weight: 600; margin-bottom: 12px; }
.product-info > p { font-size: 0.9rem; color: var(--gray-600); margin-bottom: 20px; line-height: 1.7; }

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 24px;
    margin-bottom: 16px;
}
.spec { display: flex; flex-direction: column; }
.spec-label {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gray-400);
}
.spec-value { font-size: 0.85rem; font-weight: 600; color: var(--midnight); }

.product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.product-tags span {
    background: var(--gray-100);
    color: var(--gray-600);
    font-size: 0.72rem;
    font-weight: 600;
    padding: 3px 12px;
    border-radius: 100px;
}

/* ═══════════════════════════════════════════
   DISCIPLINES — Mühendislik Kabiliyetleri (dark, hairline grid)
   ═══════════════════════════════════════════ */
.section-desc-light { color: rgba(255,255,255,0.55); }

.disciplines-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    border-top: 1px solid rgba(255,255,255,0.08);
    border-left: 1px solid rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}
.discipline-card {
    padding: clamp(28px, 3vw, 36px) clamp(22px, 2.4vw, 30px);
    border-right: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.discipline-card::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 2px;
    background: var(--signal);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.discipline-card:hover {
    background: rgba(59,130,246,0.05);
}
.discipline-card:hover::before { transform: scaleY(1); }
.discipline-card:hover .discipline-icon { color: var(--signal-light); }
.discipline-card:hover .discipline-num { color: rgba(255,255,255,0.7); }
.discipline-num {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    color: rgba(255,255,255,0.32);
    transition: color 0.3s ease;
}
.discipline-icon {
    width: 42px;
    height: 42px;
    color: rgba(255,255,255,0.85);
    transition: color 0.3s ease;
    margin-top: 2px;
}
.discipline-icon svg { width: 100%; height: 100%; }
.discipline-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.35;
    margin-top: 6px;
}
.discipline-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.7;
}

/* ═══════════════════════════════════════════
   TECH STACK (legacy chips style — kept for backward refs)
   ═══════════════════════════════════════════ */
.tech-categories { display: flex; flex-direction: column; gap: 28px; }
.tech-cat h4 {
    color: rgba(255,255,255,0.4);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.tech-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.tech-chips span {
    background: rgba(255,255,255,0.06);
    color: rgba(255,255,255,0.8);
    border: 1px solid rgba(255,255,255,0.1);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 100px;
    transition: var(--transition);
}
.tech-chips span:hover {
    background: var(--signal);
    border-color: var(--signal);
    color: white;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}
.contact-lead {
    font-size: 1.1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.8;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.contact-item {
    display: flex;
    align-items: center;
    gap: 16px;
}
.contact-icon {
    width: 44px; height: 44px;
    background: var(--gray-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--signal);
}
.contact-icon svg { width: 20px; height: 20px; }
.contact-item strong { display: block; font-size: 0.82rem; color: var(--gray-400); font-weight: 600; }
.contact-item a { color: var(--midnight); font-weight: 600; }
.contact-item a:hover { color: var(--signal); }

.contact-domains { display: flex; flex-wrap: wrap; gap: 8px; }
.domain-badge {
    background: var(--gray-100);
    color: var(--gray-500);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
}

/* Form */
.contact-form {
    background: var(--gray-50);
    padding: 36px;
    border-radius: var(--radius);
    border: 1px solid var(--gray-200);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    background: var(--white);
    color: var(--midnight);
    transition: var(--transition);
    outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--signal);
    box-shadow: 0 0 0 3px rgba(59,130,246,0.12);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-optional { color: var(--gray-400); font-weight: 400; font-size: 0.72rem; }

/* Honeypot — anti-spam: bots fill this, real users never see it */
.form-honeypot {
    position: absolute;
    left: -9999px;
    top: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* Submit button states */
.contact-form .btn[disabled] { opacity: 0.7; cursor: not-allowed; }
.contact-form .btn.loading .btn-label::after {
    content: '';
    display: inline-block;
    width: 12px; height: 12px;
    margin-left: 8px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: var(--white);
    border-radius: 50%;
    animation: btnSpin 0.7s linear infinite;
    vertical-align: -2px;
}
@keyframes btnSpin { to { transform: rotate(360deg); } }

/* Inline status under submit button */
.form-status {
    margin-top: 16px;
    font-size: 0.88rem;
    line-height: 1.55;
    padding: 0;
    border-radius: var(--radius-sm);
    display: none;
}
.form-status.show { display: block; padding: 12px 16px; }
.form-status.success {
    background: rgba(16,185,129,0.08);
    color: #047857;
    border: 1px solid rgba(16,185,129,0.25);
}
.form-status.error {
    background: rgba(239,68,68,0.06);
    color: #B91C1C;
    border: 1px solid rgba(239,68,68,0.22);
}

.form-note {
    margin-top: 14px;
    font-size: 0.72rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   MAP / LOKASYON BANDI
   ═══════════════════════════════════════════ */
.map-section {
    position: relative;
    background: var(--midnight);
}
.map-frame {
    position: relative;
    width: 100%;
    height: clamp(420px, 56vw, 560px);
    overflow: hidden;
    isolation: isolate;
}
.map-embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(0.25) contrast(0.95);
    transition: filter 0.4s ease;
}
.map-frame:hover .map-embed { filter: grayscale(0) contrast(1); }

/* Overlay address card */
.map-card {
    position: absolute;
    top: 50%;
    left: clamp(16px, 5vw, 56px);
    transform: translateY(-50%);
    z-index: 5;
    width: min(420px, calc(100% - 32px));
    background: rgba(10, 22, 40, 0.94);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    padding: clamp(24px, 3vw, 32px);
    color: var(--white);
    box-shadow: 0 24px 60px rgba(0,0,0,0.45);
}
.map-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--signal-light);
    margin-bottom: 14px;
}
.map-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 14px;
}
.map-address {
    font-style: normal;
    font-size: 0.92rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.75);
    margin-bottom: 22px;
}
.map-address strong { color: var(--white); font-weight: 600; }

.map-meta {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    margin-bottom: 22px;
}
.map-meta-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.75);
    transition: color 0.2s ease;
}
.map-meta-item:hover { color: var(--signal-light); }
.map-meta-item svg {
    width: 16px; height: 16px;
    color: var(--signal-light);
    flex-shrink: 0;
}

.map-cta {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
    font-size: 0.92rem;
}

/* Tablet — narrower card */
@media (max-width: 900px) {
    .map-frame { height: clamp(380px, 70vw, 520px); }
    .map-card { width: min(360px, calc(100% - 24px)); }
}

/* Mobile — card becomes full-width band below map */
@media (max-width: 640px) {
    .map-frame { height: 320px; }
    .map-section { padding-bottom: 0; }
    .map-card {
        position: static;
        transform: none;
        width: 100%;
        left: 0;
        margin-top: -16px;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
        border-bottom: 0;
    }
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.footer {
    background: var(--midnight);
    color: rgba(255,255,255,0.5);
    padding: 64px 0 48px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
}
.footer-tag {
    font-size: 0.8rem !important;
    color: rgba(255,255,255,0.35) !important;
    margin-top: 4px !important;
}
.footer-bottom {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom .heart { color: #EF4444; animation: heartbeat 1.8s ease-in-out infinite; display: inline-block; }
@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}
@media (max-width: 768px) {
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    margin-bottom: 12px;
}
.footer-logo-icon { width: 32px; height: 32px; }
.footer-logo span { font-size: 1.1rem; font-weight: 800; letter-spacing: 4px; }
.footer-brand p { font-size: 0.88rem; margin-bottom: 8px; }
.footer-copy { font-size: 0.78rem; opacity: 0.5; margin-top: 16px; }

.footer-links h4 {
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: 1px;
}
.footer-links a {
    display: block;
    font-size: 0.88rem;
    padding: 5px 0;
    transition: var(--transition);
}
.footer-links a:hover { color: var(--signal-light); transform: translateX(4px); }

/* ═══════════════════════════════════════════
   REVEAL ANIMATION
   ═══════════════════════════════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ═══════════════════════════════════════════
   RESPONSIVE — Fluid Breakpoints
   ═══════════════════════════════════════════ */

/* Large tablet / small laptop (≤ 1024px) */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .solutions-grid { grid-template-columns: repeat(2, 1fr); }
    .disciplines-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
}

/* Tablet intermediate (≤ 900px) — about grid stacks here to avoid cramped card */
@media (max-width: 900px) {
    .about-grid { grid-template-columns: 1fr; gap: var(--gap-grid-lg); }
    .about-visual { order: -1; }
    .about-card { max-width: 320px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Mobile portrait & large phones (≤ 768px) */
@media (max-width: 768px) {
    /* Nav — hamburger drawer */
    .nav-toggle { display: flex; }
    .nav-menu {
        position: fixed;
        top: 0; right: -100%;
        width: min(320px, 85vw); height: 100vh; height: 100dvh;
        background: var(--midnight);
        flex-direction: column;
        justify-content: center;
        align-items: stretch;
        padding: 40px clamp(20px, 5vw, 40px);
        gap: 4px;
        transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0);
    }
    .nav-menu.open { right: 0; box-shadow: -8px 0 32px rgba(0,0,0,0.35); }
    .nav-menu a { padding: 14px 20px; font-size: 1rem; }

    /* Grids collapse */
    .services-grid { grid-template-columns: 1fr; }
    .solutions-grid { grid-template-columns: 1fr; }
    .disciplines-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: var(--gap-grid-lg); }
    .tech-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .footer-logo { justify-content: center; }

    /* Products — single column */
    .product-card { grid-template-columns: 1fr; }
    .product-reverse { direction: ltr; }

    /* Hero refinements */
    .hero-scroll { display: none; } /* scroll cue redundant below nav-height crunch */

    /* Trust bar — stack cleanly */
    .trust-logos { flex-direction: column; gap: 16px; }
    .trust-item { justify-content: center; width: 100%; max-width: 320px; }
}

/* Phones (≤ 600px) */
@media (max-width: 600px) {
    .form-row { grid-template-columns: 1fr; gap: 0; }
    .contact-form { padding: clamp(20px, 5vw, 36px); }
    .product-specs { grid-template-columns: 1fr; gap: 8px; }

    /* Stats — larger numbers need more room */
    .stat-number { font-size: clamp(2rem, 10vw, 2.8rem); }

    /* Buttons stack on tight screens */
    .hero-actions { flex-direction: column; align-items: stretch; width: 100%; max-width: 320px; margin: 0 auto; }
    .hero-actions .btn { width: 100%; justify-content: center; }

    /* Value items — tighter padding */
    .value-item { padding: 14px; gap: 12px; }
    .value-icon { width: 34px; height: 34px; }
}

/* Small phones (≤ 400px) */
@media (max-width: 400px) {
    :root { --pad-container: 14px; }
    .stats-grid { grid-template-columns: 1fr; gap: 18px; }
    .section-title { font-size: clamp(1.65rem, 7vw, 2rem); }
    .nav-logo-text { font-size: 1rem; letter-spacing: 2px; }
    .nav-logo-icon { width: 30px; height: 30px; }

    /* Back-to-top button slightly smaller */
    .back-top { width: 42px; height: 42px; bottom: 20px; right: 20px; }
    .back-top svg { width: 18px; height: 18px; }

    /* Hide scroll progress on tiny screens (distracts) */
    .scroll-progress { height: 2px; }
}

/* Prevent horizontal bleed from absolute-positioned SVGs / canvases */
@media (max-width: 1024px) {
    body, html { overflow-x: hidden; }
}
