/* ==========================================================================
   PM Studio Landing Page - Main CSS Styling
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
    /* Color Palette */
    --bg-dark: #030712;
    --bg-card: rgba(17, 24, 39, 0.45);
    --bg-card-hover: rgba(31, 41, 55, 0.6);
    --bg-glass: rgba(15, 23, 42, 0.65);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-hover: rgba(255, 255, 255, 0.18);
    
    --primary: #3b82f6; /* Electric Blue */
    --primary-glow: rgba(59, 130, 246, 0.35);
    --primary-hover: #2563eb;
    
    --secondary: #4f46e5; /* Royal Indigo */
    --secondary-glow: rgba(79, 70, 229, 0.4);
    
    --accent: #06b6d4; /* Neon Cyan */
    --accent-glow: rgba(6, 182, 212, 0.45);
    
    --success: #10b981; /* Emerald Green */
    --success-glow: rgba(16, 185, 129, 0.5);
    
    --text-primary: #f3f4f6;
    --text-secondary: #9ca3af;
    --text-muted: #6b7280;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --font-mono: 'Courier New', Courier, monospace;
    
    /* Layout & Utilities */
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Resets & Global Styles --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* --- Dynamic Background Glows --- */
.radial-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    pointer-events: none;
    opacity: 0.65;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation: floating-glow 15s infinite alternate ease-in-out;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
    bottom: -100px;
    left: -100px;
    animation: floating-glow 18s infinite alternate-reverse ease-in-out;
}

.glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: 40%;
    left: 30%;
    animation: floating-glow 20s infinite alternate ease-in-out;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    z-index: -1;
    pointer-events: none;
}

/* --- Scrollbar Styling --- */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* --- Container Utility --- */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Buttons System --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-sm);
    padding: 10px 20px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
    border: none;
    outline: none;
    font-size: 0.875rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(59, 130, 246, 0.45);
    background: linear-gradient(135deg, #4f46e5, #3b82f6);
}

.btn-primary:active {
    transform: translateY(0);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-color-hover);
    transform: translateY(-2px);
}

.btn-secondary:active {
    transform: translateY(0);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.w-full {
    width: 100%;
}

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

/* --- Navigation Header --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(3, 7, 18, 0.65);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.3);
}

.logo-text span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.nav-links a:hover {
    color: #fff;
}

.nav-actions {
    display: flex;
    gap: 12px;
}

/* Hamburger Menu */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 20px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 101;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Mobile Nav Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: rgba(3, 7, 18, 0.95);
    backdrop-filter: blur(25px);
    z-index: 99;
    padding: 100px 32px 32px;
    border-left: 1px solid var(--border-color);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-drawer.open {
    right: 0;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.mobile-nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 600;
}

.mobile-nav-links a:hover {
    color: #fff;
}

.mobile-actions {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* --- Hero Section --- */
.hero-section {
    padding-top: 150px;
    padding-bottom: 80px;
    position: relative;
}

.hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 24px;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.05);
}

.sparkle-icon {
    animation: spin-slow 8s infinite linear;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -1px;
    margin-bottom: 24px;
    max-width: 800px;
}

.gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 750px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 70px;
}

/* Hero Dashboard Preview */
.hero-preview {
    width: 100%;
    max-width: 950px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 15, 30, 0.55);
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(59, 130, 246, 0.1);
    position: relative;
    overflow: hidden;
}

.preview-glow {
    position: absolute;
    top: 0;
    left: 20%;
    width: 60%;
    height: 100px;
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
    filter: blur(20px);
    pointer-events: none;
}

.preview-frame {
    display: flex;
    flex-direction: column;
    height: 480px;
}

.preview-header {
    height: 44px;
    background: rgba(17, 24, 39, 0.8);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
}

.preview-dots {
    display: flex;
    gap: 6px;
}

.preview-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.preview-dots span:nth-child(1) { background-color: #ef4444; }
.preview-dots span:nth-child(2) { background-color: #f59e0b; }
.preview-dots span:nth-child(3) { background-color: #10b981; }

.preview-title {
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
}

.preview-status {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--success);
    background-color: rgba(16, 185, 129, 0.1);
    padding: 3px 10px;
    border-radius: 50px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse-green 1.5s infinite;
}

.preview-body-mock {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.mock-sidebar {
    width: 200px;
    background: rgba(15, 23, 42, 0.4);
    border-right: 1px solid var(--border-color);
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: left;
}

.mock-sidebar-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.mock-textarea-placeholder {
    flex: 1;
    font-size: 0.75rem;
    color: var(--text-secondary);
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 10px;
    overflow: hidden;
    line-height: 1.5;
}

.mock-button-placeholder {
    height: 32px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.2);
}

.mock-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: rgba(3, 7, 18, 0.2);
}

.mock-tabs {
    height: 38px;
    border-bottom: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.3);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 4px;
}

