/* Metady Design System — Koonsulty Dark Glassmorphic */
:root {
    --bg-primary: #0a0b10;
    --bg-secondary: #12131c;
    --bg-card: rgba(22, 24, 38, 0.65);
    --bg-card-hover: rgba(28, 30, 48, 0.85);

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-border-focus: rgba(59, 130, 246, 0.5);

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-green: #22c55e;
    --accent-yellow: #eab308;
    --accent-red: #ef4444;

    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, monospace;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

/* Glass panel utility */
.glass-panel {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography Helpers */
.gradient-text {
    background: linear-gradient(135deg, #38bdf8 0%, #818cf8 50%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.gradient-text-purple {
    background: linear-gradient(135deg, #c084fc 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.mono-font { font-family: var(--font-mono); }
.text-cyan { color: var(--accent-cyan); }
.text-yellow { color: var(--accent-yellow); }
.text-dim { color: var(--text-muted); }
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-xs { font-size: 0.75rem; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid var(--glass-border);
}
.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.14);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-micro {
    padding: 4px 8px;
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    cursor: pointer;
}
.btn-micro:hover { color: #fff; background: rgba(255, 255, 255, 0.15); }

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: inherit;
}

.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.5px; }
.brand-suite { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}
.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}
.nav-links a:hover { color: #ffffff; }

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 90px 0 60px 0;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.22) 0%, rgba(139, 92, 246, 0.15) 50%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.pill-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-green);
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -1.2px;
    max-width: 950px;
    margin: 0 auto 20px auto;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 780px;
    margin: 0 auto 36px auto;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-hero-primary {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.4);
    transition: all 0.2s ease;
}
.btn-hero-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.6);
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: all 0.2s ease;
}
.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.btn-subtext {
    font-size: 0.75rem;
    opacity: 0.8;
    margin-top: 2px;
}

.hero-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.badge-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Simulator Section */
.simulator-section {
    padding: 70px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}
.section-tag {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-blue);
    text-transform: uppercase;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 8px 0 12px 0;
    letter-spacing: -0.5px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 650px;
    margin: 0 auto;
}

.simulator-card {
    padding: 24px;
}

.sim-presets {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--glass-border);
}
.sim-preset-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
}
.chip-btn {
    padding: 6px 14px;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.15s ease;
}
.chip-btn:hover { background: rgba(255, 255, 255, 0.1); color: #fff; }
.chip-btn.active {
    background: var(--accent-blue);
    color: #fff;
    border-color: var(--accent-blue);
    box-shadow: 0 0 12px rgba(59, 130, 246, 0.4);
}

.simulator-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 24px;
}

.sim-map-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sim-map-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 600;
}
.sim-map-title { display: flex; align-items: center; gap: 6px; color: var(--text-secondary); }

.badge-pill {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
}
.pill-live {
    background: rgba(34, 197, 94, 0.2);
    color: var(--accent-green);
    border: 1px solid rgba(34, 197, 94, 0.4);
}

.map-viewport {
    height: 380px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    background: #0d0f18;
}

.sim-timeshift-bar {
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
}
.timeshift-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    margin-bottom: 8px;
}
.ts-label { color: var(--text-muted); }
.ts-value { font-weight: 700; color: var(--accent-yellow); }

.slider-row {
    display: flex;
    align-items: center;
    gap: 10px;
}
.slider-bound { font-size: 0.75rem; color: var(--text-muted); }
#ts-slider {
    flex: 1;
    accent-color: var(--accent-yellow);
    cursor: pointer;
}

/* Simulator Right Column (HUD) */
.sim-hud-col {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.sim-photo-preview {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    height: 180px;
    background: #000;
}
.sim-img-view {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hud-overlay-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.75);
    color: #fff;
    padding: 3px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-mono);
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.sim-hud-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.hud-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    padding: 10px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}
.hud-k { font-size: 0.65rem; color: var(--text-muted); font-weight: 800; letter-spacing: 0.5px; }
.hud-v { font-size: 0.85rem; font-weight: 700; color: #fff; margin-top: 2px; }

.sim-hud-live {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--glass-border);
    padding: 14px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.live-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.live-label { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; }
.live-val { font-size: 0.85rem; font-weight: 600; }

.sim-actions {
    display: flex;
    gap: 10px;
}
.sim-btn { flex: 1; padding: 10px; font-size: 0.85rem; }

/* Features Grid */
.features-section { padding: 80px 0; }
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}
.feature-card {
    padding: 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}
.feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.icon-blue { background: rgba(59, 130, 246, 0.15); color: var(--accent-blue); }
.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }
.icon-yellow { background: rgba(234, 179, 8, 0.15); color: var(--accent-yellow); }
.icon-green { background: rgba(34, 197, 94, 0.15); color: var(--accent-green); }

