:root {
    --bg-dark: #070707;
    --bg-app: #121212;
    --bg-panel: #181818;
    --border-color: rgba(255, 255, 255, 0.1);
    --primary: #00AAFF;
    --secondary: #FFAA00;
    --accent-1: #FF00FF;
    --accent-2: #00FFFF;
    --text-main: #e0e0e0;
    --text-muted: #555555;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
    --nav-height: 70px;
    --hero-logo-height: 260px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
}

.scroll-container {
    height: 1600vh;
    /* Optimized for the tighter animation timeline */
}

.animation-scene {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 2500px;
    z-index: 10;
    pointer-events: none;
}

/* Wide Angle App Window */
.app-window {
    width: 95vw;
    height: 90vh;
    background: #000;
    border-radius: 4px;
    border: 1px solid #1a1a1a;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    transform: scale(0.6) translateZ(-1500px);
    position: relative;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03), 0 100px 200px rgba(0, 0, 0, 1);
    background: #111111;
}

/* UI Structure */
.top-menu {
    height: 24px;
    background: #222;
    border-bottom: 1px solid #111;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 15px;
    font-size: 10px;
    color: #888;
}

.top-toolbar {
    height: 52px;
    background: #1a1a1a;
    border-bottom: 1px solid #111;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 4px;
}

.main-content {
    flex: 1;
    display: flex;
    overflow: hidden;
}

.left-sidebar {
    width: 52px;
    background: #1a1a1a;
    border-right: 1px solid #111;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    gap: 4px;
}

.sequence-panel {
    width: 220px;
    background: #151515;
    border-right: 1px solid #111;
    padding: 10px;
}

.viewport-area {
    flex: 1;
    background: #000;
    display: flex;
    flex-direction: column;
    position: relative;
}

.comments-panel {
    width: 240px;
    background: #151515;
    border-left: 1px solid #111;
    padding: 10px;
}

.video-container {
    flex: 1;
    background: #000;
    position: relative;
    border: 1px solid #222;
    margin: 2px;
}

.reveal-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
}

.bottom-playback {
    height: 110px;
    background: #1a1a1a;
    border-top: 1px solid #111;
    display: flex;
    flex-direction: column;
}

.timeline-area {
    height: 35px;
    width: 100%;
    padding: 5px 15px;
    display: flex;
    align-items: center;
}

.controls-area {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border-top: 1px solid #111;
}

/* Icon Infrastructure */
.icon-slot {
    width: 32px;
    height: 32px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    background: transparent;
    border: 1px solid transparent;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-slot.active {
    background: rgba(43, 43, 43, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.2);
}

.icon-slot svg {
    opacity: 0;
    /* Hidden initially, revealed by scroll animation */
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    width: 18px;
    /* Slightly smaller for precision look */
    height: 18px;
    transition: transform 0.2s;
}

/* Background will be handled by GSAP too for reversibility */

/* Flying Animation Elements */
.icon-fly {
    position: absolute;
    z-index: 1000;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
}

.icon-fly span {
    font-family: var(--font-heading);
    font-size: 0.55rem;
    color: var(--text-muted);
    letter-spacing: 0.1rem;
    text-transform: uppercase;
    font-weight: 800;
    white-space: nowrap;
}

.header-text {
    position: fixed;
    top: 10vh;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 20;
}

.header-text h1 {
    font-size: 7rem;
    letter-spacing: -0.2rem;
}

.v-sep {
    width: 1px;
    height: 28px;
    background: #333;
    margin: 0 4px;
}

.h-sep {
    height: 1px;
    width: 32px;
    background: #333;
    margin: 4px 0;
}

.timeline-track {
    flex: 1;
    height: 3px;
    background: #333;
    border-radius: 2px;
    position: relative;
}

.timeline-handle {
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: -5px;
}

.app-window.dock-pulse {
    animation: pulseGrow 0.4s ease-out;
}

@keyframes pulseGrow {
    0% {
        transform: scale(1);
        box-shadow: 0 100px 200px rgba(0, 0, 0, 1);
    }

    50% {
        transform: scale(1.005);
        box-shadow: 0 0 100px var(--primary-glow);
    }

    100% {
        transform: scale(1);
        box-shadow: 0 100px 200px rgba(0, 0, 0, 1);
    }
}

.btn-group {
    display: flex;
    gap: 2px;
    background: #222;
    border-radius: 4px;
    padding: 2px;
}

.tab-active {
    color: var(--primary);
    font-weight: bold;
    border-bottom: 1px solid var(--primary);
}

svg {
    stroke-width: 2;
    pointer-events: none;
}

/* Details and Purchase Section */
.details-section {
    position: relative;
    padding: 157px 5%;
    background: #000;
    z-index: 20;
    /* Bring it above the fading scene once scrolling starts */
    box-shadow: 0 -50px 100px rgba(0, 0, 0, 1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 80px;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 120px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 40px;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.04);
}

.feature-card h3 {
    font-family: var(--font-heading);
    margin: 20px 0 15px;
    font-size: 1.4rem;
    color: var(--primary);
}

.feature-card p {
    color: #888;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Pricing Card */
.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, #111 0%, #050505 100%);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 170, 255, 0.1);
}

.price-header .badge {
    background: var(--primary);
    color: #111;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 100px;
    letter-spacing: 1px;
}

.price-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin: 20px 0 10px;
}

