/* Variables */
:root {
    --primary-color: #0BD378;
    --primary-light: #4efc9d;
    --secondary-color: #2a2a2a;
    /* Dark Gray */
    --accent-color: #ffffff;
    /* White accents to pop against green */
    --dark-bg: #0a0a0b;
    --darker-bg: #050505;
    --card-bg: #141416;
    --text-color: #e0e0e0;
    --text-muted: #a0a0a0;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    /* Green to Light Green */
    --transition: all 0.3s ease;
    --container-width: 1200px;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
    /* Account for fixed header */
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--white);
    font-weight: 700;
}

.highlight {
    color: var(--primary-light);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    gap: 10px;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(11, 211, 120, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(11, 211, 120, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--white);
}

.btn-outline:hover {
    background: var(--primary-color);
}

.btn-sm {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(11, 211, 120, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(11, 211, 120, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(11, 211, 120, 0);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: var(--transition);
    background: rgba(10, 10, 11, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header.scrolled {
    padding: 15px 0;
    background: rgba(5, 5, 5, 0.95);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.nav-list {
    display: flex;
    gap: 30px;
}

.nav-list a {
    font-weight: 500;
    color: var(--text-color);
    transition: var(--transition);
}

.nav-list a:hover {
    color: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(11, 211, 120, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
    top: -100px;
    right: -100px;
    z-index: -1;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
}

.hero-features i {
    color: var(--accent-color);
}

.hero-image {
    position: relative;
    height: 400px;
    /* Normally would contain a dashboard image */
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 25px;
    border-radius: 15px;
    font-weight: 600;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: float 6s ease-in-out infinite;
    display: flex;
    align-items: center;
    gap: 10px;
}

.floating-card i {
    font-size: 1.2rem;
    color: var(--primary-light);
}

.c1 {
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.c2 {
    bottom: 20%;
    left: 10%;
    animation-delay: 1s;
}

.c3 {
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 2s;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Features */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 20px;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(11, 211, 120, 0.2);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Content Preview */
.content-preview {
    background: var(--darker-bg);
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.check-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 1.1rem;
}

.check-list i {
    color: var(--accent-color);
    background: rgba(76, 201, 240, 0.2);
    padding: 5px;
    border-radius: 50%;
    font-size: 0.8rem;
}

.tv-frame {
    width: 100%;
    height: 300px;
    background: #222;
    border-radius: 10px;
    border: 10px solid #333;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.screen-content {
    background: #000;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.screen-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
}

/* Pricing */
.pricing-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.pricing-card {
    background: var(--card-bg);
    border-radius: 20px;
    padding: 40px;
    width: 350px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: var(--transition);
}

.pricing-card:hover {
    transform: scale(1.05);
    border-color: var(--primary-color);
}

.pricing-card.featured {
    background: linear-gradient(145deg, #1a1a1e, #141416);
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(11, 211, 120, 0.2);
    transform: scale(1.1);
    z-index: 2;
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.plan-header {
    margin-bottom: 30px;
}

.price {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin: 10px 0;
}

.price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 400;
}

.savings {
    color: var(--accent-color);
    font-size: 0.9rem;
    font-weight: 600;
}

.plan-features {
    margin-bottom: 30px;
    text-align: left;
}

.plan-features li {
    margin-bottom: 12px;
    color: var(--text-muted);
}

.plan-features i {
    color: var(--primary-light);
    margin-right: 10px;
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-light);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
    display: none;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
    animation: fadeIn 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* CTA Footer */
.cta-footer {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(11, 211, 120, 0.2) 0%, var(--dark-bg) 70%);
}

.cta-footer h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-footer p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Footer */
.footer {
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--darker-bg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--white);
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    font-size: 1.2rem;
    transition: var(--transition);
}

.footer-social a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 968px) {
    .container {
        padding: 0 15px;
        /* Slightly smaller padding */
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-image {
        height: 300px;
        /* Reduced height */
    }

    /* Adjust floating cards for tablet/smaller screens */
    .c1 {
        top: 5%;
        right: 5%;
    }

    .c2 {
        bottom: 10%;
        left: 5%;
    }

    .c3 {
        top: 50%;
        left: 50%;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
        /* Allow wrapping */
    }

    .hero-features {
        justify-content: center;
    }

    .content-row {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pricing-card.featured {
        transform: scale(1);
        /* Reset scale */
        z-index: 1;
        box-shadow: 0 10px 30px rgba(11, 211, 120, 0.2);
    }

    .pricing-wrapper {
        gap: 20px;
    }

    .pricing-card {
        width: 100%;
        /* Full width cards */
        max-width: 400px;
    }
}

.mobile-only {
    display: none;
}

@media (max-width: 768px) {

    /* Header Adjustments to prevent overlap */
    .header .btn {
        display: none;
        /* Hide the main header button on mobile */
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        /* Wider menu */
        height: 100vh;
        background: rgba(10, 10, 11, 0.98);
        /* Less transparent */
        padding: 100px 30px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(15px);
    }

    .nav.active {
        right: 0;
    }

    .nav-list {
        flex-direction: column;
        gap: 25px;
        align-items: center;
        /* Center items */
    }

    .nav-list a:not(.btn) {
        font-size: 1.2rem;
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        width: 100%;
        text-align: center;
    }

    .mobile-only {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .mobile-only .btn {
        width: 100%;
        justify-content: center;
    }

    .mobile-menu-btn {
        display: block;
        z-index: 1001;
        font-size: 1.8rem;
    }

    .hero {
        padding-top: 120px;
        /* Increase padding to ensure content doesn't go under header */
        padding-bottom: 50px;
        align-items: flex-start;
        /* Align top for mobile to prevent vertical centering overlap issues */
    }

    .hero-title {
        font-size: 2.2rem;
        /* Smaller title */
        margin-top: 20px;
    }

    .hero-description {
        font-size: 1rem;
    }

    /* Hide decorative elements that might clutter small screens */
    .hero-bg-glow {
        opacity: 0.5;
    }

    .floating-card {
        padding: 10px 15px;
        font-size: 0.8rem;
    }

    .floating-card i {
        font-size: 1rem;
    }

    .section {
        padding: 60px 0;
        /* Compact sections */
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .tv-frame {
        height: 200px;
        /* Smaller TV frame */
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .btn {
        width: 100%;
        /* Full width buttons */
    }

    .hero-buttons {
        width: 100%;
        flex-direction: column;
    }

    .floating-card {
        display: none;
        /* Hide floating cards on very small screens */
    }
}