:root {
    --bg-dark: #050505;
    --bg-card: #0d0d0d;
    --primary: #a855f7; /* Purple */
    --primary-glow: rgba(168, 85, 247, 0.4);
    --secondary: #22c55e; /* Green */
    --secondary-glow: rgba(34, 197, 94, 0.4);
    --text-main: #ffffff;
    --text-muted: #a1a1aa;
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

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

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

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    transition: all 0.3s ease;
}

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

/* Glassmorphism Utility */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

header.scrolled {
    padding: 1rem 0;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo img {
    height: 40px;
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav ul li a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
}

nav ul li a:hover {
    color: var(--text-main);
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--text-main);
    color: var(--bg-dark);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-secondary:hover {
    background: var(--glass-bg);
    border-color: var(--text-main);
}

/* Hero Section */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
    opacity: 0.5;
}

.hero-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 60%, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: white;
    border: none;
    box-shadow: 0 10px 30px var(--primary-glow);
}

.btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--primary-glow);
}

/* Dashboard Mockup Section */
.preview {
    padding: 4rem 0 8rem;
    perspective: 1500px;
}

.preview-container {
    max-width: 1100px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.6);
    overflow: hidden;
    transform: rotateX(8deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    min-height: 650px;
}

.preview-container:hover {
    transform: rotateX(0deg) scale(1.02);
}

/* Dashboard Mockup UI */
.mockup-header {
    height: 60px;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--glass-border);
}

.mockup-title {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-main);
}

.mockup-user {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.mockup-user-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.6rem;
    font-weight: 700;
}

.mockup-main {
    flex: 1;
    display: flex;
}

.mockup-sidebar {
    width: 220px;
    border-right: 1px solid var(--glass-border);
    padding: 1.5rem 1rem;
}

.mockup-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.mockup-nav-item.active {
    background: var(--glass-bg);
    color: var(--text-main);
}

.mockup-content {
    flex: 1;
    padding: 2rem;
    background: rgba(0,0,0,0.2);
}

.mockup-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.02);
}

.stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.stat-trend {
    font-size: 0.7rem;
    margin-top: 0.5rem;
    color: var(--secondary);
}

.stat-trend.negative {
    color: #ef4444;
}

.mockup-hero-card {
    padding: 2rem;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.1), rgba(34, 197, 94, 0.1));
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.mockup-hero-card h3 {
    margin-bottom: 0.5rem;
}

.mockup-hero-card .badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.3rem 0.6rem;
    background: var(--secondary);
    color: black;
    font-size: 0.6rem;
    font-weight: 800;
    border-radius: 4px;
    text-transform: uppercase;
}

/* Bento Grid Section */
.bento {
    padding: 8rem 0;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 1.5rem;
}

.bento-item {
    border-radius: 24px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.bento-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.bento-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.bento-1 { grid-column: span 2; grid-row: span 2; background: linear-gradient(45deg, rgba(168, 85, 247, 0.1), transparent); }
.bento-2 { grid-column: span 1; grid-row: span 1; }
.bento-3 { grid-column: span 1; grid-row: span 2; background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), transparent); }
.bento-4 { grid-column: span 2; grid-row: span 1; }
.bento-5 { grid-column: span 1; grid-row: span 1; }

.bento-icon {
    position: absolute;
    top: 2rem;
    left: 2rem;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--glass-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.bento-3 .bento-icon { color: var(--secondary); }

/* Pricing Section */
.pricing {
    padding: 8rem 0;
    text-align: center;
}

.pricing-header h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 3rem 0;
    background: var(--glass-bg);
    padding: 0.4rem;
    border-radius: 100px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 0.6rem 1.5rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    background: transparent;
}

.tab-btn.active {
    background: var(--glass-border);
    color: var(--text-main);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2rem;
}