.mock-tabs span {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 4px 10px;
    border-radius: 50px;
    font-weight: 600;
}

.mock-tabs span.active {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-primary);
}

.mock-code-view {
    flex: 1;
    padding: 24px;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: var(--text-secondary);
}

.mock-code-view .line {
    display: flex;
    gap: 16px;
    line-height: 1.6;
}

.mock-code-view .num {
    color: var(--text-muted);
    width: 15px;
    text-align: right;
    user-select: none;
}

.mock-code-view .keyword {
    color: #93c5fd;
    font-weight: bold;
}

.mock-code-view .strong {
    color: #f472b6;
    font-weight: bold;
}

/* --- Section Title Styles --- */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-subtitle {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-size: 1rem;
}

/* --- Features Section --- */
.features-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05), transparent 40%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: rgba(59, 130, 246, 0.1);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.15);
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

.feature-step-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 3px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.feature-card:hover .feature-step-badge {
    color: var(--primary);
    border-color: rgba(59, 130, 246, 0.15);
}

/* --- Interactive Simulator Section --- */
.simulator-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(3, 7, 18, 0.4);
}

.simulator-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    background: rgba(10, 15, 30, 0.4);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    height: 580px;
}

/* Sim Left Sidebar */
.sim-sidebar {
    background: rgba(15, 23, 42, 0.45);
    border-right: 1px solid var(--border-color);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sim-sidebar-header h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.sim-sidebar-header p {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.sim-textarea-container {
    flex: 1;
    background: rgba(3, 7, 18, 0.5);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 14px;
}

.sim-textarea-container textarea {
    width: 100%;
    height: 100%;
    background: transparent;
    border: none;
    outline: none;
    resize: none;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    line-height: 1.6;
}

.sim-sidebar-footer {
    width: 100%;
}

/* Sim Workspace (Right Panel) */
.sim-workspace {
    display: flex;
    flex-direction: column;
    background: rgba(3, 7, 18, 0.15);
}

.sim-workspace-header {
    height: 48px;
    border-bottom: 1px solid var(--border-color);
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(17, 24, 39, 0.6);
}

.sim-project-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sim-project-name {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-sans);
}

.sim-project-badge {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-family: var(--font-mono);
    font-weight: bold;
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.sim-status-indicator {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 0.75rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.08);
    padding: 3px 10px;
    border-radius: 50px;
}

.dot-green {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--success);
}

.sim-tabs {
    display: flex;
    flex-wrap: wrap;
    background: rgba(15, 23, 42, 0.35);
    border-bottom: 1px solid var(--border-color);
    padding: 6px 16px;
    gap: 6px;
}

.sim-tab {
    background: transparent;
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-sans);
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sim-tab:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

.sim-tab.active {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.2);
}

.sim-output-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.sim-output-header {
    height: 48px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    background: rgba(15, 23, 42, 0.2);
}

.sim-step-title {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-primary);
}

.btn-copy {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: 0.7rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition-smooth);
}

.btn-copy:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-color-hover);
}

.btn-copy.copied {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border-color: rgba(16, 185, 129, 0.25);
}

.sim-output-content {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    font-family: var(--font-sans);
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.7;
    position: relative;
    user-select: text;
}

/* Interactive typing styling */
.typing::after {
    content: '|';
    animation: blink-caret 0.75s step-end infinite;
    color: var(--primary);
    margin-left: 2px;
    font-weight: bold;
}

/* Simulated elements inside content panel */
.sim-output-content h1, 
.sim-output-content h2, 
.sim-output-content h3 {
    color: #fff;
    font-family: var(--font-heading);
    margin-top: 20px;
    margin-bottom: 12px;
    font-weight: 700;
}

.sim-output-content h1 { font-size: 1.4rem; border-bottom: 1px solid var(--border-color); padding-bottom: 6px; }
.sim-output-content h2 { font-size: 1.15rem; }
.sim-output-content h3 { font-size: 1rem; }

.sim-output-content ul, 
.sim-output-content ol {
    margin-left: 20px;
    margin-bottom: 16px;
}

.sim-output-content li {
    margin-bottom: 6px;
}

.sim-output-content strong {
    color: #fff;
    font-weight: 600;
}

.sim-output-content blockquote {
    border-left: 3px solid var(--primary);
    background: rgba(59, 130, 246, 0.05);
    padding: 10px 16px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 16px 0;
    color: var(--text-primary);
}

.sim-output-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 0.8rem;
}

.sim-output-content th, 
.sim-output-content td {
    border: 1px solid var(--border-color);
    padding: 8px 12px;
    text-align: left;
}