.feat-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; }
.feat-desc { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; margin-bottom: 16px; }
.feat-list {
    list-style: none;
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.feat-list li::before {
    content: "• ";
    color: var(--accent-blue);
    font-weight: bold;
}

/* Synergy Section */
.synergy-section { padding: 50px 0 80px 0; }
.synergy-card {
    padding: 40px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}
.synergy-tag { font-size: 0.75rem; font-weight: 800; letter-spacing: 1.5px; color: var(--accent-purple); text-transform: uppercase; }
.synergy-title { font-size: 2rem; font-weight: 800; margin: 8px 0 16px 0; }
.synergy-text { color: var(--text-secondary); font-size: 1.05rem; line-height: 1.6; margin-bottom: 24px; }
.synergy-points { display: flex; flex-direction: column; gap: 12px; }
.sp-item { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; font-weight: 600; color: #fff; }
.sp-icon { font-size: 1.1rem; }

.synergy-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.syn-badge { font-size: 0.75rem; color: var(--accent-purple); font-weight: 700; text-transform: uppercase; }
.syn-btn-preview {
    background: linear-gradient(135deg, #7c3aed 0%, #2563eb 100%);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.5);
}
.syn-stream-line { color: var(--accent-cyan); background: rgba(6, 182, 212, 0.1); padding: 6px 12px; border-radius: 6px; }

/* Comparison Table */
.comparison-section { padding: 80px 0; }
.table-responsive { overflow-x: auto; padding: 20px; }
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.95rem;
}
.comparison-table th, .comparison-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--glass-border);
}
.comparison-table th { font-weight: 700; color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; }
.col-highlight {
    background: rgba(59, 130, 246, 0.08);
    border-left: 1px solid rgba(59, 130, 246, 0.2);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

/* Pricing Section */
.pricing-section { padding: 80px 0; }
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 850px;
    margin: 0 auto 40px auto;
}
.pricing-card {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.featured-card {
    border: 2px solid rgba(59, 130, 246, 0.6);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.2);
}
.popular-ribbon {
    position: absolute;
    top: -12px;
    right: 24px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-purple) 100%);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.5px;
}
.card-tier { font-size: 0.8rem; font-weight: 800; letter-spacing: 1px; color: var(--text-muted); text-transform: uppercase; }
.price-box { display: flex; align-items: baseline; gap: 8px; margin: 12px 0; }
.price-val { font-size: 3rem; font-weight: 900; letter-spacing: -1px; }
.price-period { color: var(--text-secondary); font-size: 0.95rem; }
.card-desc { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 24px; }
.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    flex-grow: 1;
}
.pricing-features strong { color: #fff; }
.btn-block { width: 100%; padding: 14px; font-size: 1rem; }
.guarantee-text { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 12px; display: block; }

/* Bundle Banner */
.bundle-banner {
    max-width: 850px;
    margin: 0 auto;
    padding: 28px 36px;
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.4);
    background: linear-gradient(135deg, rgba(22, 24, 38, 0.8) 0%, rgba(30, 20, 50, 0.7) 100%);
}
.bundle-badge {
    position: absolute;
    top: -10px;
    left: 28px;
    background: #ec4899;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 50px;
}
.bundle-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}
.bundle-title { font-size: 1.4rem; font-weight: 800; margin-bottom: 6px; }
.bundle-desc { color: var(--text-secondary); font-size: 0.95rem; max-width: 480px; }
.bundle-price { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px; justify-content: flex-end; }
.original-price { text-decoration: line-through; color: var(--text-muted); font-size: 1rem; }
.final-price { font-size: 1.8rem; font-weight: 900; color: var(--accent-green); }
.btn-bundle {
    background: linear-gradient(135deg, #ec4899 0%, #8b5cf6 100%);
    color: #fff;
    padding: 12px 24px;
    font-weight: 700;
}
.btn-bundle:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(236, 72, 153, 0.4); }

/* FAQ */
.faq-section { padding: 80px 0; }
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 20px;
}
.faq-item { padding: 24px; }
.faq-q { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; color: #fff; }
.faq-a { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.6; }

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 50px 0 30px 0;
    margin-top: 60px;
}
.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin-top: 8px; max-width: 320px; }
.footer-heading { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; color: var(--text-muted); display: block; margin-bottom: 12px; }
.suite-links { display: flex; gap: 16px; }
.suite-links a { color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; font-weight: 600; }
.suite-links a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.04); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.8rem; }

/* Toast */
.toast {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid var(--accent-blue);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    z-index: 9999;
}
.toast.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsiveness */
@media (max-width: 900px) {
    .hero-title { font-size: 2.3rem; }
    .simulator-layout { grid-template-columns: 1fr; }
    .synergy-card { grid-template-columns: 1fr; }
    .bundle-content { flex-direction: column; align-items: flex-start; }
    .bundle-price { justify-content: flex-start; }
    .nav-links { display: none; }
}
