:root {
    --black: #0a0a0b;
    --dark-grey: #121214;
    --grey-800: #1e1e22;
    --grey-700: #2a2a2f;
    --reflow-green: #A3FF33;
    --lemon-green: #d4ff00;
    /* Fallback/Legacy */
    --peach: #ffb08e;
    --peach-bg: rgba(255, 176, 142, 0.1);
    --lemon-green-bg: rgba(163, 255, 51, 0.1);
    --white: #ffffff;
    --text-muted: #8e8e93;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --sidebar-width: 260px;
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --section-padding: 8rem 5%;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 255, 0, 0.1) 0%, rgba(15, 15, 15, 0) 70%);
    top: -200px;
    right: -200px;
    z-index: -1;
    filter: blur(80px);
}

.bg-glow-2 {
    position: fixed;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(255, 176, 142, 0.08) 0%, rgba(15, 15, 15, 0) 70%);
    bottom: -100px;
    left: -100px;
    z-index: -1;
    filter: blur(80px);
}

.features-section {
    padding: var(--section-padding);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 5%;
    background: linear-gradient(to bottom, var(--black), transparent);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    color: var(--lemon-green);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: 0.3s;
    opacity: 0.7;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--lemon-green);
}

.btn-login {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-login:hover {
    background: var(--glass-border);
}

.btn-signup {
    background: var(--lemon-green);
    color: var(--black);
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(212, 255, 0, 0.2);
}

.btn-signup:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(212, 255, 0, 0.3);
}

/* Hero Section Redesign */
.hero {
    padding: 10rem 5% 6rem;
    text-align: center;
    position: relative;
    overflow: visible;
    /* Allow floating badges to peak out if needed */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
}

.hero-tag {
    background: rgba(163, 255, 51, 0.1);
    color: var(--reflow-green);
    padding: 0.6rem 1.4rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 2rem;
    border: 1px solid rgba(163, 255, 51, 0.2);
    animation: fadeIn 1s ease-out;
}

.hero h1 {
    font-size: clamp(3rem, 7vw, 4.5rem);
    /* Reduced size for better balance */
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    letter-spacing: -2px;
    animation: slideUp 1s ease-out;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--reflow-green), #fff, var(--reflow-green));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s linear infinite;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    animation: slideUp 1.2s ease-out;
}

.hero-btns {
    display: flex;
    flex-direction: row;
    /* Horizontal on desktop */
    justify-content: center;
    gap: 1.5rem;
    animation: slideUp 1.4s ease-out;
}

.btn-primary {
    background: var(--lemon-green);
    color: var(--black);
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.4s;
    border: none;
    cursor: pointer;
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--white);
    padding: 1.2rem 2.5rem;
    border-radius: 16px;
    font-weight: 800;
    font-size: 1.1rem;
    text-decoration: none;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--glass-border);
    transform: translateY(-2px);
}

.hero-mockup-wrapper {
    position: relative;
    max-width: 1100px;
    margin: 5rem auto 0;
    padding: 10px;
    border-radius: 44px;
    background: linear-gradient(180deg, rgba(163, 255, 51, 0.1) 0%, transparent 100%);
    border: 1px solid var(--glass-border);
    animation: slideUp 1.6s ease-out;
}

.hero-mockup {
    width: 100%;
    border-radius: 34px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.6);
    display: block;
    border: 1px solid var(--glass-border);
}

.tool-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1.2rem;
}

.hero-glow-blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(163, 255, 51, 0.08) 0%, transparent 70%);
    z-index: -1;
    filter: blur(60px);
}

/* Workflow Section */
.workflow {
    padding: 8rem 5%;
    text-align: center;
}

.section-header {
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 800;
}

/* Features Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 per row as requested */
    gap: 3rem;
    /* Increased gap for better breathing room */
    max-width: 1200px;
    /* Centered and tightened for 2-column look */
    margin: 0 auto;
    padding: 0 5%;
}

@media (max-width: 900px) {
    .feature-grid {
        grid-template-columns: 1fr;
        /* Stack on smaller screens */
        max-width: 600px;
    }
}

.feature-card {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: var(--reflow-green);
    transform: translateY(-8px);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--lemon-green);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #666;
    font-size: 1.1rem;
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.workflow-step {
    padding: 3rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 32px;
    transition: 0.3s;
    position: relative;
}

.workflow-step:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-5px);
}

.step-num {
    font-size: 4rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: 1rem;
    right: 2rem;
}

.workflow-step h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--lemon-green);
}

.workflow-step p {
    color: #888;
}


