/* ========================
   StokDurumu — Modern Light Theme
   ======================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --primary:     #4f46e5;
    --primary-h:   #4338ca;
    --primary-lt:  #eef2ff;
    --primary-mid: #818cf8;
    --primary-dark: #3730a3;
    --success:     #10b981;
    --success-lt:  #d1fae5;
    --warning:     #f59e0b;
    --warning-lt:  #fef3c7;
    --danger:      #ef4444;
    --danger-lt:   #fee2e2;
    --info:        #06b6d4;
    --bg:          #f8fafc;
    --surface:     #ffffff;
    --surface-2:   #f1f5f9;
    --border:      #e2e8f0;
    --border-lt:   #f1f5f9;
    --text:        #0f172a;
    --text-2:      #334155;
    --text-muted:  #64748b;
    --text-faint:  #94a3b8;
    --shadow-sm:   0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:   0 4px 16px rgba(0,0,0,.08), 0 2px 6px rgba(0,0,0,.04);
    --shadow-lg:   0 12px 40px rgba(79,70,229,.12), 0 4px 12px rgba(0,0,0,.06);
    --shadow-xl:   0 20px 60px rgba(79,70,229,.15), 0 8px 20px rgba(0,0,0,.08);
    --radius:      12px;
    --radius-sm:   8px;
    --radius-lg:   20px;
    --radius-xl:   24px;
    --transition:  all .25s cubic-bezier(.4,0,.2,1);
}

* { box-sizing: border-box; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-faint); }

/* ── Navbar ── */
.top-nav {
    background: rgba(255,255,255,.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(226,232,240,.6);
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: 72px;
    transition: background .3s, box-shadow .3s, border-color .3s;
}
.top-nav.scrolled {
    background: rgba(255,255,255,.95);
    box-shadow: 0 1px 20px rgba(0,0,0,.08);
    border-bottom-color: transparent;
}
.top-nav .navbar-brand {
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--text);
    letter-spacing: -.3px;
}
.top-nav .navbar-brand .logo-icon {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    width: 36px; height: 36px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    margin-right: 10px;
    box-shadow: 0 2px 10px rgba(79,70,229,.3);
    transition: transform .2s;
}
.top-nav .navbar-brand:hover .logo-icon { transform: rotate(-5deg) scale(1.05); }
.top-nav .nav-link {
    color: var(--text-2);
    font-weight: 500;
    font-size: .9rem;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}
.top-nav .nav-link:hover { background: var(--primary-lt); color: var(--primary); }
.top-nav .nav-link.active { color: var(--primary); font-weight: 600; }

