/**
 * AgenC Moltbook - Main Styles
 * Author: TETSUO CORP.
 * Version: 1.0.0
 */

/* ============================================
   Fonts
   ============================================ */
@font-face {
    font-family: 'Erbaum';
    src: local('Erbaum'), local('Erbaum-Regular');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Erbaum';
    src: local('Erbaum Medium'), local('Erbaum-Medium');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Erbaum';
    src: local('Erbaum Bold'), local('Erbaum-Bold');
    font-weight: 700;
    font-style: normal;
}

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --bg-page: #1A1A1A;
    --bg-card: rgba(13, 13, 13, 0.95);
    --bg-card-solid: #0D0D0D;
    --bg-surface: rgba(45, 45, 45, 0.9);
    --bg-placeholder: #3D3D3D;
    --orange-primary: #FF6B35;
    --orange-light: #FF8C5A;
    --teal-success: #00D4AA;
    --white-primary: #FFFFFF;
    --gray-600: #888888;
    --gray-500: #444444;
    --border: #3D3D3D;
    --glow-orange: 0 0 30px rgba(255, 107, 53, 0.5);
    --glow-teal: 0 0 20px rgba(0, 212, 170, 0.4);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
}

/* ============================================
   Base Styles
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Erbaum', sans-serif;
    background-color: var(--bg-page);
    color: var(--white-primary);
    position: relative;
    overflow-x: hidden;
}

::selection {
    background: var(--orange-primary);
    color: var(--bg-card-solid);
}

.font-display {
    font-family: 'Erbaum', sans-serif;
}

/* ============================================
   Header
   ============================================ */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 48px;
    height: 80px;
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.98) 0%, rgba(13, 13, 13, 0.95) 100%);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background-image: url('../logo.png');
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.logo-text {
    font-family: 'Erbaum', sans-serif;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--white-primary);
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.3);
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 12px;
    color: var(--gray-600);
    text-decoration: none;
    letter-spacing: 1px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.08);
}

/* ============================================
   Buttons
   ============================================ */
.btn-primary {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: var(--bg-card-solid);
    padding: 12px 24px;
    font-size: 12px;
    font-family: 'Erbaum', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--orange-primary) 100%);
    transform: translateY(-2px);
    box-shadow: var(--glow-orange);
}

.btn-large {
    padding: 18px 36px;
    font-size: 14px;
    font-family: 'Erbaum', sans-serif;
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: var(--radius-md);
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-large:hover::before {
    left: 100%;
}

.btn-large.primary {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: var(--bg-card-solid);
    font-weight: 600;
}

.btn-large.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.btn-large.secondary {
    background: rgba(45, 45, 45, 0.6);
    color: var(--white-primary);
    border: 2px solid var(--border);
    backdrop-filter: blur(10px);
}

.btn-large.secondary:hover {
    border-color: var(--orange-primary);
    background: rgba(255, 107, 53, 0.1);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.btn-dark {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    color: var(--bg-card-solid);
    padding: 18px 36px;
    font-size: 14px;
    font-family: 'Erbaum', sans-serif;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.btn-dark::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-dark:hover::before {
    left: 100%;
}

.btn-dark:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.6);
}

.btn-outline-dark {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-primary);
    padding: 18px 36px;
    font-size: 14px;
    font-family: 'Erbaum', sans-serif;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.btn-outline-dark:hover {
    background: var(--white-primary);
    color: var(--bg-card-solid);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* ============================================
   Layout
   ============================================ */
.page-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 80px;
}

.fixed-sidebar {
    position: fixed;
    left: 0;
    top: 80px;
    width: 45%;
    height: calc(100vh - 80px);
    background-image: url('../background.png');
    background-size: cover;
    background-position: center;
    z-index: 10;
}

.scrolling-content {
    margin-left: 45%;
    width: 55%;
    background-color: var(--bg-page);
    min-height: calc(100vh - 80px);
    border-left: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.5);
    overflow-y: auto;
    scroll-snap-type: y mandatory;
    height: calc(100vh - 80px);
    scroll-behavior: smooth;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    display: flex;
    flex-direction: column;
    padding: 0;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    justify-content: center;
    background: transparent;
    scroll-snap-align: start;
}

