/* --- Global Reset & Tokens --- */
:root {
    --bg-obsidian: #090D16;
    --bg-card: rgba(17, 24, 39, 0.7);
    --sapphire-primary: #2563EB;
    --sapphire-glow: #3B82F6;
    --cyan-accent: #00E5FF;
    --text-main: #F3F4F6;
    --text-muted: #9CA3AF;
    --border-glass: rgba(255, 255, 255, 0.08);
    --font-stack: 'Plus Jakarta Sans', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-obsidian);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- UI Utilities & Glassmorphism --- */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

.text-gradient {
    background: linear-gradient(135deg, #FFF 30%, var(--cyan-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(37, 99, 235, 0.15);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--cyan-accent);
    border-radius: 99px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--sapphire-primary), #1D4ED8);
    color: #FFF;
    border: none;
    box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 24px rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #FFF;
    border: 1px solid var(--border-glass);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-outline {
    background: transparent;
    color: #FFF;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
    border-color: var(--cyan-accent);
    color: var(--cyan-accent);
}

.full-width { width: 100%; }

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9, 13, 22, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.logo-text span {
    color: var(--cyan-accent);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: #FFF;
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 11rem 0 7rem 0;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.2) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1.15;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.5rem auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* --- Live KPI Ticker --- */
.ticker-wrap {
    width: 100%;
    background: rgba(37, 99, 235, 0.05);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
    padding: 0.75rem 0;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

.ticker__item {
    display: inline-block;
    padding: 0 2rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--cyan-accent);
    letter-spacing: 1px;
}

@keyframes marquee {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* --- Features Section --- */
.features-section, .pricing-section, .contact-section {
    padding: 7rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    padding: 2.5rem;
    transition: transform 0.3s, border-color 0.3s;
}

.card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.2);
}

.card-icon {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- Pricing Interactive Section --- */
.toggle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    font-weight: 500;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input { opacity: 0; width: 0; height: 0; }

.slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .3s;
    border: 1px solid var(--border-glass);
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px; width: 18px;
    left: 3px; bottom: 3px;
    background-color: #FFF;
    transition: .3s;
}

input:checked + .slider { background-color: var(--sapphire-primary); }
input:checked + .slider:before { transform: translateX(24px); }
.slider.round { border-radius: 34px; }
.slider.round:before { border-radius: 50%; }

.save-badge {
    background: rgba(0, 225, 255, 0.2);
    color: var(--cyan-accent);
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    border-radius: 4px;
    margin-left: 0.25rem;
}

.pricing-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.pricing-card {
    padding: 3rem 2.5rem;
    flex: 1;
    max-width: 400px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border-color: var(--sapphire-primary);
    box-shadow: 0 0 30px rgba(37, 99, 235, 0.1);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--sapphire-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.3rem 1rem;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.5rem 0 1.5rem 0;
}

.price-box {
    margin-bottom: 2rem;
}

.currency { font-size: 1.5rem; font-weight: 600; vertical-align: top; }
.price { font-size: 3.5rem; font-weight: 700; color: #FFF; line-height: 1; }
.period { color: var(--text-muted); }

.plan-features {
    list-style: none;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 0.75rem;
    color: #E5E7EB;
    font-size: 0.95rem;
}

/* --- Form Fields & Lead Capture --- */
.contact-form-wrapper {
    max-width: 550px;
    margin: 0 auto;
    padding: 3rem;
    text-align: center;
}

.contact-form-wrapper h2 { margin-bottom: 0.5rem; }
.contact-form-wrapper p { color: var(--text-muted); margin-bottom: 2rem; }

.form-group {
    margin-bottom: 1.25rem;
}

input[type="text"], input[type="email"], select {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: #FFF;
    font-family: var(--font-stack);
    font-size: 0.95rem;
    transition: border-color 0.3s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--sapphire-primary);
}

select option {
    background: var(--bg-obsidian);
    color: #FFF;
}

.hidden { display: none; }
#form-response {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 6px;
    font-weight: 500;
}
#form-response.success {
    background: rgba(16, 185, 129, 0.15);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* --- Footer --- */
footer {
    border-top: 1px solid var(--border-glass);
    padding: 2rem 0;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 2.5rem; }
    .contact-form-wrapper { padding: 2rem 1.5rem; }
}

