/**
 * Egebek Endüstriyel Kapı Sistemleri
 * Custom CSS — Dark Navy Premium Tasarım Sistemi
 * v2.0 — Full Dark Mode
 */

/* ========================================
   TEMEL / ROOT / BODY
   ======================================== */

:root {
    color-scheme: dark;   /* Tarayıcı native form elemanlarını dark mod'a zorlar */
}

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

body {
    background-color: var(--color-primary);
    color: var(--color-text);
    font-family: var(--font-body, 'Inter', system-ui, sans-serif);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::selection {
    background: rgba(56, 189, 248, 0.25);
    color: #fff;
}

/* ========================================
   FORM ELEMANLARı — DARK TEMA
   ======================================== */

/* Temel input / textarea / select */
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
textarea,
select {
    width: 100%;
    padding: 0.875rem 1.125rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md, 10px);
    font-size: 0.9375rem;
    color: var(--color-text, #F0F6FF);
    font-family: inherit;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
    appearance: none;           /* Chrome/Safari custom arrow için */
    -webkit-appearance: none;
    color-scheme: dark;         /* Dropdown listini dark yapar */
}

/* Focus durumu */
.form-input:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="url"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.6);
    background: rgba(56, 189, 248, 0.05);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12);
}

/* Placeholder */
.form-input::placeholder,
input::placeholder,
textarea::placeholder {
    color: rgba(123, 149, 184, 0.45);
}

/* SELECT — özel ok ikonu */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338BDF8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.75rem;
    cursor: pointer;
}

/* Select option'ları dark */
select option {
    background: #111827;
    color: #F0F6FF;
    padding: 0.5rem;
}

select option:hover,
select option:focus,
select option:checked {
    background: #0C1A2E;
    color: #38BDF8;
}

/* Textarea */
textarea {
    min-height: 140px;
    resize: vertical;
}

/* Label */
.form-label,
label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted, #7B95B8);
}

/* Checkbox / Radio dark */
input[type="checkbox"],
input[type="radio"] {
    accent-color: #38BDF8;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    color-scheme: dark;
}

/* Disabled durumu */
.form-input:disabled,
input:disabled,
textarea:disabled,
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   SPACING & SECTION RHYTHM
   ======================================== */

.section-padding {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

@media (min-width: 768px) {
    .section-padding {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

@media (min-width: 1024px) {
    .section-padding {
        padding-top: 7rem;
        padding-bottom: 7rem;
    }
}

/* Section arka plan katmanları */
.section-dark { background-color: var(--color-primary); }
.section-deeper { background-color: var(--color-primary-dark); }
.section-elevated { background-color: var(--color-surface); }
.section-alt { background-color: var(--color-surface-alt); }

/* ========================================
   TİPOGRAFİ
   ======================================== */

.text-hero {
    font-size: clamp(2.4rem, 5.5vw, 5rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.03em;
    color: #ffffff;
}

.text-display {
    font-size: clamp(1.75rem, 3.5vw, 3rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-text);
}

.text-overline {
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.gradient-text {
    background: linear-gradient(135deg, #38BDF8 0%, #818CF8 60%, #A78BFA 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   NAVBAR
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: transparent;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.35s ease,
                backdrop-filter 0.35s ease,
                box-shadow 0.35s ease;
}

/* Mobilde navbar tamamen gizli */
@media (max-width: 1023px) {
    .navbar {
        display: none !important;
    }
}

.navbar.scrolled {
    background: rgba(10, 15, 30, 0.92) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(56, 189, 248, 0.1), 0 4px 24px rgba(0, 0, 0, 0.4);
    border-bottom: 1px solid rgba(30, 45, 69, 0.8);
}

.navbar.hidden-nav {
    transform: translateY(-100%);
}

/* ========================================
   FLOATING HAMBURGER (Mobile Only)
   ======================================== */

#mobileMenuToggle {
    position: fixed;
    top: 1rem;
    right: 1rem;
    z-index: 1001;
    display: none; /* Sadece mobilde görünür */
    width: 48px;
    height: 48px;
    border-radius: 14px;
    align-items: center;
    justify-content: center;
    background: rgba(10, 20, 40, 0.8);
    border: 1px solid rgba(56, 189, 248, 0.25);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.08);
    color: #fff;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    padding: 0;
}

#mobileMenuToggle:hover {
    background: rgba(56, 189, 248, 0.15);
    box-shadow: 0 4px 24px rgba(56, 189, 248, 0.2), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

#mobileMenuToggle:active {
    transform: scale(0.9);
}

/* Menü açıkken hamburger mavi tona döner */
#mobileMenuToggle[aria-expanded="true"] {
    background: rgba(56, 189, 248, 0.18);
    border-color: rgba(56, 189, 248, 0.45);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.25), 0 0 0 1px rgba(56, 189, 248, 0.2);
}

@media (max-width: 1023px) {
    #mobileMenuToggle {
        display: flex;
    }
}



