/* CSS Variables for Theming */
:root {
    --bg-color: #09090b;
    /* Very dark zinc */
    --surface-color: #18181b;
    /* Dark zinc */
    --surface-light: rgba(39, 39, 42, 0.5);
    /* Glass zinc */
    --text-main: #f8fafc;
    --text-muted: #a1a1aa;

    /* SubNova Greens */
    --primary: #10b981;
    /* Emerald 500 */
    --primary-glow: rgba(16, 185, 129, 0.35);
    --primary-hover: #34d399;
    /* Emerald 400 */
    --secondary: #047857;
    /* Emerald 700 */

    --glass-bg: rgba(24, 24, 27, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Background Effects */
.bg-glow {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}

.bg-glow-2 {
    top: auto;
    bottom: -20%;
    left: auto;
    right: -10%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(4, 120, 87, 0.2) 0%, transparent 60%);
}

/* Typography utilities */
.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-hover) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 12px;
}

p {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--glass-shadow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 14px 0 var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(16, 185, 129, 0.5);
    filter: brightness(1.1);
}

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

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 0;
    transition: var(--transition);
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 12px 0;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.02em;
}

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

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    object-fit: cover;
}

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

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
}

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

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

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

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--primary);
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.875rem;
    margin-bottom: 24px;
}

.hero-actions {
    margin-top: 32px;
}

.store-badge {
    height: 30px;
    filter: brightness(0) invert(1);
}

.stats-row {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    border-top: 1px solid var(--glass-border);
    padding-top: 32px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-val {
    font-size: 2rem;
    font-weight: 800;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.hero-visual {
    position: relative;
    width: 100%;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mockup-frame {
    position: relative;
    top: 40px;
    width: 300px;
    height: 620px;
    border-radius: 40px;
    background: var(--surface-color);
    padding: 10px;
    border: 4px solid #27272a;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 80px var(--primary-glow);
    z-index: 10;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
    background-color: #000;
}

.float-card-1,
.float-card-2 {
    position: absolute;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 20;
    min-width: 220px;
    animation: float 6s ease-in-out infinite;
}

.float-card-1 {
    top: 20%;
    right: -60px;
    animation-delay: 0s;
}

.float-card-2 {
    bottom: 25%;
    left: -80px;
    animation-delay: 3s;
}

.float-card-1 .icon,
.float-card-2 .icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

.float-card-1 .details,
.float-card-2 .details {
    display: flex;
    flex-direction: column;
}

.float-card-1 .title {
    font-weight: 600;
    font-size: 1rem;
}

.float-card-1 .price {
    font-size: 0.875rem;
    color: var(--primary);
    font-weight: 600;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Showcase & Orbital System */
.showcase {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    background: radial-gradient(circle at 70% 50%, rgba(16, 185, 129, 0.08) 0%, transparent 50%);
}

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

.showcase-content {
    position: relative;
    z-index: 2;
}

.showcase-content h2 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
}

.showcase-image-wrapper {
    margin-top: 40px;
    position: relative;
}

.woman-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.5));
    border-radius: 0 0 20px 20px;
}

.showcase-visual {
    position: relative;
    height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Orbit System Logic */
.orbit-system {
    position: relative;
    width: 500px;
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.orbit-center {
    width: 80px;
    height: 80px;
    background: var(--surface-color);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 0 40px var(--primary-glow);
    z-index: 10;
    border: 1px solid var(--glass-border);
}

.orbit-center img {
    width: 48px;
    border-radius: 12px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px dashed rgba(255, 255, 255, 0.05);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.ring-1 {
    width: 220px;
    height: 220px;
}

.ring-2 {
    width: 360px;
    height: 360px;
}

.ring-3 {
    width: 500px;
    height: 500px;
}

.satellite {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: -30px;
    margin-left: -30px;
    width: 60px;
    height: 60px;
    background: var(--surface-color);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    animation: orbit var(--speed) linear infinite;
    animation-delay: calc(var(--speed) * (var(--angle) / -360));
    z-index: 5;
}

.satellite img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(var(--radius)) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg);
    }
}

.satellite.reverse {
    animation-name: orbit-reverse;
}

@keyframes orbit-reverse {
    0% {
        transform: rotate(360deg) translateX(var(--radius)) rotate(-360deg);
    }

    100% {
        transform: rotate(0deg) translateX(var(--radius)) rotate(0deg);
    }
}

