/* --- CSS Variables --- */
:root {
    --color-primary: #00FF80; /* Green */
    --color-secondary: #00D9FF; /* Blue */
    --color-bg: #0A0A0F;
    --color-bg-card: #121218;
    --color-text: #E2E8F0;
    --color-text-muted: #94A3B8;
    --color-border: rgba(255, 255, 255, 0.1);
    --color-border-active: rgba(0, 255, 128, 0.5);

    --font-sans: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;

    --container-width: 1200px;
    --header-height: 80px;
    --border-radius: 12px;
}

/* --- Base & Reset --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

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

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* --- Buttons --- */
.button {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-family: var(--font-sans);
}

.button.primary {
    background: var(--color-primary);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 255, 128, 0.3);
}

.button.primary:hover {
    background: #00e673;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 255, 128, 0.4);
}

.button.secondary {
    background: transparent;
    border: 1px solid var(--color-secondary);
    color: var(--color-secondary);
}

.button.secondary:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateY(-2px);
}

.button.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.full-width {
    width: 100%;
}

/* --- Header --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.2rem;
    color: #fff;
}

.logo-img {
    height: 40px;
    width: auto;
}

.desktop-nav {
    display: flex;
    gap: 30px;
}

.desktop-nav a {
    font-size: 0.95rem;
    color: var(--color-text-muted);
}

.desktop-nav a:hover {
    color: var(--color-primary);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #fff;
}

/* --- Hero Section --- */
.hero {
    padding-top: calc(var(--header-height) + 60px);
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.headline {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subheadline {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qr-container {
    background: #fff;
    padding: 20px;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: 0 0 30px rgba(0, 255, 128, 0.2);
}

.qr-code-img {
    width: 180px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.qr-container p {
    color: #000;
    margin-top: 10px;
    font-weight: 600;
}

/* --- Features Overview --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--color-primary);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* --- How It Works --- */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    text-align: center;
}

.step-item {
    position: relative;
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--color-secondary);
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 auto 20px;
    box-shadow: 0 0 15px rgba(0, 217, 255, 0.4);
}

.step-item h3 {
    margin-bottom: 15px;
}

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

/* --- Events Section --- */
.section-desc {
    text-align: center;
    max-width: 700px;
    margin: -40px auto 60px;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.tabs-container {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
}

.tabs-header {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    overflow-x: auto;
}

.tab-btn {
    flex: 1;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--color-text-muted);
    font-family: var(--font-display);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    background: rgba(0, 255, 128, 0.05);
}

.tabs-content {
    padding: 40px;
}

.tab-pane {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-pane.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.event-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.short-desc {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #fff;
}

.details-block h4 {
    color: var(--color-secondary);
    margin: 20px 0 10px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.details-block ul {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--color-text-muted);
}

.details-block li {
    margin-bottom: 8px;
}

.chart-placeholder {
    width: 100%;
    height: 400px;
    background: #1a1a24;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed var(--color-border);
    color: var(--color-text-muted);
}

/* --- Triggers & Validation --- */
.triggers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.trigger-card {
    background: var(--color-bg-card);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.trigger-card h3 {
    color: var(--color-primary);
    margin-bottom: 20px;
}

.trigger-card ul {
    list-style: none;
}

.trigger-card li {
    margin-bottom: 15px;
    padding-left: 25px;
    position: relative;
    color: var(--color-text-muted);
}

.trigger-card li::before {
    content: '•';
    color: var(--color-primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.validation-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.validation-info h3 {
    color: var(--color-secondary);
    margin-bottom: 20px;
}

.validation-info h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.validation-info ul {
    list-style: disc;
    padding-left: 20px;
    color: var(--color-text-muted);
}

/* --- Pricing --- */
.pricing-table {
    background: var(--color-bg-card);
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-header, .pricing-row, .pricing-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    padding: 20px 30px;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
}

.pricing-header {
    background: rgba(255, 255, 255, 0.05);
    font-weight: 700;
    font-family: var(--font-display);
}

.col-plan {
    text-align: center;
}

.col-plan.pro {
    color: var(--color-primary);
}

.pricing-row:hover {
    background: rgba(255, 255, 255, 0.02);
}

.pricing-footer {
    border-bottom: none;
    padding: 30px;
}

.payment-note {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* --- FAQ --- */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.faq-item {
    background: var(--color-bg-card);
    padding: 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
}

.faq-item h4 {
    margin-bottom: 10px;
    color: var(--color-secondary);
}

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

/* --- Footer --- */
.main-footer {
    background: #050508;
    padding: 60px 0 30px;
    border-top: 1px solid var(--color-border);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 40px;
}

.logo-img-small {
    height: 30px;
    width: auto;
}

.footer-links {
    display: flex;
    gap: 25px;
}

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

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

.footer-social a {
    color: #fff;
    margin-left: 20px;
}

.footer-bottom {
    text-align: center;
    color: #555;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

/* --- Responsive --- */
@media (max-width: 900px) {
    .hero-container, .event-details, .validation-content, .triggers-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        text-align: center;
        padding-top: 120px;
    }

    .hero-actions {
        justify-content: center;
    }

    .headline {
        font-size: 2.5rem;
    }

    .subheadline {
        margin: 0 auto 40px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .pricing-header, .pricing-row, .pricing-footer {
        grid-template-columns: 1fr 1fr;
    }
    
    .col-feature {
        grid-column: 1 / -1;
        margin-bottom: 10px;
        color: var(--color-text-muted);
        font-size: 0.9rem;
    }
    
    .pricing-row {
        text-align: center;
    }
}