/* ── Buttons ── */
.btn {
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.btn-primary {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--primary-h);
    border-color: var(--primary-h);
    box-shadow: 0 4px 16px rgba(79,70,229,.35);
    transform: translateY(-2px);
}
.btn-ghost {
    background: transparent;
    color: var(--text-2);
    border: 1.5px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-lt);
    transform: translateY(-2px);
}
.btn-outline-primary {
    color: var(--primary);
    border-color: var(--primary);
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.btn-outline-primary:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.btn-light-primary {
    background: var(--primary-lt);
    color: var(--primary);
    border: none;
    font-weight: 600;
    border-radius: var(--radius-sm);
}
.btn-light-primary:hover { background: #e0e7ff; color: var(--primary-h); }
.btn-white {
    background: #fff;
    color: var(--primary);
    border: none;
    font-weight: 700;
}
.btn-white:hover {
    background: #fff;
    color: var(--primary-h);
    box-shadow: 0 8px 24px rgba(0,0,0,.15);
    transform: translateY(-2px);
}

/* ── Cards ── */
.card {
    background: var(--surface) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-md);
}
.card-header {
    background: transparent !important;
    border-bottom: 1px solid var(--border) !important;
    font-weight: 600;
    padding: 14px 20px;
}

/* ── Hero ── */
.hero {
    padding-top: 160px;
    padding-bottom: 100px;
    background: linear-gradient(160deg, #fafafe 0%, #f0f4ff 30%, #e8ecff 60%, #f0f8ff 100%);
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -200px; right: -100px;
    width: 700px; height: 700px;
    background: radial-gradient(circle, rgba(79,70,229,.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: heroGlow 8s ease-in-out infinite alternate;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -150px; left: -150px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(16,185,129,.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-40px, 30px) scale(1.1); }
}
.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-lt);
    color: var(--primary);
    font-size: .82rem;
    font-weight: 600;
    padding: 8px 18px;
    border-radius: 99px;
    border: 1px solid #c7d2fe;
    margin-bottom: 28px;
    animation: fadeInUp .6s;
}
.hero-pill .pulse {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .4; } }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.hero h1 {
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -.5px;
    color: var(--text);
    animation: fadeInUp .6s .1s both;
}
.hero h1 .accent,
.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary), #7c3aed, #ec4899);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-desc {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 520px;
    animation: fadeInUp .6s .2s both;
}
.hero-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 36px;
    animation: fadeInUp .6s .3s both;
}
.hero-btns .btn {
    padding: 14px 32px;
    font-size: .95rem;
}
.hero-metrics {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 36px;
    border-top: 1px solid var(--border);
    animation: fadeInUp .6s .4s both;
}
.hero-metric-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
}
.hero-metric-lbl {
    font-size: .8rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* ── Code Preview ── */
.code-preview {
    background: #0f172a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(15,23,42,.3);
    border: 1px solid #1e293b;
    animation: fadeInUp .6s .3s both;
}
.code-top {
    padding: 14px 20px;
    background: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
}
.code-dot { width: 12px; height: 12px; border-radius: 50%; }
.code-dot.r { background: #ef4444; }
.code-dot.y { background: #eab308; }
.code-dot.g { background: #22c55e; }
.code-tab {
    margin-left: 12px;
    background: #334155;
    color: #94a3b8;
    font-size: .75rem;
    padding: 4px 14px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}
.code-body {
    padding: 28px;
    font-family: 'Courier New', monospace;
    font-size: .82rem;
    line-height: 1.9;
    color: #e2e8f0;
}
.code-body .cm { color: #64748b; }
.code-body .kw { color: #a78bfa; font-weight: 600; }
.code-body .str { color: #4ade80; }
.code-body .num { color: #fb923c; }
.code-body .key { color: #60a5fa; }

/* Code card variant (docs/hero) */
.code-card {
    background: #f5f7ff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}
.code-card-header {
    background: #eef0fb;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.dot { width: 12px; height: 12px; border-radius: 50%; }
.dot-r { background: #ff5f57; }
.dot-y { background: #febc2e; }
.dot-g { background: #28c840; }
.code-card pre {
    margin: 0;
    padding: 24px;
    background: transparent;
    border: none;
    font-size: .82rem;
    line-height: 1.8;
    color: #2d3748;
}
.code-card .c-comment { color: #718096; }
.code-card .c-key { color: #2b6cb0; }
.code-card .c-val { color: #276749; }
.code-card .c-num { color: #c05621; }
.code-card .c-method { color: #6b46c1; font-weight: 600; }
.code-badge {
    display: inline-block;
    background: var(--success);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 8px;
}

/* ── Sections ── */
.section { padding: 100px 0; }
.section-alt { background: var(--surface-2); }
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--primary);
    margin-bottom: 12px;
}
.section-label i { font-size: .65rem; }
.section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -.3px;
    color: var(--text);
    margin-bottom: 16px;
}
.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
}
.section-desc.center { margin: 0 auto; }
.section-sub { font-size: 1rem; color: var(--text-muted); max-width: 520px; margin: 0 auto; }

/* ── Feature Cards ── */
.feat-card,
.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: var(--transition);
    height: 100%;
    position: relative;
    overflow: hidden;
}
.feat-card::before,
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), #7c3aed);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s;
}
.feat-card:hover::before,
.feature-card:hover::before {
    transform: scaleX(1);
}
.feat-card:hover,
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
}
.feat-icon,
.feature-icon {
    width: 52px; height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 20px;
    transition: var(--transition);
}
.feat-card:hover .feat-icon,
.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(-3deg);
}
.fi-blue   { background: #eff6ff; color: #2563eb; }
.fi-green  { background: #f0fdf4; color: #16a34a; }
.fi-purple { background: #faf5ff; color: #7c3aed; }
.fi-amber  { background: #fffbeb; color: #d97706; }
.fi-red    { background: #fff1f2; color: #e11d48; }
.fi-teal   { background: #f0fdfa; color: #0d9488; }
.feat-card h5,
.feature-card h5 { font-size: 1.05rem; font-weight: 700; margin-bottom: 10px; }
.feat-card p,
.feature-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* ── Steps ── */
.step-num {
    width: 56px; height: 56px;
    border-radius: 16px;
    background: var(--primary-lt);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 20px;
    transition: var(--transition);
}
.step-num:hover {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1);
}
.step-line {
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: linear-gradient(90deg, var(--primary-lt) 0%, var(--border) 100%);
}

/* ── Pricing Cards ── */
.price-card,
.pricing-card {
    background: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    transition: var(--transition);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.price-card:hover,
.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.price-card.featured,
.pricing-card.popular {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79,70,229,.08), var(--shadow-lg);
    background: linear-gradient(180deg, #fafaff 0%, #fff 20%);
}
.price-badge,
.popular-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    padding: 5px 20px;
    border-radius: 99px;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(79,70,229,.3);
}
.price-name,
.pricing-name {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: var(--text-muted);
    margin-bottom: 16px;
}
.price-amount,
.pricing-price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--text);
    line-height: 1;
}
.pricing-price span { font-size: 1rem; font-weight: 500; color: var(--text-muted); }
.price-period { font-size: .9rem; color: var(--text-muted); font-weight: 500; }
.price-divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.price-feat,
.pricing-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .88rem;
    color: var(--text-2);
    padding: 7px 0;
}
.pricing-feature { border-bottom: 1px solid var(--border-lt); }
.pricing-feature:last-child { border-bottom: none; }
.price-feat i { color: var(--success); font-size: .9rem; flex-shrink: 0; }
.pricing-feature .check { color: var(--success); font-size: 1rem; flex-shrink: 0; }
.pricing-feature .cross { color: var(--text-faint); font-size: 1rem; flex-shrink: 0; }
.price-feat.disabled,
.pricing-feature.disabled { color: var(--text-faint); }
.price-feat.disabled i { color: var(--text-faint); }

/* ── Integration Cards ── */
.intg-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.intg-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
}
.intg-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 20px;
    flex-shrink: 0;
    transition: var(--transition);
}
.intg-card:hover .intg-icon { transform: scale(1.08); }
.intg-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: .7rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    margin-left: 8px;
}
.intg-badge.active { background: #dcfce7; color: #166534; }
.intg-sync {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-size: .82rem;
    color: var(--text-muted);
    margin-top: auto;
}
.intg-sync i { color: var(--success); }

/* ── Testimonials ── */
.testimonial-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    transition: var(--transition);
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: #c7d2fe;
}
.testimonial-stars {
    color: #f59e0b;
    font-size: .9rem;
    margin-bottom: 16px;
}
.testimonial-text {
    font-size: .95rem;
    color: var(--text-2);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}
.testimonial-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-lt), #e0e7ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .9rem;
    color: var(--primary);
    flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: .9rem; color: var(--text); }
.testimonial-role { font-size: .78rem; color: var(--text-muted); }

/* ── Trust Bar ── */
.trust-bar {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
    background: var(--surface);
}
.trust-tag {
    background: var(--surface-2);
    color: var(--text-muted);
    border: 1px solid var(--border);
    font-size: .8rem;
    font-weight: 500;
    padding: 5px 14px;
    border-radius: 8px;
    transition: var(--transition);
}
.trust-tag:hover {
    background: var(--primary-lt);
    color: var(--primary);
    border-color: #c7d2fe;
}

/* ── CTA Section ── */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 50%, #6d28d9 100%);
    border-radius: var(--radius-xl);
    padding: 80px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-box::before {
    content: '';
    position: absolute;
    top: -40%; right: -10%;
    width: 500px; height: 500px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
    animation: ctaFloat 10s ease-in-out infinite alternate;
}
.cta-box::after {
    content: '';
    position: absolute;
    bottom: -30%; left: -5%;
    width: 300px; height: 300px;
    background: rgba(255,255,255,.04);
    border-radius: 50%;
}
@keyframes ctaFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-20px, 20px); }
}
.cta-box h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.cta-box p {
    color: rgba(255,255,255,.75);
    font-size: 1.05rem;
    max-width: 480px;
    margin: 0 auto 36px;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}
.cta-btns {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}
.cta-section {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    border-radius: var(--radius-lg);
    padding: 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -50%; right: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.06);
    border-radius: 50%;
}

/* ── FAQ Accordion ── */
.faq-accordion .accordion-item {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--surface);
    transition: var(--transition);
}
.faq-accordion .accordion-item:hover {
    border-color: #c7d2fe !important;
}
.accordion-item {
    border-color: var(--border) !important;
    background: var(--surface);
    border-radius: var(--radius-sm) !important;
    overflow: hidden;
}
.accordion-button {
    background: var(--surface) !important;
    color: var(--text) !important;
    font-weight: 600;
    font-size: .95rem;
    box-shadow: none !important;
    padding: 18px 24px;
}
.accordion-button:not(.collapsed) {
    background: var(--primary-lt) !important;
    color: var(--primary) !important;
}
.accordion-button::after { filter: none; }
.accordion-body {
    background: var(--surface);
    color: var(--text-muted);
    font-size: .9rem;
    line-height: 1.7;
    padding: 16px 24px 24px;
}

/* ── Comparison Table ── */
.comparison-table {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}
.comparison-table thead th {
    background: var(--surface-2);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--text-muted);
    padding: 14px 16px;
    border-bottom: 2px solid var(--border);
}
.comparison-table thead th.featured-col {
    background: var(--primary-lt);
    color: var(--primary);
}
.comparison-table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-lt);
    font-size: .88rem;
    color: var(--text-2);
    vertical-align: middle;
}
.comparison-table tbody tr:hover td {
    background: var(--surface-2);
}

