@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
    --bg-deep: #03060d;
    /* Very deep dark blue/black */
    --bg-surface: #0a0f1d;
    --bg-panel: rgba(16, 24, 43, 0.4);
    /* Typography */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --text-main: #ffffff;
    --text-dim: #94a3b8;
    --text-dimmer: #64748b;
    /* Brand Colors */
    --cyan: #00E5FF;
    --cyan-rgb: 0, 229, 255;
    --cyan-glow: rgba(0, 229, 255, 0.2);
    --purple: #7000FF;
    --purple-rgb: 112, 0, 255;
    --purple-glow: rgba(112, 0, 255, 0.2);

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

html {
    font-family: var(--font-body);
    background-color: var(--bg-deep);
    color: var(--text-main);
    scroll-behavior: smooth;
    line-height: 1.6;
}

body {
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Base styles */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: -0.02em;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: linear-gradient(90deg, var(--cyan), #B86BFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.text-cyan {
    color: var(--cyan);
}

.text-purple {
    color: var(--purple);
}

.text-dim {
    color: var(--text-dim);
}

.w-100 {
    width: 100%;
}

/* Backgrounds & Textures */
.bg-noise {
    position: fixed;
    inset: 0;
    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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 1000;
    pointer-events: none;
    opacity: 0.6;
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-size: 60px 60px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    mask-image: radial-gradient(circle at center, black, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    border-radius: 50%;
    filter: blur(120px);
    z-index: -2;
    opacity: 0.4;
    animation: float 20s infinite alternate ease-in-out;
}

.bg-glow-1 {
    top: -20%;
    left: -10%;
    background: radial-gradient(circle, var(--purple-glow), transparent 70%);
}

.bg-glow-2 {
    bottom: 10%;
    right: -20%;
    background: radial-gradient(circle, var(--cyan-glow), transparent 70%);
    animation-delay: -10s;
}

@keyframes float {
    100% {
        transform: translate(5%, 10%);
    }
}

/* Glass Panels */
.glass {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    transition: all 0.4s var(--ease);
}

.glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.03), transparent 40%);
    opacity: 0;
    transition: opacity 0.4s var(--ease);
    pointer-events: none;
}

.glass:hover::before {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 0;
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(3, 6, 13, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-logo {
    width: 36px;
    height: 36px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid var(--cyan);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    box-shadow: 0 0 15px var(--cyan-glow);
}

.brand-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dim);
    transition: color 0.2s;
    position: relative;
}

.nav-link:hover {
    color: var(--text-main);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--cyan);
    transition: width 0.3s var(--ease);
}

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

.nav-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s var(--ease);
    cursor: pointer;
    position: relative;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.05rem;
}

.btn-glow {
    background: var(--text-main);
    color: var(--bg-deep);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    border: none;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-phantom {
    background: transparent;
    color: var(--text-main);
    border: 1px solid var(--glass-border);
}

.btn-phantom:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-outline {
    background: rgba(0, 229, 255, 0.05);
    color: var(--cyan);
    border: 1px solid var(--cyan);
}

.btn-outline:hover {
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 15px var(--cyan-glow);
}

/* Badge Pill */
.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 100px;
    color: var(--cyan);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
}

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

/* Section Base */
.section {
    padding: 120px 0;
    position: relative;
}

.section-head {
    margin-bottom: 64px;
}

.section-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 600px;
}

