@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* ══════════════════════════════════════════
   CSS VARIABLES
══════════════════════════════════════════ */
:root {
    /* Brand */
    --primary:       #2563eb;
    --primary-dark:  #1d4ed8;
    --primary-light: #eef4ff;
    --secondary:     #06b6d4;
    --accent:        #7c3aed;
    --accent-light:  #f4f0ff;
    --dark:          #0f172a;
    --ink:           #0b1020;
    --text:          #1e293b;
    --text-main:     #1e293b;
    --muted:         #64748b;
    --text-muted:    #64748b;
    --border:        #e6eaf2;
    --bg:            #f7f9fc;
    --card:          #ffffff;

    /* Signature gradients */
    --grad-primary: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    --grad-cool:    linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
    --grad-hero:    linear-gradient(165deg, #0b1020 0%, #0f172a 42%, #182a5e 100%);
    --grad-cta:     linear-gradient(125deg, #1e3a8a 0%, #2563eb 45%, #7c3aed 100%);

    /* Radius */
    --radius-sm:     10px;
    --radius:        16px;
    --radius-lg:     22px;
    --radius-xl:     28px;
    --radius-pill:   100px;

    /* Layered shadows */
    --shadow-sm:     0 1px 2px rgba(15,23,42,.04), 0 2px 6px rgba(15,23,42,.05);
    --shadow:        0 2px 8px rgba(15,23,42,.04), 0 12px 28px -10px rgba(15,23,42,.12);
    --shadow-lg:     0 8px 24px rgba(15,23,42,.06), 0 28px 64px -16px rgba(15,23,42,.20);
    --shadow-hover:  0 12px 40px -8px rgba(37,99,235,.28);
    --shadow-primary:0 10px 28px -8px rgba(37,99,235,.45);
    --ring:          0 0 0 4px rgba(37,99,235,.16);

    /* Motion */
    --ease:          cubic-bezier(.4,0,.2,1);
    --ease-spring:   cubic-bezier(.34,1.56,.64,1);
    --transition:    .25s var(--ease);

    /* Layout */
    --sidebar-w:     260px;
    --portal-w:      240px;
    --topbar-h:      60px;
    --navbar-h:      68px;
}

/* ══════════════════════════════════════════
   GLOBAL POLISH
══════════════════════════════════════════ */
::selection { background: rgba(37,99,235,.16); color: var(--dark); }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
    html { scroll-behavior: auto; }
}
.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
/* Modern scrollbar (masaüstü) */
@media (min-width: 769px) {
    * { scrollbar-width: thin; scrollbar-color: #c7d0e0 transparent; }
    *::-webkit-scrollbar { width: 10px; height: 10px; }
    *::-webkit-scrollbar-thumb { background: #c7d0e0; border-radius: 100px; border: 2px solid var(--bg); }
    *::-webkit-scrollbar-thumb:hover { background: #aab6cc; }
}

/* ══════════════════════════════════════════
   RESET & BASE
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
input, textarea, select, button { font-family: inherit; }

/* ══════════════════════════════════════════
   NAVBAR
══════════════════════════════════════════ */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(255,255,255,.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(226,232,240,.8);
    transition: box-shadow .3s;
}
.navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }
.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    height: var(--navbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--dark);
    letter-spacing: -.02em;
    flex-shrink: 0;
}
.logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg,var(--primary),var(--accent));
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.logo-icon svg { width: 20px; height: 20px; color: white; }
.logo span { color: var(--primary); }
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    flex-wrap: nowrap;
}
.nav-links a {
    padding: 7px 13px;
    border-radius: 10px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 500;
    color: var(--muted);
    transition: all .2s;
    white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-cta {
    background: var(--grad-primary) !important;
    color: white !important;
    font-weight: 700 !important;
    padding: 8px 18px !important;
    box-shadow: 0 6px 18px -6px rgba(37,99,235,.5);
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 10px 24px -6px rgba(124,58,237,.5); }
.nav-mobile-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    min-width: 40px; min-height: 40px;
}
.nav-mobile-menu {
    display: none;
    position: fixed;
    top: var(--navbar-h); left: 0; right: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    padding: 12px 20px 20px;
    box-shadow: var(--shadow);
    z-index: 199;
    max-height: calc(100vh - var(--navbar-h));
    overflow-y: auto;
}
.nav-mobile-menu.open { display: block; }
.nav-mobile-menu a {
    display: block;
    padding: 13px 0;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
    font-size: .925rem;
    min-height: 44px;
    display: flex;
    align-items: center;
}
.nav-mobile-menu a:last-child { border-bottom: none; }

