/* Digital Command Center Theme */
:root {
    /* Palette */
    --bg-deep: #0a0b10;
    --bg-panel: #161b22;
    --accent-primary: #00f0ff;
    --accent-secondary: #00ff94;
    --text-main: #e6e6e6;
    --text-muted: #8b949e;

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Effects */
    --glow-primary: 0 0 20px rgba(0, 240, 255, 0.3);
    --border-radius: 8px;
}

html {
    scroll-behavior: smooth;
}

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

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-main);
    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 {
    color: inherit;
    text-decoration: none;
}

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

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid transparent;
    font-family: var(--font-display);
}

.btn-primary {
    background: transparent;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
}

.btn-primary:hover {
    background: var(--accent-primary);
    color: var(--bg-deep);
    box-shadow: var(--glow-primary);
}

.btn-secondary {
    background: var(--bg-panel);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ... Utilities ... */

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    background: rgba(10, 11, 16, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
    color: #fff;
}

.accent-dot {
    color: var(--accent-primary);
}

.main-nav {
    display: flex;
    gap: 2rem;
}

.main-nav a {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #fff;
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    padding: var(--spacing-xl) 0 var(--spacing-lg);
    position: relative;
    overflow: hidden;
}

/* Background Grid Effect */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(22, 27, 34, 0.5) 1px, transparent 1px),
        linear-gradient(90deg, rgba(22, 27, 34, 0.5) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 255, 148, 0.1);
    border: 1px solid rgba(0, 255, 148, 0.2);
    color: var(--accent-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-secondary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-secondary);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }

    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: var(--spacing-sm);
}

.text-gradient {
    background: linear-gradient(90deg, #fff, var(--text-muted));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 500px;
    margin-bottom: var(--spacing-md);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: var(--spacing-lg);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: #fff;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Hero Visual Placeholder */
/* Hero Visual - Heartbeat */
/* Hero Visual 3D Canvas */
#hero-canvas-container {
    width: 100%;
    height: 400px;
    background: radial-gradient(circle at center, rgba(22, 27, 34, 0.4) 0%, rgba(10, 11, 16, 0.9) 100%);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.05);
    /* No flex align needed for canvas usually, but ensures centering if script fails */
    display: flex;
    justify-content: center;
    align-items: center;
}

#hero-canvas-container canvas {
    display: block;
    width: 100%;
    height: 100%;
    outline: none;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lead {
        margin: 0 auto 2rem;
    }

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

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

    .main-nav {
        display: none;
        /* simple hidden for now, can add mobile menu later */
    }

    #hero-canvas-container {
        display: none;
    }
}

/* Section Common */
section {
    padding: var(--spacing-lg) 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

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

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

.feature-card {
    background: var(--bg-panel);
    padding: 2rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s;
}

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

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

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

/* How It Works */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.step-item {
    position: relative;
    text-align: center;
    padding: 2rem;
}

.step-number {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.step-item h3 {
    position: relative;
    z-index: 1;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.step-item p {
    position: relative;
    z-index: 1;
    color: var(--text-muted);
}

/* Pricing Section */
.pricing-section {
    background: linear-gradient(rgba(255, 255, 255, 0.02), transparent);
}

/* Pricing Hero Offer */
.pricing-offer-hero {
    background: linear-gradient(90deg, rgba(22, 27, 34, 0.9), rgba(10, 11, 16, 0.95));
    border: 1px solid var(--accent-primary);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    margin-bottom: 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.pricing-offer-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--accent-primary);
    box-shadow: 0 0 10px var(--accent-primary);
}

.offer-content {
    max-width: 60%;
}

.offer-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--bg-deep);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.pricing-offer-hero h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.pricing-offer-hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.offer-action {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
}

.offer-price {
    font-family: var(--font-display);
}

.old-price {
    display: block;
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 1.2rem;
}

.new-price {
    display: block;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .pricing-offer-hero {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .pricing-offer-hero::before {
        width: 100%;
        height: 4px;
        top: 0;
        left: 0;
    }

    .offer-content {
        max-width: 100%;
    }

    .offer-action {
        align-items: center;
        width: 100%;
    }
}


.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    align-items: center;
}

.pricing-card {
    background: var(--bg-panel);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.2);
    transform: scale(1.05) translateY(-5px);
}

.popular-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-primary);
    color: var(--bg-deep);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.pricing-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: #fff;
    margin-bottom: 0.5rem;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.plan-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.pricing-features li {
    padding: 0.5rem 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--accent-secondary);
    font-weight: 700;
}

.full-width {
    width: 100%;
    text-align: center;
}

@media (max-width: 900px) {
    .pricing-card.popular {
        transform: scale(1);
        z-index: 1;
    }

    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(145deg, var(--bg-panel), rgba(22, 27, 34, 0.5));
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.quote {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 2rem;
    font-style: italic;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--accent-primary);
    color: var(--bg-deep);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.author h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(rgba(0, 240, 255, 0.05), transparent);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(to top, rgba(22, 27, 34, 0.5), transparent);
}

.contact-form-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-panel);
    padding: 2.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.3);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    background: rgba(10, 11, 16, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #fff;
    font-family: var(--font-main);
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.1);
    background: rgba(10, 11, 16, 0.8);
}

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

/* Footer */
.site-footer {
    padding: var(--spacing-lg) 0 var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
    background: var(--bg-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer-col p {
    color: var(--text-muted);
    max-width: 250px;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    transition: color 0.3s;
}

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

.copyright {
    text-align: center;
    color: rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-lead {
        margin: 0 auto 2rem;
    }

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

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

    .main-nav {
        display: none;
        /* simple hidden for now, can add mobile menu later */
    }

    .steps-grid,
    .testimonials-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .desktop-only {
        display: none;
    }
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 100%;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--bg-panel);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease;
        z-index: 1000;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .main-nav.active {
        right: 0;
        display: flex;
    }

    .main-nav a {
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(3) {
        transform: translateY(-9px) rotate(-45deg);
    }
}

/* Animations */
.hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Target Audience Section */
.target-audience-section {
    background: var(--bg-deep);
    position: relative;
    padding: var(--spacing-lg) 0;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.audience-column {
    background: linear-gradient(145deg, var(--bg-panel), rgba(22, 27, 34, 0.3));
    padding: 3rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    height: 100%;
}

.audience-column h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    color: var(--accent-primary);
    border-bottom: 2px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
    display: inline-block;
}

.audience-list {
    list-style: none;
}

.audience-list li {
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 1.05rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.audience-list li:last-child {
    border-bottom: none;
}

.audience-list li::before {
    content: '→';
    color: var(--accent-secondary);
    font-weight: bold;
    font-size: 1.2rem;
    line-height: 1.5;
}

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