/* reset & variables */
:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --secondary: #ec4899;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --success: #10b981;
    --warning: #f59e0b;
    --radius: 12px;
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    color: var(--primary);
}

.gradient-text {
    background: linear-gradient(to right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    backdrop-filter: blur(10px);
    background: rgba(15, 23, 42, 0.8);
    z-index: 1000;
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--text-main);
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
}

.btn-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.badge {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(99, 102, 241, 0.2);
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -10px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-main);
}

.btn-outline:hover {
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.05);
}

.hero-image {
    position: relative;
}

/* Mockup Window Aesthetic */
.mockup-window {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.window-header {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot.red {
    background: #ef4444;
}

.dot.yellow {
    background: #f59e0b;
}

.dot.green {
    background: #10b981;
}

.window-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-card i {
    font-size: 24px;
    color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
    padding: 10px;
    border-radius: 8px;
}

.stat-card h4 {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.stat-card h3 {
    font-size: 1.2rem;
}

.chart-mockup {
    grid-column: span 2;
    height: 150px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding-top: 20px;
}

.bar {
    width: 100%;
    background: var(--dark-bg);
    border-radius: 4px;
    opacity: 0.5;
}

.bar.active {
    background: var(--primary);
    opacity: 1;
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
}

.hero-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, rgba(15, 23, 42, 0) 70%);
    z-index: 1;
    pointer-events: none;
}

/* Sections */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title p {
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Demo Cards */
.demo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.demo-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: var(--radius);
    text-align: center;
    transition: 0.3s;
}

.demo-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 10px 40px -20px rgba(99, 102, 241, 0.3);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 24px;
    color: var(--primary);
}

.demo-card h3 {
    margin-bottom: 10px;
}

.demo-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.credentials {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 8px;
    text-align: left;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.cred-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.cred-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
    padding-bottom: 0;
}

.cred-item span {
    color: var(--text-muted);
}

.cred-item code {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--secondary);
    font-family: monospace;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius);
    border: 1px solid transparent;
    transition: 0.3s;
}

.feature-item:hover {
    background: var(--dark-card);
    border-color: var(--glass-border);
}

.feature-item i {
    font-size: 32px;
    margin-bottom: 20px;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.feature-item h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Pricing */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
}

@media (max-width: 1024px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

.pricing-card {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.1), var(--dark-card));
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.card-header {
    text-align: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 20px;
    margin-bottom: 20px;
}

.card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.price {
    font-size: 2rem;
    font-weight: 700;
}

.price span {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 400;
}

.card-body ul {
    margin-bottom: 30px;
    flex-grow: 1;
}

.card-body li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-body li i {
    color: var(--success);
    font-size: 0.8rem;
}

.btn-block {
    display: flex;
    justify-content: center;
    width: 100%;
}

.sc-pricing {
    background: linear-gradient(to right, #1e293b, #0f172a);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.sc-content h3 {
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.sc-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
}

.sc-features {
    display: flex;
    gap: 20px;
}

.sc-features li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-main);
    font-weight: 500;
}

.sc-features i {
    color: var(--secondary);
}

.sc-action {
    text-align: center;
    min-width: 200px;
}