.price {
    font-size: 4rem;
    font-weight: 800;
    font-family: var(--font-heading);
    margin-bottom: 40px;
}

.price span {
    font-size: 1.5rem;
    opacity: 0.5;
}

.price-list {
    list-style: none;
    text-align: left;
    max-width: 300px;
    margin: 0 auto 50px;
}

.price-list li {
    margin: 12px 0;
    color: #aaa;
    font-size: 0.9rem;
}

.buy-button {
    background: #fff;
    color: #000;
    border: none;
    padding: 20px 50px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.buy-button:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(255, 255, 255, 0.3);
}

.crypto-hint {
    margin-top: 25px;
    font-size: 0.75rem;
    color: #444;
}

.main-footer {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid #111;
    font-size: 0.8rem;
    color: #444;
    position: relative;
    overflow: hidden;
    background: #000;
}

.footer-glow {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .price {
        font-size: 3rem;
    }

    .pricing-card {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   GLOBAL NAVIGATION BAR
   ========================================================================== */
.global-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--nav-height);
    z-index: 1000;
    background: rgba(7, 7, 7, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    height: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-container--links-only {
    justify-content: flex-end;
}

.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    letter-spacing: 0.15rem;
    background: linear-gradient(135deg, #ffffff 0%, #00AAFF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
}

.hero-logo {
    height: var(--hero-logo-height);
    width: auto;
    display: block;
    margin: 0 auto 20px;
}

.nav-logo:hover {
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #666;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
}

.nav-links a.active {
    border-bottom: 2px solid var(--primary, #00AAFF);
    padding-bottom: 4px;
}

/* ==========================================================================
   SUPPORT DISCORD TRANSITIONS & MICRO-ANIMATIONS
   ========================================================================== */
.discord-app {
    display: none;
    background: rgba(17, 17, 21, 0.6) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.04) !important;
}

.channel-item {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.channel-item:active {
    transform: scale(0.97);
}

.tag-item {
    transition: background-color 0.15s, color 0.15s;
}

.message-row {
    animation: slideMsg 0.25s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
}

@keyframes slideMsg {
    0% {
        opacity: 0;
        transform: translateY(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-messages::-webkit-scrollbar,
.channel-list::-webkit-scrollbar,
.members-list::-webkit-scrollbar,
.tag-suggestions::-webkit-scrollbar {
    width: 6px;
}

.chat-messages::-webkit-scrollbar-track,
.channel-list::-webkit-scrollbar-track,
.members-list::-webkit-scrollbar-track,
.tag-suggestions::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb,
.channel-list::-webkit-scrollbar-thumb,
.members-list::-webkit-scrollbar-thumb,
.tag-suggestions::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

.chat-messages::-webkit-scrollbar-thumb:hover,
.channel-list::-webkit-scrollbar-thumb:hover,
.members-list::-webkit-scrollbar-thumb:hover,
.tag-suggestions::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.16);
}

/* ==========================================================================
   CART & CHECKOUT PREMIUM STYLES
   ========================================================================== */

/* Cart Navigation Badge */
.cart-nav-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 14px;
    border-radius: 50px;
    transition: all 0.3s !important;
}

.cart-nav-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.cart-count {
    background: var(--primary, #00AAFF);
    color: #000;
    font-size: 0.7rem;
    font-weight: 900;
    padding: 1px 7px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 0 10px var(--primary-glow, rgba(0, 170, 255, 0.3));
}

.cart-count.has-items {
    animation: badgePop 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes badgePop {
    0% { transform: scale(0.6); }
    100% { transform: scale(1); }
}

/* Cart Toast Notification */
.cart-toast-notification {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    width: 350px;
    background: rgba(10, 10, 12, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid var(--primary, #00AAFF);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 30px rgba(0,0,0,0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    transform: translateY(100px) scale(0.9);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: auto;
}

.cart-toast-notification.show {
    transform: translateY(0) scale(1);
    opacity: 1;
}

.cart-toast-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.cart-toast-icon {
    font-size: 1.5rem;
}

.cart-toast-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.cart-toast-title {
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.cart-toast-item {
    color: #888;
    font-size: 0.8rem;
    margin-top: 2px;
}

.cart-toast-action {
    background: var(--primary, #00AAFF);
    color: #000 !important;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 14px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 10px rgba(0, 170, 255, 0.2);
}

.cart-toast-action:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(0, 170, 255, 0.4);
}

.cart-toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    background: var(--primary, #00AAFF);
    width: 100%;
    animation: toastProgress 4s linear forwards;
}

@keyframes toastProgress {
    0% { width: 100%; }
    100% { width: 0%; }
}

/* Pricing Selector Tabs */
.pricing-selector {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 6px;
    margin-bottom: 40px;
    gap: 4px;
    position: relative;
    z-index: 10;
}

.pricing-tab {
    background: transparent;
    border: none;
    color: #888;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 12px 28px;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-tab.active {
    background: var(--primary, #00AAFF);
    color: #000;
    box-shadow: 0 5px 15px rgba(0, 170, 255, 0.25);
}

/* License Comparison Table */
.comparison-container {
    max-width: 1000px;
    margin: 80px auto 40px;
    padding: 0 20px;
}

.comparison-header {
    text-align: center;
    margin-bottom: 50px;
}

.comparison-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.comparison-header p {
    color: #888;
    font-size: 1rem;
}

.comparison-table-wrapper {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.comparison-table th, .comparison-table td {
    padding: 22px 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.comparison-table th {
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
}

.comparison-table th:first-child {
    width: 40%;
}

.comparison-table th:not(:first-child) {
    width: 30%;
    text-align: center;
    color: var(--primary, #00AAFF);
}

.comparison-table td {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #aaa;
    vertical-align: top;
}

.comparison-table td:first-child {
    font-weight: 700;
    color: #eee;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: rgba(255, 255, 255, 0.01);
}

.comparison-check {
    color: #28a745;
    font-weight: bold;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
}

.comparison-cross {
    color: #dc3545;
    font-weight: bold;
    font-size: 1.1rem;
}

.feature-title-cell {
    display: flex;
    flex-direction: column;
}

.feature-title-desc {
    font-size: 0.75rem;
    color: #555;
    margin-top: 4px;
    font-weight: normal;
}

/* Cart Page Styles */
.cart-hero {
    padding: 140px 20px 40px;
    text-align: center;
}

.cart-hero h1 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: #fff;
    letter-spacing: -1px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 20px;
}

.cart-items-section {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.cart-empty-state {
    text-align: center;
    padding: 60px 20px;
}

.cart-empty-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    opacity: 0.5;
}

.cart-empty-state h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 15px;
}

.cart-empty-state p {
    color: #666;
    margin-bottom: 30px;
}

.shop-btn {
    display: inline-block;
    background: var(--primary, #00AAFF);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 35px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s;
}

.shop-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 170, 255, 0.3);
}

.cart-item-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-row:first-child {
    padding-top: 0;
}

.cart-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.cart-item-info {
    display: flex;
    flex-direction: column;
}

.cart-item-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
}

.cart-item-tier {
    color: var(--primary, #00AAFF);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

.cart-item-quantity {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.qty-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.qty-val {
    font-family: monospace;
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
    color: #fff;
}

.cart-item-price {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.3rem;
    color: #fff;
    text-align: center;
}

.cart-item-remove {
    background: transparent;
    border: none;
    color: #444;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.cart-item-remove:hover {
    color: #ff3333;
}

.cart-summary-section {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px 30px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    align-self: flex-start;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.cart-summary-section h3 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 18px;
    color: #888;
    font-size: 0.95rem;
}

.summary-row.total {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 18px;
    margin-top: 18px;
    color: #fff;
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 800;
}

.checkout-btn {
    width: 100%;
    background: var(--primary, #00AAFF);
    color: #000;
    border: none;
    padding: 18px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    text-decoration: none;
    display: block;
    margin-top: 30px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 170, 255, 0.3);
}

/* Checkout Page Styles */
.checkout-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 50px;
    max-width: 1200px;
    margin: 120px auto 100px;
    padding: 0 20px;
}

.checkout-panel {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.checkout-section-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: #fff;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.payment-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px;
    border-radius: 12px;
}

.payment-tab-btn {
    background: transparent;
    border: none;
    color: #888;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.payment-tab-btn.active {
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.payment-form-pane {
    display: none;
}

.payment-form-pane.active {
    display: block;
    animation: tabFade 0.3s ease-out;
}

@keyframes tabFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Card Visual Graphic styling */
.credit-card-wrapper {
    perspective: 1000px;
    margin-bottom: 35px;
}

.credit-card-visual {
    width: 100%;
    max-width: 380px;
    height: 220px;
    background: linear-gradient(135deg, #1f1f2e 0%, #0c0c12 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 25px;
    position: relative;
    margin: 0 auto;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.credit-card-visual::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 170, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.card-visual-chip {
    width: 45px;
    height: 35px;
    background: linear-gradient(135deg, #d4af37 0%, #aa7c11 100%);
    border-radius: 6px;
    box-shadow: inset 0 2px 5px rgba(255,255,255,0.2);
}

.card-visual-logo {
    position: absolute;
    top: 25px;
    right: 25px;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    font-style: italic;
    color: rgba(255,255,255,0.2);
    letter-spacing: -1px;
    transition: all 0.3s;
}

.card-visual-number {
    font-family: monospace;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    word-spacing: 4px;
    margin-top: 35px;
}

.card-visual-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-visual-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: #555;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.card-visual-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
    color: #ddd;
    text-transform: uppercase;
}

.form-group-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #888;
    margin-bottom: 8px;
}

.form-input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary, #00AAFF);
    background: rgba(255, 255, 255, 0.04);
    box-shadow: 0 0 10px rgba(0, 170, 255, 0.15);
}

.form-input.error {
    border-color: #ff3333;
}

.form-error-msg {
    color: #ff3333;
    font-size: 0.75rem;
    margin-top: 6px;
    display: none;
}

/* Crypto specific styles */
.crypto-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.crypto-btn {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    color: #888;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}

.crypto-btn:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #eee;
}

.crypto-btn.active {
    background: rgba(0, 170, 255, 0.05);
    border-color: var(--primary, #00AAFF);
    color: #fff;
}

.crypto-address-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 25px;
    text-align: center;
}

.crypto-qr-container {
    background: #fff;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crypto-wallet-field {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.crypto-wallet-addr {
    flex: 1;
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 6px;
    padding: 12px;
    font-family: monospace;
    font-size: 0.85rem;
    color: #aaa;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    text-align: left;
}

.crypto-copy-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 0 15px;
    border-radius: 6px;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: all 0.2s;
}

.crypto-copy-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Success Gateway processing layout */
.processing-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 5, 5, 0.95);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.processing-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.processing-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255,255,255,0.05);
    border-top-color: var(--primary, #00AAFF);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 25px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.processing-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.processing-sub {
    color: #555;
    font-size: 0.9rem;
}

.success-container {
    max-width: 700px;
    margin: 120px auto 100px;
    padding: 0 20px;
    text-align: center;
}

.success-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 60px 40px;
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(40, 167, 69, 0.1);
    border: 2px solid #28a745;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #28a745;
    font-size: 2.2rem;
    box-shadow: 0 0 30px rgba(40, 167, 69, 0.2);
}

.success-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 15px;
}

.success-msg {
    color: #aaa;
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 500px;
    margin: 0 auto 40px;
}

.license-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 40px;
    text-align: left;
}

.license-box-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #555;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding-bottom: 8px;
}

.license-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.license-item:last-child {
    margin-bottom: 0;
}

.license-prod {
    font-weight: bold;
    color: #eee;
}

.license-key-wrapper {
    display: flex;
    gap: 8px;
}

.license-key {
    font-family: monospace;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--primary, #00AAFF);
    letter-spacing: 1px;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* ==========================================================================
   RESPONSIVE DESIGN SYSTEM (TABLETS & MOBILE COMPATIBILITY)
   ========================================================================== */

/* Mobile Nav Toggle Button Styles */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: relative;
}

.nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left center;
}

/* Default state for mobile hero video (hidden on desktop) */
.mobile-hero-container {
    display: none;
}

/* Tablet Layout Styles (<= 1024px) */
@media (max-width: 1024px) {
    .container, .support-banner, .support-wrapper, .comparison-container {
        padding: 0 30px;
    }
    
    .section-title {
        font-size: 3rem;
        margin-bottom: 50px;
    }

    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
        margin-bottom: 80px;
    }
}

/* Responsive Breakpoint for Navigation and Layouts (<= 900px) */
@media (max-width: 900px) {
    /* Hide Heavy Scroll-driven 3D Scene Assembly to guarantee 60fps on mobile */
    .animation-scene,
    .scroll-container {
        display: none !important;
    }

    /* Convert fixed desktop header to relative scrollable layout */
    .header-text {
        position: relative !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        margin: 120px auto 30px !important;
        padding: 0 24px !important;
        z-index: 20;
    }
    
    .header-text h1 {
        font-size: 3.5rem !important;
        letter-spacing: -1px !important;
        line-height: 1.1;
    }

    .header-text p {
        letter-spacing: 0.3rem !important;
        font-size: 0.75rem !important;
    }

    /* Mobile Hero Preview Video */
    .mobile-hero-container {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        max-width: 600px;
        margin: 0 auto 60px;
        padding: 0 24px;
        text-align: center;
    }

    .mobile-video-card {
        width: 100%;
        aspect-ratio: 16/9;
        background: #111;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 170, 255, 0.15);
    }

    .mobile-video-preview {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .mobile-video-glow {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        box-shadow: inset 0 0 40px rgba(0,0,0,0.5);
        pointer-events: none;
    }

    .mobile-hero-desc {
        color: #aaa;
        font-size: 0.95rem;
        line-height: 1.6;
        max-width: 480px;
    }

    /* Programmatic Mobile Hamburger Menu Trigger */
    .nav-toggle {
        display: flex;
    }

    /* Transform Hamburg Icon lines to X on active */
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg);
    }
    
    .nav-toggle.active span:nth-child(2) {
        width: 0%;
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg);
    }

    /* Slide-in Mobile Navigation Overlay Panel */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 12, 0.98);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 35px;
        padding: 40px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 10000;
        box-shadow: -20px 0 40px rgba(0, 0, 0, 0.8);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
        letter-spacing: 2px;
        width: 100%;
        text-align: center;
        padding: 10px 0;
    }
    
    .nav-links a.active {
        border-bottom: none;
        color: var(--primary, #00AAFF);
        text-shadow: 0 0 15px var(--primary-glow);
    }

    .nav-container {
        padding: 0 24px;
    }

    /* E-Commerce Checkout and Cart Layout */
    .cart-layout, 
    .checkout-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .cart-summary-section {
        width: 100%;
    }

    .cart-item-row {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 24px 0;
    }

    .cart-item-row:first-child {
        padding-top: 0;
    }

    .cart-item-price,
    .cart-item-quantity {
        justify-content: center;
        text-align: center;
    }

    /* License Comparison Table Touch-Scrollable container */
    .comparison-table-wrapper {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        border-radius: 12px;
        margin: 0 -10px; /* Slight breakout for visual aesthetic on small screens */
    }

    .comparison-table {
        min-width: 650px;
    }

    .comparison-table th, 
    .comparison-table td {
        padding: 16px 20px;
    }
}

