:root {
    --bg-color: #030712; /* Very dark blue/black */
    --bg-secondary: #0f172a; /* Slightly lighter for cards/sections */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --primary: #3b82f6; /* Blue */
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent: #8b5cf6; /* Violet */
    --accent-glow: rgba(139, 92, 246, 0.5);
    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --spacing-container: 1200px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: var(--spacing-container);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 5rem 0;
}

.bg-darker {
    background-color: var(--bg-secondary);
}

.gradient-text {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dot {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px var(--primary-glow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--text-primary);
    margin-left: 1rem;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--text-primary);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 100%;
    margin-top: auto;
    text-align: center;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

.glow-effect::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255,255,255,0.8) 0%, transparent 60%);
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    transition: opacity 0.5s, transform 0.5s;
    z-index: -1;
}

.glow-effect:hover::after {
    opacity: 0.2;
    transform: translate(-50%, -50%) scale(1);
}

/* Header */
header {
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(3, 7, 18, 0.85); /* Transparent dark */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo a {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a:not(.btn-nav) {
    color: var(--text-secondary);
    font-weight: 500;
}

.nav-links a:not(.btn-nav):hover {
    color: var(--text-primary);
}

.btn-nav {
    background: rgba(255,255,255,0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid transparent;
}

.btn-nav:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
#hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 80px; /* Offset for fixed header */
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 20%, rgba(59, 130, 246, 0.15), transparent 40%),
                radial-gradient(circle at 20% 80%, rgba(139, 92, 246, 0.15), transparent 40%);
    z-index: -1;
}

.hero-content {
    max-width: 800px;
    z-index: 1;
}

#hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

#hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

/* Services */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.05);
    padding: 2.5rem;
    border-radius: 16px;
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(59, 130, 246, 0.3);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.service-card ul li {
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    display: flex;
    align-items: start;
    gap: 0.8rem;
}

.service-card ul li i {
    color: var(--accent);
    margin-top: 4px;
    font-size: 0.8rem;
}

.service-card strong {
    color: var(--text-primary);
}

/* Plans */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    align-items: stretch;
}

.plan-card {
    background: var(--bg-color);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 16px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.plan-card.featured {
    border-color: var(--primary);
    background: rgba(59, 130, 246, 0.05);
    transform: scale(1.05);
    z-index: 2;
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 1.5rem;
}

.plan-header h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.plan-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-features {
    margin-bottom: 2rem;
    flex-grow: 1;
}

.plan-features li {
    margin-bottom: 1rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.plan-features li i {
    color: var(--primary);
}

.plan-features li.disabled {
    color: rgba(148, 163, 184, 0.4);
}

.plan-features li.disabled i {
    color: rgba(148, 163, 184, 0.4);
}

.enterprise-desc {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    text-align: center;
}

/* Why Us */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-item {
    text-align: center;
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
    background: rgba(139, 92, 246, 0.1);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

.feature-item h3 {
    margin-bottom: 1rem;
}

.feature-item p {
    color: var(--text-secondary);
}

/* Process - Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.1);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 4rem;
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--bg-color);
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-heading);
    z-index: 2;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.step-content {
    width: 45%;
    padding: 2rem;
    background: rgba(255,255,255,0.03);
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    text-align: center;
}

.timeline-item:nth-child(odd) .step-content {
    margin-right: auto; /* Left side */
}

.timeline-item:nth-child(even) .step-content {
    margin-left: auto; /* Right side */
}

/* Step Content Connectors */
.timeline-item:nth-child(odd) .step-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -25px; /* Adjust based on distance */
    width: 25px;
    height: 1px;
    background: rgba(255,255,255,0.1);
}
/* This is tricky with responsive, simplified for now: just center the number */

/* Footer */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 4rem 0 0;
    background: #02040a;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--text-secondary);
    max-width: 300px;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: white;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-secondary);
}

.footer-links ul li a:hover {
    color: var(--text-primary);
}

.footer-contact p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.footer-bottom {
    background: black;
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.3s; }

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness */
@media (max-width: 900px) {
    #hero h1 { font-size: 2.5rem; }
    
    .timeline::before { left: 20px; }
    .step-number { left: 20px; transform: none; }
    .timeline-item { flex-direction: column; align-items: flex-start; margin-left: 60px; }
    .timeline-item .step-content { width: 100%; margin: 0 !important; text-align: left; }
    
    .footer-content { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Mobile menu hidden by default */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-secondary);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    #hero { padding-top: 100px; height: auto; padding-bottom: 5rem; text-align: center; }
    .hero-cta { display: flex; flex-direction: column; gap: 1rem; align-items: center; }
    .btn-secondary { margin-left: 0; }
}
