/* RevZitan RaaS - Premium Dark Theme */
:root {
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;
    
    --indigo-400: #818cf8;
    --indigo-500: #6366f1;
    --indigo-600: #4f46e5;
    
    --rose-400: #fb7185;
    --rose-500: #f43f5e;
    --rose-600: #e11d48;
    
    --sky-400: #38bdf8;
    --sky-500: #0ea5e9;
    
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    
    --white: #ffffff;
    --shadow-glass: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

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

html {
    scroll-behavior: smooth;
    background-color: var(--slate-950);
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--slate-950);
    color: var(--slate-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.container-sm {
    max-width: 800px;
}

.text-center { text-align: center; }
.uppercase { text-transform: uppercase; letter-spacing: 0.1em; }

/* Typography */
h1, h2, h3 {
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.text-gradient-indigo {
    background: linear-gradient(135deg, var(--indigo-400), var(--sky-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-rose {
    background: linear-gradient(135deg, var(--rose-400), #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Glassmorphism */
.glass {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-glass);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--indigo-600), var(--indigo-500));
    color: var(--white);
    box-shadow: 0 10px 20px -5px rgba(79, 70, 229, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(79, 70, 229, 0.5);
    filter: brightness(1.1);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--slate-100);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-sm { padding: 10px 20px; font-size: 0.9rem; }
.btn-lg { padding: 16px 32px; font-size: 1.1rem; }
.btn-xl { padding: 20px 48px; font-size: 1.4rem; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    height: 80px;
    z-index: 1000;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.navbar.scrolled {
    background: rgba(2, 6, 23, 0.8);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--indigo-500), var(--sky-500));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, var(--slate-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--slate-400);
    font-weight: 500;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover { color: var(--white); }

/* Hero */
.hero {
    position: relative;
    padding: 200px 0 120px;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 600px;
    background: radial-gradient(circle at center, rgba(99, 102, 241, 0.15), transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 9999px;
    color: var(--indigo-400);
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 40px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--indigo-500);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: inherit;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(3); opacity: 0; }
}

.hero-title {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 24px;
}

.hero-subline {
    font-size: 1.4rem;
    color: var(--slate-400);
    max-width: 800px;
    margin: 0 auto 56px;
    line-height: 1.4;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 32px;
}

.hero-footer-text {
    font-size: 0.9rem;
    color: var(--slate-600);
    font-weight: 500;
}

/* Features */
.features {
    padding: 120px 0;
    position: relative;
}

.section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
}

.section-header p {
    font-size: 1.25rem;
    color: var(--slate-400);
    max-width: 700px;
    margin: 0 auto 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-card {
    padding: 48px;
    border-radius: 24px;
    transition: all 0.4s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-10px);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 32px;
}

.icon-indigo { background: rgba(99, 102, 241, 0.1); color: var(--indigo-400); }
.icon-rose { background: rgba(244, 63, 94, 0.1); color: var(--rose-400); }
.icon-sky { background: rgba(14, 165, 233, 0.1); color: var(--sky-400); }

.feature-card h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.feature-card p {
    color: var(--slate-400);
    font-size: 1.1rem;
}

/* ROI Section */
.roi {
    padding: 140px 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.roi-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.15;
    z-index: 0;
}

.blob-1 { top: -200px; left: -200px; background: var(--indigo-600); }
.blob-2 { bottom: -200px; right: -200px; background: var(--rose-600); }

.roi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
    position: relative;
    z-index: 10;
}

.roi-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 32px;
}

.roi-description {
    font-size: 1.3rem;
    color: var(--slate-300);
    margin-bottom: 48px;
}

.roi-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.roi-item {
    display: flex;
    gap: 24px;
}

.roi-check {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(244, 63, 94, 0.1);
    color: var(--rose-400);
    font-weight: 800;
}

.roi-item-label {
    font-weight: 700;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 8px;
    color: var(--white);
}

.roi-item p { color: var(--slate-400); font-size: 1.1rem; }

.roi-card {
    padding: 48px;
    border-radius: 32px;
}

.roi-card-header {
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--indigo-400);
    text-align: center;
    margin-bottom: 48px;
}

.roi-stats {
    display: flex;
    flex-direction: column;
    gap: 56px;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 16px;
}

.stat-header span:first-child { font-weight: 600; font-size: 1.1rem; color: var(--slate-300); }
.stat-header span:last-child { font-weight: 800; font-size: 1.8rem; }

.text-rose { color: var(--rose-400); }
.text-emerald { color: var(--emerald-400); }

.progress-bar {
    width: 100%;
    height: 48px;
    background: rgba(2, 6, 23, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    display: flex;
    padding: 8px;
    overflow: hidden;
}

.progress-fill { border-radius: 10px; height: 100%; }
.fill-rose { 
    background: var(--rose-500); 
    box-shadow: 0 0 20px rgba(244, 63, 94, 0.3); 
}
.fill-emerald { 
    background: var(--emerald-500); 
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3); 
}

.progress-divider { width: 12px; }

.stat-sub {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--slate-500);
    margin-top: 16px;
    padding: 0 4px;
}

/* CTA */
.cta {
    padding: 160px 0;
    text-align: center;
}

.cta-title {
    font-size: clamp(3rem, 7vw, 5rem);
    margin-bottom: 32px;
}

.cta-sub {
    font-size: 1.6rem;
    color: var(--slate-400);
    margin-bottom: 64px;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.cta-meta {
    color: var(--slate-500);
    font-weight: 500;
}

/* Footer */
.footer {
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.copyright { color: var(--slate-500); font-weight: 500; }

.footer-links {
    display: flex;
    gap: 40px;
}

.footer-links a {
    color: var(--slate-500);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--white); }

/* Comparison Table */
.comparison {
    padding: 120px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 64px;
}

.comp-card {
    padding: 48px;
    border-radius: 32px;
}

.comp-card h4 {
    font-size: 1.8rem;
    margin-bottom: 32px;
    font-weight: 800;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comp-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    color: var(--slate-400);
    font-size: 1.1rem;
}

.comp-item.positive { color: var(--slate-100); }
.comp-item::before { content: '•'; font-weight: 900; }
.comp-item.positive::before { content: '✓'; color: var(--emerald-400); }

/* Responsive */
@media (max-width: 1024px) {
    .features-grid { grid-template-columns: 1fr; }
    .roi-grid { grid-template-columns: 1fr; gap: 64px; }
    .nav-links { display: none; }
    .comparison-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
    .hero-actions { flex-direction: column; align-items: stretch; }
    .btn-xl { font-size: 1.2rem; padding: 18px 32px; }
    .hero { padding-top: 140px; }
}