.navbar .nav-link {
    position: relative;
    font-weight: 500;
    font-size: 0.9375rem;
    color: rgba(240, 246, 255, 0.75);
    transition: color 0.2s ease;
}

.navbar .nav-link:hover {
    color: #ffffff;
}

.navbar .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    border-radius: 99px;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.navbar .nav-link:hover::after,
.navbar .nav-link.active::after {
    width: 100%;
    left: 0;
}

.navbar .nav-link.active {
    color: #ffffff;
}

/* Dropdown */
.nav-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 270px;
    background: #111827;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(56, 189, 248, 0.05);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
    padding: 0.5rem;
}

.nav-item:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
    border-radius: var(--radius-md);
    transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-dropdown a:hover {
    background: rgba(56, 189, 248, 0.08);
    color: var(--color-accent);
}

/* Mobile menü — Sağdan kayan drawer */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    transition: background 0.3s ease, visibility 0.3s;
}

.mobile-menu.open {
    background: rgba(0, 0, 0, 0.6);
    visibility: visible;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.mobile-menu-inner {
    transform: translateX(100%);
    transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.mobile-menu.open .mobile-menu-inner {
    transform: translateX(0);
}


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

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--color-primary-dark);
}

@media (max-width: 767px) {
    .hero-section { min-height: 92vh; }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Fotoğraf yokken güzel arka plan */
.hero-fallback-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(56, 189, 248, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(129, 140, 248, 0.10) 0%, transparent 55%),
        radial-gradient(ellipse at 60% 80%, rgba(14, 165, 233, 0.08) 0%, transparent 50%),
        linear-gradient(180deg, #050810 0%, #0A0F1E 50%, #050D1A 100%);
}

/* Grid desen */
.hero-fallback-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(56, 189, 248, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(56, 189, 248, 0.04) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(5, 8, 16, 0.88) 0%,
        rgba(10, 15, 30, 0.72) 40%,
        rgba(10, 15, 30, 0.55) 100%);
}

.hero-stat {
    border-left: 2px solid rgba(56, 189, 248, 0.4);
    padding-left: 1rem;
}

.hero-scroll-indicator {
    animation: float 3s ease-in-out infinite;
}

/* Parlayan nokta efekti */
.glow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    box-shadow: 0 0 12px 4px rgba(56, 189, 248, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 8px 2px rgba(56, 189, 248, 0.4); }
    50% { box-shadow: 0 0 20px 8px rgba(56, 189, 248, 0.7); }
}

/* ========================================
   KARTLAR VE COMPONENT'LER
   ======================================== */

.card-premium {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(56, 189, 248, 0.15);
    border-color: rgba(56, 189, 248, 0.25);
}

/* Hizmet kartı üst çizgi */
.service-card-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover .service-card-bar {
    transform: scaleX(1);
}

/* Referans kart */
.reference-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
        rgba(5, 8, 16, 0.95) 0%,
        rgba(5, 8, 16, 0.4) 50%,
        transparent 100%);
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.card-premium:hover .reference-card-overlay {
    opacity: 0.95;
}