/* Premium Dashboard Layout */
.dashboard-layout {
    display: grid;
    grid-template-columns: var(--sidebar-width) 1fr;
    min-height: 100vh;
    background-color: var(--black);
}

/* Glassmorphism Utilities */
.glass-panel {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
}

.premium-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: var(--transition-smooth);
}

.premium-card:hover {
    border-color: rgba(163, 255, 51, 0.3);
    transform: translateY(-2px);
}

/* Animations */
@keyframes glowPulse {
    0% {
        box-shadow: 0 0 5px rgba(163, 255, 51, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(163, 255, 51, 0.4);
    }

    100% {
        box-shadow: 0 0 5px rgba(163, 255, 51, 0.2);
    }
}

.glow-btn {
    background: var(--reflow-green);
    color: var(--black);
    font-weight: 700;
    border-radius: 12px;
    padding: 0.8rem 1.5rem;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.glow-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.02);
    animation: glowPulse 2s infinite;
}

/* Sidebar */
.sidebar {
    background: var(--dark-grey);
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    position: sticky;
    top: 0;
    height: 100vh;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.4rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 3.5rem;
    letter-spacing: -0.5px;
}

.sidebar-logo i {
    color: var(--reflow-green);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.2rem;
    border-radius: 14px;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 4px;
}

.nav-item.active,
.nav-item:hover {
    background: var(--grey-800);
    color: var(--white);
}

.nav-item.active i {
    color: var(--reflow-green);
}

/* Main Content Area */
/* Dashboard Layout Components */
.main-content {
    padding: 2.5rem 4rem;
    overflow-y: auto;
    height: 100vh;
    background: radial-gradient(circle at bottom left, rgba(163, 255, 51, 0.02), transparent 40%);
}

.breadcrumb {
    display: flex;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
    align-items: center;
}

.project-title-area {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.project-badges {
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-project {
    background: rgba(163, 255, 51, 0.1);
    color: var(--reflow-green);
    border: 1px solid rgba(163, 255, 51, 0.2);
}

.badge-tags {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

/* Video Player Component */
.video-container {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--glass-border);
}

.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
    display: flex;
    align-items: center;
    gap: 20px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-container:hover .video-controls {
    opacity: 1;
}

/* Transcript Component */
.transcript-scroll {
    max-height: 450px;
    overflow-y: auto;
    padding-right: 15px;
}

.transcript-item {
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.2s ease;
    cursor: pointer;
    margin-bottom: 0.8rem;
    border: 1px solid transparent;
}

.transcript-item:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--glass-border);
}

.transcript-item.active {
    background: rgba(163, 255, 51, 0.05);
    border-color: rgba(163, 255, 51, 0.2);
}

.timestamp {
    color: var(--reflow-green);
    font-weight: 700;
    font-size: 0.85rem;
    margin-right: 12px;
    font-family: 'Monaco', monospace;
}

/* Tool Cards */
.tool-card {
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    cursor: pointer;
}

.tool-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

/* Result Modal Refinement */
#resultModal .modal-content {
    max-width: 900px;
    background: var(--dark-grey);
    padding: 3rem;
}

.premium-scroll::-webkit-scrollbar {
    width: 6px;
}

.premium-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.premium-scroll::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}

.task-card {
    border: 1px solid var(--glass-border);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.01) 100%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.task-card.active {
    border-left: 4px solid var(--reflow-green);
    animation: slideIn 0.5s ease forwards;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.task-icon {
    background: rgba(163, 255, 51, 0.1);
    color: var(--reflow-green);
}

.copy-btn,
.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--white);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

#resultsSection {
    animation: fadeIn 1s ease;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}

.search-box {
    background: var(--grey-800);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.6rem 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--white);
    width: 100%;
    outline: none;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.profile-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grey-700);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.panel-title {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
}


.sidebar-links {
    margin-top: 1rem;
}

.sidebar-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0.8rem 1.2rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s var(--transition-smooth);
    margin-bottom: 4px;
    cursor: pointer;
}

.sidebar-section i {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

.sidebar-section:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    transform: translateX(4px);
}

.sidebar-section.active {
    background: rgba(163, 255, 51, 1);
    color: var(--black);
    font-weight: 700;
    box-shadow: 0 8px 20px rgba(163, 255, 51, 0.2);
}

.sidebar-section.active i {
    color: inherit;
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-bottom: 2rem;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    padding: 0.7rem 1.2rem;
    border-radius: 14px;
    width: 350px;
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--reflow-green);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 20px rgba(163, 255, 51, 0.1);
}

