/* Custom Properties */
:root {
    --bg-dark: #050505;
    --bg-surface: #0a0a0c;
    --bg-card: rgba(22, 22, 24, 0.7);
    --primary-color: #ccff00;
    --primary-glow: rgba(204, 255, 0, 0.35);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --border-color: rgba(255, 255, 255, 0.08);
    --hover-border: rgba(204, 255, 0, 0.4);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 8px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
}

html {
    scroll-snap-type: y mandatory;
}



body {
    font-family: 'Chakra Petch', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    position: relative;
    font-size: 1.05rem; /* Slight bump for readability with this font */
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Teko', sans-serif;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.highlight {
    color: var(--primary-color);
}

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

a {
    color: var(--text-primary);
    text-decoration: none;
}

/* Layout */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(5, 5, 5, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-color);
    transition: background var(--transition-smooth);
}

.nav-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    position: relative;
}

.brand-text {
    position: absolute;
    left: 20%;
    transform: translateX(-50%);
    font-family: 'Rubik Glitch', system-ui;
    font-size: 2.2rem;
    letter-spacing: 3px;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.3);
    text-decoration: none;
    z-index: 10;
}

.logo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    height: 48px;
    width: auto;
    transition: transform var(--transition-fast);
}

.logo:hover img {
    transform: scale(1.05);
}

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

.nav-link {
    font-family: 'Chakra Petch', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

/* Buttons */
.btn {
    font-family: 'Chakra Petch', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: #000;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border-radius: 0;
    box-shadow: 4px 4px 0px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background-color: #d4ff33;
    box-shadow: 0 0 20px var(--primary-glow);
    transform: translateY(-2px) scale(1.02);
}

.btn-nav {
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 12px;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 2rem 8rem;
    min-height: 70vh;
    justify-content: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.glass-bg-top::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%);
    width: 80vw;
    height: 80vw;
    background: radial-gradient(circle, rgba(204, 255, 0, 0.12) 0%, transparent 60%);
    z-index: -1;
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.25rem;
    background: rgba(204, 255, 0, 0.05);
    border: 1px solid rgba(204, 255, 0, 0.3);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 2rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Chakra Petch', sans-serif;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.hero-title {
    font-size: clamp(4rem, 8vw, 7rem);
    margin-bottom: 1.5rem;
    color: #fff;
    text-wrap: balance;
}

