:root {
    --bg-primary: #070a10;
    --bg-secondary: #0d121c;
    --bg-card: rgba(13, 18, 28, 0.82);
    --bg-card-hover: rgba(20, 27, 43, 0.92);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(168, 85, 247, 0.45);
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #a855f7;
    --accent: #06b6d4;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    
    --text-main: #f9fafb;
    --text-muted: #9ca3af;
    --text-dim: #6b7280;

    --font-fa: 'Vazirmatn', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-en: 'Plus Jakarta Sans', sans-serif;
    --font-mono: 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Particle Canvas Background */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    pointer-events: none;
}

/* Background Glow Blobs */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    opacity: 0.22;
    animation: float 25s infinite alternate ease-in-out;
}

.blob-1 {
    top: -10%;
    right: 15%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.blob-2 {
    bottom: 20%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--secondary) 0%, transparent 70%);
    animation-delay: -6s;
}

.blob-3 {
    top: 45%;
    left: 45%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    animation-delay: -12s;
}

.blob-4 {
    bottom: -10%;
    right: 30%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, #ec4899 0%, transparent 70%);
    animation-delay: -18s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(50px, 50px) scale(1.18); }
}

/* Navigation */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 10, 16, 0.88);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 2rem;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    text-decoration: none;
}

.logo-icon {
    font-size: 1.4rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.25), rgba(168, 85, 247, 0.25));
    border: 1px solid rgba(168, 85, 247, 0.35);
    padding: 6px 10px;
    border-radius: 12px;
}

.logo-text {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-text span {
    color: var(--secondary);
}

.enterprise-tag {
    font-size: 0.65rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    gap: 1.6rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.4rem 0.6rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.nav-link.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.15);
    border: 1px solid rgba(99, 102, 241, 0.3);
}

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

.live-cluster-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.8rem;
    color: #34d399;
    font-family: var(--font-mono);
}

/* Common Page Header */
.page-header {
    max-width: 1280px;
    margin: 3.5rem auto 3rem;
    padding: 0 2rem;
    text-align: center;
}

.page-title {
    font-size: 2.8rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
}

.page-subtitle {
    color: var(--text-muted);
    font-size: 1.15rem;
    max-width: 680px;
    margin: 0 auto;
}

/* Buttons */
.btn {
    font-family: var(--font-fa);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.25s ease;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(168, 85, 247, 0.5);
}

.btn-glow {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
    box-shadow: 0 0 25px rgba(99, 102, 241, 0.5);
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.7);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-main);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    padding: 0.85rem 1.8rem;
    font-size: 1rem;
}

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

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

.btn-sm {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
    border-radius: 6px;
}

.w-full {
    width: 100%;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(99, 102, 241, 0.12);
    border: 1px solid rgba(99, 102, 241, 0.35);
    color: #c7d2fe;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    margin-bottom: 1.5rem;
}

.badge-mini {
    display: inline-block;
    background: rgba(168, 85, 247, 0.12);
    border: 1px solid rgba(168, 85, 247, 0.3);
    color: #e9d5ff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    margin-bottom: 0.8rem;
}

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