.price-card {
    padding: 2.5rem;
    border-radius: 24px;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.price-card.featured {
    border: 1px solid var(--secondary);
    background: radial-gradient(circle at top right, rgba(34, 197, 94, 0.1), transparent);
}

.popular-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #ec4899;
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.price-card h4 { margin-bottom: 1rem; color: var(--text-muted); }
.price-value { font-size: 3rem; font-weight: 800; margin-bottom: 0.5rem; }
.price-value span { font-size: 1rem; color: var(--text-muted); }

.price-features {
    list-style: none;
    margin: 2rem 0;
    flex: 1;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

.price-features i { color: var(--secondary); font-size: 1.1rem; }

/* Testimonials Section */
.testimonials {
    padding: 8rem 0;
    background: linear-gradient(to bottom, transparent, rgba(168, 85, 247, 0.05), transparent);
}

.as-featured {
    text-align: center;
    margin-bottom: 5rem;
}

.as-featured p {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.brand-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
    opacity: 0.5;
    filter: grayscale(1);
    transition: all 0.5s ease;
}

.brand-logos:hover { opacity: 0.8; filter: grayscale(0.5); }
.brand-logos i { font-size: 1.5rem; }

.testimonial-hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.testimonial-video {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.testimonial-video img { width: 100%; height: 100%; object-fit: cover; }

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 0 30px var(--primary-glow);
}

.testimonial-quote {
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.trust-badges {
    display: flex;
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid var(--glass-border);
    padding-top: 2rem;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
}

.stars { color: var(--secondary); }

/* FAQ Section */
.faq {
    padding: 8rem 0;
    max-width: 800px;
    margin: 0 auto;
}
/* Auth Modal Styles */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.auth-modal {
    width: 100%;
    max-width: 450px;
    padding: 3rem;
    border-radius: 32px;
    position: relative;
    transform: scale(0.9);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-overlay.active .auth-modal {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    color: var(--text-muted);
}

.auth-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.auth-header .logo {
    justify-content: center;
    margin-bottom: 1.5rem;
}

.auth-header h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.auth-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.4rem;
    border-radius: 12px;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: transparent;
}

.auth-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px var(--primary-glow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
}

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

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

.auth-footer {
    text-align: center;
    margin-top: 2rem;
}

.auth-footer a {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-decoration: none;
}

.auth-footer a:hover {
    color: var(--primary);
}

.faq-header {
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 { font-size: 3rem; margin-bottom: 1rem; }

.faq-item {
    margin-bottom: 1rem;
    border-radius: 16px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-weight: 600;
    background: var(--glass-bg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.love h2 {
    font-size: 3.5rem;
    margin-bottom: 3rem;
    background: linear-gradient(to bottom, #fff, rgba(255,255,255,0.4));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.love-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.love-item {
    text-align: left;
    padding: 2rem;
    border-radius: 20px;
}

.love-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(168, 85, 247, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.love-item h4 {
    margin-bottom: 0.75rem;
}

.love-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Footer Section */
footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--glass-border);
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Floating Action Buttons */
.fab-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 2000;
}

.fab {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.fab-whatsapp { background: #25d366; }
.fab-telegram { background: #0088cc; }

.fab:hover {
    transform: scale(1.1);
}

/* Base Responsive */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .love-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header .container {
        flex-direction: row;
        gap: 0.5rem;
    }
    .logo span {
        font-size: 1.2rem;
    }
    .auth-buttons {
        gap: 0.5rem;
    }
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .love h2 {
        font-size: 2.5rem;
    }
    nav {
        display: none;
    }
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    .preview-container {
        min-height: 400px;
    }
    .mockup-sidebar {
        display: none;
    }
    .mockup-stats {
        grid-template-columns: 1fr;
    }
    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .bento-item {
        grid-column: span 1 !important;
        grid-row: auto !important;
        min-height: 250px;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .testimonial-hero {
        grid-template-columns: 1fr;
    }
    .love-grid {
        grid-template-columns: 1fr;
    }
    .footer-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
    .fab-container {
        bottom: 1rem;
        right: 1rem;
        gap: 0.5rem;
    }
    .fab {
        width: 40px;
        height: 40px;
    }
}