/* Bento Showcase Integrated */
.bento-showcase-card {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding-bottom: 0 !important;
    overflow: hidden;
}

.bento-showcase-card .bento-content {
    flex: none !important;
    margin-bottom: 0px;
}

.showcase-integrated {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: flex-end;
}

.showcase-integrated .showcase-image-wrapper {
    margin-top: auto;
}

.showcase-integrated .woman-img {
    display: block;
    max-height: 400px;
    object-fit: contain;
    object-position: bottom left;
    border-radius: 0;
    margin-bottom: -1px;
    /* To prevent any gap at the bottom */
}

.showcase-integrated .showcase-visual-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    width: 100%;
    overflow: hidden;
}

.showcase-integrated .orbit-system {
    transform: scale(0.65);
    margin-left: -50px;
}

@media (max-width: 992px) {
    .showcase-integrated {
        grid-template-columns: 1fr;
        align-items: center;
    }

    .showcase-integrated .showcase-image-wrapper {
        order: 2;
    }

    .showcase-integrated .woman-img {
        margin: 0 auto;
        object-position: bottom;
    }

    .showcase-integrated .showcase-visual-inner {
        order: 1;
        height: 280px;
    }

    .showcase-integrated .orbit-system {
        transform: scale(0.5);
        margin-left: 0;
    }
}

@media (max-width: 768px) {
    .showcase-integrated .showcase-visual-inner {
        height: 220px;
    }

    .showcase-integrated .orbit-system {
        transform: scale(0.4);
    }

    .showcase-integrated .woman-img {
        max-height: 250px;
    }
}

/* General Sections */
.section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 64px auto;
}

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

.bento-item {
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-item:hover {
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent, rgba(16, 185, 129, 0.05));
    opacity: 0;
    transition: var(--transition);
}

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

.bento-item.large {
    grid-column: span 2;
    grid-row: span 2;
    background: linear-gradient(135deg, var(--surface-color), #091a13);
}

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

.icon-small {
    margin-bottom: 20px;
}

.bento-visual {
    margin-top: auto;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    height: 100%;
}

.visual-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    border: 2px solid rgba(16, 185, 129, 0.3);
}

.glow-pulse {
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
    }

    100% {
        box-shadow: 0 0 60px rgba(16, 185, 129, 0.6);
    }
}

/* How it Works */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.step {
    text-align: center;
    padding: 40px 24px;
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-md);
    transition: var(--transition);
}

.step:hover {
    transform: translateY(-10px);
    background: var(--surface-color);
    border-color: rgba(16, 185, 129, 0.2);
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 24px auto;
    box-shadow: 0 10px 20px var(--primary-glow);
}

/* CTA Section */
.cta-box {
    text-align: center;
    padding: 80px 40px;
    background: linear-gradient(135deg, rgba(24, 24, 27, 0.8), rgba(4, 120, 87, 0.2));
    border: 1px solid rgba(16, 185, 129, 0.2);
    position: relative;
    overflow: hidden;
}

.cta-box::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 50%);
    z-index: -1;
}

.cta-box p {
    margin-bottom: 32px;
}

/* Footer */
.footer {
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 24px 0;
    background: #000;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 250px;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.link-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.link-group h4 {
    font-size: 1.125rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.link-group a {
    color: var(--text-muted);
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Animations & Utilities */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.appear {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

/* Responsive Design */
@media (max-width: 992px) {

    .hero-container,
    .showcase-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .orbit-system {
        transform: scale(0.8);
    }


    .stats-row {
        justify-content: center;
    }

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

    .bento-item.large {
        grid-column: span 2;
        grid-row: auto;
        flex-direction: row;
        align-items: center;
    }

    .float-card-1 {
        right: 0;
    }

    .float-card-2 {
        left: 0;
    }
}

@media (max-width: 768px) {
    .hero {
        padding-top: 150px;
    }

    .orbit-system {
        transform: scale(0.55);
    }

    .nav-links {
        display: none;
        /* Add hamburger menu for real prod */
    }

    h1 {
        font-size: 2.5rem;
    }

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

    .bento-item.large {
        grid-column: span 1;
        grid-row: auto;
        flex-direction: column;
    }

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

    .footer-container {
        flex-direction: column;
        gap: 40px;
    }
}