:root {
    --void: #05020B;
    --eldritch-orange: #FF4D00;
    --eldritch-gold: #FF9900;
    --time-stone: #00E676;
    --glass-bg: rgba(20, 15, 35, 0.4);
    --glass-border: rgba(255, 255, 255, 0.08);
    --font-heading: 'Cinzel Decorative', serif;
    --font-body: 'Inter', sans-serif;

    /* Smooth scaling base font */
    font-size: 16px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: none;
    /* Hide default cursor for custom magnetic cursor */
}

html, body {
    background-color: var(--void);
    color: #FAFAFA;
    font-family: var(--font-body);
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100%;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Cursor — Precision Ring */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 10000;
    transition: width 0.2s, height 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        height 0.35s cubic-bezier(0.23, 1, 0.32, 1),
        border-color 0.35s,
        border-style 0.1s,
        background 0.35s,
        opacity 0.3s;
}

/* Hover: ring contracts + turns gold, dot brightens */
.cursor-hover .cursor-dot {
    background-color: var(--eldritch-gold);
    box-shadow: 0 0 8px var(--eldritch-gold);
    width: 6px;
    height: 6px;
}

.cursor-hover .cursor-ring {
    width: 26px;
    height: 26px;
    border-color: rgba(255, 153, 0, 0.85);
    background: rgba(255, 153, 0, 0.05);
}

/* Portal (CTA hover): large dashed slow-spin gold ring */
.cursor-portal .cursor-dot {
    background-color: var(--eldritch-gold);
    box-shadow: 0 0 10px var(--eldritch-gold);
}

.cursor-portal .cursor-ring {
    width: 70px;
    height: 70px;
    border-color: var(--eldritch-gold);
    border-style: dashed;
    border-width: 1.5px;
    background: rgba(255, 153, 0, 0.03);
    animation: rotateRing 10s linear infinite;
}

@keyframes rotateRing {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

/* Canvas Particles */
#mystical-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
}

/* Parallax Elements */
.parallax-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.3;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--eldritch-orange), transparent 70%);
    top: -100px;
    left: -200px;
}

.orb-2 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #3A0CA3, transparent 70%);
    bottom: -200px;
    right: -200px;
}

/* Mandala System */
.mandala-container {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 900px;
    opacity: 0.15;
}

.mandala-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.ring-outer {
    width: 100%;
    height: 100%;
    border: 2px solid var(--eldritch-gold);
    border-style: dashed;
    animation: rotateSlow 80s linear infinite;
}

.ring-middle {
    width: 75%;
    height: 75%;
    border: 1px solid var(--eldritch-orange);
    animation: rotateSlowReverse 60s linear infinite;
}

.ring-inner {
    width: 50%;
    height: 50%;
    border: 3px solid var(--time-stone);
    opacity: 0.3;
    animation: rotateSlow 40s linear infinite;
}

@keyframes rotateSlow {
    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateSlowReverse {
    100% {
        transform: translate(-50%, -50%) rotate(-360deg);
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
}

.status-widget {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 24px;
    border-radius: 40px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 4rem;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #444;
}

.status-dot.online {
    background: var(--time-stone);
    box-shadow: 0 0 12px var(--time-stone);
}

.status-dot.degraded {
    background: var(--eldritch-gold);
}

.status-dot.offline {
    background: red;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 900;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--eldritch-gold), var(--eldritch-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 77, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: #A0A0A0;
    max-width: 600px;
    margin-bottom: 4rem;
    line-height: 1.6;
}

/* Premium Sling Ring CTA */
.cta-container {
    position: relative;
    display: inline-block;
}

.sling-ring-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 48px;
    background: var(--void);
    border-radius: 50px;
    color: #FFF;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none;
    z-index: 2;
    overflow: hidden;
}

/* Static Gradient Border (no spin) */
.cta-container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 54px;
    background: linear-gradient(135deg, var(--eldritch-orange), var(--eldritch-gold), var(--eldritch-orange));
    z-index: 1;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.cta-container:hover::before {
    opacity: 1;
}

.cta-container::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 54px;
    background: var(--void);
    z-index: 1;
    margin: 2px;
}

.sling-ring-btn .btn-text {
    position: relative;
    z-index: 3;
}

.sling-ring-btn .btn-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 77, 0, 0.4), transparent 60%);
    opacity: 0;
    transition: opacity 0.4s;
    z-index: 2;
}

.cta-container:hover .btn-glow {
    opacity: 1;
}