.hero-subtitle {
    font-size: clamp(1.25rem, 2.5vw, 1.7rem);
    color: var(--text-secondary);
    max-width: 800px;
    margin-bottom: 3rem;
    line-height: 1.6;
    text-wrap: balance;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Placeholders */
.mockup-placeholder {
    width: 100%;
    border: 2px dashed rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 3rem;
    color: var(--text-secondary);
    transition: all var(--transition-smooth);
}

.mockup-placeholder:hover {
    border-color: rgba(204, 255, 0, 0.3);
    background: rgba(204, 255, 0, 0.02);
    transform: translateY(-5px);
}

.placeholder-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.mockup-placeholder span {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.mockup-placeholder p {
    font-size: 0.95rem;
    max-width: 400px;
}

.hero-visual {
    margin-top: 5rem;
    width: 100%;
    max-width: 1100px;
    border-radius: var(--radius-lg);
    padding: 10px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 2;
}

.main-mockup {
    height: 50vh;
    min-height: 400px;
    background: #0f0f11;
}

.showcase-mockup {
    height: 400px;
    background: #0f0f11;
}

/* Scroll Sections */
.scroll-section {
    min-height: 100vh;
    padding: 8rem 0;
    display: flex;
    align-items: center;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

.scroll-section:nth-child(even) {
    background: linear-gradient(to bottom, #050505, #080808);
}

.scroll-section:nth-child(odd) {
    background: #050505;
}

.max-w-800 {
    max-width: 800px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-weight: 500;
}

/* Asymmetrical / Brutalist Split Layout */
.split-layout {
    display: grid;
    grid-template-columns: 5fr 7fr;
    align-items: center;
    position: relative;
}

.side-by-side.reverse .split-layout {
    grid-template-columns: 7fr 5fr;
    direction: ltr; /* Reset direction, we handle visual reverse via grid placement */
}

/* Offset Content Box */
.split-content {
    background: rgba(22, 22, 24, 0.9);
    border: 1px solid var(--primary-color);
    padding: 4rem;
    position: relative;
    z-index: 10;
    box-shadow: 20px 20px 0px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(204, 255, 0, 0.05);
    margin-right: -4rem; /* Overlap the image */
}

.side-by-side.reverse .split-content {
    margin-right: 0;
    margin-left: -4rem; /* Overlap image from the right */
    grid-column: 2;
    grid-row: 1;
}

/* Background grid accents */
.split-content::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 20px;
    height: 20px;
    border-top: 2px solid var(--primary-color);
    border-left: 2px solid var(--primary-color);
}

.split-content::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    border-bottom: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    margin-bottom: 2rem;
    transform: rotate(45deg); /* Diamond shape */
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    transform: rotate(-45deg); /* Keep icon straight */
}

.split-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

/* Visual Overrides */
.split-visual {
    position: relative;
    z-index: 5;
}

.side-by-side.reverse .split-visual {
    grid-column: 1;
    grid-row: 1;
}

.mockup-image img {
    border-radius: 0 !important; /* Brutalist sharp edges */
    filter: grayscale(20%) contrast(110%);
}

/* Logic Engine Placeholder */
.logic-placeholder {
    width: 100%;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(24px);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
}

.logic-mockup {
    text-align: center;
    color: var(--text-secondary);
}

.logic-mockup h4 {
    font-size: 1.5rem;
    color: #fff;
    margin: 1rem 0;
}

.logic-mockup p {
    font-family: monospace;
    color: var(--primary-color);
    font-size: 1.1rem;
    background: rgba(204, 255, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 4rem 2rem;
    background: #000;
    scroll-snap-align: end;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
}

.footer-tagline {
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

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

.copyright {
    color: #555;
    font-size: 0.85rem;
    margin-top: 2rem;
}

/* Decorative Background Elements */
.bg-accent {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}

/* Floating Prices */
.floating-price {
    font-family: 'Roboto Mono', monospace;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(204, 255, 0, 0.5);
    animation: driftUp 15s linear infinite;
    opacity: 0; /* Start invisible */
    pointer-events: none; /* Prevent scroll blocking */
    z-index: 0;
}

/* Floating Blank TCG Cards */
.floating-card {
    width: 140px;
    height: 196px; /* Standard TCG Ratio 2.5 x 3.5 */
    border-radius: 8px; /* TCG cards are rounded */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 20px rgba(204, 255, 0, 0.05), 0 10px 30px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    animation: floatUpSoft 30s linear infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none; /* Prevent scroll blocking */
    z-index: 0;
}

/* Animations & Utility Classes */
@keyframes driftUp {
    0% { transform: translateY(100px) scale(0.8); opacity: 0; }
    10% { opacity: 0.4; }
    90% { opacity: 0.4; }
    100% { transform: translateY(-300px) scale(1.2); opacity: 0; }
}

@keyframes floatUpSoft {
    0% { transform: translateY(150px) scale(var(--scale, 1)) rotate(calc(var(--r, 0deg) - 4deg)); opacity: 0; }
    15% { opacity: var(--opacity, 0.8); }
    85% { opacity: var(--opacity, 0.8); }
    100% { transform: translateY(-350px) scale(var(--scale, 1)) rotate(calc(var(--r, 0deg) + 4deg)); opacity: 0; }
}

.scale-hover {
    transition: transform var(--transition-smooth);
    cursor: pointer;
}

.scale-hover:hover {
    transform: scale(1.02) translateY(-5px);
}

.hidden {
    opacity: 0;
    transform: translateY(30px);
}

.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 1350px) {
    .nav-container {
        justify-content: flex-start;
        gap: 1.5rem;
    }
    .brand-text, .logo {
        position: relative;
        left: auto;
        transform: none;
    }
    .nav-links {
        margin-left: auto;
        gap: 1.5rem;
    }
    .brand-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .split-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .split-content {
        margin: 0 !important;
        grid-column: 1 !important;
        grid-row: 2 !important;
        padding: 3rem 2rem;
    }
    
    .side-by-side.reverse .split-layout {
        grid-template-columns: 1fr;
    }
    
    .split-visual {
        grid-column: 1 !important;
        grid-row: 1 !important;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero {
        padding-top: 8rem;
    }
    
    .section-title {
        font-size: clamp(2rem, 3.5vw, 2.75rem);
    }
    
    .scroll-section {
        padding: 5rem 0;
    }
}

/* --- Redesign Styles from Copywriting Mockup --- */

.black-box {
    background: rgba(20, 20, 22, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    padding: 2.5rem;
}

.black-box h2, .black-box h3, .black-box h4 {
    margin: 0;
}

.black-box-content {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0;
    padding: 3rem;
}

.black-box-content::before, .black-box-content::after {
    display: none !important;
}

.black-box-content.borderless {
    border: none;
    box-shadow: none;
    padding: 2rem 3rem;
    background: transparent;
}

.white-text {
    color: #fff !important;
}

.italic {
    font-style: italic;
}

.italic-white {
    font-style: italic;
    color: #f0f0f0;
    line-height: 1.6;
    font-size: 1.1rem;
}

.bold-white {
    font-weight: 700;
    color: #fff;
    font-size: 1.4rem;
    line-height: 1.4;
    text-transform: uppercase;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}

.uppercase-bold {
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    font-size: 1.25rem;
    line-height: 1.5;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
}

.bold-green-statement {
    font-weight: 700;
    font-size: 1.5rem;
    text-transform: uppercase;
    display: block;
    font-family: 'Teko', sans-serif;
    letter-spacing: 1px;
    line-height: 1.1;
}

.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: 3rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 3.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.font-medium { font-weight: 500; }

.small-p {
    font-size: 1rem;
    line-height: 1.6;
}

.small-text {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.text-md {
    font-size: 1.2rem;
    color: #e0e0e0;
    line-height: 1.6;
}

.info-boxes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3.5rem;
}

.info-box {
    padding: 3.5rem 2rem;
    min-height: 240px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.info-box p {
    min-height: 105px;
}

.info-box:hover {
    transform: translateY(-8px);
    border-color: rgba(204, 255, 0, 0.4);
    box-shadow: 0 20px 40px rgba(204, 255, 0, 0.15);
}



.black-box-layout {
    background: rgba(20, 20, 22, 0.45);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.graphic-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
    background: rgba(10, 10, 12, 0.3);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    color: #666;
    font-family: 'Chakra Petch', sans-serif;
    width: 100%;
}

.value-prop-video-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    background: rgba(10, 10, 12, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    color: #fff;
    font-family: 'Teko', sans-serif;
    font-size: 1.5rem;
    padding: 2rem;
    text-align: center;
    width: 100%;
}

.action-btn {
    background-color: var(--primary-color);
    color: #000;
    font-size: 1.4rem !important;
    padding: 1.2rem 3rem !important;
    box-shadow: 4px 4px 0px rgba(255, 255, 255, 0.1);
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
    border-radius: 0 !important;
    font-weight: bold;
    position: relative;
    z-index: 2;
}
.action-btn:hover {
    background-color: #d4ff33;
    box-shadow: 0 0 20px rgba(204, 255, 0, 0.35);
    transform: translateY(-2px) scale(1.02);
    color: #000;
}

.section-divider {
    width: 80%;
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 0 auto;
}

@media (max-width: 768px) {
    .info-boxes-grid {
        grid-template-columns: 1fr;
    }
    .black-box-content.borderless {
        padding: 2rem 1rem;
    }
}

.cta-container {
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.free-plan-banner {
    background: #000;
    color: #fff;
    font-family: 'Chakra Petch', sans-serif;
    font-style: italic;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    text-align: center;
    letter-spacing: 0.5px;
    margin-top: -6px; /* offset the button clip gap slightly */
    z-index: 1;
}
