/* Design System Tokens */
:root {
    --bg-dark: #030305;
    --bg-card: #0a0a0f;
    --primary: #8b5cf6;
    --primary-bright: #a78bfa;
    --primary-glow: rgba(139, 92, 246, 0.4);
    --secondary: #10b981;
    --secondary-glow: rgba(16, 185, 129, 0.3);
    --accent: #d946ef;
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.06);
    --border-hover: rgba(255, 255, 255, 0.15);
    --glass: rgba(10, 10, 15, 0.7);
    --gradient: linear-gradient(135deg, #8b5cf6, #6366f1);
    --gradient-accent: linear-gradient(135deg, #d946ef, #8b5cf6);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

p {
    color: var(--text-muted);
}

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

/* Layout Utilities */
.flex { display: flex; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.items-center { align-items: center; }
.text-center { text-align: center; }
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .container { padding: 0 20px; }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    cursor: pointer;
    border: none;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-xl {
    padding: 18px 40px;
    font-size: 16px;
    border-radius: 16px;
}

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

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px var(--primary-glow);
    filter: brightness(1.1);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: white;
}

.btn-outline:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--text-muted);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    color: white;
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-full { width: 100%; }

/* Navbar */
nav {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 48px);
    max-width: 1200px;
    z-index: 1000;
    height: 72px;
    display: flex;
    align-items: center;
    background: rgba(10, 10, 15, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav.scrolled {
    top: 12px;
    height: 64px;
    background: rgba(10, 10, 15, 0.8);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.05em;
    color: #fff;
    text-decoration: none;
}

.logo span { font-style: italic; }
.logo .dot { color: var(--primary); font-style: normal; }

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s;
    padding: 8px 12px;
    border-radius: 8px;
}

.nav-links a:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

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

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 24px;
    z-index: 1001;
}

@media (max-width: 768px) {
    .menu-toggle { display: block; }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-card);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s;
        border-left: 1px solid var(--border);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 24px;
        padding: 20px;
    }
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    animation: floating-orb 15s infinite alternate;
}

@keyframes floating-orb {
    from { transform: translate(0, 0) scale(1); }
    to { transform: translate(100px, 50px) scale(1.2); }
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.08);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    margin-bottom: 24px;
}

.badge .pulse {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.5; }
}

.badge span.text {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--primary-bright);
}

.hero h1 {
    font-size: 80px;
    margin-bottom: 24px;
    background: linear-gradient(to bottom, #fff 40%, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 42px; }
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 48px;
    font-size: 18px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .hero-desc { font-size: 16px; margin-bottom: 32px; }
}

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

@media (max-width: 480px) {
    .hero-btns { flex-direction: column; align-items: stretch; padding: 0 40px; }
}

.hero-mockup {
    margin-top: 40px;
    position: relative;
    padding: 20px;
}

.mockup-container {
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: 0 40px 100px rgba(0,0,0,0.8);
    background: #000;
    transform: perspective(1000px) rotateX(2deg);
    transition: transform 0.8s;
}

.mockup-container img {
    width: 100%;
    display: block;
    opacity: 0.9;
}

/* Bento Grid Features */
.features {
    padding: 120px 0;
}

.section-tag {
    color: var(--primary-bright);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 48px;
    margin-bottom: 64px;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 350px);
    gap: 24px;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s;
}

.bento-item:hover {
    border-color: var(--border-hover);
    transform: translateY(-5px);
    background: rgba(255,255,255,0.02);
}

.bento-item.large {
    grid-column: span 2;
}

.bento-item.vertical {
    grid-row: span 2;
}

.bento-item .f-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.bento-item h3 {
    font-size: 22px;
    margin-bottom: 12px;
}

.bento-item p {
    font-size: 15px;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .bento-item.large, .bento-item.vertical {
        grid-column: span 1;
        grid-row: span 1;
    }
}

/* Pain Points Section */
.pain-points {
    padding: 100px 0;
    background: rgba(255,255,255,0.01);
}

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