.sim-output-content th {
    background: rgba(255, 255, 255, 0.03);
    color: #fff;
    font-weight: 700;
}

.sim-output-content tr:nth-child(even) {
    background: rgba(255, 255, 255, 0.01);
}

.sim-output-content pre {
    background: #090d16;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 16px;
    overflow-x: auto;
    margin: 16px 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: #e5e7eb;
}

/* Custom Swimlane Chart Mock */
.swimlane-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(3, 7, 18, 0.4);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 16px 0;
}

.swimlane-row {
    display: grid;
    grid-template-columns: 100px 1fr;
    align-items: center;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    padding-bottom: 14px;
}

.swimlane-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.swimlane-role {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
}

.swimlane-nodes {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-left: 20px;
    flex-wrap: wrap;
}

.swimlane-node {
    background: rgba(59, 130, 246, 0.05);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 8px 12px;
    border-radius: 6px;
    position: relative;
}

.swimlane-node::after {
    content: '→';
    position: absolute;
    right: -14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.swimlane-node:last-child::after {
    content: '';
}

/* Validation Highlights */
.validation-diff {
    background: rgba(16, 185, 129, 0.05);
    border-left: 3px solid var(--success);
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
}

.validation-diff strong {
    color: var(--success);
}

.validation-del {
    background: rgba(239, 68, 68, 0.05);
    border-left: 3px solid #ef4444;
    padding: 12px;
    border-radius: 4px;
    margin: 10px 0;
    color: #fca5a5;
}

/* --- Core Advantages Section --- */
.advantages-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.advantage-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: var(--transition-smooth);
}

.advantage-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-4px);
}

.adv-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.65rem;
    font-weight: 800;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary);
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.advantage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
    padding-top: 10px;
}

.advantage-card p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* --- Deployment Section --- */
.deployment-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    background: rgba(17, 24, 39, 0.15);
}

.deployment-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.step-card {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    position: relative;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.03);
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.step-card h4 {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* --- Download Section --- */
.download-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.download-container {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(15, 23, 42, 0.8));
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4), 0 0 30px rgba(59, 130, 246, 0.05);
    position: relative;
    overflow: hidden;
}

.download-container::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.download-content h2 {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.download-content p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 36px;
}

.download-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 2;
}

.version-info {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-color);
    background: #02050b;
    padding: 60px 0 30px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

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

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

.footer-links-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.8rem;
    transition: var(--transition-smooth);
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Keyframe Animations --- */
@keyframes floating-glow {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(50px) scale(1.1); }
}

@keyframes spin-slow {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-green {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: var(--primary); }
}

/* --- Responsive Media Queries --- */
@media (max-width: 992px) {
    html { font-size: 15px; }
    .hero-title { font-size: 2.8rem; }
    .simulator-container {
        grid-template-columns: 1fr;
        height: auto;
    }
    .sim-sidebar {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        height: auto;
    }
    .sim-workspace {
        height: 500px;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 10px 0;
    }
    .nav-links, .nav-actions {
        display: none;
    }
    .mobile-menu-toggle {
        display: flex;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .footer-links-group {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 320px;
        gap: 12px;
    }
    .btn-lg {
        padding: 12px 20px;
        width: 100%;
    }
    .hero-preview {
        border-radius: var(--radius-md);
    }
    .preview-frame {
        height: 350px;
    }
    .mock-sidebar {
        display: none;
    }
}

/* --- Pricing Section --- */
.pricing-section {
    padding: 100px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.pricing-card:hover {
    border-color: var(--border-color-hover);
    background: var(--bg-card-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.pricing-card.featured {
    background: rgba(17, 24, 39, 0.65);
    border: 2px solid var(--primary);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.15);
}

.pricing-card.featured:hover {
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.25);
    border-color: #60a5fa;
}

.featured-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.plan-price {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.plan-price span {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-family: var(--font-sans);
}

.plan-desc {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    min-height: 48px;
    line-height: 1.5;
}

.plan-divider {
    height: 1px;
    background: var(--border-color);
    margin-bottom: 30px;
}

.plan-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
    flex: 1;
}

.plan-features li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.plan-features li strong {
    color: #fff;
}

.check-icon {
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.pricing-card.featured .check-icon {
    color: var(--accent);
}

/* --- Scroll-driven Animations (AOS) --- */
[data-aos] {
    pointer-events: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-aos].aos-animate {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}

/* Delay modifiers */
[data-aos][data-aos-delay="100"] {
    transition-delay: 0.1s;
}
[data-aos][data-aos-delay="200"] {
    transition-delay: 0.2s;
}
[data-aos][data-aos-delay="300"] {
    transition-delay: 0.3s;
}
[data-aos][data-aos-delay="400"] {
    transition-delay: 0.4s;
}

