/* ==========================================================================
   Kalite Yönetim Sistemi — Public Landing Page
   ========================================================================== */

:root {
    --bg-base: #0a0e17;
    --bg-elevated: #10151f;
    --bg-card: rgba(255, 255, 255, 0.03);
    --border-subtle: rgba(255, 255, 255, 0.08);
    --text-primary: #f4f6fb;
    --text-secondary: #9aa4b8;
    --text-muted: #626d82;

    --accent: #5b8def;
    --accent-2: #7c5cff;
    --accent-3: #34d0ba;

    --glow-size: 600px;

    --radius-lg: 20px;
    --radius-md: 14px;
    --radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg-base);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    position: relative;
}

/* Arka plan doku: hafif nokta deseni + statik gradient köşeler */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(circle at 15% 20%, rgba(91, 141, 239, 0.12), transparent 40%),
        radial-gradient(circle at 85% 75%, rgba(124, 92, 255, 0.10), transparent 40%);
    pointer-events: none;
    z-index: 0;
}

/* --------------------------------------------------------------------
   Cursor-ring — imleci hafif gecikmeyle takip eden ince iç içe
   halkalar (bulanık glow değil, sade kontur çizgileri).
   -------------------------------------------------------------------- */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    border-radius: 50%;
    border: 1.5px solid rgba(91, 141, 239, 0.55);
    pointer-events: none;
    z-index: 60;
    transform: translate3d(var(--glow-x, 50vw), var(--glow-y, 50vh), 0);
    transition: opacity 0.3s ease;
    will-change: transform;
    opacity: 0;
}

.cursor-glow::after {
    content: "";
    position: absolute;
    inset: 9px;
    border-radius: 50%;
    border: 1px solid rgba(91, 141, 239, 0.7);
}

.cursor-glow.is-active {
    opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
    .cursor-glow {
        display: none;
    }
}

@media (hover: none) {
    .cursor-glow {
        display: none;
    }
}

/* --------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------- */
.lp-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px clamp(20px, 5vw, 64px);
    background: rgba(10, 14, 23, 0.72);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
}

.lp-navbar__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-primary);
    text-decoration: none;
}

.lp-navbar__brand i {
    font-size: 1.4rem;
    color: var(--accent);
}

.lp-navbar__links {
    display: flex;
    align-items: center;
    gap: clamp(16px, 3vw, 36px);
}

.lp-navbar__links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.lp-navbar__links a:hover {
    color: var(--text-primary);
}

.lp-navbar__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 999px;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    box-shadow: 0 8px 24px rgba(91, 141, 239, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lp-navbar__cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(91, 141, 239, 0.4);
}

@media (max-width: 860px) {
    .lp-navbar__links > a { display: none; }
}

/* --------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------- */
.lp-hero {
    position: relative;
    z-index: 2;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px clamp(20px, 6vw, 80px) 80px;
    overflow: hidden;
}

/* Hero arka planındaki bağlantılı noktalar/çizgi ağı animasyonu */
.lp-hero__network {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.55;
}

@media (prefers-reduced-motion: reduce) {
    .lp-hero__network {
        display: none;
    }
}

.lp-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 980px) {
    .lp-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.lp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--accent-3);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 24px;
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}

.lp-hero__badge i {
    font-size: 1rem;
}

.lp-hero__title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    margin: 0 0 22px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.08s forwards;
}

.lp-hero__title .grad {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 55%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lp-hero__desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 0 36px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.16s forwards;
}

@media (max-width: 980px) {
    .lp-hero__desc { margin-left: auto; margin-right: auto; }
}

.lp-hero__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.24s forwards;
}

@media (max-width: 980px) {
    .lp-hero__actions { justify-content: center; }
}

.btn-glow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn-glow--primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 10px 30px rgba(91, 141, 239, 0.32);
}

.btn-glow--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(91, 141, 239, 0.44);
    color: #fff;
}