/* General Section Layout */
section {
    position: relative;
    z-index: 10;
    padding: 8rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.section-header .highlight {
    color: var(--eldritch-gold);
}

.section-header p {
    color: #888;
    font-size: 1.1rem;
}

/* 3D Glassmorphism Cards */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.premium-card {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 25, 50, 0.6), rgba(10, 8, 20, 0.8));
    border-radius: 24px;
    padding: 3rem 2.5rem;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transform-style: preserve-3d;
}

.card-border {
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.02));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-content {
    transform: translateZ(30px);
    /* Pushes content out for 3D effect */
}

.icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 2rem;
    position: relative;
}

/* Icon Glows */
.icon-glow {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.privacy-icon .icon-glow {
    box-shadow: 0 0 30px var(--time-stone);
}

.speed-icon .icon-glow {
    box-shadow: 0 0 30px var(--eldritch-orange);
}

.sync-icon .icon-glow {
    box-shadow: 0 0 30px #3A0CA3;
}

.premium-card:hover .icon-glow {
    opacity: 1;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--eldritch-gold);
}

.feature-card p {
    color: #A0A0A0;
    line-height: 1.7;
    font-size: 1rem;
}

/* AI Engine Nodes — redesigned */
.ai-nodes-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
}

.ai-node {
    width: 170px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    border-radius: 24px;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: pointer;
}

.ai-node.expanded {
    width: 320px;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

.node-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    margin-top: 0;
}

.ai-node.expanded .node-details {
    max-height: 400px;
    opacity: 1;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.node-details p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.node-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.node-details ul li {
    font-size: 0.9rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 8px;
}

.node-details ul li::before {
    content: '';
    width: 5px;
    height: 5px;
    background: var(--node-color, var(--eldritch-gold));
    border-radius: 50%;
    box-shadow: 0 0 8px var(--node-color, var(--eldritch-gold));
}

.ai-node .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.node-logo {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.node-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #ddd;
    letter-spacing: 0.5px;
}

.node-model {
    font-size: 0.72rem;
    color: #666;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.local-node .card-border {
    background: linear-gradient(135deg, var(--time-stone), rgba(0, 230, 118, 0.1));
}

.local-node .node-name {
    color: var(--time-stone);
}

.local-node .node-model {
    color: rgba(0, 230, 118, 0.5);
}

/* AI section — reduce top padding to avoid dead space */
.ai-section {
    padding-top: 4rem;
}

/* Remove old flash styles */
.flash-messages {
    display: none;
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(5, 2, 11, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
}

.logo .highlight {
    color: var(--eldritch-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #CCC;
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s;
}

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

.nav-links .nav-download {
    padding: 8px 20px;
    border: 1px solid var(--eldritch-gold);
    border-radius: 20px;
    color: var(--eldritch-gold);
}

.nav-links .nav-download:hover {
    background: rgba(255, 153, 0, 0.1);
}

.nav-links .nav-github {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #FFF;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-links .nav-github:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--eldritch-gold);
    color: var(--eldritch-gold);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.2);
}

/* Hero Action Buttons */
.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
}

.hero-buttons-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.sling-ring-btn {
    gap: 12px;
}

.github-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 36px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: #FFFFFF;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.5px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.github-hero-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--eldritch-gold);
    color: var(--eldritch-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 153, 0, 0.25);
}

.github-hero-btn svg {
    transition: transform 0.3s ease;
}

.github-hero-btn:hover svg {
    transform: scale(1.15) rotate(-5deg);
}

.zip-link, .all-platforms-link {
    color: var(--eldritch-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s, text-shadow 0.2s;
}

.zip-link:hover, .all-platforms-link:hover {
    color: var(--eldritch-orange);
    text-shadow: 0 0 10px rgba(255, 77, 0, 0.4);
}


.download-icon {
    position: relative;
    z-index: 3;
    color: var(--eldritch-gold);
}

.version-info {
    font-size: 0.85rem;
    color: #666;
}

.mockup-section {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1100px;
    margin: -2rem auto 8rem auto;
    padding: 0 2rem;
}

.browser-mockup {
    width: 100%;
    background: linear-gradient(180deg, #1A1A1F, #0E0E12);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 153, 0, 0.1);
    overflow: hidden;
}

.mockup-header {
    background: #25252A;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mockup-dots {
    display: flex;
    gap: 8px;
}

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

.dot.close {
    background: #FF5F56;
}

.dot.min {
    background: #FFBD2E;
}

.dot.max {
    background: #27C93F;
}

.mockup-url-bar {
    flex: 1;
    background: #141417;
    border-radius: 6px;
    padding: 6px 16px;
    font-size: 0.85rem;
    color: #888;
    display: flex;
    align-items: center;
    gap: 8px;
}

.mockup-tabs {
    display: flex;
    gap: 4px;
}

.mockup-tabs .tab {
    padding: 6px 16px;
    font-size: 0.8rem;
    color: #888;
    background: #1A1A1F;
    border-radius: 6px 6px 0 0;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: none;
}

.mockup-tabs .tab.active {
    background: #0E0E12;
    color: #FFF;
}

.mockup-body {
    display: flex;
    height: 380px;
}

.mockup-sidebar {
    width: 60px;
    background: #1A1A1F;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    gap: 16px;
    position: relative;
}

/* Sidebar items with icons */
.sidebar-item {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #666;
    transition: background 0.2s, color 0.2s;
}

.sidebar-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.sidebar-item.active {
    background: rgba(255, 153, 0, 0.2);
    border: 1px solid var(--eldritch-gold);
    color: var(--eldritch-gold);
}

.sidebar-ai-glow {
    position: absolute;
    bottom: 20px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--time-stone);
    box-shadow: 0 0 15px var(--time-stone);
    opacity: 0.85;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #000;
}

/* Search Results Content */
.mockup-content {
    flex: 1;
    padding: 24px 28px;
    overflow-y: auto;
    background: #0E0E12;
}

.mockup-search-results {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.search-result-item {
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: border-color 0.2s;
}

.search-result-item:hover {
    border-color: rgba(255, 153, 0, 0.2);
}

.search-result-item.featured {
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.06), rgba(255, 153, 0, 0.04));
    border-color: rgba(255, 153, 0, 0.25);
}

