/* ═══════════════════════════════════════════════════
   landing.css — Landing page premium styles
   ═══════════════════════════════════════════════════ */

/* ── NAVBAR ── */
.navbar {
    background: rgba(13, 16, 24, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 1px 0 rgba(59, 116, 232, 0.08);
    padding: 0 60px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}
.navbar.scrolled {
    background: rgba(11, 14, 22, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(59, 116, 232, 0.12);
}

.nav-logo {
    font-size: 19px;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: -0.03em;
}
.nav-logo svg {
    filter: drop-shadow(0 0 8px rgba(59, 116, 232, 0.4));
}

.nav-links {
    display: flex;
    gap: 6px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 9999px;
    padding: 5px;
}

.nav-links a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-tertiary, #6B7685);
    transition: all 0.25s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 9999px;
}
.nav-links a svg {
    opacity: 0.65;
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.nav-links a:hover {
    color: #fff;
    background: rgba(59, 116, 232, 0.12);
}
.nav-links a:hover svg {
    opacity: 1;
    transform: scale(1.08);
    color: var(--primary-300, #7ba6f2);
}

/* ── HERO ── */
.hero {
    text-align: center;
    padding: 140px 40px 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(59, 116, 232, 0.08) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow1 8s ease-in-out infinite;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(76, 130, 247, 0.05) 0%, transparent 70%);
    pointer-events: none;
    animation: heroGlow2 10s ease-in-out infinite;
}
@keyframes heroGlow1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.8; }
    50% { transform: translate(-30px, 20px) scale(1.1); opacity: 1; }
}
@keyframes heroGlow2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.6; }
    50% { transform: translate(20px, -20px) scale(1.15); opacity: 1; }
}