/* ── Footer ── */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 60px 0 30px;
}
.site-footer a {
    color: #94a3b8;
    text-decoration: none;
    transition: color .15s;
}
.site-footer a:hover { color: #fff; }
.footer-brand { font-weight: 800; color: #fff; font-size: 1.15rem; }
.footer-logo-icon {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: .9rem;
}
.footer-desc {
    font-size: .88rem;
    line-height: 1.7;
    max-width: 280px;
    color: #64748b;
}
.footer-heading {
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #475569;
    margin-bottom: 16px;
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { font-size: .88rem; }
.footer-social-link {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: .95rem;
    transition: var(--transition);
}
.footer-social-link:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}
.footer-bottom {
    border-top: 1px solid #1e293b;
    margin-top: 40px;
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: .82rem;
    color: #475569;
}

/* ── Dashboard Sidebar ── */
.sidebar {
    width: 240px;
    min-height: calc(100vh - 64px);
    background: var(--surface);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 64px;
    left: 0;
    overflow-y: auto;
    z-index: 100;
    padding: 12px 0;
}
.main-content {
    margin-left: 240px;
    padding: 28px;
    min-height: calc(100vh - 64px);
    background: var(--bg);
}
@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; }
}
.sidebar .nav-link {
    color: var(--text-muted);
    font-size: .88rem;
    font-weight: 500;
    padding: 9px 16px;
    border-radius: var(--radius-sm);
    margin: 2px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all .15s;
}
.sidebar .nav-link i { font-size: 1rem; width: 18px; text-align: center; }
.sidebar .nav-link:hover { background: var(--bg); color: var(--text); }
.sidebar .nav-link.active { background: var(--primary-lt); color: var(--primary); font-weight: 600; }
.sidebar-section { font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--text-faint); padding: 14px 26px 4px; }