.text-center {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding-top: 140px;
    display: flex;
    align-items: center;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-title {
    font-size: 4.5rem;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 40px;
    max-width: 500px;
    line-height: 1.6;
}

.hero-cta {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.hero-metrics {
    display: flex;
    align-items: center;
    gap: 32px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.metric-val {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.metric-val span {
    font-size: 1rem;
    margin-left: 2px;
}

.metric-label {
    font-size: 0.85rem;
    color: var(--text-dimmer);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.divider {
    width: 1px;
    height: 40px;
    background: var(--glass-border);
}

/* Tech UI Mockup */
.hero-visual {
    position: relative;
    perspective: 1200px;
}

.ui-panel {
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s var(--ease);
}

.ui-panel:hover {
    transform: rotateY(-5deg) rotateX(2deg) scale(1.02);
}

.ui-header {
    padding: 12px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(0, 0, 0, 0.2);
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #334155;
}

.window-controls span:nth-child(1) {
    background: #ef4444;
}

.window-controls span:nth-child(2) {
    background: #eab308;
}

.window-controls span:nth-child(3) {
    background: #22c55e;
}

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

.ui-body {
    padding: 24px;
    min-height: 300px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feed-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
}

.feed-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
}

.feed-head {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.item-title {
    font-weight: 600;
}

.item-price {
    color: var(--cyan);
    font-weight: 700;
}

.feed-meta {
    display: flex;
    gap: 8px;
}

.tag {
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

.tag-green {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.tag-yellow {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.2);
}

.tag-gray {
    color: var(--text-dimmer);
}

.scanner-line {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--cyan);
    box-shadow: 0 0 15px var(--cyan);
    animation: scan 3s infinite linear;
}

@keyframes scan {
    0% {
        top: 0;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 100%;
        opacity: 0;
    }
}

/* Floating Widgets */
.float-widget {
    position: absolute;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    z-index: 10;
    transform: translateZ(50px);
}

.fw-1 {
    top: -20px;
    right: -40px;
    animation: bob 4s infinite alternate ease-in-out;
}

.fw-2 {
    bottom: 40px;
    left: -60px;
    animation: bob 5s infinite alternate-reverse ease-in-out;
}

@keyframes bob {
    100% {
        transform: translateY(-15px) translateZ(50px);
    }
}


/* Bento Grid (Features) */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.col-span-2 {
    grid-column: span 2;
}

.bento-card {
    display: flex;
    flex-direction: column;
    min-height: 280px;
}

.bento-content {
    padding: 32px;
    z-index: 2;
    flex: 1;
}

.icon-box {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--cyan);
    margin-bottom: 24px;
}

.bento-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.bento-card p {
    color: var(--text-dim);
}

.bento-visual {
    flex: 1;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 20px;
}

.pattern-bg {
    background: linear-gradient(45deg, transparent 40%, rgba(0, 229, 255, 0.03) 50%, transparent 60%);
    background-size: 20px 20px;
}

.mini-bar-chart {
    display: flex;
    align-items: flex-end;
    gap: 12px;
    height: 100px;
    width: 80%;
}

.bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px 4px 0 0;
}


/* Ecosystem */
.bg-panel {
    background: var(--bg-surface);
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.ecosystem-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.eco-card {
    padding: 8px;
}

.eco-img-wrapper {
    border-radius: calc(var(--radius-lg) - 8px);
    overflow: hidden;
    border: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.eco-img {
    width: 100%;
    height: auto;
    display: block;
    filter: saturate(0.8) contrast(1.1);
    transition: 0.5s;
}

.eco-card:hover .eco-img {
    filter: saturate(1.2) contrast(1);
    transform: scale(1.02);
}

.eco-info {
    padding: 0 16px 16px;
}

.eco-info h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.eco-info p {
    color: var(--text-dim);
}


/* Pricing */
.pricing-table {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: start;
}

.price-box {
    padding: 40px;
    display: flex;
    flex-direction: column;
}

.p-head {
    padding-bottom: 24px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 24px;
}

.p-head h4 {
    font-size: 1.25rem;
    color: var(--text-dim);
    margin-bottom: 12px;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-display);
    line-height: 1;
    margin-bottom: 12px;
}

.price span {
    font-size: 1rem;
    color: var(--text-dimmer);
    font-weight: 500;
    font-family: var(--font-body);
}

.p-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.p-features li {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.p-features li.muted {
    color: var(--text-dimmer);
}

.p-features i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.premium {
    transform: scale(1.05);
    border-color: rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 50px rgba(0, 229, 255, 0.05);
    position: relative;
    z-index: 10;
    background: rgba(0, 229, 255, 0.02);
}

.premium-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cyan);
    color: #000;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    box-shadow: 0 0 15px var(--cyan-glow);
}


/* Footer */
.footer {
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    background: var(--bg-deep);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
}

.footer-links {
    display: contents;
}

.link-group h5 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.link-group a {
    display: block;
    color: var(--text-dim);
    margin-bottom: 12px;
    transition: 0.2s;
}

.link-group a:hover {
    color: var(--cyan);
}


/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .hero-subtitle {
        margin: 0 auto 40px;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-metrics {
        justify-content: center;
    }

    .hero-visual {
        display: none;
    }

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

    .col-span-2 {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

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

    .hero-metrics {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        background: rgba(255, 255, 255, 0.02);
        border-radius: 16px;
    }

    .divider {
        width: 100%;
        height: 1px;
    }

    .pricing-table,
    .ecosystem-cards,
    .footer-content {
        grid-template-columns: 1fr;
    }

    .premium {
        transform: scale(1);
    }

    .section {
        padding: 80px 0;
    }
}