/* Particle canvas behind hero */
#heroParticles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.hero > *:not(#heroParticles) {
    position: relative;
    z-index: 1;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-300, #5389ed);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding: 8px 20px;
    background: rgba(59, 116, 232, 0.06);
    border: 1px solid rgba(59, 116, 232, 0.15);
    border-radius: 9999px;
    animation: fadeInDown 0.8s ease backwards;
}
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-title {
    font-size: clamp(38px, 5.5vw, 68px);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.08;
    color: #FFFFFF;
    margin-bottom: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    animation: heroTitleReveal 1s ease backwards 0.2s;
}
@keyframes heroTitleReveal {
    from { opacity: 0; transform: translateY(30px); filter: blur(4px); }
    to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero-title span {
    background: linear-gradient(135deg, #3b74e8 0%, #5389ed 45%, #7ba6f2 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-sub {
    font-size: 18px;
    color: var(--text-secondary, #A0AAB8);
    max-width: 640px;
    margin: 0 auto 40px;
    line-height: 1.75;
    animation: heroTitleReveal 1s ease backwards 0.4s;
}

.hero .btn-primary {
    animation: heroTitleReveal 0.8s ease backwards 0.6s;
    font-size: 16px;
    padding: 16px 36px;
    border-radius: 14px;
}

.hero-stats {
    display: flex;
    gap: 72px;
    justify-content: center;
    margin-top: 72px;
    flex-wrap: wrap;
    animation: heroTitleReveal 1s ease backwards 0.8s;
}

.hero-stats > div {
    transition: transform 0.3s ease;
}
.hero-stats > div:hover {
    transform: translateY(-4px);
}

.h-stat-val {
    font-size: 32px;
    font-weight: 900;
    background: linear-gradient(135deg, #3b74e8, #5389ed);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.h-stat-lbl {
    font-size: 13px;
    color: var(--text-tertiary, #6B7685);
    margin-top: 6px;
    font-weight: 500;
}

/* ── SECTION ── */
.section {
    padding: 100px 60px;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-300, #5389ed);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 14px;
    padding: 5px 14px;
    background: rgba(59, 116, 232, 0.06);
    border: 1px solid rgba(59, 116, 232, 0.12);
    border-radius: 9999px;
}

.section-h2 {
    font-size: clamp(26px, 3.5vw, 44px);
    font-weight: 900;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 16px;
    line-height: 1.15;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary, #A0AAB8);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 52px;
}

/* ── FEATURE CARDS ── */
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.feat-card {
    background: var(--bg-card, #111420);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 36px 28px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.feat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 116, 232, 0.5), transparent);
    transform: scaleX(0);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}
.feat-card::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 116, 232, 0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
}
.feat-card:hover {
    border-color: rgba(59, 116, 232, 0.2);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 116, 232, 0.04);
}
.feat-card:hover::before { transform: scaleX(1); }
.feat-card:hover::after { opacity: 1; }

.feat-icon {
    margin-bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: var(--primary-300, #7ba6f2);
    background: linear-gradient(150deg, rgba(59, 116, 232, 0.20), rgba(59, 116, 232, 0.05));
    border: 1px solid rgba(59, 116, 232, 0.24);
    border-radius: 16px;
    align-self: flex-start;
    box-shadow: 0 8px 20px rgba(59, 116, 232, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, color 0.3s ease;
}
.feat-card:hover .feat-icon {
    transform: scale(1.08) rotate(-3deg);
    color: #fff;
    box-shadow: 0 12px 26px rgba(59, 116, 232, 0.24), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feat-title {
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
    line-height: 1.35;
    min-height: 43px;
    display: flex;
    align-items: flex-end;
}

.feat-desc {
    font-size: 14px;
    color: var(--text-tertiary, #6B7685);
    line-height: 1.7;
}

/* ── PRODUCT CARD EXTRAS (Ürünler sayfası) ── */
.feat-card.soon {
    opacity: 0.72;
}
.feat-card.soon:hover {
    opacity: 1;
}
.prod-soon,
.prod-active {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 9999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.prod-soon {
    color: var(--primary-300, #7ba6f2);
    background: rgba(59, 116, 232, 0.10);
    border: 1px solid rgba(59, 116, 232, 0.28);
}
.prod-active {
    color: var(--accent-green, #3fb950);
    background: rgba(63, 185, 80, 0.10);
    border: 1px solid rgba(63, 185, 80, 0.30);
}
.feat-cta {
    align-self: flex-start;
    margin-top: auto;
    padding-top: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-400, #5389ed);
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}
.feat-cta:hover {
    color: var(--primary-300, #7ba6f2);
    transform: translateX(3px);
}

/* ── HOW GRID ── */
.how-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
    position: relative;
}
/* Connector line */
.how-grid::before {
    content: '';
    position: absolute;
    top: 22px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(59, 116, 232, 0.2), rgba(59, 116, 232, 0.3), rgba(59, 116, 232, 0.2), transparent);
    z-index: 0;
}

.how-step {
    padding: 24px;
    position: relative;
    z-index: 1;
}

.how-num {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: linear-gradient(135deg, #3b74e8, #5389ed);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 900;
    color: #fff;
    margin: 0 auto 18px;
    box-shadow: 0 4px 16px rgba(59, 116, 232, 0.3);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}
.how-num::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 18px;
    border: 2px solid rgba(59, 116, 232, 0.15);
    transition: all 0.3s;
}
.how-step:hover .how-num {
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 8px 24px rgba(59, 116, 232, 0.4);
}
.how-step:hover .how-num::after {
    border-color: rgba(59, 116, 232, 0.3);
    inset: -8px;
    border-radius: 22px;
}

.how-title {
    font-size: 15px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.how-desc {
    font-size: 13px;
    color: var(--text-tertiary, #6B7685);
    line-height: 1.65;
}

/* ── PLAN CARDS ── */
.plan-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plan-card {
    background: var(--bg-card, #111420);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 22px;
    padding: 36px 28px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
}
.plan-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500, #3b74e8), var(--primary-300, #5389ed));
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
.plan-card:hover {
    border-color: rgba(59, 116, 232, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35), 0 0 30px rgba(59, 116, 232, 0.04);
}
.plan-card:hover::before { transform: scaleX(1); }

.plan-card.featured {
    border-color: rgba(59, 116, 232, 0.3);
    box-shadow: 0 0 50px rgba(59, 116, 232, 0.08);
    background: linear-gradient(145deg, rgba(59, 116, 232, 0.04), var(--bg-card, #111420));
}
.plan-card.featured::before { transform: scaleX(1); }

.plan-badge {
    position: absolute;
    top: -1px;
    right: 20px;
    background: linear-gradient(135deg, #3b74e8, #5389ed);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 0 12px 12px;
    letter-spacing: 0.04em;
    box-shadow: 0 4px 12px rgba(59, 116, 232, 0.3);
}

.plan-name {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.plan-price {
    font-size: 36px;
    font-weight: 900;
    color: var(--primary-500, #3b74e8);
    margin-bottom: 28px;
    letter-spacing: -0.03em;
}

.plan-price span {
    font-size: 14px;
    color: var(--text-tertiary, #6B7685);
    font-weight: 400;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary, #A0AAB8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    gap: 10px;
}
.plan-features li:last-child { border-bottom: none; }

.plan-features li::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green, #3fb950);
    background: rgba(63, 185, 80, 0.08);
    flex-shrink: 0;
}

/* ── PROVIDER CHIPS ── */
.provider-row {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 56px 0;
}

.provider-chip {
    background: var(--bg-card, #111420);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    padding: 14px 22px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary, #C5CDD9);
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.provider-chip:hover {
    border-color: rgba(59, 116, 232, 0.25);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    background: rgba(59, 116, 232, 0.03);
}

.provider-logo {
    width: 24px;
    height: 24px;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.provider-chip:hover .provider-logo {
    transform: scale(1.15);
}

/* ── FAQ ── */
.faq-list {
    margin-top: 36px;
}

.faq-item {
    background: var(--bg-card, #111420);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: rgba(59, 116, 232, 0.15);
}
.faq-item[open] {
    border-color: rgba(59, 116, 232, 0.2);
    box-shadow: 0 4px 20px rgba(59, 116, 232, 0.04);
}

.faq-item summary {
    padding: 20px 28px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s;
}
.faq-item summary:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: "+";
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(59, 116, 232, 0.08);
    color: var(--primary-500, #3b74e8);
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.faq-item[open] summary::after {
    content: "−";
    transform: rotate(180deg);
    background: rgba(59, 116, 232, 0.15);
}

.faq-item p {
    padding: 0 28px 22px;
    font-size: 14px;
    color: var(--text-secondary, #A0AAB8);
    line-height: 1.75;
    animation: faqOpen 0.3s ease;
}
@keyframes faqOpen {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ── FOOTER ── */
.footer {
    padding: 48px 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: rgba(6, 8, 14, 0.5);
}

/* ── CTA Section ── */
.cta-section {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(145deg, rgba(59, 116, 232, 0.04) 0%, rgba(76, 130, 247, 0.03) 100%);
    border-top: 1px solid rgba(59, 116, 232, 0.08);
    border-bottom: 1px solid rgba(59, 116, 232, 0.08);
    position: relative;
    overflow: hidden;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 300px;
    background: radial-gradient(ellipse, rgba(59, 116, 232, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* ── SCROLL REVEAL ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.7s cubic-bezier(0.19, 1, 0.22, 1);
}
.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
    .feat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .how-grid::before { display: none; }
    .plan-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Gezinme: 900px altında hamburger menüye döner (641–900px arası da sıkışmasın) */
@media (min-width: 901px) {
    .navbar .mobile-menu-btn { display: none !important; }
}
@media (max-width: 900px) {
    .navbar {
        padding: 0 20px;
    }
    .nav-logo, .nav-actions a { white-space: nowrap; }
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 68px;
        left: 0;
        width: 100%;
        background: #080a0e; /* opak: açık menünün altından sayfa metni görünmesin */
        backdrop-filter: blur(24px) saturate(180%);
        padding: 20px;
        border: none;
        border-radius: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 8px;
        text-align: center;
    }
    .nav-links.active {
        display: flex;
        animation: fadeInDown 0.3s ease;
    }
    .nav-links a {
        justify-content: center;
        padding: 12px 16px;
    }
    .nav-actions {
        display: none !important;
        position: absolute;
        top: 260px; /* _public_navbar.html betiği menü açılınca gerçek yüksekliğe göre ayarlar */
        left: 0;
        width: 100%;
        background: #080a0e; /* opak: açık menünün altından sayfa metni görünmesin */
        padding: 0 20px 20px;
        justify-content: center;
    }
    .nav-actions.active {
        display: flex !important;
        animation: fadeInDown 0.3s ease;
    }
    .nav-actions a { flex: 1 1 0; justify-content: center; text-align: center; min-height: 44px; }
    .mobile-menu-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        margin-right: -10px;
        background: transparent;
        border: none;
        color: #fff;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }
}

@media (max-width: 640px) {
    .hero {
        padding: 100px 20px 70px;
    }
    .section {
        padding: 70px 20px;
    }
    .feat-grid,
    .how-grid,
    .plan-grid {
        grid-template-columns: 1fr;
    }
    .hero-stats {
        gap: 32px;
    }
    .hero .btn-primary {
        width: 100%;
        justify-content: center;
    }
}
.mobile-menu-btn {
    display: none;
}
/* Keyboard focus indicator for public pages */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 2px solid #2563EB; outline-offset: 2px; }