/* ── Dashboard Navbar ── */
.dash-nav {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    height: 64px;
    position: sticky;
    top: 0;
    z-index: 200;
}

/* ── Stat Cards ── */
.stat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: box-shadow .2s, transform .2s;
}
.stat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.stat-icon {
    width: 44px; height: 44px;
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.stat-label { font-size: .8rem; font-weight: 600; color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; }
.stat-value { font-size: 1.8rem; font-weight: 800; color: var(--text); line-height: 1.2; }
.stat-sub   { font-size: .78rem; color: var(--text-muted); }

/* ── Tables ── */
.table { color: var(--text); }
.table thead th { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); border-bottom: 1px solid var(--border); padding: 10px 16px; background: var(--surface-2); }
.table tbody td { padding: 14px 16px; border-bottom: 1px solid var(--border-lt); vertical-align: middle; color: var(--text-2); }
.table tbody tr:last-child td { border-bottom: none; }
.table tbody tr:hover td { background: var(--bg); }

/* ── Forms ── */
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    background: var(--surface);
    font-size: .9rem;
    transition: border-color .15s, box-shadow .15s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(79,70,229,.12);
    background: var(--surface);
    color: var(--text);
}
.form-label { font-size: .82rem; font-weight: 600; color: var(--text-2); margin-bottom: 6px; }
.input-group-text { background: var(--surface-2); border: 1.5px solid var(--border); color: var(--text-muted); }