/* Mobile & Small Device Styles (<= 768px) */
@media (max-width: 768px) {
    /* Header typography */
    .section-title {
        font-size: 2.4rem;
        margin-bottom: 40px;
    }

    /* Form specific adjustments */
    .form-group-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .payment-tabs {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px;
    }

    .payment-tab-btn {
        padding: 12px;
        font-size: 0.8rem;
    }

    /* Support Page Mock Discord Stacking */
    .discord-workspace {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .discord-sidebar {
        border-right: none;
        border-bottom: 1px solid #1a1a24;
    }

    .sidebar-footer {
        display: none; /* Hide cluttered admin footer on tiny screens */
    }

    .preview-body {
        padding: 20px;
    }

    /* MEAT & BEAT interactive tool stackers */
    .picker-content {
        flex-direction: column;
        height: auto;
    }

    .picker-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #222;
        padding: 20px;
    }

    .picker-canvas {
        padding: 30px 10px;
        min-height: 320px;
    }

    .blender-bone-group {
        grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
        gap: 10px;
        padding: 15px;
        width: 100%;
        max-width: 320px;
    }

    .bone-button {
        width: 100%;
        height: 80px;
    }

    .pricing-card {
        padding: 35px 20px;
        margin: 0 10px;
    }

    .price {
        font-size: 3rem;
    }
}

/* Extra Small Devices (<= 400px) */
@media (max-width: 400px) {
    .section-title {
        font-size: 2rem;
    }

    /* Prevent visual card overflow via scale transform */
    .credit-card-visual {
        transform: scale(0.85);
        transform-origin: center top;
        margin-bottom: 0;
    }

    .credit-card-wrapper {
        height: 195px;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: flex-start;
    }

    .buy-button {
        padding: 16px 30px;
        font-size: 1rem;
    }

    .success-actions {
        flex-direction: column;
        gap: 10px;
    }

    .success-actions .checkout-btn,
    .success-actions .shop-btn {
        width: 100%;
        text-align: center;
    }
}