/* İkon kutu */
.icon-box {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-accent);
    border: 1px solid rgba(56, 189, 248, 0.15);
    transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.card-premium:hover .icon-box {
    background: var(--color-accent);
    color: #0A0F1E;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
}

.icon-box-lg {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-lg);
}

/* Feature badge */
.feature-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.35rem 0.875rem;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 9999px;
    font-size: 0.8125rem;
    color: var(--color-accent);
    font-weight: 500;
}

/* ========================================
   BUTONLAR
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    text-decoration: none;
    border: 1.5px solid transparent;
    line-height: 1.2;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.97);
}

.btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.4);
}

/* Birincil — gradient mavi */
.btn-primary {
    padding: 0.8rem 2rem;
    background: linear-gradient(135deg, #0EA5E9 0%, #38BDF8 100%);
    color: #0A0F1E;
    border-color: transparent;
    font-size: 0.9375rem;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(14, 165, 233, 0.3), 0 1px 3px rgba(0,0,0,0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #38BDF8 0%, #7DD3FC 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(56, 189, 248, 0.4), 0 2px 8px rgba(0,0,0,0.3);
    color: #050810;
}

/* İkincil — cam efekti beyaz kenar */
.btn-secondary {
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    color: rgba(240, 246, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    font-size: 0.9375rem;
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Dark outline */
.btn-outline {
    padding: 0.8rem 2rem;
    background: transparent;
    color: var(--color-accent);
    border-color: rgba(56, 189, 248, 0.4);
    font-size: 0.9375rem;
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.15);
}

/* Ghost */
.btn-ghost {
    padding: 0.5rem 1rem;
    background: transparent;
    color: var(--color-text-muted);
    font-size: 0.875rem;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text);
}

.btn-dark {
    padding: 0.8rem 2rem;
    background: #1E293B;
    color: var(--color-text);
    border-color: var(--color-border);
    font-size: 0.9375rem;
}

.btn-dark:hover {
    background: #2A3F5F;
    border-color: var(--color-border-strong);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.8125rem;
}

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

.section-header .overline {
    color: var(--color-accent);
    margin-bottom: 0.75rem;
}

.section-header .title {
    color: var(--color-text);
    margin-bottom: 1rem;
}

.section-header .subtitle {
    color: var(--color-text-muted);
    font-size: 1.0625rem;
    line-height: 1.7;
    max-width: 640px;
}

.section-header.center .subtitle {
    margin-left: auto;
    margin-right: auto;
}

/* Dekoratif ayırıcı */
.section-divider {
    width: 48px;
    height: 3px;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    margin: 1rem 0;
}

.section-header.center .section-divider {
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   TRUST BAR / SAYAÇLAR
   ======================================== */

.trust-bar {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
    transition: transform 0.3s ease;
}

.stat-card::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.stat-card:last-child::after { display: none; }

.stat-number {
    font-family: var(--font-heading, 'Inter', sans-serif);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 3.25rem);
    line-height: 1;
    background: linear-gradient(135deg, #38BDF8, #7DD3FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    margin-top: 0.375rem;
    font-weight: 500;
}

/* ========================================
   HİZMET KARTLARI
   ======================================== */

.service-card-inner {
    padding: 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
}

.service-card-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    transition: all 0.3s ease;
    margin-top: auto;
}

.card-premium:hover .service-card-arrow {
    background: var(--color-accent);
    color: #0A0F1E;
    transform: translateX(4px);
    box-shadow: 0 0 16px rgba(56, 189, 248, 0.4);
}

/* ========================================
   AKORDEON / SSS
   ======================================== */

.accordion-item {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item.active,
.accordion-item:hover {
    border-color: rgba(56, 189, 248, 0.2);
}

.accordion-item.active {
    box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.1), 0 4px 20px rgba(0,0,0,0.2);
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.375rem 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    text-align: left;
    transition: color 0.2s ease;
}

.accordion-trigger:hover {
    color: var(--color-accent);
}

.accordion-trigger .acc-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.accordion-item.active .accordion-trigger .acc-icon {
    transform: rotate(45deg);
    background: rgba(56, 189, 248, 0.15);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-content-inner {
    padding: 0 1.5rem 1.375rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    font-size: 0.9375rem;
}

/* ========================================
   SÜREÇ TİMELINE
   ======================================== */

.process-step {
    position: relative;
}

.process-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    background: rgba(56, 189, 248, 0.08);
    color: var(--color-accent);
    border: 2px solid rgba(56, 189, 248, 0.25);
    transition: all 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

.process-number::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 1px solid rgba(56, 189, 248, 0.1);
}

.process-step:hover .process-number {
    background: var(--color-accent);
    color: #0A0F1E;
    border-color: var(--color-accent);
    transform: scale(1.1);
    box-shadow: 0 0 24px rgba(56, 189, 248, 0.4);
}

@media (min-width: 768px) {
    .process-connector {
        position: absolute;
        top: 30px;
        left: calc(50% + 38px);
        width: calc(100% - 76px);
        height: 1px;
        background: linear-gradient(to right, rgba(56, 189, 248, 0.4), rgba(56, 189, 248, 0.05));
    }
}

/* ========================================
   CTA SECTION
   ======================================== */

.cta-section {
    background: linear-gradient(135deg, #0C1A2E 0%, #071020 50%, #0A0F1E 100%);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -5%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(129, 140, 248, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

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

.footer-link {
    color: rgba(123, 149, 184, 0.8);
    transition: color 0.2s ease, padding-left 0.2s ease;
    font-size: 0.9375rem;
}

.footer-link:hover {
    color: var(--color-accent);
    padding-left: 4px;
}

/* ========================================
   WhatsApp FLOAT
   ======================================== */

.whatsapp-float {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 900;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(37, 211, 102, 0.4);
    animation: pulse-ring 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.45); opacity: 0; }
}

/* ========================================
   MOBILE STICKY BAR
   ======================================== */

.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 800;
    background: rgba(10, 15, 30, 0.96);
    border-top: 1px solid var(--color-border);
    padding: 0.75rem 1rem;
    display: none;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

@media (max-width: 767px) {
    .mobile-sticky-bar { display: flex; }
    .whatsapp-float { bottom: 5.5rem; }
}

/* ========================================
   FORM STİLLERİ
   ======================================== */

.form-input {
    width: 100%;
    padding: 0.875rem 1.125rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 0.9375rem;
    color: var(--color-text);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(56, 189, 248, 0.5);
    background: rgba(56, 189, 248, 0.04);
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}

.form-input::placeholder {
    color: rgba(123, 149, 184, 0.5);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

/* ========================================
   BREADCRUMB
   ======================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: rgba(123, 149, 184, 0.6);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(123, 149, 184, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb a:hover {
    color: var(--color-accent);
}

.breadcrumb-sep { opacity: 0.4; }

/* ========================================
   PAGE HERO (Alt sayfa başlık)
   ======================================== */

.page-hero {
    padding-top: 9rem;
    padding-bottom: 4.5rem;
    background: linear-gradient(180deg, var(--color-primary-dark) 0%, var(--color-surface) 100%);
    position: relative;
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent, var(--color-surface));
    pointer-events: none;
}

/* ========================================
   BADGE
   ======================================== */

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.3rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 9999px;
    background: rgba(56, 189, 248, 0.1);
    color: var(--color-accent);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 1px solid rgba(56, 189, 248, 0.2);
}

.badge-dark {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(240, 246, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border-color: rgba(16, 185, 129, 0.2);
}

/* ========================================
   SECTION REVEAL ANİMASYON
   ======================================== */

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
    .hero-scroll-indicator,
    .whatsapp-float::before,
    .glow-dot { animation: none; }
}

/* ========================================
   LIGHTBOX
   ======================================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox.active { opacity: 1; visibility: visible; }

.lightbox img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0,0,0,0.6);
}

.lightbox.active img { transform: scale(1); }

/* ========================================
   SKELETON PLACEHOLDER
   ======================================== */

.skeleton {
    background: linear-gradient(90deg,
        rgba(30, 45, 69, 0.6) 25%,
        rgba(42, 63, 95, 0.8) 50%,
        rgba(30, 45, 69, 0.6) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-md);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================================
   FEATURE LIST
   ======================================== */

.feature-list-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-text-muted);
    font-size: 0.9375rem;
}

