/* Kontor Dunyasi — Premium Landing Theme */

:root {
    --landing-bg: #070b14;
    --landing-surface: rgba(255, 255, 255, 0.06);
    --landing-border: rgba(255, 255, 255, 0.12);
    --landing-text: #f8fafc;
    --landing-muted: #94a3b8;
    --landing-accent: #6366f1;
    --landing-accent-2: #a855f7;
    --landing-accent-3: #ec4899;
    --landing-gold: #fbbf24;
    --landing-radius: 1.25rem;
    --landing-shadow: 0 32px 64px rgba(0, 0, 0, 0.35);
    --font-display: 'Plus Jakarta Sans', 'Segoe UI', sans-serif;
}

body.landing-page {
    background: var(--landing-bg);
    color: var(--landing-text);
    font-family: var(--font-display);
    overflow-x: hidden;
}

.landing-page .text-muted { color: var(--landing-muted) !important; }

/* Nav */
.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: rgba(7, 11, 20, 0.72);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--landing-border);
}

.landing-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.landing-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: var(--landing-text);
}

.landing-brand:hover { color: #fff; }

.landing-brand-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--landing-accent), var(--landing-accent-2));
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.35);
}

.landing-brand strong {
    display: block;
    font-size: 1.05rem;
    line-height: 1.2;
}

.landing-brand small {
    display: block;
    color: var(--landing-muted);
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.landing-nav-actions { display: flex; gap: 0.65rem; align-items: center; }

.btn-landing-primary {
    background: linear-gradient(135deg, var(--landing-accent), var(--landing-accent-2));
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    box-shadow: 0 12px 30px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-landing-primary:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 16px 36px rgba(99, 102, 241, 0.45);
}

.btn-landing-ghost {
    background: transparent;
    border: 1px solid var(--landing-border);
    color: var(--landing-text);
    font-weight: 600;
    padding: 0.65rem 1.15rem;
    border-radius: 999px;
    transition: all 0.2s;
}

.btn-landing-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.25);
}

/* Hero */
.landing-hero {
    position: relative;
    min-height: 100vh;
    padding: 7rem 0 4rem;
    display: flex;
    align-items: center;
}

.landing-hero-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.landing-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    animation: orb-float 12s ease-in-out infinite;
}

.landing-orb-1 {
    width: 420px; height: 420px;
    background: #6366f1;
    top: -120px; left: -80px;
}

.landing-orb-2 {
    width: 360px; height: 360px;
    background: #a855f7;
    top: 20%; right: -100px;
    animation-delay: -4s;
}

.landing-orb-3 {
    width: 280px; height: 280px;
    background: #ec4899;
    bottom: 10%; left: 30%;
    animation-delay: -8s;
}

.landing-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(circle at center, black, transparent 75%);
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -20px) scale(1.05); }
}

.landing-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--landing-border);
    color: #c7d2fe;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.landing-badge .pulse-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

.landing-title {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.landing-title span {
    background: linear-gradient(135deg, #fff 0%, #c7d2fe 45%, #f0abfc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.landing-lead {
    font-size: 1.12rem;
    color: #cbd5e1;
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 2rem;
}

.landing-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

.landing-stat {
    padding: 1rem 1.1rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--landing-border);
}

.landing-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
}

.landing-stat span {
    font-size: 0.78rem;
    color: var(--landing-muted);
}

/* Login Card */
.glass-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: calc(var(--landing-radius) + 0.25rem);
    padding: 2rem;
    box-shadow: var(--landing-shadow);
}

.glass-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(99,102,241,0.6), rgba(168,85,247,0.3), rgba(236,72,153,0.2));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-card-header {
    text-align: center;
    margin-bottom: 1.75rem;
}

.glass-card-header .icon-wrap {
    width: 58px; height: 58px;
    margin: 0 auto 1rem;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--landing-accent), var(--landing-accent-2));
    color: #fff;
    font-size: 1.5rem;
}

.glass-card-header h3 {
    font-weight: 800;
    margin-bottom: 0.35rem;
    color: #fff;
}

.landing-form .form-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 0.45rem;
}

