/* PARAKRAM AI - PREMIUM (V10) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;700&family=Fira+Code:wght@400;600&family=Press+Start+2P&display=swap');

:root {
    --primary: #00DC82;
    --secondary: #7928CA;
    --bg: #08090b;
    --surface: #111;
    --border: #333;

    /* Restored Variables */
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ededed;
    --text-muted: #888888;
    --accent: #fff;
    --primary-grad: linear-gradient(135deg, #00DC82 0%, #36E4DA 50%, #0047E1 100%);

    --font-main: 'Inter', sans-serif;
    --font-display: 'Space Grotesk', sans-serif;
    --font-mono: 'Fira Code', monospace;
    --font-retro: 'Press Start 2P', cursive;
}

* {
    box-sizing: border-box;
}

body {
    background: var(--bg);
    color: var(--text-main);
    font-family: var(--font-body);
    margin: 0;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* --- AMBIENT BG --- */
.ambient-light {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(0, 220, 130, 0.03), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(121, 40, 202, 0.04), transparent 40%);
    z-index: -1;
    pointer-events: none;
    animation: pulseLight 10s ease-in-out infinite alternate;
}

@keyframes pulseLight {
    0% {
        opacity: 0.5;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.1);
    }
}

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

/* --- NAV --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: -0.5px;
}

.menu {
    display: flex;
    gap: 30px;
}

.menu a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: 0.2s;
}

.menu a:hover {
    color: var(--text-main);
}

.nav-cta {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}

.nav-cta:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* --- HERO --- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-badge {
    border: 1px solid var(--card-border);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    font-family: var(--font-code);
}

.hero-text {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 5rem);
    line-height: 1.1;
    letter-spacing: -2px;
    margin: 0 0 30px 0;
}

.text-gradient {
    background: var(--primary-grad);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -2px;
    margin-bottom: 25px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
}

.hero-sub {
    font-size: 1.25rem;
    color: #e0e0e0;
    max-width: 650px;
    margin-bottom: 50px;
    line-height: 1.6;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    /* Lift off bg */
}

/* Badge upgrade */
.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid #ffbd2e;
    background: rgba(255, 189, 46, 0.1);
    box-shadow: 0 0 15px rgba(255, 189, 46, 0.2);
    border-radius: 20px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: 25px;
    color: #ffbd2e;
}

.primary-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.2);
}

.text-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    margin-left: 20px;
}

.text-btn:hover {
    color: #fff;
    text-decoration: underline;
}

/* --- BENTO GRID --- */
.bento-section {
    padding: 100px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    letter-spacing: 1px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 300px;
    gap: 20px;
}

/* Bento Cells */
.bento-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.1s;
    /* JS handles smoother tilt */
}

/* Spotlight Effect */
.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0;
    transition: opacity 0.5s;
    pointer-events: none;
    z-index: 1;
}

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

.large {
    grid-column: span 2;
}

.tall {
    grid-row: span 2;
}

.card-content {
    z-index: 2;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 10px 0;
}

.card-content p {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
}