.price-big {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.sc-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

/* Footer */
footer {
    background: rgba(0, 0, 0, 0.3);
    padding: 60px 0 20px;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-left {
    max-width: 400px;
}

.footer-left h2 {
    margin-bottom: 15px;
}

.footer-left p {
    color: var(--text-muted);
}

.contact-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.contact-btn {
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.contact-btn.whatsapp {
    background: #25D366;
    color: white;
}

.contact-btn.telegram {
    background: #0088cc;
    color: white;
}

.contact-btn.email {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
}

.copyright {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark-card);
        flex-direction: column;
        padding: 20px;
        transform: translateY(-20px);
        opacity: 0;
        pointer-events: none;
        transition: 0.3s;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-btns {
        justify-content: center;
    }

    .sc-action {
        width: 100%;
    }

    .sc-features {
        flex-direction: column;
        gap: 10px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .contact-links {
        justify-content: center;
        flex-wrap: wrap;
    }
}

/* Modern Features Showcase */
.modern-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    padding: 20px 0;
}

.modern-card {
    background: rgba(30, 41, 59, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.modern-card:hover {
    transform: translateY(-10px);
    background: rgba(30, 41, 59, 0.8);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.15);
}

.card-glow {
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    transition: 0.5s;
}

.modern-card:hover .card-glow {
    opacity: 0.6;
    top: -30%;
    right: -30%;
}

.gradient-blue {
    background: #3b82f6;
}

.gradient-purple {
    background: #8b5cf6;
}

.gradient-pink {
    background: #ec4899;
}

.gradient-green {
    background: #10b981;
}

.gradient-orange {
    background: #f97316;
}

.gradient-red {
    background: #ef4444;
}

.gradient-cyan {
    background: #06b6d4;
}

.gradient-yellow {
    background: #eab308;
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    font-size: 32px;
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.modern-card:hover .icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    background: var(--dark-bg);
}

.gradient-blue+.icon-wrapper {
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.gradient-purple+.icon-wrapper {
    color: #a78bfa;
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.1);
}

.gradient-pink+.icon-wrapper {
    color: #f472b6;
    box-shadow: 0 0 20px rgba(236, 72, 153, 0.1);
}

.gradient-green+.icon-wrapper {
    color: #34d399;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

.gradient-orange+.icon-wrapper {
    color: #fb923c;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.1);
}

.gradient-red+.icon-wrapper {
    color: #f87171;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.1);
}

.gradient-cyan+.icon-wrapper {
    color: #22d3ee;
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

.gradient-yellow+.icon-wrapper {
    color: #facc15;
    box-shadow: 0 0 20px rgba(234, 179, 8, 0.1);
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 700;
}

.feature-checklist {
    list-style: none;
}

.feature-checklist li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: 0.3s;
}

.feature-checklist li i {
    margin-right: 12px;
    font-size: 1rem;
    opacity: 0.7;
}

/* Colorize checks based on card theme */
.gradient-blue~.card-content li i {
    color: #60a5fa;
}

.gradient-purple~.card-content li i {
    color: #a78bfa;
}

.gradient-pink~.card-content li i {
    color: #f472b6;
}

.gradient-green~.card-content li i {
    color: #34d399;
}

.gradient-orange~.card-content li i {
    color: #fb923c;
}

.gradient-red~.card-content li i {
    color: #f87171;
}

.gradient-cyan~.card-content li i {
    color: #22d3ee;
}

.gradient-yellow~.card-content li i {
    color: #facc15;
}

.modern-card:hover .feature-checklist li {
    color: var(--text-main);
    transform: translateX(5px);
}

/* Features Detailed (Legacy - Can keep or remove) */
.features-detailed-grid {
    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-category {
    background: var(--dark-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 30px;
}

.feature-category h3 {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.3rem;
    color: var(--text-main);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 15px;
}

.feature-category h3 i {
    color: var(--secondary);
}

.feature-category ul li {
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.feature-category ul li i {
    color: var(--primary);
    margin-top: 4px;
}

/* Terms */
.terms-box {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: var(--radius);
    border-left: 4px solid var(--warning);
}

.terms-box ol {
    list-style: none;
    /* Custom counter */
    counter-reset: term-counter;
}

.terms-box ol li {
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
    color: var(--text-muted);
}

.terms-box ol li:before {
    counter-increment: term-counter;
    content: counter(term-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 25px;
    height: 25px;
    background: var(--warning);
    color: var(--dark-bg);
    border-radius: 50%;
    text-align: center;
    line-height: 25px;
    font-weight: bold;
    font-size: 0.8rem;
}

.terms-box strong {
    color: var(--text-main);
    display: block;
    margin-bottom: 5px;
}

/* Stats Counter Section */
.stats-counter-section {
    padding: 0 0 60px 0;
    /* Adjust padding to sit nicely between hero and demo */
    margin-top: -60px;
    /* Pull it up slightly to overlap hero/fill gap */
    position: relative;
    z-index: 10;
}

.stats-box-wrapper {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    backdrop-filter: blur(15px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.stat-box-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.stat-icon-wrap.blue {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
}

.stat-icon-wrap.purple {
    background: rgba(139, 92, 246, 0.1);
    color: #a78bfa;
}

.stat-icon-wrap.green {
    background: rgba(16, 185, 129, 0.1);
    color: #34d399;
}

.stat-icon-wrap.orange {
    background: rgba(249, 115, 22, 0.1);
    color: #fb923c;
}

.stat-info h3 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 4px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.stat-info p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0;
}

@media (max-width: 768px) {
    .stats-counter-section {
        margin-top: 0;
        padding-top: 40px;
    }

    .stats-box-wrapper {
        grid-template-columns: 1fr;
        padding: 20px;
    }
}