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

:root {
    --primary-color: #22d3ee;
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --bg-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: #1f1f1f;
    --shadow: 0 4px 20px rgba(34, 211, 238, 0.1);
    --shadow-hover: 0 8px 30px rgba(34, 211, 238, 0.2);
}

html {
    scroll-behavior: smooth;
}

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


::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
    transition: background 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #1ab8d1;
}


.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}


.cookie-popup {
    position: fixed;
    bottom: -200px;
    right: 25px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    max-width: 600px;
    width: calc(100% - 2rem);
    z-index: 10000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: bottom 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.cookie-popup.show {
    bottom: 2rem;
}

.cookie-content {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.cookie-text h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.btn-cookie-accept,
.btn-cookie-decline {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-cookie-accept {
    background: var(--primary-color);
    color: var(--bg-dark);
}

.btn-cookie-accept:hover {
    background: #1ab8d1;
    transform: translateY(-2px);
}

.btn-cookie-decline {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-cookie-decline:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo img {
    height: 40px;
}

.logo:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}


.btn-primary {
    background: var(--primary-color);
    color: var(--bg-dark);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-primary:hover {
    background: #1ab8d1;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 211, 238, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--bg-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.05rem;
}


.hero {
    padding: 10rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(34, 211, 238, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(34, 211, 238, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    /* CENTERED as requested */
    margin-bottom: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #fff 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    /* Neon Text Shadow */
    text-shadow: 0 0 20px rgba(34, 211, 238, 0.3);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}


/* Scroll Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

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

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    display: block;
    /* animation: fadeInUp 0.8s ease forwards; REMOVED ANIMATION FOR STABILITY */
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    /* opacity: 0; REMOVED */
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2.5rem;
    /* opacity: 0; REMOVED */
}

.notification-box {
    background: rgba(34, 211, 238, 0.05);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
    /* opacity: 0; REMOVED */
}

.stats-cards {
    display: flex;
    /* Changed from grid to flex for the "table" look spacing */
    gap: 4rem;
    /* Wide gap between columns */
    margin-top: 1.5rem;
}

.stat-card {
    background: transparent;
    /* Remove card bg */
    border: none;
    /* Remove border */
    padding: 0;
    display: flex;
    flex-direction: column;
    /* Stack vertically: Icon -> Label -> Value */
    align-items: flex-start;
    gap: 0.5rem;
}

.stat-card:hover {
    transform: none;
    /* Disable hover lift */
    box-shadow: none;
}

.stat-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    /* Remove icon bg */
    padding: 0;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-icon svg {
    width: 32px;
    height: 32px;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    /* Clean number font */
}


/* Features Grid Layout */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: #050505;
    /* Deep black */
    border: 1px solid #1f1f1f;
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* CENTER CONTENT */
    text-align: center;
    /* CENTER TEXT */
    position: relative;
    overflow: hidden;
}

/* Neon Glow Effect */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    /* Beautiful Neon Glow */
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15), inset 0 0 20px rgba(34, 211, 238, 0.05);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    padding: 12px;
    border: 1px solid #333;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: #0a0a0a;
    transition: all 0.3s ease;
    /* Static subtle glow on icon */
    box-shadow: 0 0 10px rgba(34, 211, 238, 0.1);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    display: inline-flex;
    border-color: var(--primary-color);
    background: rgba(34, 211, 238, 0.1);
    box-shadow: 0 0 15px rgba(34, 211, 238, 0.4);
    /* Stronger glow on hover */
    color: #fff;
}

/* Premium Script Panel Redesign */
.code-window {
    background: #0d0d0d;
    /* Darker background */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px #1f1f1f;
    /* Added subtle border via shadow */
    font-family: 'JetBrains Mono', 'Consolas', monospace;
    /* Better font */
}

.code-header {
    background: #111111;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid #1f1f1f;
}

.code-buttons {
    display: flex;
    gap: 0.5rem;
    position: absolute;
    /* Center the title, buttons stay left */
    left: 1rem;
}

.code-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.code-btn-red {
    background: #ff5f56;
}

.code-btn-yellow {
    background: #ffbd2e;
}

.code-btn-green {
    background: #27c93f;
}

.code-tab {
    margin: 0 auto;
    /* Center with flex parent */
    color: #888;
    font-size: 0.8rem;
    font-weight: 500;
}

.code-content {
    padding: 1.5rem;
    color: #d4d4d4;
    font-size: 0.9rem;
    line-height: 1.6;
    background: #0d0d0d;
}

/* Syntax Highlighting Colors - VS Code Dark+ style */
.code-keyword {
    color: #569cd6;
}

/* Blue */
.code-function {
    color: #dcdcaa;
}

/* Yellow */
.code-string {
    color: #ce9178;
}

/* Orange/Brown */
.code-comment {
    color: #6a9955;
}

/* Green */
.code-number {
    color: #b5cea8;
}

/* Light Green */
.code-operator {
    color: #d4d4d4;
}

.line-number {
    color: #444;
    margin-right: 1.5rem;
    user-select: none;
    text-align: right;
    display: inline-block;
    width: 20px;
}


.faq {
    padding: 6rem 0;
    background: var(--bg-darker);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    margin-bottom: 1rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

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

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    flex-shrink: 0;
    color: var(--primary-color);
    transition: transform 0.3s ease;
}

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

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

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}


.footer {
    padding: 2rem 0;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    text-align: center;
}

.footer-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}


.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    max-width: 500px;
    width: calc(100% - 2rem);
    padding: 2.5rem;
    animation: scaleIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.modal-header p {
    color: var(--text-secondary);
}

.modal-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.download-option {
    background: var(--bg-darker);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    width: 100%;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Video Section Styling */
.showcase .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.video-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem 0;
    width: 100%;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 900px;
    /* Make it bigger */
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;

    /* Neon Outline */
    border: 3px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.4),
        inset 0 0 20px rgba(34, 211, 238, 0.1);

    transform: translateY(0);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.6),
        inset 0 0 30px rgba(34, 211, 238, 0.2);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* Blinking Cursor - handled by JS for blinking, CSS for shape */
.cursor {
    display: inline-block;
    width: 2px;
    height: 1.2em;
    background-color: var(--primary-color);
    vertical-align: sub;
    margin-left: 1px;
}