@media (max-width: 768px) {
    .pain-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.pain-card {
    border-left: 2px solid #ef4444;
    padding: 20px 30px;
}

.pain-card h4 {
    margin-bottom: 12px;
    color: #fff;
}

/* Pricing Section - Redesigned */
.pricing {
    padding: 100px 0;
    font-family: 'Outfit', sans-serif;
}
.italic-title {
    font-style: italic;
    font-size: 56px;
    font-weight: 900;
    text-transform: uppercase;
    color: #e5e7eb;
    margin-bottom: 10px;
    letter-spacing: -1px;
}
.section-subtitle {
    display: block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #9ca3af;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
}
.gift-badge {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 10px;
    font-size: 10px;
    margin-left: -5px;
}
/* Switch */
.switch { position: relative; display: inline-block; width: 44px; height: 24px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background-color: #1f2025; transition: .4s; border-radius: 34px; border: 1px solid #374151;}
.slider:before { position: absolute; content: ""; height: 16px; width: 16px; left: 4px; bottom: 3px; background-color: #a855f7; transition: .4s; border-radius: 50%; box-shadow: 0 0 10px #a855f7;}
input:checked + .slider:before { transform: translateX(20px); }

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: end;
}

.pricing-wrapper {
    position: relative;
    padding-top: 40px; /* Room for badges */
}

.current-plan-badge {
    position: absolute;
    top: 0;
    left: 20px;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    background: transparent;
}
.current-plan-badge .bg-purple {
    color: #d8b4fe;
    font-weight: 800;
}
.top-badge {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #a855f7;
    color: white;
    font-size: 10px;
    font-weight: 800;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    z-index: 10;
}

.pricing-card {
    background: #121214;
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: all 0.4s;
    height: 100%;
}
.pricing-card.active-card {
    border: 1px solid #7c3aed;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.05) 0%, #121214 100%);
}
.card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}
.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.icon-box.blue { background: rgba(59, 130, 246, 0.1); color: #3b82f6; }
.icon-box.purple { background: rgba(168, 85, 247, 0.1); color: #a855f7; }
.icon-box.orange { background: rgba(249, 115, 22, 0.1); color: #f97316; }

.price-box { text-align: right; }
.price-label { font-size: 10px; color: #6b7280; font-weight: 700; letter-spacing: 1px;}
.price { font-size: 36px; font-weight: 900; color: #fff; line-height: 1; margin-top: 4px; display: flex; align-items: flex-end; gap: 4px; justify-content: flex-end; }
.price span { font-size: 14px; font-weight: 600; color: #9ca3af; padding-bottom: 6px;}

.card-title {
    font-size: 32px;
    font-weight: 900;
    font-style: italic;
    color: #e5e7eb;
    margin-bottom: 24px;
}
.card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}
.c-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #1f2025;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    color: #e5e7eb;
}
.c-badge i { width: 14px; height: 14px; color: #9ca3af; }

.pricing-features {
    list-style: none;
    margin-bottom: 50px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 500;
    color: #d1d5db;
}

.purple-check { color: #a855f7; width: 18px; height: 18px; }
.green-check { color: #10b981; width: 18px; height: 18px; }

.btn-dark-green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 16px;
    font-weight: 700;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.btn-dark-green:hover { background: rgba(16, 185, 129, 0.2); }

.btn-white {
    background: #fff;
    color: #000;
    border-radius: 16px;
    font-weight: 800;
    border: none;
}
.btn-white:hover { background: #e5e7eb; }

.btn-white-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    border-radius: 16px;
    font-weight: 800;
}
.btn-white-outline:hover { background: #fff; color: #000; }

@media (max-width: 900px) {
    .pricing-grid { grid-template-columns: 1fr; gap: 0;}
    .pricing-wrapper { padding-top: 40px; margin-bottom: 24px;}
    .italic-title { font-size: 40px; }
}

/* Contact Section */
.contact {
    padding: 120px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
    align-items: center;
}

@media (max-width: 1024px) {
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
}

.contact-form-container form {
    background: var(--bg-card);
    padding: 48px;
    border-radius: 32px;
    border: 1px solid var(--border);
}

@media (max-width: 480px) {
    .contact-form-container form { padding: 30px 20px; }
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
}

.form-group input, .form-group textarea {
    width: 100%;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-family: inherit;
    transition: 0.3s;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.form-group textarea { height: 120px; resize: none; }

#form-status { margin-top: 16px; font-size: 14px; text-align: center; font-weight: 600; }
#form-status.success { color: var(--secondary); }
#form-status.error { color: #ef4444; }

/* Footer */
footer {
    padding: 100px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-bottom {
    margin-top: 64px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 13px;
}

/* Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
.fade-in-up { opacity: 0; transform: translateY(20px); animation: fadeInUp 1s forwards 0.3s; }

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

#cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s;
}