.result-badge {
    display: inline-block;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--eldritch-gold);
    border: 1px solid rgba(255, 153, 0, 0.3);
    border-radius: 20px;
    padding: 2px 10px;
    margin-bottom: 8px;
}

.result-url {
    font-size: 0.72rem;
    color: #10a37f;
    margin-bottom: 4px;
}

.result-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #eee;
    margin-bottom: 6px;
}

.result-snippet {
    font-size: 0.78rem;
    color: #777;
    line-height: 1.5;
}

.result-tags {
    display: flex;
    gap: 6px;
    margin-top: 10px;
}

.result-tags span {
    font-size: 0.65rem;
    padding: 2px 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.06);
    color: #aaa;
    letter-spacing: 0.5px;
}

/* AI Panel */
.mockup-ai-panel {
    width: 240px;
    background: linear-gradient(180deg, #141418, #0f0f13);
    border-left: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    flex-direction: column;
    padding: 16px 14px;
    gap: 10px;
    font-size: 0.78rem;
}

.ai-panel-header {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--time-stone);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 230, 118, 0.15);
}

.ai-panel-msg {
    padding: 8px 10px;
    border-radius: 8px;
    line-height: 1.45;
    font-size: 0.76rem;
}

.ai-panel-msg.ai {
    background: rgba(0, 230, 118, 0.07);
    border: 1px solid rgba(0, 230, 118, 0.12);
    color: #ccc;
}

.ai-panel-msg.user {
    background: rgba(255, 153, 0, 0.08);
    border: 1px solid rgba(255, 153, 0, 0.12);
    color: #ddd;
    text-align: right;
}

.ai-panel-input {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 6px 10px 6px 14px;
    color: #555;
    font-size: 0.73rem;
}

.ai-send-btn {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--time-stone);
    color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Footer */
.main-footer {
    border-top: 1px solid var(--glass-border);
    background: rgba(5, 2, 11, 0.95);
    position: relative;
    z-index: 10;
    padding: 5rem 4rem 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 4rem;
}

.footer-brand .footer-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand .footer-logo .highlight {
    color: var(--eldritch-gold);
}

.footer-tagline {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.7;
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.social-link:hover {
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.3);
    color: var(--eldritch-gold);
}

.footer-links h4 {
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 1.2rem;
}

.footer-links a {
    display: block;
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #ccc;
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-bottom p {
    color: #444;
    font-size: 0.85rem;
}

.footer-bottom-right {
    color: #444;
}

/* CTA Strip */
.cta-strip {
    position: relative;
    z-index: 10;
    background: linear-gradient(135deg, rgba(255, 77, 0, 0.08), rgba(58, 12, 163, 0.08));
    border-top: 1px solid rgba(255, 77, 0, 0.15);
    border-bottom: 1px solid rgba(255, 77, 0, 0.15);
    padding: 6rem 2rem;
    text-align: center;
    max-width: 100%;
    margin: 0;
}

.cta-strip-inner h2 {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
}

.cta-strip-inner .highlight {
    background: linear-gradient(135deg, var(--eldritch-gold), var(--eldritch-orange));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.cta-strip-inner>p {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.cta-strip-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-strip-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cta-strip-btn:hover {
    transform: translateY(-2px);
}

.cta-strip-btn.primary {
    background: linear-gradient(135deg, var(--eldritch-orange), var(--eldritch-gold));
    color: #000;
    box-shadow: 0 8px 30px rgba(255, 77, 0, 0.3);
}

.cta-strip-btn.primary:hover {
    box-shadow: 0 12px 40px rgba(255, 77, 0, 0.5);
}

.cta-strip-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #ccc;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-strip-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.09);
}

.cta-version {
    font-size: 0.8rem;
    color: #555;
    letter-spacing: 1px;
}

/* Platform Download Grid */
.platform-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin: 2.5rem auto 2rem;
    max-width: 900px;
}

.platform-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 1.6rem 2rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    color: #ccc;
    min-width: 140px;
    transition: background 0.25s, border-color 0.25s, transform 0.25s, box-shadow 0.25s;
    backdrop-filter: blur(10px);
}

