/* SMStats Dark Theme - Based on Figma Design */

:root {
    /* Colors */
    --bg-primary: #0A0F0A;
    --bg-secondary: #0D150D;
    --bg-darker: #070C07;
    --accent-green: #26EC14;
    --accent-green-dark: #004B3A;
    --text-white: #FFFFFF;
    --text-gray: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.4);
    --border: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(38, 236, 20, 0.2);
    
    /* Spacing */
    --section-padding: 100px;
    --container-max: 1200px;
    
    /* Radius */
    --radius-sm: 4px;
    --radius: 8px;
    --radius-lg: 12px;
    --radius-full: 100px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: var(--bg-primary);
    color: var(--text-white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 15, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-accent);
}

.navbar-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.navbar-logo-icon {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-green-dark));
    border-radius: var(--radius);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    font-size: 14px;
}

.navbar-logo-text {
    color: var(--text-white);
    font-weight: 700;
    font-size: 20px;
    letter-spacing: -0.3px;
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar-link {
    color: var(--text-gray);
    font-size: 15px;
    text-decoration: none;
    transition: color 0.2s;
}

.navbar-link:hover {
    color: var(--accent-green);
}

.navbar-buttons {
    display: flex;
    gap: 12px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background: #1FD610;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(38, 236, 20, 0.4);
}

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

.btn-outline:hover {
    border-color: var(--accent-green);
    background: rgba(38, 236, 20, 0.1);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0A0F0A 0%, #0D1B0D 50%, #0A0F0A 100%);
}

.hero-glow {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
}

.hero-glow-top {
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 400px;
    background: radial-gradient(ellipse, rgba(38, 236, 20, 0.12) 0%, transparent 70%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    background: rgba(38, 236, 20, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    margin-bottom: 24px;
}

.hero-badge-text {
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.1;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #FFFFFF 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 18px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Section */
.section {
    padding: var(--section-padding) 0;
}

.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-badge {
    display: inline-flex;
    background: rgba(38, 236, 20, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-full);
    padding: 6px 16px;
    margin-bottom: 20px;
}

.section-badge-text {
    color: var(--accent-green);
    font-size: 13px;
    font-weight: 600;
}

.section-title {
    font-size: clamp(28px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.2;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 48px;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    position: relative;
}

.pricing-card.highlighted {
    border-color: var(--accent-green);
    box-shadow: 0 20px 60px rgba(38, 236, 20, 0.15);
    transform: scale(1.05);
}

.pricing-card:not(.highlighted):hover {
    border-color: rgba(38, 236, 20, 0.4);
    transform: translateY(-4px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 24px;
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 700;
}

.pricing-header {
    margin-bottom: 24px;
}

.pricing-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.pricing-desc {
    color: var(--text-muted);
    font-size: 14px;
}

.pricing-price {
    margin: 24px 0;
}

.pricing-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--accent-green);
}

.pricing-period {
    color: var(--text-gray);
    font-size: 16px;
}

.pricing-features {
    list-style: none;
    margin: 24px 0;
}

.pricing-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid var(--border);
}

.pricing-feature:first-child {
    border-top: none;
}

.pricing-feature-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 12px;
}

.pricing-feature-icon.included {
    background: rgba(38, 236, 20, 0.15);
    color: var(--accent-green);
}

.pricing-feature-icon.excluded {
    background: rgba(255,255,255,0.05);
    color: var(--text-muted);
}

/* Footer */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--border);
    padding: 72px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 80px;
    margin-bottom: 48px;
}

.footer-brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-brand-desc {
    color: var(--text-muted);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social-link {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.footer-social-link:hover {
    background: rgba(38, 236, 20, 0.1);
    border-color: var(--border-accent);
    color: var(--accent-green);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 32px;
}

.footer-links-column h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-white);
}

.footer-links-list {
    list-style: none;
}

.footer-links-list li {
    margin-bottom: 12px;
}

.footer-links-list a {
    color: var(--text-muted);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links-list a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-legal {
    color: var(--text-muted);
    font-size: 13px;
}

.footer-legal p {
    margin-bottom: 8px;
}

.footer-legal strong {
    color: var(--text-gray);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .navbar-links {
        display: none;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.highlighted {
        transform: none;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    /* Showcase sections responsive */
    section .container > div[style*="grid-template-columns: 1fr 1fr"] {
        grid-template-columns: 1fr !important;
        gap: 32px !important;
    }
    
    /* Reverse order for mobile - image first, then text */
    section .container > div[style*="grid-template-columns: 1fr 1fr"] > div:first-child {
        order: 1;
    }
    
    section .container > div[style*="grid-template-columns: 1fr 1fr"] > div:last-child {
        order: 0;
    }
}

/* Animations */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-marquee {
    animation: marquee 30s linear infinite;
}

/* Hero Mockup */
.hero-mockup {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hero-mockup-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0,0,0,0.4);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.hero-mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.floating-card {
    position: absolute;
    background: rgba(10, 15, 10, 0.95);
    border: 1px solid rgba(38, 236, 20, 0.25);
    border-radius: 12px;
    padding: 12px 16px;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: float 3s ease-in-out infinite;
}

/* Integration Pills */
.integration-pill {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 100px;
    padding: 10px 20px;
    white-space: nowrap;
    transition: all 0.3s;
}

.integration-pill:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(38, 236, 20, 0.3);
}

.integration-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

/* FAQ Accordion */
.faq-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: var(--border-accent);
}

.faq-question {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    margin: 0;
}

.faq-icon {
    color: var(--accent-green);
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 24px 24px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Pricing Toggle */
.pricing-toggle {
    display: inline-flex;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    padding: 4px;
    margin: 0 auto 48px;
}

.pricing-toggle-option {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background: transparent;
    color: var(--text-muted);
}

.pricing-toggle-option.active {
    background: var(--accent-green);
    color: var(--bg-primary);
}

.pricing-toggle-discount {
    background: rgba(38, 236, 20, 0.2);
    color: var(--accent-green);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    margin-left: 8px;
}