.feature-list-item .check-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(56, 189, 248, 0.12);
    border: 1px solid rgba(56, 189, 248, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    flex-shrink: 0;
}

/* ========================================
   NEDEN BİZ kartları
   ======================================== */

.why-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.4), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.why-card:hover {
    transform: translateY(-4px);
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(56, 189, 248, 0.1);
}

.why-card:hover::before {
    opacity: 1;
}

/* ========================================
   SCROLLBAR
   ======================================== */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 5rem;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #050810; }
::-webkit-scrollbar-thumb {
    background: #1E2D45;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #2A3F5F; }

/* ========================================
   ANIMASYONLAR
   ======================================== */

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mavi ışıma arka plan efekti */
.glow-bg {
    position: relative;
}

.glow-bg::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

/* Cam efekti kartlar */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
}

.glass-card-blue {
    background: rgba(56, 189, 248, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(56, 189, 248, 0.12);
    border-radius: var(--radius-lg);
}

/* Divider çizgisi */
.section-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

/* Numbered step */
.step-number {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1;
    color: rgba(56, 189, 248, 0.06);
    position: absolute;
    top: -0.5rem;
    right: 1rem;
    font-variant-numeric: tabular-nums;
    pointer-events: none;
    letter-spacing: -0.05em;
}

/* Blog card */
.blog-card-image {
    overflow: hidden;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.blog-card-image img {
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-premium:hover .blog-card-image img {
    transform: scale(1.06);
}

/* Status badge */
.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
    display: inline-block;
    animation: pulse-glow-green 2s ease-in-out infinite;
}

@keyframes pulse-glow-green {
    0%, 100% { box-shadow: 0 0 6px 1px rgba(16, 185, 129, 0.4); }
    50% { box-shadow: 0 0 12px 4px rgba(16, 185, 129, 0.6); }
}

/* ========================================
   MOBILE RESPONSIVE — DARK TEMA
   ======================================== */

/* Dokunmatik cihazlarda hover'ı kaldır (performans) */
@media (hover: none) {
    .card-premium:hover { transform: none; box-shadow: none; }
    .btn:hover { transform: none; }
    .why-card:hover { transform: none; }
}

/* Küçük ekran tipografi */
@media (max-width: 640px) {
    .text-hero  { font-size: clamp(1.875rem, 8vw, 2.75rem); }
    .text-display { font-size: clamp(1.5rem, 6vw, 2rem); }

    .section-padding {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    /* Hero stat bar */
    .hero-stat {
        padding-left: 0.75rem;
    }

    /* Page hero padding */
    .page-hero {
        padding-top: 7rem;
        padding-bottom: 3rem;
    }

    /* CTA butonları stack */
    .hero-cta-group {
        flex-direction: column;
        width: 100%;
    }

    .hero-cta-group .btn {
        width: 100%;
        justify-content: center;
    }

    /* İletişim formu */
    #contactForm .grid {
        grid-template-columns: 1fr;
    }

    /* Stat kartlar */
    .stat-card::after { display: none; }

    /* Process timeline connector gizle */
    .process-connector { display: none; }

    /* Navbar yükseklik */
    .navbar .h-20 { height: 4.5rem; }
}

/* Tablet */
@media (max-width: 1024px) {
    /* Grid düzenlemeler */
    .lg\:grid-cols-3 { grid-template-columns: repeat(2, 1fr); }

    /* Sidebar → full width */
    .lg\:col-span-2, .lg\:col-span-3 {
        grid-column: span 1 / span 1;
    }
}

/* ========================================
   DARK FORM OVERRIDE — Tailwind class çakışması önleme
   ======================================== */

/* Tailwind'in bg-white / bg-gray class'larını eziyoruz */
.dark-form input,
.dark-form textarea,
.dark-form select {
    background: rgba(255, 255, 255, 0.04) !important;
    color: var(--color-text) !important;
    border-color: var(--color-border) !important;
}

/* Tailwind form-reset'ini geç */
[class*="bg-white"] input,
[class*="bg-white"] select,
[class*="bg-white"] textarea,
[style*="background:var(--color"] input,
[style*="background:var(--color"] select,
[style*="background:var(--color"] textarea {
    background: rgba(255, 255, 255, 0.04);
    color: var(--color-text);
    border-color: var(--color-border);
    color-scheme: dark;
}

/* Form alan grubu */
.form-group {
    margin-bottom: 1.25rem;
}

/* İletişim formu tüm section içindeki inputlar */
#contactForm input,
#contactForm select,
#contactForm textarea {
    background: rgba(11, 22, 44, 0.6) !important;
    border: 1px solid var(--color-border) !important;
    color: var(--color-text) !important;
    color-scheme: dark !important;
}

#contactForm input:focus,
#contactForm select:focus,
#contactForm textarea:focus {
    border-color: rgba(56, 189, 248, 0.6) !important;
    background: rgba(56, 189, 248, 0.04) !important;
    box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.12) !important;
}