/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}
section { padding: 96px 0; }
.section { padding: 96px 0; }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(124,58,237,.10));
    color: var(--primary);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    margin-bottom: 16px;
    border: 1px solid rgba(37,99,235,.14);
}
.section-title {
    font-size: clamp(1.7rem, 3.6vw, 2.6rem);
    font-weight: 900;
    color: var(--dark);
    letter-spacing: -.035em;
    line-height: 1.15;
}
.section-title .accent {
    background: var(--grad-primary);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.section-sub {
    font-size: 1rem;
    color: var(--muted);
    margin-top: 12px;
    max-width: 560px;
    line-height: 1.7;
}
.section-head { text-align: center; margin-bottom: 56px; }
.section-head .section-sub { margin: 12px auto 0; }

/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 26px;
    border-radius: 12px;
    font-weight: 600;
    font-size: .9rem;
    text-decoration: none;
    transition: all .25s;
    cursor: pointer;
    border: none;
    white-space: nowrap;
    min-height: 44px;
}
.btn { letter-spacing: -.01em; position: relative; }
.btn-primary {
    background: var(--grad-primary);
    background-size: 140% 140%;
    background-position: 0% 50%;
    color: white;
    box-shadow: var(--shadow-primary);
    transition: background-position .4s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease);
}
.btn-primary:hover {
    background-position: 100% 50%;
    transform: translateY(-2px);
    box-shadow: 0 14px 36px -8px rgba(124,58,237,.5);
}
.btn-primary:active { transform: translateY(0) scale(.99); }
.btn-outline { background: white; color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--shadow-sm); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-white { background: white; color: var(--primary); font-weight: 700; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 12px 32px rgba(0,0,0,.2); }
.btn-ghost { background: rgba(255,255,255,.1); color: white; border: 1.5px solid rgba(255,255,255,.25); backdrop-filter: blur(6px); }
.btn-ghost:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
    padding: 172px 0 110px;
    background: var(--ink);
    overflow: hidden;
    position: relative;
}
.hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(55% 50% at 12% 6%, rgba(37,99,235,.32), transparent 60%),
        radial-gradient(50% 50% at 88% 16%, rgba(124,58,237,.30), transparent 60%),
        radial-gradient(60% 55% at 65% 108%, rgba(6,182,212,.20), transparent 55%);
    pointer-events: none;
    animation: heroGlow 16s ease-in-out infinite alternate;
}
.hero::after {
    content: '';
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 36%, #000 0%, transparent 78%);
    mask-image: radial-gradient(circle at 50% 36%, #000 0%, transparent 78%);
    pointer-events: none;
}
@keyframes heroGlow {
    0%   { transform: translate3d(0,0,0) scale(1); opacity: .85; }
    100% { transform: translate3d(0,-2%,0) scale(1.07); opacity: 1; }
}
.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
    z-index: 1;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 100px;
    padding: 7px 16px 7px 9px;
    font-size: .78rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 26px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.hero-badge-dot {
    width: 8px; height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,.4); }
    50% { box-shadow: 0 0 0 6px rgba(16,185,129,0); }
}
.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.9rem);
    font-weight: 900;
    color: #ffffff;
    letter-spacing: -.045em;
    line-height: 1.08;
    margin-bottom: 22px;
}
.hero-title .highlight {
    background: linear-gradient(120deg,#60a5fa 0%,#a78bfa 50%,#22d3ee 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: hueShift 8s ease infinite;
}
@keyframes hueShift { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.hero-desc { font-size: 1.08rem; color: #9aa7bd; line-height: 1.7; margin-bottom: 34px; max-width: 480px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats {
    display: flex;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,.1);
}
.hero-stat-value {
    font-size: 1.9rem; font-weight: 900; letter-spacing: -.03em;
    background: linear-gradient(135deg,#fff,#cbd5e1);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat-label { font-size: .78rem; color: #94a3b8; font-weight: 500; margin-top: 3px; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; }
.hero-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 24px 80px rgba(0,0,0,.1);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
}
.hero-card-header { background: var(--dark); padding: 14px 20px; display: flex; align-items: center; gap: 8px; }
.hero-card-dots span { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 6px; }
.hero-card-body { padding: 24px; }
.code-line { font-family: 'Courier New', monospace; font-size: .8rem; padding: 4px 0; display: flex; gap: 12px; }
.code-num { color: #475569; user-select: none; }
.code-kw { color: #818cf8; }
.code-str { color: #34d399; }
.code-fn { color: #38bdf8; }
.code-cm { color: #475569; font-style: italic; }
.hero-float {
    position: absolute;
    background: white;
    border-radius: 14px;
    padding: 12px 16px;
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .8rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}
.hero-float-1 { top: -20px; right: -20px; animation-delay: 0s; }
.hero-float-2 { bottom: 20px; left: -30px; animation-delay: 1.5s; }
@keyframes float {
    0%,100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

/* ══════════════════════════════════════════
   PAGE HERO (iç sayfalar)
══════════════════════════════════════════ */
.page-hero {
    background: var(--grad-hero);
    padding: 100px 0 60px;
    margin-top: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.page-hero-inner { text-align: center; }
.page-hero-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: white;
    letter-spacing: -.03em;
    margin: 16px 0 16px;
    line-height: 1.2;
}
.page-hero-desc { font-size: 1rem; color: #94a3b8; max-width: 560px; margin: 0 auto; }
.page-hero .section-label { background: rgba(255,255,255,.1); color: #93c5fd; }

/* Premium iç sayfa başlığı (.phero) */
.phero {
    background: var(--ink);
    position: relative;
    overflow: hidden;
    padding: 66px 0 50px;
    border-bottom: 1px solid rgba(255,255,255,.06);
}
.phero::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(50% 70% at 12% -10%, rgba(37,99,235,.30), transparent 60%),
        radial-gradient(45% 65% at 92% 0%, rgba(124,58,237,.26), transparent 60%);
    pointer-events: none;
}
.phero::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 42px 42px;
    -webkit-mask-image: radial-gradient(circle at 25% 0%, #000 0%, transparent 75%);
    mask-image: radial-gradient(circle at 25% 0%, #000 0%, transparent 75%);
    pointer-events: none;
}
.phero > .container { position: relative; z-index: 1; }
.phero .section-title, .phero h1 { color: #ffffff; }
.phero .section-sub, .phero .page-hero-desc { color: #9aa7bd; }
.phero .section-label {
    background: rgba(255,255,255,.08);
    color: #93c5fd;
    border-color: rgba(255,255,255,.16);
}
.phero .section-label svg { color: #93c5fd; }

/* ══════════════════════════════════════════
   SERVICES
══════════════════════════════════════════ */
.services { background: white; }
.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}
.service-card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
}
.service-card:hover {
    border-color: rgba(37,99,235,.4);
    background: white;
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}
.service-icon {
    width: 52px; height: 52px;
    background: var(--primary-light);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px;
    transition: all .3s;
    flex-shrink: 0;
}
.service-card:hover .service-icon { background: var(--grad-primary); box-shadow: 0 8px 20px -6px rgba(37,99,235,.5); transform: scale(1.05); }
.service-icon svg { width: 26px; height: 26px; color: var(--primary); transition: color .3s; }
.service-card:hover .service-icon svg { color: white; }
.service-title { font-size: 1.05rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; letter-spacing: -.01em; }
.service-desc { font-size: .875rem; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.service-price {
    font-size: .78rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 4px 12px;
    border-radius: 100px;
    display: inline-block;
    margin-top: auto;
}
.service-features {
    list-style: none;
    margin: 12px 0 16px;
    flex: 1;
}
.service-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .825rem;
    color: var(--muted);
    padding: 5px 0;
    border-bottom: 1px solid var(--border);
}
.service-features li:last-child { border-bottom: none; }
.service-features li::before {
    content: '';
    width: 6px; height: 6px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

/* ══════════════════════════════════════════
   PROJECTS
══════════════════════════════════════════ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
}
.project-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1.5px solid var(--border);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
}
.project-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: rgba(37,99,235,.3); }
.project-card:hover .project-img img, .project-card:hover img.project-img { transform: scale(1.05); }
.project-img img { transition: transform .5s var(--ease); }
.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg,#e0e7ff,#f0f9ff);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    flex-shrink: 0;
}
.project-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }
.project-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.project-tag { font-size: .7rem; font-weight: 600; background: var(--bg); color: var(--muted); padding: 3px 10px; border-radius: 100px; border: 1px solid var(--border); }
.project-title { font-size: 1rem; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.project-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; margin-bottom: 20px; flex: 1; }
.project-footer { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.project-tech { font-size: .75rem; color: var(--muted); }
.project-demo { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; font-weight: 600; color: var(--primary); text-decoration: none; transition: gap .2s; }
.project-demo:hover { gap: 10px; }

/* ══════════════════════════════════════════
   DOMAIN CHECKER
══════════════════════════════════════════ */
.domain-section {
    background: linear-gradient(135deg,var(--dark) 0%,#1e293b 100%);
    color: white;
}
.domain-section .section-title { color: white; }
.domain-section .section-sub { color: #94a3b8; }
.domain-search {
    background: rgba(255,255,255,.07);
    border: 1.5px solid rgba(255,255,255,.12);
    border-radius: var(--radius-lg);
    padding: 6px 6px 6px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 680px;
    margin: 0 auto 20px;
}
.domain-search:focus-within { border-color: var(--primary); }
.domain-search input { flex: 1; background: none; border: none; outline: none; color: white; font-size: 1rem; min-width: 0; font-family: inherit; }
.domain-search input::placeholder { color: #64748b; }
.domain-ext-list { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 28px; }
.domain-ext {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.1);
    color: #94a3b8;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
    min-height: 36px;
    display: flex;
    align-items: center;
}
.domain-ext.active, .domain-ext:hover { background: var(--primary); border-color: var(--primary); color: white; }
.domain-results { max-width: 680px; margin: 0 auto; }
.domain-result-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255,255,255,.05);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    padding: 14px 20px;
    margin-bottom: 8px;
    gap: 12px;
}
.domain-result-item.available { border-color: rgba(16,185,129,.3); background: rgba(16,185,129,.05); }
.domain-result-item.taken { border-color: rgba(239,68,68,.2); background: rgba(239,68,68,.03); }
.domain-name { font-weight: 600; font-size: .9rem; word-break: break-all; }
.domain-status { display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; flex-shrink: 0; }
.domain-status.available { color: #10b981; }
.domain-status.taken { color: #f87171; }
.domain-status.checking { color: #94a3b8; }

/* ══════════════════════════════════════════
   STATS & FEATURES
══════════════════════════════════════════ */
.why-us { background: white; }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 32px;
    text-align: center;
    margin-bottom: 72px;
}
.stat-number {
    font-size: 2.6rem; font-weight: 900; letter-spacing: -.04em;
    background: var(--grad-primary);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-number span { -webkit-text-fill-color: initial; color: var(--secondary); }
.stat-label { font-size: .875rem; color: var(--muted); margin-top: 4px; font-weight: 500; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 20px;
}
.feature-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.feature-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.feature-icon {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(124,58,237,.12));
    border-radius: 13px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; color: var(--primary); }
.feature-title { font-size: .95rem; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.feature-desc { font-size: .82rem; color: var(--muted); line-height: 1.55; }

/* ══════════════════════════════════════════
   CTA
══════════════════════════════════════════ */
.cta-section {
    background: var(--grad-cta);
    padding: 88px 0;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(circle at 20% 20%, rgba(255,255,255,.12), transparent 45%),
                radial-gradient(circle at 80% 80%, rgba(6,182,212,.18), transparent 45%);
    pointer-events: none;
}
.cta-section .container { position: relative; z-index: 1; }
.cta-section .section-title { color: white; font-size: clamp(1.6rem,3vw,2.25rem); }
.cta-section p { color: rgba(255,255,255,.85); margin: 16px 0 36px; font-size: 1rem; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
footer { background: linear-gradient(180deg, var(--dark) 0%, var(--ink) 100%); color: #94a3b8; padding: 64px 0 32px; position: relative; }
footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-primary); }
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}
.footer-brand p { font-size: .875rem; line-height: 1.7; margin: 16px 0 24px; max-width: 280px; }
.footer-socials { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social {
    width: 38px; height: 38px;
    background: rgba(255,255,255,.07);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: #94a3b8;
    text-decoration: none;
    transition: all .2s;
}
.footer-social:hover { background: var(--grad-primary); color: white; transform: translateY(-2px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col-title { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: white; margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .875rem; color: #64748b; text-decoration: none; transition: color .2s; }
.footer-links a:hover { color: white; }
.footer-bottom {
    padding-top: 28px;
    border-top: 1px solid #1e293b;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .78rem;
    color: #475569;
    gap: 16px;
    flex-wrap: wrap;
}
.footer-logo-text { color: white; font-weight: 800; font-size: 1.05rem; }
.footer-logo-text span { color: var(--primary); }

/* ══════════════════════════════════════════
   WHATSAPP FLOAT
══════════════════════════════════════════ */
.wa-float {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 56px; height: 56px;
    background: #25d366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 24px rgba(37,211,102,.4);
    text-decoration: none;
    z-index: 999;
    transition: all .3s;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; color: white; }

/* ══════════════════════════════════════════
   ANIMATIONS
══════════════════════════════════════════ */
.fade-up {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
@keyframes spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }

/* ══════════════════════════════════════════
   BADGE
══════════════════════════════════════════ */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: .68rem;
    font-weight: 700;
    white-space: nowrap;
}
.badge-new        { background:#eff6ff;color:#2563eb; }
.badge-active     { background:#f0fdf4;color:#16a34a; }
.badge-read       { background:#f0fdf4;color:#16a34a; }
.badge-pending    { background:#fffbeb;color:#d97706; }
.badge-in_progress{ background:#fffbeb;color:#d97706; }
.badge-paused     { background:#f1f5f9;color:#64748b; }
.badge-completed  { background:#eff6ff;color:#2563eb; }
.badge-done       { background:#f0fdf4;color:#15803d; }
.badge-cancelled  { background:#fef2f2;color:#dc2626; }
.badge-suspended  { background:#fef2f2;color:#dc2626; }
.badge-inactive   { background:#f8fafc;color:#64748b; }
.badge-draft      { background:#f8fafc;color:#64748b; }
.badge-published  { background:#f0fdf4;color:#16a34a; }

/* ══════════════════════════════════════════
   CARD
══════════════════════════════════════════ */
.card {
    background: var(--card);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

/* Global form focus ring (public sayfa inline input'larıyla uyumlu) */
input:not([type=checkbox]):not([type=radio]):not([type=range]):focus,
textarea:focus,
select:focus {
    box-shadow: var(--ring);
}

/* ══════════════════════════════════════════
   ADMIN PANEL
══════════════════════════════════════════ */
.admin-wrap {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: var(--sidebar-w);
    background: #0f172a;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 300;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.admin-sidebar::-webkit-scrollbar { display: none; }
.admin-sidebar-logo {
    padding: 18px 20px;
    border-bottom: 1px solid #1e293b;
    display: flex; align-items: center; gap: 10px;
}
.admin-sidebar-logo-icon {
    width: 36px; height: 36px;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.admin-sidebar-logo-icon svg { width: 18px; height: 18px; color: white; }
.admin-sidebar-logo-text { font-size: .95rem; font-weight: 800; color: white; }
.admin-sidebar-logo-text span { color: #60a5fa; }
.admin-nav { padding: 10px 12px; flex: 1; }
.admin-nav-label {
    font-size: .62rem; font-weight: 700; color: #475569;
    text-transform: uppercase; letter-spacing: .1em;
    padding: 10px 8px 5px;
}
.admin-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px; text-decoration: none;
    font-size: .83rem; font-weight: 600; color: #94a3b8;
    transition: all .15s; margin-bottom: 2px;
    min-height: 40px;
}
.admin-nav a:hover { background: #1e293b; color: white; }
.admin-nav a.active { background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(124,58,237,.22)); color: #93c5fd; box-shadow: inset 3px 0 0 #60a5fa; }
.admin-nav a svg { width: 15px; height: 15px; flex-shrink: 0; }
.admin-footer { padding: 14px; border-top: 1px solid #1e293b; }
.admin-footer a {
    display: flex; align-items: center; gap: 8px;
    color: #ef4444; font-size: .82rem; font-weight: 600;
    text-decoration: none; padding: 9px 12px; border-radius: 8px;
    transition: background .15s; min-height: 40px;
}
.admin-footer a:hover { background: #1e293b; }
.admin-main {
    margin-left: var(--sidebar-w);
    flex: 1;
    min-width: 0;
}
.admin-topbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 24px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 100;
    gap: 12px;
}
.admin-topbar-title { font-size: .95rem; font-weight: 800; color: #0f172a; }
.admin-content { padding: 24px; }

/* Admin sidebar mobile toggle button */
.admin-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #0f172a;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.5);
    z-index: 299;
    backdrop-filter: blur(2px);
}
.sidebar-overlay.open { display: block; }

/* Admin components */
.a-card { background: white; border-radius: 16px; border: 1px solid #e6eaf2; overflow: hidden; box-shadow: var(--shadow-sm); }
.a-card-head {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.a-card-title { font-size: .92rem; font-weight: 800; color: #0f172a; }
.a-card-body { padding: 20px; }
.a-stats {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 16px;
    margin-bottom: 20px;
}
.a-stat {
    background: white; border-radius: 14px; border: 1px solid #e6eaf2;
    padding: 16px; display: flex; align-items: center; gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}
.a-stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.a-stat-icon { width: 42px; height: 42px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.a-stat-value { font-size: 1.4rem; font-weight: 900; color: #0f172a; letter-spacing: -.03em; }
.a-stat-label { font-size: .72rem; color: #64748b; font-weight: 600; }
.a-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.a-table { width: 100%; border-collapse: collapse; min-width: 600px; }
.a-table th {
    text-align: left; padding: 10px 14px;
    font-size: .67rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: .08em; color: #64748b;
    background: #f8fafc; border-bottom: 1px solid #e2e8f0;
    white-space: nowrap;
}
.a-table td {
    padding: 12px 14px; font-size: .85rem; color: #334155;
    border-bottom: 1px solid #f1f5f9; vertical-align: middle;
}
.a-table tr:last-child td { border-bottom: none; }
.a-table tr:hover td { background: #f8fafc; }
.a-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 10px; font-size: .8rem;
    font-weight: 700; text-decoration: none; border: none;
    cursor: pointer; font-family: inherit; transition: all .2s;
    white-space: nowrap; min-height: 36px;
}
.a-btn-primary { background: var(--grad-primary); color: white; box-shadow: 0 4px 14px -4px rgba(37,99,235,.5); }
.a-btn-primary:hover { filter: brightness(1.05); transform: translateY(-1px); }
.a-btn-secondary { background: #f1f5f9; color: #334155; }
.a-btn-secondary:hover { background: #e2e8f0; }
.a-btn-danger { background: #fef2f2; color: #dc2626; }
.a-btn-danger:hover { background: #fee2e2; }
.a-btn-sm { padding: 5px 10px; font-size: .73rem; min-height: 30px; }
.a-field { margin-bottom: 16px; }
.a-field label {
    display: block; font-size: .72rem; font-weight: 700; color: #64748b;
    text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px;
}
.a-field input, .a-field select, .a-field textarea {
    width: 100%; padding: 10px 13px; border: 1.5px solid #e2e8f0;
    border-radius: 10px; font-size: .875rem; font-family: inherit;
    outline: none; transition: border-color .2s; background: white;
}
.a-field input:focus, .a-field select:focus, .a-field textarea:focus { border-color: #2563eb; }
.a-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ══════════════════════════════════════════
   PORTAL PANEL
══════════════════════════════════════════ */
.portal-wrap {
    display: flex;
    min-height: 100vh;
}
.portal-sidebar {
    width: var(--portal-w);
    background: #0f172a;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; left: 0; bottom: 0;
    overflow-y: auto;
    scrollbar-width: none;
    z-index: 300;
    transition: transform .3s cubic-bezier(.4,0,.2,1);
}
.portal-sidebar::-webkit-scrollbar { display: none; }
.portal-sidebar-logo {
    padding: 18px 16px;
    border-bottom: 1px solid #1e293b;
    display: flex; align-items: center; gap: 10px;
}
.portal-sidebar-logo-icon {
    width: 34px; height: 34px;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.portal-sidebar-logo-icon svg { width: 16px; height: 16px; color: white; }
.portal-sidebar-logo-text { font-size: .92rem; font-weight: 800; color: white; }
.portal-sidebar-logo-text span { color: #60a5fa; }
.portal-user-info { padding: 14px 16px; border-bottom: 1px solid #1e293b; }
.portal-user-avatar {
    width: 40px; height: 40px; border-radius: 50%;
    background: linear-gradient(135deg,#2563eb,#7c3aed);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: .9rem; color: white; flex-shrink: 0;
}
.portal-nav { padding: 10px 12px; flex: 1; }
.portal-nav a {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 12px; border-radius: 10px; text-decoration: none;
    font-size: .84rem; font-weight: 600; color: #94a3b8;
    transition: all .15s; margin-bottom: 2px; min-height: 40px;
}
.portal-nav a:hover { background: #1e293b; color: white; }
.portal-nav a.active { background: linear-gradient(135deg, rgba(37,99,235,.22), rgba(124,58,237,.22)); color: #93c5fd; box-shadow: inset 3px 0 0 #60a5fa; }
.portal-nav a svg { width: 15px; height: 15px; flex-shrink: 0; }
.portal-footer { padding: 14px; border-top: 1px solid #1e293b; }
.portal-footer a {
    display: flex; align-items: center; gap: 8px;
    color: #64748b; font-size: .82rem; font-weight: 600;
    text-decoration: none; padding: 9px 12px; border-radius: 8px;
    transition: background .15s; min-height: 40px;
}
.portal-footer a:hover { background: #1e293b; color: white; }
.portal-main {
    margin-left: var(--portal-w);
    flex: 1;
    min-width: 0;
}
.portal-topbar {
    background: white;
    border-bottom: 1px solid #e2e8f0;
    padding: 0 20px;
    height: var(--topbar-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky; top: 0; z-index: 100;
    gap: 12px;
}
.portal-content { padding: 20px; }
.portal-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: #0f172a;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.p-card { background: white; border-radius: 16px; border: 1px solid #e6eaf2; overflow: hidden; box-shadow: var(--shadow-sm); }
.p-card-head {
    padding: 16px 20px; border-bottom: 1px solid #f1f5f9;
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px; flex-wrap: wrap;
}
.p-card-title { font-size: .92rem; font-weight: 800; color: #0f172a; }
.p-card-body { padding: 20px; }
.p-stat {
    background: white; border-radius: 14px; border: 1px solid #e2e8f0;
    padding: 16px; display: flex; align-items: center; gap: 12px;
}
.p-stat-icon { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.p-stat-value { font-size: 1.4rem; font-weight: 900; color: #0f172a; letter-spacing: -.03em; }
.p-stat-label { font-size: .72rem; color: #64748b; font-weight: 600; }

/* ══════════════════════════════════════════
   RESPONSIVE — 1100px
══════════════════════════════════════════ */
@media (max-width: 1100px) {
    .services-grid { grid-template-columns: repeat(2,1fr); }
    .projects-grid { grid-template-columns: repeat(2,1fr); }
    .a-stats { grid-template-columns: repeat(3,1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 900px (tablet)
══════════════════════════════════════════ */
@media (max-width: 900px) {
    .hero-inner { grid-template-columns: 1fr; gap: 0; }
    .hero-visual { display: none; }
    .hero { padding: 120px 0 64px; }
    .stats-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .a-stats { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 768px (mobile)
══════════════════════════════════════════ */
@media (max-width: 768px) {
    :root { --sidebar-w: 260px; --portal-w: 240px; }

    /* Navbar */
    .nav-links { display: none; }
    .nav-mobile-btn { display: flex; }

    /* Section */
    section { padding: 56px 0; }
    .section { padding: 56px 0; }
    .container { padding: 0 16px; }
    .section-head { margin-bottom: 40px; }
    .page-hero { padding: 80px 0 48px; }

    /* Hero */
    .hero { padding: 100px 0 56px; }
    .hero-desc { font-size: .95rem; }
    .hero-stats { gap: 16px; }
    .hero-buttons { flex-direction: column; width: 100%; }
    .hero-buttons .btn { width: 100%; justify-content: center; }

    /* Grids */
    .services-grid { grid-template-columns: 1fr; }
    .projects-grid { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
    .features-grid { grid-template-columns: 1fr; }

    /* Footer */
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
    .footer-brand p { max-width: 100%; }

    /* Admin sidebar - mobile drawer */
    .admin-sidebar { transform: translateX(-100%); }
    .admin-sidebar.open { transform: translateX(0); }
    .admin-sidebar-toggle { display: flex; }
    .admin-main { margin-left: 0; }
    .admin-content { padding: 16px; }
    .admin-topbar { padding: 0 16px; }
    .a-stats { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .a-grid-2 { grid-template-columns: 1fr; }
    .a-card-head { flex-direction: column; align-items: flex-start; }

    /* Portal sidebar - mobile drawer */
    .portal-sidebar { transform: translateX(-100%); }
    .portal-sidebar.open { transform: translateX(0); }
    .portal-sidebar-toggle { display: flex; }
    .portal-main { margin-left: 0; }
    .portal-content { padding: 14px; }
    .portal-topbar { padding: 0 14px; }

    /* Tables */
    .a-table { min-width: 500px; }

    /* Domain search */
    .domain-search { padding: 6px 6px 6px 14px; }
    .domain-search input { font-size: .9rem; }

    /* CTA */
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }

    /* WhatsApp */
    .wa-float { width: 50px; height: 50px; bottom: 20px; right: 16px; }
    .wa-float svg { width: 24px; height: 24px; }

    /* Inline grid overrides — iletisim, hizmetler detay vb. */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }
    [style*="display:grid"] {
        gap: 16px !important;
    }
}

/* ══════════════════════════════════════════
   RESPONSIVE — 480px (small mobile)
══════════════════════════════════════════ */
@media (max-width: 480px) {
    .stats-grid { grid-template-columns: repeat(2,1fr); gap: 12px; }
    .stat-number { font-size: 2rem; }
    .hero-stats { flex-direction: row; flex-wrap: wrap; }
    .hero-stat-value { font-size: 1.4rem; }
    .service-card { padding: 22px; }
    .project-body { padding: 18px; }
    .a-stats { grid-template-columns: 1fr 1fr; }
    .domain-result-item { flex-direction: column; align-items: flex-start; gap: 8px; }
    .a-table { min-width: 420px; }
    section { padding: 44px 0; }
    .section { padding: 44px 0; }
}

/* ══════════════════════════════════════════
   TABLE WRAPPER UTILITY
══════════════════════════════════════════ */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 0 0 16px 16px;
}

/* ══════════════════════════════════════════
   SERVICES PAGE
══════════════════════════════════════════ */
.services-page-wrap { padding-top: var(--navbar-h); }