/* Visuals */
.card-visual {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    flex: 1;
    margin-top: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-code {
    padding: 20px;
    font-family: monospace;
    color: #00DC82;
    font-size: 0.8rem;
    opacity: 0.9;
    text-align: left;
    display: block;
}

.visual-neural svg,
.visual-icon svg {
    opacity: 0.8;
}

.neural-links line {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
}

/* --- STATS --- */
.stats-section {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 100px 5%;
    border-top: 1px solid var(--card-border);
    border-bottom: 1px solid var(--card-border);
}

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

.stat-val {
    font-size: 4rem;
    font-weight: 700;
    font-family: var(--font-heading);
    background: linear-gradient(to bottom, #fff, #666);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    display: block;
    color: var(--text-muted);
    margin-top: -10px;
}

/* --- FOOTER --- */
footer {
    padding: 80px 5%;
    display: flex;
    justify-content: space-between;
}

.footer-col a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .large,
    .tall {
        grid-column: span 1;
        grid-row: span 1;
    }

    .stats-section {
        flex-direction: column;
        gap: 50px;
    }
}

/* --- INNER PAGES --- */
.page-container {
    padding: 120px 5%;
    max-width: 1200px;
    margin: 0 auto;
    min-height: 80vh;
}

.hero-compact {
    text-align: center;
    margin-bottom: 60px;
}

.hero-text-small {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin: 0 0 10px 0;
}

.hero-sub-small {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ARCHITECTURE DIAGRAM */
.arch-diagram-section {
    margin-bottom: 80px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 20px;
    overflow: hidden;
}

.arch-svg {
    width: 100%;
    height: auto;
}

/* PRICING LICENSE CARD */
.pricing-layout {
    display: flex;
    gap: 60px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.license-card {
    width: 320px;
    height: 200px;
    background: linear-gradient(135deg, #111, #222);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.chip-contact {
    width: 50px;
    height: 35px;
    background: linear-gradient(45deg, #FFD700, #DAA520);
    border-radius: 6px;
    position: relative;
}

.license-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    color: #fff;
    font-size: 0.8rem;
    letter-spacing: 2px;
}

.price-tag {
    font-size: 3rem;
    margin: 0;
    color: #fff;
    font-family: var(--font-heading);
}

.license-id {
    font-family: monospace;
    color: #666;
    font-size: 0.8rem;
}

.holo-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 40%, rgba(255, 255, 255, 0.1) 45%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.pricing-details {
    max-width: 400px;
}

.pricing-details h1 {
    font-family: var(--font-heading);
    margin: 0 0 10px 0;
}

.feature-checklist {
    list-style: none;
    padding: 0;
    margin: 30px 0;
}

.feature-checklist li {
    margin-bottom: 15px;
    display: flex;
    gap: 10px;
    color: var(--text-muted);
}

.check {
    color: #00DC82;
    font-weight: bold;
}

.wide {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

.crypto-note {
    font-size: 0.8rem;
    color: #444;
    margin-top: 20px;
    text-align: center;
}

/* FEATURE ICONS */
.icon-svg {
    width: 100%;
    height: 100%;
    max-width: 80px;
}

.bento-card.large .icon-svg {
    max-width: 300px;
}

.net-link {
    stroke-dasharray: 20;
    animation: dash 2s linear infinite;
}

.pulse-ring {
    animation: pulse 2s infinite;
    transform-origin: center;
}

.battery-level {
    animation: charge 4s infinite linear;
    transform-origin: bottom;
}

@keyframes dash {
    to {
        stroke-dashoffset: -40;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.2;
    }

    50% {
        transform: scale(1.2);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        opacity: 0;
    }
}

@keyframes charge {
    0% {
        height: 10%;
        fill: #ff0055;
    }

    50% {
        fill: #ffff00;
    }

    100% {
        height: 90%;
        fill: #00DC82;
    }
}

/* --- FOUNDER & PROFILE --- */
.manifesto-section {
    text-align: center;
    margin-bottom: 80px;
}

.manifesto-header {
    text-align: center;
    margin-bottom: 60px;
}

.glitched {
    position: relative;
    display: inline-block;
}

.founder-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.8));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 40px;
    text-align: left;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.founder-visual {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.founder-info h2 {
    font-family: var(--font-heading);
    margin: 0;
    color: #fff;
    font-size: 2rem;
}

.role {
    color: #00DC82;
    margin: 5px 0 20px 0;
    font-family: var(--font-code);
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.founder-stats {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.stat-pill {
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bio {
    font-style: italic;
    color: #aaa;
    line-height: 1.7;
    font-size: 1rem;
}

/* --- MISSION LOG --- */
.mission-log {
    margin-top: 100px;
}

.log-grid {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding-top: 40px;
}

.log-grid::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #333, transparent);
}

.log-item {
    text-align: center;
    position: relative;
    flex: 1;
    opacity: 0.5;
    transition: 0.5s;
}

.log-item.active,
.log-item.current {
    opacity: 1;
}

.log-item::before {
    content: "";
    position: absolute;
    top: -44px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #333;
    border-radius: 50%;
}

.log-item.current::before {
    background: #00DC82;
    box-shadow: 0 0 10px #00DC82;
}

.log-date {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #fff;
}

.log-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* --- TORUS HERO VISUAL --- */
.hero {
    position: relative;
    overflow: hidden;
}

.torus-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.7;
}

.torus-group {
    transform-origin: center;
    animation: floatTorus 10s ease-in-out infinite alternate;
}

/* Differential Rotation speeds via CSS not JS for smoothness */
.r1 {
    transform-origin: center;
    animation: rot1 20s linear infinite;
}

.r2 {
    transform-origin: center;
    animation: rot2 25s linear infinite reverse;
}

.r3 {
    transform-origin: center;
    animation: rot3 30s linear infinite;
}

.r4 {
    transform-origin: center;
    animation: rot1 35s linear infinite reverse;
}

@keyframes rot1 {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes rot2 {
    from {
        transform: rotate(60deg);
    }

    to {
        transform: rotate(420deg);
    }
}

@keyframes rot3 {
    from {
        transform: rotate(-60deg);
    }

    to {
        transform: rotate(300deg);
    }
}

@keyframes floatTorus {
    from {
        transform: translateY(-20px);
    }

    to {
        transform: translateY(20px);
    }
}

/* --- FILM GRAIN OVERLAY --- */
.noise-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.05;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- REFINED BUTTONS --- */
.primary-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    /* Elastic spring */
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.primary-btn:hover {
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
}

.primary-btn:active {
    transform: scale(0.95);
}

/* --- CODE COMPARISON --- */
.code-compare-section {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 40px;
}

.code-card {
    background: #111;
    border-radius: 12px;
    padding: 20px;
    font-family: monospace;
    font-size: 0.85rem;
    border: 1px solid var(--card-border);
}

.code-card.legacy {
    border-color: #333;
    color: #888;
    opacity: 0.7;
}

.code-card.parakram {
    border-color: #00DC82;
    box-shadow: 0 0 30px rgba(0, 220, 130, 0.1);
    background: #0a1a10;
}

.code-header {
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 1px;
    color: #fff;
}

pre {
    margin: 0;
    white-space: pre-wrap;
}

@media (max-width: 768px) {
    .pricing-layout {
        flex-direction: column;
    }

    .founder-card {
        flex-direction: column;
        text-align: center;
    }

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

/* --- LIVE DEMO CONFIGURATOR --- */
.live-demo-section {
    padding: 50px 5%;
    max-width: 1200px;
    margin: 0 auto;
}

.demo-interface {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    background: #0a0b0d;
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 30px;
    margin-top: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.demo-controls h3 {
    margin: 0 0 20px 0;
    font-family: var(--font-heading);
    color: #fff;
}

.control-group {
    margin-bottom: 25px;
}

.control-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.toggle-options {
    display: flex;
    background: #1a1a1a;
    padding: 4px;
    border-radius: 8px;
}

.toggle-btn {
    flex: 1;
    background: none;
    border: none;
    color: #888;
    padding: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    border-radius: 6px;
    transition: 0.2s;
}

.toggle-btn.active {
    background: #333;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    color: #ccc;
    margin-bottom: 8px;
}

.checkbox-group input {
    accent-color: #00DC82;
}

.demo-preview {
    background: #111;
    border-radius: 12px;
    padding: 20px;
    font-family: monospace;
    position: relative;
    border: 1px solid #333;
}

.window-controls {
    display: flex;
    gap: 6px;
    margin-bottom: 15px;
    align-items: center;
}

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

.red {
    background: #ff5f56;
}

.yellow {
    background: #ffbd2e;
}

.green {
    background: #27c93f;
}

.filename {
    margin-left: 10px;
    color: #666;
    font-size: 0.8rem;
}

#live-code {
    color: #eee;
    font-size: 0.85rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .demo-interface {
        grid-template-columns: 1fr;
    }
}

/* --- 3D ISOMETRIC VISUALS --- */
.visual-3d {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.iso-stack {
    position: relative;
    width: 100px;
    height: 120px;
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.iso-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    transition: transform 0.3s ease-out;
    box-shadow: -5px 5px 10px rgba(0, 0, 0, 0.5);
}

.layer-1 {
    background: #004d40;
    /* PCB Green */
    border: 1px solid #009688;
    transform: translateZ(0px);
}

.layer-2 {
    background: rgba(0, 220, 130, 0.1);
    border: 1px solid rgba(0, 220, 130, 0.3);
    transform: translateZ(20px);
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
}

.layer-3 {
    background: linear-gradient(135deg, #00DC82, transparent);
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    transform: translateZ(40px);
    opacity: 0.8;
}

.iso-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateZ(60px) rotateZ(45deg) rotateX(-60deg);
    filter: drop-shadow(0 0 10px #00DC82);
}

/* Hover Expansion */
.bento-card:hover .layer-1 {
    transform: translateZ(0px);
}

.bento-card:hover .layer-2 {
    transform: translateZ(30px);
}

.bento-card:hover .layer-3 {
    transform: translateZ(60px);
}

.bento-card:hover .iso-logo {
    transform: translate(-50%, -50%) translateZ(80px) rotateZ(45deg) rotateX(-60deg);
}

/* Continuous 3D Breathing */
@keyframes iso-breathe {

    0%,
    100% {
        transform: translateZ(var(--base-z));
    }

    50% {
        transform: translateZ(calc(var(--base-z) + 15px));
    }
}

.iso-layer {
    /* Existing props */
    animation: iso-breathe 4s ease-in-out infinite;
}

.layer-1 {
    --base-z: 0px;
}

.layer-2 {
    --base-z: 20px;
}

.layer-3 {
    --base-z: 40px;
}

/* Launch Button */
.launch-btn {
    border: 1px solid #ffbd2e;
    color: #ffbd2e;
    cursor: default;
    margin-left: 10px;
}

.launch-btn:hover {
    background: rgba(255, 189, 46, 0.1);
    box-shadow: 0 0 15px rgba(255, 189, 46, 0.2);
}

.launch-btn .dot {
    margin-right: 8px;
    display: inline-block;
}

/* --- GLOBAL RESPONSIVE SYSTEM --- */

/* Tablet & Mobile (Max Width: 1024px) */
@media (max-width: 1024px) {
    .page-container {
        padding: 80px 20px 50px;
        /* Reduced Padding */
    }

    .hero-text {
        font-size: 3.5rem;
        /* Smaller Hero */
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 Cols on Tablet */
    }
}

/* Mobile (Max Width: 768px) */
@media (max-width: 768px) {

    /* Navigation */
    nav {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
        justify-content: space-between;
    }

    nav .menu {
        order: 3;
        width: 100%;
        display: flex;
        overflow-x: auto;
        padding-bottom: 5px;
        gap: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 10px;
    }

    nav .menu a {
        font-size: 0.9rem;
        white-space: nowrap;
    }

    nav .nav-cta {
        padding: 8px 16px;
        font-size: 0.85rem;
    }

    /* Hero */
    .hero-text {
        font-size: 2.8rem;
        /* Mobile Hero */
        letter-spacing: -1px;
    }

    .hero-sub {
        font-size: 1.1rem;
        max-width: 100%;
    }

    /* Bento Grid */
    .bento-grid {
        grid-template-columns: 1fr;
        /* 1 Col on Mobile */
        gap: 20px;
    }

    .bento-card.large,
    .bento-card.tall {
        grid-column: span 1;
        /* Reset Spans */
        grid-row: span 1;
    }

    /* Code Comparison */
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .code-card {
        margin-bottom: 20px;
    }

    pre {
        overflow-x: auto;
        /* Scroll Code */
        font-size: 0.8rem;
    }

    /* Demo Interface */
    .demo-interface {
        grid-template-columns: 1fr;
    }

    /* Footer */
    footer {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-col {
        align-items: center;
    }
}

/* Small Mobile (Max Width: 480px) */
@media (max-width: 480px) {
    .hero-text {
        font-size: 2.2rem;
    }

    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
        align-items: stretch;
    }

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