#contactForm select option {
    background: #0D1525 !important;
    color: #F0F6FF !important;
}

/* Mobile sticky bar dark */
.mobile-sticky-bar .btn-primary {
    flex: 1;
    justify-content: center;
}

.mobile-sticky-bar .btn {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
}

/* ========================================
   PROSE (Blog/Hizmet detay içerik) — DARK
   ======================================== */

.prose {
    color: var(--color-text-muted);
    max-width: none;
}

.prose h1, .prose h2, .prose h3,
.prose h4, .prose h5, .prose h6 {
    color: var(--color-text);
    margin-top: 1.75em;
    margin-bottom: 0.75em;
    font-weight: 700;
    line-height: 1.25;
}

.prose p {
    margin-bottom: 1.25em;
    line-height: 1.8;
    color: var(--color-text-muted);
}

.prose ul, .prose ol {
    padding-left: 1.5rem;
    margin-bottom: 1.25em;
    color: var(--color-text-muted);
}

.prose li {
    margin-bottom: 0.5em;
}

.prose ul li::marker {
    color: var(--color-accent);
}

.prose ol li::marker {
    color: var(--color-accent);
}

.prose a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose a:hover {
    color: var(--color-accent-hover);
}

.prose strong {
    color: var(--color-text);
    font-weight: 600;
}

.prose blockquote {
    border-left: 3px solid var(--color-accent);
    padding-left: 1.25rem;
    color: var(--color-text-muted);
    font-style: italic;
    margin: 1.5em 0;
    background: rgba(56, 189, 248, 0.04);
    padding: 1rem 1.25rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.prose code {
    background: rgba(255, 255, 255, 0.06);
    color: #38BDF8;
    padding: 0.15em 0.4em;
    border-radius: 4px;
    font-size: 0.875em;
    font-family: 'JetBrains Mono', monospace;
}

.prose pre {
    background: var(--color-surface-alt);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5em 0;
}

.prose pre code {
    background: transparent;
    padding: 0;
}

.prose img {
    border-radius: var(--radius-lg);
    max-width: 100%;
}

.prose hr {
    border-color: var(--color-border);
    margin: 2em 0;
}

.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5em 0;
}

.prose th {
    background: var(--color-surface-alt);
    color: var(--color-text);
    padding: 0.75rem 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 1px solid var(--color-border);
}

.prose td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text-muted);
}

.prose tr:hover td {
    background: rgba(56, 189, 248, 0.03);
}