.landing-form .input-premium {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 0.85rem;
    padding: 0.85rem 1rem 0.85rem 2.85rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.landing-form .input-premium:focus {
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(99, 102, 241, 0.65);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
    color: #fff;
}

.landing-form .input-premium::placeholder { color: #64748b; }

.input-icon-wrap { position: relative; }

.input-icon-wrap i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    z-index: 2;
}

.btn-landing-submit {
    width: 100%;
    border: none;
    border-radius: 0.9rem;
    padding: 0.95rem 1rem;
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: linear-gradient(135deg, #6366f1, #8b5cf6 55%, #d946ef);
    box-shadow: 0 16px 40px rgba(99, 102, 241, 0.35);
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-landing-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 48px rgba(99, 102, 241, 0.45);
    color: #fff;
}

.glass-divider {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 1.5rem 0;
}

/* Service chips */
.service-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #e2e8f0;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Sections */
.landing-section {
    padding: 5rem 0;
    position: relative;
}

.landing-section-alt {
    background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.04));
    border-top: 1px solid var(--landing-border);
    border-bottom: 1px solid var(--landing-border);
}

.section-heading {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3rem;
}

.section-heading .eyebrow {
    display: inline-block;
    color: #a5b4fc;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.section-heading h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.feature-premium {
    height: 100%;
    padding: 1.75rem;
    border-radius: var(--landing-radius);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--landing-border);
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
}

.feature-premium:hover {
    transform: translateY(-6px);
    border-color: rgba(99, 102, 241, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.feature-premium .icon-box {
    width: 52px; height: 52px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    font-size: 1.35rem;
    margin-bottom: 1.15rem;
    color: #fff;
}

.feature-premium h5 {
    font-weight: 800;
    margin-bottom: 0.65rem;
}

.feature-premium p {
    color: var(--landing-muted);
    font-size: 0.92rem;
    line-height: 1.65;
    margin: 0;
}

.icon-box-purple { background: linear-gradient(135deg, #6366f1, #8b5cf6); }
.icon-box-green { background: linear-gradient(135deg, #10b981, #059669); }
.icon-box-amber { background: linear-gradient(135deg, #f59e0b, #d97706); }
.icon-box-pink { background: linear-gradient(135deg, #ec4899, #db2777); }

/* Application form */
.application-shell {
    padding-top: 6.5rem;
    padding-bottom: 4rem;
}

.form-premium {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--landing-border);
    border-radius: calc(var(--landing-radius) + 0.5rem);
    padding: 2.25rem;
    box-shadow: var(--landing-shadow);
}

.form-premium .form-control,
.form-premium .form-select {
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 0.85rem;
    padding: 0.75rem 1rem;
}

.form-premium .form-control:focus {
    background: rgba(15, 23, 42, 0.8);
    border-color: rgba(99, 102, 241, 0.6);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
    color: #fff;
}

.form-premium .form-label {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 0.88rem;
}

.form-premium .form-check-label { color: #cbd5e1; }

.form-step-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--landing-border);
}

.form-step-num {
    width: 34px; height: 34px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--landing-accent), var(--landing-accent-2));
    font-weight: 800;
    font-size: 0.9rem;
}

.form-step-title h4 {
    margin: 0;
    font-weight: 800;
    font-size: 1.05rem;
}

.service-toggle {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.service-toggle .form-check {
    margin: 0;
    padding: 0;
}

.service-toggle .form-check-input { display: none; }

.service-toggle .form-check-label {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.65rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--landing-border);
    background: rgba(255,255,255,0.04);
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 600;
    font-size: 0.88rem;
}

.service-toggle .form-check-input:checked + .form-check-label {
    background: linear-gradient(135deg, rgba(99,102,241,0.25), rgba(168,85,247,0.2));
    border-color: rgba(99, 102, 241, 0.55);
    color: #fff;
}

/* Footer */
.landing-footer {
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--landing-border);
    background: rgba(0, 0, 0, 0.25);
}

.landing-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.landing-footer h6 {
    font-weight: 800;
    margin-bottom: 0.85rem;
    color: #fff;
}

.landing-footer p,
.landing-footer small,
.landing-footer a {
    color: var(--landing-muted);
    text-decoration: none;
}

.landing-footer a:hover { color: #fff; }

/* Auth standalone */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 2rem 0;
}

@media (max-width: 991.98px) {
    .landing-stats { grid-template-columns: 1fr; }
    .landing-footer-grid { grid-template-columns: 1fr; }
    .landing-hero { padding-top: 6rem; }
}
