:root {
    --bg-color: #050710;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent-1: #6366f1;
    /* Indigo */
    --accent-2: #a855f7;
    /* Purple */
    --accent-3: #ec4899;
    /* Pink */
    --surface: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
    --font-main: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-main);
    line-height: 1.5;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Background & Blobs */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: -2;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
    opacity: 0.4;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-1), var(--accent-2));
}

.blob-2 {
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-3), var(--accent-2));
    animation-delay: -5s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(-30px, 50px) scale(1.1);
    }
}

/* Utils */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-1) 50%, var(--accent-3) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 7, 16, 0.8);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.logo span {
    color: var(--accent-2);
}

/* Buttons */
button {
    font-family: var(--font-main);
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

.cta-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.cta-secondary:hover {
    background: var(--surface);
    border-color: rgba(255, 255, 255, 0.2);
}

.cta-glow {
    position: relative;
}

.cta-primary {
    background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
    color: white;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    overflow: hidden;
}

.cta-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
}

.cta-primary:hover::before {
    left: 100%;
}

.cta-primary svg {
    transition: transform 0.3s ease;
}

.cta-primary:hover svg {
    transform: translateX(4px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
}

.glass-panel {
    background: var(--surface);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-2);
    font-size: 13px;
    font-weight: 600;
    border: 1px solid rgba(168, 85, 247, 0.2);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1.5px;
}

.hero h2 {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 400;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 80px 0 120px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.benefit-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.benefit-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(168, 85, 247, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-2);
    margin-bottom: 24px;
    border: 1px solid rgba(168, 85, 247, 0.2);
}

.benefit-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations */
.slide-up {
    opacity: 0;
    transform: translateY(40px);
    animation: slideUpFade 0.8s forwards;
}

.stagger-1 {
    animation: slideUpFade 0.8s 0.2s forwards;
    opacity: 0;
}

.stagger-2 {
    animation: slideUpFade 0.8s 0.4s forwards;
    opacity: 0;
}

.stagger-3 {
    animation: slideUpFade 0.8s 0.6s forwards;
    opacity: 0;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .glass-panel {
        padding: 40px 20px;
        border-radius: 16px;
        margin: 0 15px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero h1 {
        font-size: clamp(28px, 6vw, 40px);
    }

    .hero h2 {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .benefits-grid {
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .glass-panel {
        padding: 30px 15px;
        border-radius: 12px;
        margin: 0 10px;
    }

    .badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 16px;
    }

    .cta-primary {
        padding: 14px 20px;
        font-size: 15px;
        width: 100%;
        justify-content: center;
    }

    .modal-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }

    .hero h1 {
        font-size: 26px;
    }
}

/* Modal Styles Added for Lead Capture */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: #111111;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2.5rem;
    width: 90%;
    max-width: 450px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #fff;
}

.modal-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-content p {
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.form-group {
    margin-bottom: 1.25rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    color: #ccc;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, background 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: #ff4d4d;
    background: rgba(255, 255, 255, 0.08);
}

.phone-input-group {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s, background 0.2s;
}

.phone-input-group:focus-within {
    border-color: #ff4d4d;
    background: rgba(255, 255, 255, 0.08);
}

.phone-prefix {
    padding: 0.8rem 0.5rem 0.8rem 1rem;
    color: #ccc;
    font-size: 1rem;
    font-weight: 600;
    -webkit-user-select: none;
    user-select: none;
    white-space: nowrap;
}

.phone-input-group input {
    border: none;
    background: transparent;
    padding-left: 0.5rem;
    width: 100%;
}

.phone-input-group input:focus {
    outline: none;
    border: none;
    background: transparent;
}

.full-width {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.form-message {
    margin-top: 1rem;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.form-message.success {
    color: #4ade80;
    display: block;
}

.form-message.error {
    color: #f87171;
    display: block;
}