/* ── Badges ── */
.badge { font-weight: 600; border-radius: 6px; font-size: .72rem; }
.badge-plan-free       { background: #f1f5f9; color: #64748b; border: 1px solid #e2e8f0; }
.badge-plan-basic      { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }
.badge-plan-pro        { background: #faf5ff; color: #7c3aed; border: 1px solid #ddd6fe; }
.badge-plan-enterprise { background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; }

/* ── Stock indicators ── */
.stock-low { color: var(--danger) !important; font-weight: 700; }
.stock-ok  { color: var(--success) !important; font-weight: 700; }

/* ── API Key display ── */
.api-key-box {
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    font-family: 'Courier New', monospace;
    font-size: .85rem;
    color: var(--text-2);
    word-break: break-all;
}

/* ── Docs ── */
.docs-sidebar .nav-link {
    color: var(--text-muted);
    font-size: .85rem;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    transition: color .15s, background .15s;
}
.docs-sidebar .nav-link:hover { color: var(--text); background: var(--bg); }
.docs-sidebar .nav-link.active { color: var(--primary); font-weight: 600; background: var(--primary-lt); }
.docs-section-title {
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-faint);
    padding: 14px 10px 4px;
}
.docs-content pre {
    background: #1a1d2e;
    color: #e2e8f0;
    border: none;
    border-radius: var(--radius-sm);
    padding: 20px;
    font-size: .82rem;
    line-height: 1.7;
    overflow-x: auto;
}
.docs-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text);
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.docs-content h5 { font-weight: 700; color: var(--text); }
.docs-content .table { color: var(--text-2); font-size: .88rem; }
.docs-content .table thead th {
    background: var(--surface-2);
    color: var(--text-muted);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    border-color: var(--border);
}
.docs-content .table tbody td { border-color: var(--border); vertical-align: middle; }
.docs-content .table-bordered { border-color: var(--border); }
.endpoint-block { margin-bottom: 40px; }
.method-tag { display: inline-block; padding: 3px 10px; border-radius: 5px; font-size: .75rem; font-weight: 700; margin-right: 8px; }
.tag-get    { background: #eff6ff; color: #1d4ed8; }
.tag-post   { background: #f0fdf4; color: #166534; }
.tag-put    { background: #fffbeb; color: #92400e; }
.tag-delete { background: #fff1f2; color: #9f1239; }

/* ── Auth pages ── */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(160deg, #f0f4ff 0%, #f8fafc 60%);
    display: flex;
    align-items: center;
}
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    width: 100%;
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-logo .logo-icon {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: #fff;
    width: 48px; height: 48px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(79,70,229,.3);
}

/* ── Alert & Flash ── */
.alert { border-radius: var(--radius-sm); border: none; font-size: .88rem; }
.alert-success { background: #f0fdf4; color: #166534; }
.alert-danger  { background: #fff1f2; color: #9f1239; }
.alert-warning { background: #fffbeb; color: #92400e; }
.alert-info    { background: #eff6ff; color: #1e40af; }

/* ── Progress ── */
.progress { height: 6px; border-radius: 99px; background: var(--border); }
.progress-bar { border-radius: 99px; background: var(--primary); }

/* ── Misc ── */
.text-primary { color: var(--primary) !important; }
.bg-primary   { background: var(--primary) !important; }
.border-primary { border-color: var(--primary) !important; }
.divider { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
code { color: var(--primary); background: var(--primary-lt); padding: 2px 6px; border-radius: 4px; font-size: .85em; }

/* ── Store page ── */
.store-header { padding: 32px 0; border-bottom: 1px solid var(--border); margin-bottom: 32px; }
.store-avatar { width: 72px; height: 72px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), #7c3aed); display: flex; align-items: center; justify-content: center; font-size: 1.8rem; font-weight: 800; color: #fff; flex-shrink: 0; }
.product-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: var(--transition); height: 100%; }
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── Dropdown ── */
.dropdown-menu {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    padding: 6px;
    background: var(--surface);
}
.dropdown-item { border-radius: 6px; font-size: .88rem; color: var(--text-2); padding: 8px 12px; }
.dropdown-item:hover { background: var(--bg); color: var(--text); }
.dropdown-divider { border-color: var(--border); margin: 4px 0; }

/* ── Number Counter Animation ── */
.counter-num {
    display: inline-block;
}

/* ── Responsive ── */
@media (max-width: 991px) {
    .top-nav { height: auto; min-height: 64px; }
}
@media (max-width: 768px) {
    .hero { padding-top: 120px; padding-bottom: 60px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-metrics { flex-wrap: wrap; gap: 24px; }
    .code-preview { display: none; }
    .step-line { display: none; }
    .section { padding: 60px 0; }
    .cta-box { padding: 50px 30px; }
    .cta-box h2 { font-size: 1.8rem; }
    .site-footer { padding: 40px 0 24px; }
}

/* ── Blog Cards ── */
.blog-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: #c7d2fe;
}
.blog-card-body {
    padding: 28px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}
.blog-tag {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 6px;
}
.blog-card h5 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.4;
}
.blog-card p {
    font-size: .88rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 16px;
    flex-grow: 1;
}
.blog-meta {
    font-size: .78rem;
    color: var(--text-faint);
}

/* ── Newsletter ── */
.newsletter-box {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px 48px;
    text-align: center;
}

/* ── Demo Page ── */
.demo-video-placeholder {
    background: #0f172a;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

/* ── Selection ── */
::selection {
    background: var(--primary-lt);
    color: var(--primary);
}

/* ── Skip to content (a11y) ── */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    background: var(--primary);
    color: #fff;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    z-index: 9999;
    font-size: .85rem;
    font-weight: 600;
    transition: top .2s;
}
.skip-link:focus { top: 8px; }

/* ── Focus ring for accessibility ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ── Smooth page transitions ── */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .5s ease, transform .5s ease;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Print styles ── */
@media print {
    .top-nav, .site-footer, .cta-box, .cta-btns { display: none !important; }
    .hero { padding-top: 20px !important; }
    body { background: #fff; color: #000; }
}

/* ── Better mobile nav ── */
@media (max-width: 991px) {
    .navbar-collapse {
        background: var(--surface);
        border: 1px solid var(--border);
        border-radius: var(--radius);
        padding: 16px;
        margin-top: 8px;
        box-shadow: var(--shadow-md);
    }
    .navbar-collapse .nav-link {
        padding: 10px 16px !important;
    }
    .navbar-collapse .d-flex {
        margin-top: 12px;
        padding-top: 12px;
        border-top: 1px solid var(--border);
    }
}

/* ── Intg card icon override for entegrasyonlar page ── */
.intg-card .intg-icon {
    margin-bottom: 12px;
}

/* ── Mobile improvements for all pages ── */
@media (max-width: 576px) {
    .hero h1 { font-size: 1.8rem !important; }
    .hero-desc { font-size: .9rem !important; }
    .hero-btns { flex-direction: column; }
    .hero-btns .btn { width: 100%; }
    .hero-metrics { gap: 16px !important; }
    .hero-metrics > div { min-width: 80px; }
    .section-title { font-size: 1.5rem !important; }
    .cta-box { padding: 36px 20px !important; }
    .cta-box h2 { font-size: 1.5rem !important; }
    .cta-btns { flex-direction: column; gap: 10px !important; }
    .cta-btns .btn { width: 100%; }
    .price-card { padding: 28px 20px !important; }
    .price-amount { font-size: 2.2rem !important; }
    .intg-card { padding: 20px !important; }
    .feat-card { padding: 24px 20px !important; }
    .newsletter-box { padding: 28px 20px !important; }
    .blog-card-body { padding: 20px !important; }
    .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
    .trust-bar { overflow-x: auto; }
    .trust-bar .d-flex { flex-wrap: nowrap; }
    .comparison-table { font-size: .8rem; }
    .comparison-table th,
    .comparison-table td { padding: 8px 6px !important; }
}

/* ── Dashboard mobile sidebar toggle ── */
@media (max-width: 768px) {
    .main-content { margin-left: 0 !important; padding: 20px 16px !important; }
    .dash-nav { padding: 0 12px !important; }
    .stat-card { padding: 16px !important; }
    .stat-card .h3 { font-size: 1.3rem !important; }
    .stat-card .h5 { font-size: 1rem !important; }
    .card-body { padding: 16px !important; }
    .table { font-size: .85rem; }
}

/* ── Accessibility: reduced motion ── */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .feat-card:hover,
    .intg-card:hover,
    .blog-card:hover,
    .price-card:hover,
    .stat-card:hover,
    .testimonial-card:hover {
        transform: none !important;
    }
}

/* ============================================
   Text & Image Overflow Protection
   ============================================ */

body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

p, li, td, th, span, a, h1, h2, h3, h4, h5, h6 {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

img {
    max-width: 100%;
    height: auto;
}

table {
    max-width: 100%;
}

pre, code {
    overflow-x: auto;
    max-width: 100%;
    white-space: pre-wrap;
    word-wrap: break-word;
}