.hero-image {
    display: none;
}

.hero-content {
    width: 100%;
    padding: 80px 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    background-color: transparent;
}

.hero-title {
    font-family: 'Erbaum', sans-serif;
    font-size: 56px;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: left;
    line-height: 1.1;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    text-shadow: 0 2px 40px rgba(255, 255, 255, 0.1);
}

.hero-subtitle {
    font-size: 17px;
    color: var(--gray-600);
    text-align: left;
    line-height: 1.7;
    max-width: 500px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* ============================================
   Badge Component
   ============================================ */
.badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: linear-gradient(135deg, rgba(0, 212, 170, 0.1) 0%, rgba(45, 45, 45, 0.9) 100%);
    border: 1px solid var(--teal-success);
    border-radius: 50px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 212, 170, 0.15), 0 0 15px rgba(0, 212, 170, 0.3);
    animation: fadeInUp 0.8s ease-out, glowPulse 2s ease-in-out infinite;
}

.badge-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--teal-success);
    animation: pulse 2s infinite;
    box-shadow: var(--glow-teal);
}

.badge-text {
    font-size: 11px;
    font-weight: 500;
    color: var(--teal-success);
    letter-spacing: 1px;
}

/* ============================================
   Sections
   ============================================ */
.section-glass {
    background-color: var(--bg-card-solid);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    border-bottom: 1px solid rgba(255, 107, 53, 0.3);
}

.section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 56px;
}

.section-label {
    font-size: 12px;
    color: var(--orange-primary);
    letter-spacing: 3px;
    padding: 8px 20px;
    background: rgba(255, 107, 53, 0.08);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 50px;
}