.pulse-ring {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--success);
    opacity: 0.4;
    animation: ping 1.5s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.pulse-dot {
    width: 9px;
    height: 9px;
    background: var(--success);
    border-radius: 50%;
    display: inline-block;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.gradient-text {
    background: linear-gradient(135deg, #a5b4fc 0%, #c084fc 50%, #38bdf8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero Section */
.hero {
    max-width: 1280px;
    margin: 4rem auto 5rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    gap: 3.5rem;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.hero-tags span {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Glass Card & Code Preview */
.hero-card-wrapper {
    perspective: 1000px;
}

.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

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

.card-header {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.9rem 1.2rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

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

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.code-title {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-dim);
}

.status-pill {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
    background: rgba(16, 185, 129, 0.15);
    padding: 2px 8px;
    border-radius: 999px;
}

.card-body {
    padding: 1.4rem;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    direction: ltr;
    text-align: left;
}

.code-line {
    margin-bottom: 0.35rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.cmd-prompt { color: #f43f5e; font-weight: bold; }
.cmd-path { color: #a855f7; margin-right: 4px; }
.cmd-text { color: #38bdf8; font-weight: bold; }
.log-info { color: #94a3b8; font-size: 0.82rem; }
.log-success { color: #4ade80; font-weight: 600; font-size: 0.84rem; }

.preview-status-box {
    margin-top: 1.2rem;
    direction: rtl;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 0.8rem 1.1rem;
    border-radius: 12px;
}

.status-indicator {
    position: relative;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.status-info strong {
    font-size: 0.85rem;
    color: #f1f5f9;
    display: block;
}

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

/* Dashboard Page Grid */
.dashboard-section {
    max-width: 1280px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.metric-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.6rem;
    border-radius: 18px;
    transition: all 0.3s ease;
}

.metric-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
}

.metric-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.2rem;
}

.metric-title {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-badge {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.metric-badge.success { color: var(--success); }

.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 999px;
    transition: width 0.8s ease;
}

.progress-bar-fill.purple {
    background: linear-gradient(90deg, #8b5cf6, #ec4899);
}

.progress-bar-fill.cyan {
    background: linear-gradient(90deg, #06b6d4, #3b82f6);
}

.progress-bar-fill.green {
    background: linear-gradient(90deg, #10b981, #34d399);
}

.metric-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.metric-trend.up {
    color: var(--success);
    font-weight: 600;
}

/* Container Table */
.containers-table-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
}

.table-header-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.table-header-title h3 {
    font-size: 1.3rem;
    color: #fff;
}

.table-responsive {
    overflow-x: auto;
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
    text-align: right;
}

.styled-table th {
    background: rgba(255, 255, 255, 0.04);
    padding: 1rem 1.2rem;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border-color);
}

.styled-table td {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e2e8f0;
}

.styled-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.badge-status {
    padding: 0.25rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 600;
    display: inline-block;
}

.badge-status.running {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Terminal Page */
.terminal-section {
    max-width: 1280px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
}

.terminal-container {
    background: #05080f;
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.7);
}

.terminal-header {
    background: rgba(255, 255, 255, 0.03);
    padding: 0.9rem 1.4rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.term-clear-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    cursor: pointer;
    font-family: var(--font-fa);
}

.term-clear-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
}

.terminal-output {
    padding: 1.6rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    direction: ltr;
    text-align: left;
    min-height: 380px;
    max-height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.term-line {
    color: #94a3b8;
    line-height: 1.5;
}

.term-line.banner {
    color: #6366f1;
}

.term-line.cmd {
    color: #38bdf8;
    font-weight: 600;
}

.term-line.success {
    color: #4ade80;
}

.term-line.error {
    color: #f87171;
}

.terminal-input-row {
    display: flex;
    align-items: center;
    padding: 0.9rem 1.4rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    direction: ltr;
}

.term-prompt {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #4ade80;
    margin-right: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

#terminal-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #fff;
}

.inline-code {
    background: rgba(255, 255, 255, 0.08);
    padding: 0.2rem 0.5rem;
    border-radius: 6px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: #c084fc;
}

/* Features Grid */
.features {
    max-width: 1280px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.2rem 2rem;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    font-size: 2.3rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.6rem;
    color: #f8fafc;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
}

.feature-tag {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    color: #c4b5fd;
    font-weight: 600;
}

/* Pricing & CU Calculator */
.pricing {
    max-width: 1280px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
}

.calculator-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    margin-bottom: 4rem;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.calculator-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

.calc-slider-group {
    margin-bottom: 2rem;
}

.calc-slider-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.6rem;
    font-weight: 600;
}

.slider-val {
    color: var(--secondary);
    font-family: var(--font-en);
}

input[type=range] {
    width: 100%;
    accent-color: var(--primary);
    cursor: pointer;
}

.calc-summary-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12), rgba(168, 85, 247, 0.12));
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
}

.calc-price {
    font-size: 2.6rem;
    font-weight: 900;
    color: #fff;
    margin: 1rem 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.popular {
    border-color: rgba(168, 85, 247, 0.6);
    background: linear-gradient(180deg, rgba(26, 21, 46, 0.9) 0%, rgba(17, 24, 39, 0.9) 100%);
    box-shadow: 0 0 35px rgba(168, 85, 247, 0.2);
    transform: scale(1.03);
}

.popular-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.3rem 1.2rem;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.plan-price {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: #fff;
}

.plan-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-muted);
}

.plan-features {
    list-style: none;
    margin: 1.8rem 0;
}

.plan-features li {
    color: #e2e8f0;
    font-size: 0.92rem;
    margin-bottom: 0.7rem;
}

/* Documentation Page */
.docs-section {
    max-width: 1280px;
    margin: 3rem auto 6rem;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
}

.docs-sidebar {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 1.5rem;
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.docs-nav-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--text-dim);
    margin-bottom: 0.8rem;
    font-weight: 700;
}

.docs-nav-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.docs-nav-list a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 0.45rem 0.6rem;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.docs-nav-list a:hover, .docs-nav-list a.active {
    color: #fff;
    background: rgba(99, 102, 241, 0.12);
}

.docs-content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.docs-content-card h2 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    color: #fff;
}

.docs-content-card p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem 2rem;
    margin-top: 6rem;
    background: rgba(5, 8, 15, 0.9);
}

.footer-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.8rem;
    max-width: 300px;
}

.footer-columns {
    display: flex;
    gap: 4rem;
}

.footer-col h4 {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.6rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-bottom {
    max-width: 1280px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.85rem;
}

/* Toast */
.toast {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: rgba(17, 24, 39, 0.95);
    color: #fff;
    border: 1px solid var(--primary);
    padding: 0.8rem 1.8rem;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-size: 0.9rem;
    font-weight: 600;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0;
    pointer-events: none;
    z-index: 1000;
}

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

/* Responsive */
@media (max-width: 960px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        margin-top: 2rem;
    }

    .hero-buttons, .hero-tags {
        justify-content: center;
    }

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

    .nav-links {
        display: none;
    }

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

    .docs-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-columns {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.8rem;
        text-align: center;
    }
}