.search-box input {
    background: none;
    border: none;
    color: var(--white);
    font-size: 0.9rem;
    outline: none;
    width: 100%;
}

.search-box i {
    color: var(--text-muted);
}

/* Global Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.modal-content {
    background: var(--dark-grey);
    border: 1px solid var(--glass-border);
    padding: 3.5rem;
    border-radius: 32px;
    width: 100%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    font-weight: 800;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #666;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    background: #000;
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--lemon-green);
}

.modal-btn {
    width: 100%;
    padding: 1.2rem;
    border-radius: 12px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.login-submit {
    background: var(--lemon-green);
    color: var(--black);
}

.register-submit {
    background: var(--peach);
    color: var(--black);
}

.modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    transition: 0.3s;
    opacity: 0.5;
}

.modal-close:hover {
    opacity: 1;
    color: var(--white);
}

.form-group select {
    width: 100%;
    background: #000;
    border: 1px solid var(--glass-border);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--white);
    font-size: 1rem;
    transition: 0.3s;
    cursor: pointer;
}

.form-group select:focus {
    outline: none;
    border-color: var(--lemon-green);
}

.modal-footer {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.modal-footer button {
    flex: 1;
}

/* Loading States & Progress */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    z-index: 3000;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.loader {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(163, 255, 51, 0.1);
    border-top-color: var(--reflow-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.progress-container {
    width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 100px;
    overflow: hidden;
    margin-top: 1.5rem;
}

.progress-bar {
    height: 100%;
    background: var(--reflow-green);
    box-shadow: 0 0 20px rgba(163, 255, 51, 0.4);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Architecture Visualization */
.architecture-section {
    padding: 8rem 5%;
    background: radial-gradient(circle at top right, rgba(163, 255, 51, 0.03), transparent 40%);
}

.architecture-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-top: 5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-wrap: nowrap;
    /* Force horizontal on desktop */
}

.arch-node {
    background: var(--grey-800);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    border-radius: 24px;
    width: 220px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.arch-node:hover {
    border-color: var(--reflow-green);
    box-shadow: 0 0 30px rgba(163, 255, 51, 0.1);
}

.arch-node i {
    font-size: 2rem;
    color: var(--reflow-green);
    margin-bottom: 1rem;
}

.arch-link {
    height: 2px;
    flex: 1;
    max-width: 60px;
    background: linear-gradient(90deg, var(--reflow-green), transparent);
    opacity: 0.3;
}

/* Shimmer & Glow Animations */
@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

.shimmer-text {
    background: linear-gradient(90deg, #fff 0%, var(--reflow-green) 50%, #fff 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 5s linear infinite;
}

/* Pricing Section */
.pricing-section {
    padding: var(--section-padding);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.pricing-card {
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 500px;
    transition: var(--transition-smooth);
}

.pricing-card.premium {
    background: linear-gradient(135deg, rgba(163, 255, 51, 0.1) 0%, rgba(163, 255, 51, 0.02) 100%);
    border: 1px solid rgba(163, 255, 51, 0.3);
    position: relative;
    transform: scale(1.05);
    z-index: 10;
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--reflow-green);
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 2.5rem;
}

.pricing-price span {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.pricing-features {
    list-style: none;
    margin-bottom: 3rem;
    flex: 1;
}

.pricing-features li {
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #dfdfdf;
    font-size: 1.05rem;
}

.pricing-features li i {
    color: var(--reflow-green);
    font-size: 0.9rem;
}

/* Scroll Reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced FAQ Accordion */
.faq-container {
    max-width: 900px;
    margin: 4rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-header {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    padding: 0 2rem;
    color: var(--text-muted);
    transition: all 0.5s ease;
}

.faq-item.active .faq-content {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-header i {
    transform: rotate(180deg);
}

@media (max-width: 1024px) {
    .architecture-grid {
        flex-wrap: wrap;
        gap: 2rem;
    }

    .arch-link {
        display: none;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-mockup-wrapper {
        margin-top: 3rem;
        padding: 5px;
    }

    .glass-panel[style*="position: absolute"] {
        display: none;
        /* Hide floating badges on mobile to prevent clutter */
    }

    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .hero-btns {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-secondary {
        text-align: center;
        justify-content: center;
    }

    .architecture-grid {
        flex-direction: column;
    }

    .arch-link {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, var(--reflow-green), transparent);
    }

    .modal-overlay {
        padding: 1rem;
    }

    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-content h2 {
        font-size: 1.8rem;
        margin-bottom: 1.5rem;
    }

    .form-group input {
        padding: 1rem;
    }
}