/* Open-source landing page design */
:root {
    --primary: #1e40af;
    --primary-dark: #1e3a8a;
    --primary-light: #3b82f6;
    --secondary: #0891b2;
    --secondary-dark: #0e7490;
    --accent: #7c3aed;
    --success: #059669;
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-accent: #f1f5f9;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Hide base template footer and navbar on landing page */
body:has(.landing) > footer,
body:has(.landing) > nav {
    display: none !important;
}

body:has(.landing) {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
}

body:has(.landing) main {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

.landing {
    width: 100vw;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background: var(--bg-primary);
    font-family: var(--font-sans);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
}

.landing * {
    box-sizing: border-box;
}

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

/* Navigation */
.landing-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nav-logo {
    height: 40px;
    width: auto;
    border-radius: 0;
    border: none;
}

.brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.nav-title {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

.nav-subtitle {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: color 0.2s ease;
}

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

.btn-nav {
    padding: 0.5rem 1.25rem;
    background: var(--primary);
    color: var(--bg-primary);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Nav Toggle (Hamburger) */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    padding: 6px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 2.5px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background: var(--primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background: var(--bg-primary);
    color: var(--primary);
    border-color: var(--border-medium);
}

.btn-outline:hover {
    border-color: var(--primary);
    background: rgba(30, 64, 175, 0.05);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--bg-primary);
    border: 2px solid var(--bg-primary);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: var(--bg-primary);
    color: var(--primary);
}

.btn-large {
    padding: 1rem 2.25rem;
    font-size: 1.0625rem;
}

/* Hero Section */
.hero {
    padding: 6rem 5% 5rem;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #dbeafe 70%, #e0e7ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(30, 64, 175, 0.08);
    border: 1px solid rgba(30, 64, 175, 0.15);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 2rem;
}

.badge-icon {
    display: flex;
    align-items: center;
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1.08;
    margin: 0 0 1.5rem;
    letter-spacing: -0.035em;
}

.hero-subtitle {
    font-size: clamp(1.05rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 auto 2.5rem;
    font-weight: 400;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
    max-width: 520px;
    margin: 0 auto;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.stat-number {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(0, 0, 0, 0.08);
}

/* Terminal Block */
.hero-terminal {
    max-width: 600px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    text-align: left;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #1e293b;
    border-bottom: 1px solid #334155;
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.dot-red { background: #ef4444; }
.dot-yellow { background: #eab308; }
.dot-green { background: #22c55e; }

.terminal-title {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-left: 0.5rem;
    font-family: monospace;
}

.terminal-body {
    background: #0f172a;
    padding: 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.terminal-body code {
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #e2e8f0;
    display: block;
    line-height: 1.6;
}

.terminal-prompt {
    color: #22c55e;
    margin-right: 0.5rem;
}

.terminal-output {
    color: #94a3b8 !important;
    font-style: italic;
}

/* Section Styling */
.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-label {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.7;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    background: var(--bg-secondary);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.icon-offline { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: var(--primary); }
.icon-secure { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: var(--success); }
.icon-fast { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #d97706; }
.icon-exam { background: linear-gradient(135deg, #e0e7ff, #c7d2fe); color: var(--primary); }
.icon-grade { background: linear-gradient(135deg, #cffafe, #a5f3fc); color: var(--secondary); }
.icon-users { background: linear-gradient(135deg, #ede9fe, #ddd6fe); color: var(--accent); }

.feature-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* How It Works Section */
.how-it-works {
    padding: 6rem 0;
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 1rem;
}

.step-card {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 2.5rem 1.5rem 2rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card-desc {
    margin-top: auto;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.step-number-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-primary);
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.step-icon-wrap {
    width: 64px;
    height: 64px;
    margin: 0.5rem auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.step-icon-wrap.icon-create {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    color: var(--primary);
}

.step-icon-wrap.icon-assign {
    background: linear-gradient(135deg, #ede9fe, #ddd6fe);
    color: var(--accent);
}

.step-icon-wrap.icon-take {
    background: linear-gradient(135deg, #cffafe, #a5f3fc);
    color: var(--secondary);
}

.step-icon-wrap.icon-results {
    background: linear-gradient(135deg, #d1fae5, #a7f3d0);
    color: var(--success);
}

.step-card-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.step-card-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    flex-shrink: 0;
    color: var(--border-medium);
    align-self: center;
}

/* Video Tutorial Section */
.video-tutorial {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.video-wrapper {
    margin-top: 3rem;
    margin-bottom: 2.5rem;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 860px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    background: #0f172a;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    border-radius: 16px;
}

.video-container video.playing {
    display: block;
}

.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder:hover {
    background: linear-gradient(135deg, #1e3a5f 0%, #1e293b 100%);
}

.video-placeholder:hover .video-play-btn {
    transform: scale(1.1);
}

.video-placeholder.hidden {
    display: none;
}

.video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    outline: none;
}

.video-play-btn:focus-visible {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.4);
}

.video-placeholder-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.video-duration {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
    font-weight: 500;
}

.video-highlights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 860px;
    margin: 0 auto;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding: 1.25rem;
    border-radius: 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.highlight-item:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-sm);
}

.highlight-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(30, 64, 175, 0.08);
    color: var(--primary);
}

.highlight-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.highlight-text strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-text span {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

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

    .video-play-btn {
        width: 64px;
        height: 64px;
    }

    .video-play-btn svg {
        width: 36px;
        height: 36px;
    }
}

/* Getting Started Section */
.getting-started {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.prerequisites {
    max-width: 700px;
    margin: 0 auto 3rem;
    padding: 2rem;
    background: var(--bg-primary);
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.prereq-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 1.25rem;
}

.prereq-title svg {
    color: var(--success);
}

.prereq-intro {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin: 0 0 1.5rem;
    line-height: 1.6;
}

.prereq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.prereq-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1.25rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.prereq-link {
    text-decoration: none;
    cursor: pointer;
}

.prereq-link:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.prereq-auto {
    border-style: dashed;
}

.prereq-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.prereq-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.icon-python { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #2563eb; }
.icon-git { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #dc2626; }
.icon-node { background: linear-gradient(135deg, #d1fae5, #a7f3d0); color: #16a34a; }
.icon-server { background: linear-gradient(135deg, #dbeafe, #bfdbfe); color: #0078D4; }

.prereq-name {
    font-weight: 700;
    font-size: 1.0625rem;
    color: var(--text-primary);
    align-self: flex-start;
}

.prereq-badge {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.625rem;
    border-radius: 100px;
    background: rgba(30, 64, 175, 0.1);
    color: var(--primary);
}

.prereq-badge.badge-auto {
    background: rgba(5, 150, 105, 0.1);
    color: var(--success);
}

.prereq-desc {
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.prereq-download {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 0.25rem;
}

.prereq-link:hover .prereq-download {
    text-decoration: underline;
}

.prereq-auto-note {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--success);
    margin-top: 0.25rem;
}

/* Installation Steps */
.install-steps {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.install-step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.install-step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.875rem;
    border-radius: 50%;
    margin-top: 0.25rem;
}

.install-step-content {
    flex: 1;
    min-width: 0;
}

.install-step-title {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem;
}

.code-block {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.25rem;
    background: #0f172a;
    border-radius: 10px;
    overflow-x: auto;
}

.code-block code {
    flex: 1;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.875rem;
    color: #e2e8f0;
    white-space: nowrap;
}

.copy-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.copy-btn:hover {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.1);
}

.copy-btn.copied {
    color: #22c55e;
}

.install-step-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0.5rem 0 0;
    line-height: 1.5;
}

.install-step-note code {
    background: var(--bg-accent);
    padding: 0.125rem 0.375rem;
    border-radius: 4px;
    font-size: 0.8125rem;
    font-family: monospace;
    color: var(--text-secondary);
}

/* Tech Stack Section */
.tech-stack {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 700px;
    margin: 0 auto;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem 1rem;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-light);
    text-align: center;
}

.tech-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.tech-name {
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
}

.tech-role {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* CTA Section */
.cta {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--bg-primary);
    margin: 0 0 1.25rem;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 2.5rem;
    line-height: 1.7;
}

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

.cta .btn-primary {
    background: var(--bg-primary);
    color: var(--primary);
}

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

/* Footer */
.landing-footer {
    padding: 2.5rem 5%;
    background: var(--text-primary);
    width: 100%;
}

.landing-footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 36px;
    width: auto;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-text {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--bg-primary);
}

.footer-subtitle {
    font-size: 0.6875rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--bg-primary);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: #94a3b8;
    margin: 0.25rem 0;
    font-size: 0.875rem;
}

.footer-note {
    font-size: 0.8125rem !important;
    color: #64748b !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-title {
        font-size: 2.75rem;
    }

    .steps-grid {
        flex-wrap: wrap;
    }

    .step-connector:nth-of-type(2) {
        display: none;
    }

    .step-card {
        max-width: 45%;
    }
}

@media (max-width: 768px) {
    .landing {
        overflow-x: hidden;
        width: 100%;
    }

    .container {
        padding: 0 1rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--bg-primary);
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        padding: 1rem 1.5rem 1.5rem;
        gap: 0.5rem;
    }

    .nav-actions.open {
        display: flex;
    }

    .nav-actions .nav-link {
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-actions .btn-nav {
        margin-top: 0.5rem;
        text-align: center;
        padding: 0.75rem 1.25rem;
    }

    .landing-nav {
        padding: 0.75rem 1rem;
        position: relative;
    }

    .nav-brand {
        gap: 0.5rem;
    }

    .nav-logo {
        height: 32px;
        width: auto;
    }

    .nav-title {
        font-size: 1.125rem;
    }

    .nav-subtitle {
        font-size: 0.5625rem;
    }

    .nav-actions {
        gap: 0.75rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .btn-nav {
        padding: 0.4rem 0.75rem;
        font-size: 0.75rem;
    }

    .hero {
        padding: 2.5rem 1rem 2rem;
    }

    .hero::before {
        display: none;
    }

    .hero-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
        margin-bottom: 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .hero-buttons {
        flex-direction: column;
        margin-bottom: 2rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .hero-terminal {
        max-width: 100%;
    }

    .terminal-body {
        padding: 1rem;
    }

    .terminal-body code {
        font-size: 0.75rem;
    }

    .features {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .section-header {
        margin-bottom: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-subtitle {
        font-size: 0.9375rem;
    }

    .getting-started {
        padding: 3rem 0;
    }

    .how-it-works {
        padding: 3rem 0;
    }

    .steps-grid {
        flex-direction: column;
        gap: 1.5rem;
    }

    .step-card {
        max-width: 100%;
        width: 100%;
        padding: 2rem 1.25rem 1.5rem;
    }

    .step-connector {
        transform: rotate(90deg);
    }

    .prerequisites {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .prereq-grid {
        grid-template-columns: 1fr;
    }

    .install-step {
        gap: 1rem;
    }

    .install-step-number {
        width: 32px;
        height: 32px;
        font-size: 0.8125rem;
    }

    .code-block {
        padding: 0.75rem 1rem;
    }

    .code-block code {
        font-size: 0.75rem;
    }

    .tech-stack {
        padding: 3rem 0;
    }

    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .tech-item {
        padding: 1rem 0.75rem;
    }

    .tech-name {
        font-size: 0.875rem;
    }

    .cta {
        padding: 3rem 1rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .cta-subtitle {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .cta-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }

    .landing-footer {
        padding: 1.5rem 1rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 1.25rem;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

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

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .hero-content {
        animation: fadeInUp 0.6s ease-out;
    }

    .feature-card {
        animation: fadeInUp 0.6s ease-out;
    }

    .feature-card:nth-child(2) { animation-delay: 0.1s; }
    .feature-card:nth-child(3) { animation-delay: 0.15s; }
    .feature-card:nth-child(4) { animation-delay: 0.2s; }
    .feature-card:nth-child(5) { animation-delay: 0.25s; }
    .feature-card:nth-child(6) { animation-delay: 0.3s; }
}

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

/* Print Styles */
@media print {
    .landing-nav,
    .hero-buttons,
    .cta,
    .landing-footer,
    .copy-btn {
        display: none;
    }
}