.platform-card:hover {
    background: rgba(255, 153, 0, 0.07);
    border-color: rgba(255, 153, 0, 0.35);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(255, 77, 0, 0.2);
    color: #fff;
}

.platform-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    transition: color 0.25s, background 0.25s;
}

.platform-card:hover .platform-icon {
    color: var(--eldritch-gold);
    background: rgba(255, 153, 0, 0.1);
    border-color: rgba(255, 153, 0, 0.25);
}

.platform-name {
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
}

.platform-sub {
    font-size: 0.72rem;
    color: #555;
    text-align: center;
    line-height: 1.4;
    transition: color 0.25s;
}

.platform-card:hover .platform-sub {
    color: #888;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Prevent any element horizontal overflow */
    html, body {
        overflow-x: hidden !important;
        width: 100vw;
        max-width: 100%;
    }

    /* Fix platform cards on mobile */
    .platform-grid {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 1rem;
    }
    .platform-card {
        width: 100%;
        max-width: 100%;
    }
    
    /* Fix header navigation on mobile */
    .main-header {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0.75rem;
        padding: 0.75rem 1rem;
    }
    
    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        gap: 0.5rem 0.85rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links a {
        font-size: 0.75rem;
    }

    .nav-links .nav-download,
    .nav-links .nav-github {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    /* Typography */
    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
        margin-top: 1.5rem;
        word-break: break-word;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
        word-break: break-word;
    }
    
    /* Layout Adjustments */
    section {
        padding: 3rem 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .mandala-container {
        width: 85vw !important;
        height: 85vw !important;
        max-width: 320px;
        max-height: 320px;
        top: 35% !important;
    }
    
    /* Mockup Mobile Responsive Fix */
    .mockup-section {
        padding: 0 1rem;
        margin: 1rem auto 3rem auto;
        max-width: 100%;
    }

    .browser-mockup {
        border-radius: 12px;
        max-width: 100%;
        overflow: hidden;
    }
    
    .mockup-header {
        padding: 0.5rem 0.75rem;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 8px;
    }
    
    .mockup-tabs {
        display: none;
    }
    
    .mockup-url-bar {
        width: 100%;
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
        margin-top: 4px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .mockup-body {
        flex-direction: column;
        height: auto;
        padding: 0;
    }

    .mockup-sidebar {
        width: 100%;
        height: 44px;
        flex-direction: row;
        justify-content: center;
        padding: 0 1rem;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        gap: 20px;
    }

    .sidebar-ai-glow {
        position: static;
    }

    .mockup-content {
        padding: 1rem;
        overflow-x: hidden;
    }

    .mockup-ai-panel {
        display: none;
    }

    .search-result-item {
        padding: 10px 12px;
    }

    .result-title {
        font-size: 0.95rem;
    }

    .result-snippet {
        font-size: 0.8rem;
    }
    
    /* Cards and Grids */
    .feature-grid,
    .ai-nodes-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-node {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    
    .premium-card {
        padding: 1.5rem 1.25rem;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-buttons-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 0.85rem;
    }

    .cta-container {
        width: 100%;
    }

    .sling-ring-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.85rem;
        letter-spacing: 1px;
        justify-content: center;
        text-align: center;
    }

    .github-hero-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }

    .version-info {
        font-size: 0.75rem;
        line-height: 1.6;
        word-break: break-word;
        padding: 0 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
        padding-bottom: 2rem;
    }

    .main-footer {
        padding: 3rem 1.25rem 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    /* Hide custom cursor on mobile to prevent scrolling issues */
    .cursor-dot, .cursor-ring {
        display: none !important;
    }
    * {
        cursor: auto !important;
    }
}

@media (max-width: 480px) {
    .main-header {
        flex-direction: column;
        text-align: center;
    }
    .logo {
        margin-bottom: 4px;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand .footer-tagline {
        max-width: 100%;
    }
    .footer-socials {
        justify-content: center;
    }
}