.section-title {
    font-family: 'Erbaum', sans-serif;
    font-size: 44px;
    font-weight: 700;
    letter-spacing: 3px;
    text-align: center;
    text-shadow: 0 2px 30px rgba(255, 255, 255, 0.1);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: 80px 60px;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(145deg, #0D0D0D 0%, #141414 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.5);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 53, 0.1);
}

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

.feature-card.highlighted {
    background: linear-gradient(135deg, var(--orange-primary) 0%, var(--orange-light) 100%);
    border-color: var(--orange-primary);
}

.feature-card.highlighted::after {
    display: none;
}

.feature-card.highlighted:hover {
    box-shadow: 0 20px 60px rgba(255, 107, 53, 0.4);
    transform: translateY(-8px) scale(1.02);
}

.feature-card.highlighted .card-label,
.feature-card.highlighted .card-title,
.feature-card.highlighted .card-desc {
    color: var(--bg-card-solid);
}

.card-label {
    font-size: 11px;
    color: var(--orange-primary);
    letter-spacing: 1.5px;
    font-weight: 500;
}

.card-title {
    font-family: 'Erbaum', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}

.card-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   How It Works Section
   ============================================ */
.how-it-works {
    padding: 80px 60px;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.step-card {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: linear-gradient(145deg, #0D0D0D 0%, #141414 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.step-card:hover {
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 107, 53, 0.1);
}

.step-card:hover::after {
    opacity: 1;
}

.step-num {
    font-family: 'Erbaum', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: var(--orange-primary);
    letter-spacing: 1.5px;
}

.step-title {
    font-family: 'Erbaum', sans-serif;
    font-size: 26px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
}

.step-desc {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   CLI Section
   ============================================ */
.cli-section {
    padding: 80px 60px;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    scroll-snap-align: start;
}

.terminal-window {
    background: #1C1C1E;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.6), 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.terminal-header {
    background: linear-gradient(180deg, #3A3A3C 0%, #2C2C2E 100%);
    padding: 12px 16px;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
}

.terminal-buttons {
    display: flex;
    gap: 8px;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.terminal-btn.close {
    background: linear-gradient(180deg, #FF5F57 0%, #E54640 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.terminal-btn.minimize {
    background: linear-gradient(180deg, #FFBD2E 0%, #E5A420 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.terminal-btn.maximize {
    background: linear-gradient(180deg, #28C840 0%, #1AAB30 100%);
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.2) inset;
}

.terminal-title {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', sans-serif;
}

.terminal-body {
    background: linear-gradient(180deg, #1C1C1E 0%, #161618 100%);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cmd-row {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    gap: 12px;
}

.cmd-prompt {
    color: var(--orange-primary);
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    font-size: 14px;
    user-select: none;
}

.cmd-code {
    font-size: 14px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: var(--teal-success);
}

.cmd-comment {
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: #6A6A6A;
    margin-left: auto;
}

.cost-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 0;
    margin-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cost-icon {
    width: 8px;
    height: 8px;
    background: var(--orange-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.cost-text {
    font-size: 13px;
    font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
    color: #6A6A6A;
}

/* ============================================
   CTA Section
   ============================================ */
.final-cta {
    padding: 60px 60px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, var(--bg-page) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
    height: calc(100vh - 80px);
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    scroll-snap-align: start;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 107, 53, 0.1) 0%, transparent 50%);
    animation: pulse-bg 8s ease-in-out infinite;
}

.final-cta > * {
    position: relative;
    z-index: 1;
}

.final-cta .section-label {
    color: var(--orange-primary);
}

.final-cta .section-title {
    color: var(--white-primary);
}

.final-cta .hero-subtitle {
    color: var(--gray-600);
    text-align: center;
}

.cta-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 24px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
}

.cta-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.cta-stat-value {
    font-family: 'Erbaum', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--orange-primary);
    letter-spacing: 1px;
}

.cta-stat-label {
    font-size: 12px;
    color: var(--gray-600);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cta-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 60px;
    background: linear-gradient(180deg, #0D0D0D 0%, #080808 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 48px;
    border-top: 1px solid rgba(255, 107, 53, 0.3);
    min-height: calc(100vh - 80px);
    position: relative;
    scroll-snap-align: start;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--orange-primary), transparent);
}

.footer-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.footer-brand {
    max-width: 320px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.footer-logo {
    font-family: 'Erbaum', sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    text-shadow: 0 0 30px rgba(255, 107, 53, 0.2);
}

.footer-tagline {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 48px;
    flex-wrap: wrap;
}

.link-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.link-col-title {
    font-size: 11px;
    color: var(--orange-primary);
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.link-col a {
    font-size: 14px;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

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

.link-col a:hover {
    color: var(--orange-primary);
}

.link-col a:hover::after {
    width: 100%;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
    border-top: 1px solid rgba(61, 61, 61, 0.5);
}

.copyright, .version {
    font-size: 12px;
    color: var(--gray-500);
    letter-spacing: 0.5px;
}

a.copyright {
    text-decoration: none;
    transition: color 0.3s ease;
}

a.copyright:hover {
    color: var(--orange-primary);
}

/* ============================================
   Toast Notification
   ============================================ */
.toast {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: linear-gradient(145deg, #1C1C1E 0%, #2C2C2E 100%);
    border: 1px solid var(--teal-success);
    border-radius: var(--radius-md);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 212, 170, 0.2);
}

.toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--teal-success);
    font-size: 18px;
    font-weight: bold;
}

.toast-text {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    color: var(--teal-success);
}

.toast-copied {
    font-size: 12px;
    color: var(--gray-600);
    padding-left: 12px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   Animations
   ============================================ */
@keyframes glowPulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(0, 212, 170, 0.15), 0 0 15px rgba(0, 212, 170, 0.3); }
    50% { box-shadow: 0 4px 30px rgba(0, 212, 170, 0.3), 0 0 25px rgba(0, 212, 170, 0.5); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 15px rgba(0, 212, 170, 0.6); }
    50% { opacity: 0.7; box-shadow: 0 0 8px rgba(0, 212, 170, 0.3); }
}

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

@keyframes pulse-bg {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.animate-delay-1 { transition-delay: 0.1s; }
.animate-delay-2 { transition-delay: 0.2s; }
.animate-delay-3 { transition-delay: 0.3s; }
.animate-delay-4 { transition-delay: 0.4s; }
.animate-delay-5 { transition-delay: 0.5s; }

.animate-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-scale.visible {
    opacity: 1;
    transform: scale(1);
}

.animate-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   Responsive - Tablet
   ============================================ */
@media (max-width: 1200px) {
    .fixed-sidebar {
        width: 40%;
    }

    .scrolling-content {
        margin-left: 40%;
        width: 60%;
    }
}

@media (max-width: 1024px) {
    .fixed-sidebar {
        display: none;
    }

    .scrolling-content {
        margin-left: 0;
        width: 100%;
        border-left: none;
        box-shadow: none;
    }

    .hero {
        background-image: url('../background.png');
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .hero::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.6);
    }

    .hero-content {
        position: relative;
        z-index: 1;
        align-items: center;
    }

    .hero-title {
        text-align: center;
        font-size: 48px;
    }

    .hero-subtitle {
        text-align: center;
    }

    .features-grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive - Mobile
   ============================================ */
@media (max-width: 768px) {
    .header {
        padding: 0 16px;
        height: 60px;
    }

    .logo-text {
        font-size: 14px;
        letter-spacing: 1px;
    }

    .nav {
        display: none;
    }

    .page-layout {
        padding-top: 60px;
    }

    .scrolling-content {
        height: calc(100vh - 60px);
        scroll-snap-type: none;
    }

    .features-grid, .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hero {
        min-height: calc(100vh - 60px);
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .hero-title {
        font-size: 28px;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .hero-content {
        padding: 40px 24px;
        gap: 24px;
        background: rgba(255, 255, 255, 0.1);
        border-radius: 20px;
        margin: 20px 32px;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border: 1px solid rgba(255, 255, 255, 0.15);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    }

    .badge {
        padding: 8px 14px;
    }

    .badge-text {
        font-size: 9px;
    }

    .features, .how-it-works, .cli-section, .final-cta {
        padding: 50px 20px;
        min-height: auto;
        height: auto;
    }

    .footer {
        padding: 40px 20px;
        min-height: auto;
    }

    .section-header {
        margin-bottom: 32px;
    }

    .section-label {
        font-size: 10px;
        padding: 6px 14px;
    }

    .section-title {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .feature-card, .step-card {
        padding: 20px;
    }

    .card-title, .step-title {
        font-size: 18px;
    }

    .card-desc, .step-desc {
        font-size: 13px;
    }

    .footer-main {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 24px;
    }

    .hero-ctas {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .btn-large, .btn-dark, .btn-outline-dark {
        width: 100%;
        text-align: center;
        padding: 14px 24px;
        font-size: 13px;
    }

    /* Terminal mobile */
    .terminal-window {
        border-radius: 8px;
    }

    .terminal-header {
        padding: 10px 12px;
    }

    .terminal-btn {
        width: 10px;
        height: 10px;
    }

    .terminal-title {
        font-size: 10px;
    }

    .terminal-body {
        padding: 16px;
    }

    .cmd-row {
        flex-wrap: wrap;
        gap: 4px;
        padding: 8px 0;
    }

    .cmd-code {
        font-size: 12px;
    }

    .cmd-comment {
        font-size: 11px;
        margin-left: 20px;
        width: 100%;
    }

    /* CTA Stats mobile */
    .cta-stats {
        flex-direction: column;
        padding: 20px;
        gap: 16px;
    }

    .cta-stat-divider {
        width: 60px;
        height: 1px;
    }

    .cta-stat-value {
        font-size: 24px;
    }

    /* Toast mobile */
    .toast {
        left: 20px;
        right: 20px;
        transform: translateX(0) translateY(100px);
        flex-wrap: wrap;
        padding: 12px 16px;
    }

    .toast.show {
        transform: translateX(0) translateY(0);
    }

    .toast-text {
        font-size: 11px;
        word-break: break-all;
    }
}

/* ============================================
   Responsive - Small Mobile
   ============================================ */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }

    .section-title {
        font-size: 20px;
    }

    .card-title, .step-title {
        font-size: 16px;
    }

    .footer-logo {
        font-size: 16px;
    }

    .footer-logo-img {
        width: 40px;
        height: 40px;
    }
}