.btn-glow--ghost {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-glow--ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.lp-hero__stats {
    display: flex;
    gap: clamp(24px, 4vw, 48px);
    margin-top: 48px;
    opacity: 0;
    animation: fadeUp 0.7s ease 0.32s forwards;
}

@media (max-width: 980px) {
    .lp-hero__stats { justify-content: center; }
}

.lp-hero__stat-num {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text-primary);
}

.lp-hero__stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero görsel paneli — kayan/parallax katmanlar */
.lp-hero__visual {
    position: relative;
    height: 460px;
    opacity: 0;
    animation: fadeUp 0.9s ease 0.2s forwards;
}

@media (max-width: 980px) {
    .lp-hero__visual { display: none; }
}

.lp-float-card {
    position: absolute;
    background: var(--bg-elevated);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    transition: transform 0.15s ease-out;
    will-change: transform;
}

.lp-float-card--main {
    top: 40px;
    left: 20px;
    width: 320px;
    z-index: 3;
}

.lp-float-card--secondary {
    bottom: 60px;
    right: 0;
    width: 260px;
    z-index: 2;
}

.lp-float-card--accent {
    top: 210px;
    right: 40px;
    width: 150px;
    z-index: 4;
    text-align: center;
}

.lp-float-card__icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
}

.lp-float-card__title {
    font-weight: 700;
    font-size: 0.98rem;
    margin-bottom: 4px;
}

.lp-float-card__sub {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.lp-float-card__progress {
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    margin-top: 14px;
    overflow: hidden;
}

.lp-float-card__progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent-3), var(--accent));
}

/* --------------------------------------------------------------------
   Genel bölüm yapısı
   -------------------------------------------------------------------- */
.lp-section {
    position: relative;
    z-index: 2;
    padding: 100px clamp(20px, 6vw, 80px);
    max-width: 1280px;
    margin: 0 auto;
}

.lp-section__head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 56px;
}

.lp-eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
}

.lp-section__title {
    font-size: clamp(1.8rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 0 14px;
}

.lp-section__desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

/* Feature grid */
.lp-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 980px) {
    .lp-features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lp-features { grid-template-columns: 1fr; }
}

.lp-feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.lp-feature-card:hover {
    transform: translateY(-6px);
    border-color: rgba(91, 141, 239, 0.35);
    background: rgba(255, 255, 255, 0.05);
}

.lp-feature-card__icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 18px;
    background: rgba(91, 141, 239, 0.12);
    color: var(--accent);
}

.lp-feature-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.lp-feature-card__desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* Süreç adımları */
.lp-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 980px) {
    .lp-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
    .lp-steps { grid-template-columns: 1fr; }
}

.lp-step {
    position: relative;
    padding: 24px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    background: var(--bg-elevated);
}

.lp-step__num {
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--accent-3);
    letter-spacing: 0.05em;
    margin-bottom: 10px;
}

.lp-step__title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 8px;
}

.lp-step__desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* CTA band */
.lp-cta {
    position: relative;
    z-index: 2;
    margin: 0 clamp(20px, 6vw, 80px) 100px;
    max-width: 1120px;
    margin-left: auto;
    margin-right: auto;
    padding: 64px clamp(24px, 6vw, 72px);
    border-radius: 28px;
    background: linear-gradient(135deg, rgba(91, 141, 239, 0.14), rgba(124, 92, 255, 0.10));
    border: 1px solid rgba(91, 141, 239, 0.25);
    text-align: center;
}

.lp-cta__title {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    margin: 0 0 14px;
}

.lp-cta__desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 520px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* Footer */
.lp-footer {
    position: relative;
    z-index: 2;
    border-top: 1px solid var(--border-subtle);
    padding: 32px clamp(20px, 6vw, 80px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

.lp-footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.lp-footer a:hover {
    color: var(--text-primary);
}

/* --------------------------------------------------------------------
   Animasyonlar
   -------------------------------------------------------------------- */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lp-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.lp-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}
