/* ==========================================================================
   AAROQUANT - PREMIUM SALES MARKETING LANDING SYSTEM
   Dark Theme, Glassmorphism, Neon Gradient Highlights & Conversions UI
   ========================================================================== */

:root {
    /* Color Palette tokens */
    --bg-dark: #050609;
    --bg-panel: rgba(14, 16, 24, 0.75);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-glow: rgba(0, 240, 255, 0.25);
    
    /* Neon Accents */
    --accent-cyan: #00F0FF;
    --accent-violet: #D000FF;
    --accent-pink: #FF007F;
    --accent-green: #00FF87;
    --accent-red: #FF0055;
    
    /* Text Colors */
    --text-primary: #CBD5E1;
    --text-muted: #64748B;
    --text-bright: #FFFFFF;

    /* Shadows & Glows */
    --glow-cyan: 0 0 20px rgba(0, 240, 255, 0.25);
    --glow-violet: 0 0 20px rgba(208, 0, 255, 0.25);
    --glow-green: 0 0 20px rgba(0, 255, 135, 0.25);
    --panel-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);

    /* Fonts */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Outfit', sans-serif;
    --font-code: 'Fira Code', monospace;
}

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

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: var(--font-primary);
    overflow-y: auto;
    overflow-x: hidden;
    position: relative;
    line-height: 1.5;
}

/* Ambient glow orbs floating behind workspace */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.08;
    pointer-events: none;
    z-index: -1;
    animation: pulseGlow 18s infinite alternate ease-in-out;
}

.orb-1 {
    top: -5%;
    left: 5%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--accent-cyan) 0%, transparent 70%);
}

.orb-2 {
    bottom: 10%;
    right: 5%;
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, var(--accent-violet) 0%, transparent 70%);
    animation-delay: -5s;
}

.orb-3 {
    top: 40%;
    left: 45%;
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--accent-pink) 0%, transparent 70%);
    animation-delay: -10s;
}

@keyframes pulseGlow {
    0% { transform: scale(1) translate(0, 0); opacity: 0.06; }
    50% { transform: scale(1.1) translate(3%, 2%); opacity: 0.09; }
    100% { transform: scale(0.9) translate(-2%, -3%); opacity: 0.04; }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* Text Helpers */
.gradient-text {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.text-green { color: var(--accent-green); }
.text-red { color: var(--accent-red); }
.text-cyan { color: var(--accent-cyan); }
.font-fira { font-family: var(--font-code); }

/* ==========================================================================
   STICKY HEADER NAVIGATION
   ========================================================================== */
.sales-navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 70px;
    background: rgba(5, 6, 9, 0.75);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 500;
    display: flex;
    align-items: center;
}

.nav-container {
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-link {
    text-decoration: none !important;
    color: inherit;
    cursor: pointer;
}
.logo-icon-glowing {
    background: rgba(0, 240, 255, 0.03);
    border-radius: 8px;
    padding: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 240, 255, 0.15);
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--text-bright);
}

.nav-links {
    display: flex;
    gap: 30px;
}
.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}
.nav-links a:hover {
    color: var(--text-bright);
}
.nav-links a::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0; width: 0; height: 1.5px;
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-violet));
    transition: width 0.3s;
}
.nav-links a:hover::after {
    width: 100%;
}

/* ==========================================================================
   NAVIGATION DROPDOWN MENU
   ========================================================================== */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}

.caret {
    font-size: 0.55rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
    margin-left: 2px;
}

.nav-dropdown:hover .caret {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 12, 18, 0.96);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 10px;
    min-width: 210px;
    box-shadow: var(--panel-shadow);
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transition: opacity 0.25s ease, transform 0.25s ease;
    pointer-events: none;
    z-index: 600;
}

.dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    transform: translateX(-50%);
    border-width: 0 6px 6px 6px;
    border-style: solid;
    border-color: transparent transparent var(--border-color) transparent;
}

.nav-dropdown:hover .dropdown-menu {
    display: flex;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    font-size: 0.8rem !important;
    padding: 8px 12px !important;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s;
    width: 100%;
    display: block;
}

.dropdown-menu a::after {
    display: none !important; /* Hide underline effect */
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-bright) !important;
}

/* Mobile Dropdown Layout */
@media (max-width: 1024px) {
    .nav-dropdown {
        display: flex;
        flex-direction: column;
        width: 100%;
    }
    
    .dropdown-trigger {
        width: 100%;
        justify-content: space-between;
    }
    
    .dropdown-menu {
        display: flex !important;
        position: static;
        transform: none !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 5px 0 5px 15px;
        min-width: 100%;
        gap: 4px;
        backdrop-filter: none;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-menu a {
        font-size: 0.8rem !important;
        padding: 6px 12px !important;
        color: var(--text-muted) !important;
    }
    
    .dropdown-menu a:hover {
        color: var(--text-bright) !important;
        background: transparent;
    }
}

.btn-purchase-nav {
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.08) 0%, rgba(208, 0, 255, 0.08) 100%);
    border: 1px solid rgba(208, 0, 255, 0.25);
    color: var(--text-bright);
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    transition: all 0.3s;
}
.btn-purchase-nav:hover {
    border-color: var(--accent-violet);
    box-shadow: var(--glow-violet);
    transform: translateY(-1px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.sales-hero {
    min-height: 90vh;
    padding-top: 130px;
    padding-bottom: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 850px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.live-stats-banner {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 6px 16px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}
.stat-pill {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-primary);
}
.pulse-green {
    width: 6px;
    height: 6px;
    background-color: var(--accent-green);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 6px var(--accent-green);
    animation: statusPulse 1.8s infinite;
}
@keyframes statusPulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 3px var(--accent-green); }
    50% { transform: scale(1.3); opacity: 0.6; box-shadow: 0 0 10px var(--accent-green); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 3px var(--accent-green); }
}
.stat-divider {
    color: rgba(255,255,255,0.08);
}
.stat-label {
    color: var(--text-muted);
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    color: var(--text-bright);
    letter-spacing: -1px;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    line-height: 1.6;
    color: var(--text-primary);
    max-width: 680px;
    margin-bottom: 35px;
}
.hero-subtitle strong {
    color: var(--accent-cyan);
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 60px;
}

.hero-btn {
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}
.btn.primary {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
    border: none;
    color: var(--text-bright);
    box-shadow: var(--glow-cyan);
}
.btn.primary:hover {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
    transform: translateY(-1px);
}
.btn.secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
}
.btn.secondary:hover {
    color: var(--text-bright);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--text-muted);
}

.hero-highlights {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    border-top: 1px solid var(--border-color);
    padding-top: 40px;
}
.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.highlight-icon {
    font-size: 1.5rem;
    margin-bottom: 6px;
}
.highlight-item strong {
    color: var(--text-bright);
    font-size: 0.85rem;
    font-family: var(--font-display);
}
.highlight-item span {
    font-size: 0.72rem;
    color: var(--text-muted);
}

/* ==========================================================================
   FEATURES / CAPABILITIES GRID
   ========================================================================== */
.sales-features {
    padding: 90px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 55px;
}
.section-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--accent-violet);
    background: rgba(208, 0, 255, 0.08);
    border: 1px solid rgba(208, 0, 255, 0.15);
    padding: 4px 12px;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 15px;
}
.bg-badge-violet {
    color: var(--accent-violet);
    background: rgba(208, 0, 255, 0.08);
    border-color: rgba(208, 0, 255, 0.15);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 12px;
}
.section-subtitle {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.feature-sell-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s;
}
.feature-sell-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}
.card-icon {
    font-size: 1.8rem;
    margin-bottom: 16px;
}
.feature-sell-card h3 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 8px;
}
.feature-sell-card p {
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--text-primary);
}

/* ==========================================================================
   PREMIUM SINGLE CARD PRICING
   ========================================================================== */
.sales-pricing {
    padding: 90px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.single-pricing-wrapper {
    max-width: 820px;
    margin: 40px auto 0;
}

.price-tier-card {
    background: var(--bg-panel);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s;
    position: relative;
}

.recommended-tier {
    background: linear-gradient(135deg, rgba(14, 16, 24, 0.8) 0%, rgba(8, 9, 13, 0.8) 100%);
    border: 1.5px solid var(--accent-cyan);
    box-shadow: var(--glow-cyan);
}
.recommended-tier::after {
    content: "";
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-violet));
    z-index: -1;
    border-radius: 18px;
    opacity: 0.15;
}

.recommended-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(to right, var(--accent-cyan), var(--accent-violet));
    color: var(--text-bright);
    font-size: 0.58rem;
    font-weight: 900;
    letter-spacing: 0.8px;
    padding: 4px 14px;
    border-radius: 20px;
    box-shadow: 0 3px 10px rgba(0, 240, 255, 0.3);
}

/* Single Tier Early Bird layout structures */
.early-bird-header-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 30px;
    margin-bottom: 30px;
}

.tier-label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    display: block;
    margin-bottom: 12px;
}

.tier-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 15px;
}
.price-tag-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-bright);
    line-height: 1;
}

.tier-tagline {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--text-primary);
}

.tier-header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.benefit-highlight-box {
    background: rgba(0, 255, 135, 0.04);
    border: 1px solid rgba(0, 255, 135, 0.18);
    box-shadow: var(--glow-green);
    border-radius: 12px;
    padding: 16px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
}
.highlight-val {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent-green);
}
.highlight-lbl {
    font-size: 0.6rem;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 2px;
}

.early-bird-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
    margin-bottom: 40px;
}

.tier-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.tier-benefits li {
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tier-benefits li span {
    font-weight: 700;
    color: var(--accent-green);
}

.purchase-action-container {
    background: rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
}
.purchase-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}
.btn-purchase-earlybird {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-weight: 800;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    box-shadow: var(--glow-cyan);
    transition: all 0.3s;
}
.btn-purchase-earlybird:hover {
    box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
    transform: translateY(-1px);
}

/* ==========================================================================
   SUPPORT FAQS ACCORDION
   ========================================================================== */
.sales-faqs {
    padding: 90px 20px;
    background: #040508;
    border-top: 1px solid var(--border-color);
}

.faqs-accordion-container {
    max-width: 720px;
    margin: 40px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.accordion-item {
    background: var(--bg-panel);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
}

.accordion-trigger {
    width: 100%;
    background: transparent;
    border: none;
    padding: 18px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-bright);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    cursor: pointer;
    outline: none;
}

.chevron-arrow {
    font-size: 0.6rem;
    color: var(--text-muted);
    transition: transform 0.3s;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    background: rgba(0, 0, 0, 0.12);
}

.accordion-content p {
    padding: 0 24px 20px;
    font-size: 0.78rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.accordion-item.active {
    border-color: rgba(255,255,255,0.1);
}
.accordion-item.active .chevron-arrow {
    transform: rotate(180deg);
    color: var(--accent-cyan);
}
.accordion-item.active .accordion-content {
    max-height: 250px; /* safety ceiling for disclaimer text */
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.sales-footer {
    border-top: 1px solid var(--border-color);
    background: #030406;
    padding: 50px 20px;
    text-align: center;
}

.footer-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.disclaimer {
    font-size: 0.62rem;
    line-height: 1.6;
    color: var(--text-muted);
}
.copyright {
    font-size: 0.68rem;
    color: var(--text-muted);
}

.global-toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(10, 12, 18, 0.95);
    border: 1px solid var(--border-color-glow);
    box-shadow: var(--glow-cyan);
    color: var(--text-bright);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    z-index: 2000;
    display: flex;
    align-items: center;
    gap: 8px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.global-toast.show { transform: translateY(0); opacity: 1; }

.hidden { display: none !important; }

/* ==========================================================================
   BACKGROUND WAVES CANVAS
   ========================================================================== */
#bg-waves {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    pointer-events: none;
    background-color: var(--bg-dark);
}

/* ==========================================================================
   MEMBER PORTAL
   ========================================================================== */
.member-portal {
    padding: 120px 20px;
    max-width: 1000px;
    margin: 0 auto;
    min-height: 80vh;
}

.portal-control-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
    gap: 20px;
}

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

.portal-badge {
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--accent-cyan);
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 3px 8px;
    border-radius: 4px;
}

.portal-tabs {
    display: flex;
    gap: 10px;
}

.portal-tab-btn {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.3s;
    outline: none;
}

.portal-tab-btn.active {
    background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--accent-violet) 100%);
    border-color: transparent;
    color: var(--text-bright);
    box-shadow: var(--glow-cyan);
}

.portal-tab-btn:hover:not(.active) {
    color: var(--text-bright);
    border-color: var(--text-muted);
    background: rgba(255, 255, 255, 0.02);
}

.portal-header-signout {
    font-size: 0.78rem;
    padding: 8px 18px;
}

.portal-container {
    width: 100%;
}

.portal-panel {
    transition: opacity 0.3s ease;
}

.journal-container, .profile-container {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: var(--panel-shadow);
}

/* Profile Form styling */
.profile-form {
    width: 100%;
}

.profile-form .form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-bright);
    font-family: var(--font-primary);
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.3s;
}

.form-group input[readonly] {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-muted);
    cursor: not-allowed;
    border-color: rgba(255, 255, 255, 0.05);
}

.form-group input:focus:not([readonly]) {
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px rgba(208, 0, 255, 0.1);
}

.profile-logout-footer {
    margin-top: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
}

.profile-logout-footer p {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 15px;
}

.logout-session-btn {
    max-width: 280px;
    margin: 0 auto;
}

.journal-composer {
    margin-bottom: 40px;
}

#journal-input {
    width: 100%;
    min-height: 150px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 16px;
    color: var(--text-bright);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    resize: vertical;
    transition: border-color 0.3s;
    outline: none;
}

#journal-input:focus {
    border-color: var(--accent-violet);
    box-shadow: 0 0 10px rgba(208, 0, 255, 0.1);
}

.composer-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.journal-entries-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.journal-entry {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: transform 0.2s, background 0.2s;
}

.journal-entry:hover {
    background: rgba(255, 255, 255, 0.05);
}

.entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 8px;
}

.entry-date {
    font-size: 0.75rem;
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-weight: 600;
}

.btn-delete-entry {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    cursor: pointer;
    transition: color 0.2s;
}

.btn-delete-entry:hover {
    color: var(--accent-red);
}

.entry-content {
    font-size: 0.85rem;
    color: var(--text-primary);
    line-height: 1.6;
    white-space: pre-wrap;
}

.btn-signout {
    background: rgba(255, 0, 85, 0.1);
    border: 1px solid rgba(255, 0, 85, 0.3);
    color: var(--text-bright);
    padding: 8px 18px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-signout:hover {
    background: rgba(255, 0, 85, 0.2);
    border-color: var(--accent-red);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.3);
}

/* ==========================================================================
   ABOUT US SECTION
   ========================================================================== */
.sales-about {
    padding: 90px 20px;
    max-width: 1100px;
    margin: 0 auto;
    border-top: 1px solid var(--border-color);
}

.about-container {
    width: 100%;
}

.align-left {
    text-align: left !important;
    margin-left: 0 !important;
    max-width: 800px !important;
}

.about-intro {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin-top: 20px;
}

.about-highlights-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.about-highlight-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 24px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-highlight-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.highlight-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.highlight-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.about-segment-group {
    margin-bottom: 50px;
    border-top: 1px solid var(--border-color);
    padding-top: 45px;
}

.about-segment h3 {
    font-family: var(--font-display);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    margin-bottom: 24px;
}

.about-segment p {
    font-size: 0.92rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 20px;
    max-width: 950px;
}

.about-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.about-service-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.about-service-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.service-icon {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--accent-cyan);
}

.about-service-card h4 {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-bright);
    margin-bottom: 10px;
}

.about-service-card p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

.about-cta-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    padding: 35px 45px;
    border-radius: 16px;
    margin-top: 60px;
}

.cta-banner-text h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 8px;
}

.cta-banner-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.get-in-touch-btn {
    font-size: 0.82rem;
    font-family: var(--font-display);
    font-weight: 700;
    padding: 12px 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: var(--text-bright);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s;
}

.get-in-touch-btn:hover {
    background: var(--text-bright);
    color: var(--bg-dark);
    border-color: var(--text-bright);
}

/* Hamburger Menu Button (Global) */
.mobile-nav-toggle {
    display: flex; /* Always visible on all screens */
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    outline: none;
}

.mobile-nav-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-bright);
    transition: all 0.30s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px;
}

/* Transform hamburger into 'X' when active */
.mobile-nav-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Global Vertical Navigation Side-Drawer */
.nav-links {
    display: flex; /* Always flex layout, animate via transforms */
    position: fixed;
    top: 70px;
    left: 0;
    width: 320px; /* Highly professional sidebar width on desktop */
    height: calc(100vh - 70px); /* Full height below the sticky header */
    background: rgba(5, 6, 9, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    border-right: 1.5px solid rgba(0, 240, 255, 0.2); /* Neon glowing right border */
    box-shadow: 15px 0 45px rgba(0, 0, 0, 0.8);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 30px;
    gap: 15px;
    z-index: 1000;
    overflow-y: auto;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease;
    transform: translateX(-100%); /* Hidden off-screen to the left by default */
    opacity: 0;
    pointer-events: none; /* Ignore click events when closed */
}

.nav-links.active {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto; /* Enable interaction when open */
}

.nav-links a {
    font-size: 0.88rem; /* Smaller, elegant lettering globally */
    width: 100%;
    text-align: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--text-primary);
    transition: color 0.3s, border-color 0.3s;
}

.nav-links a:hover {
    color: var(--text-bright);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.nav-links a.active {
    color: var(--accent-cyan);
    font-weight: 700;
    border-bottom-color: rgba(0, 240, 255, 0.4);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.25);
}

.nav-links a::after {
    display: none; /* Disable horizontal desktop underline helper */
}

.mobile-only-nav-actions {
    display: none; /* Hidden on desktop, actions remain on top-right navbar */
}

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

.brand {
    margin-right: auto;
    margin-left: 15px; /* Give some breathing room from the hamburger trigger */
}

/* ==========================================================================
   RESPONSIVENESS AND COLLAPSIBLE MOBILE LAYOUTS
   ========================================================================== */
@media (max-width: 1024px) {
    .brand {
        margin-left: 10px;
    }

    .nav-links {
        width: 55vw; /* Left to middle (55% width) on mobile viewports */
        max-width: 290px;
        padding: 30px 20px;
    }

    .nav-actions {
        display: none !important; /* Hide desktop top navigation actions on mobile */
    }

    .mobile-only-nav-actions {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        max-width: 250px;
        margin-top: 15px;
    }

    .mobile-only-nav-actions .btn-purchase-nav,
    .mobile-only-nav-actions .btn-signout {
        font-size: 0.75rem;
        padding: 10px 16px;
    }

    .btn-block {
        width: 100%;
        justify-content: center;
        text-align: center;
        display: flex;
        align-items: center;
    }

    .features-grid { 
        grid-template-columns: repeat(2, 1fr); 
    }
}

@media (max-width: 768px) {
    .features-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; gap: 10px; }
    .hero-highlights { grid-template-columns: 1fr; gap: 15px; }
    
    .early-bird-header-grid { grid-template-columns: 1fr; text-align: center; }
    .tier-header-right { justify-content: center; }
    .early-bird-benefits-grid { grid-template-columns: 1fr; gap: 12px; }
    
    .sales-hero { padding-top: 100px; }

    .about-highlights-grid { grid-template-columns: 1fr; }
    .about-services-grid { grid-template-columns: 1fr; }
    .about-cta-banner { flex-direction: column; text-align: center; gap: 20px; padding: 25px; }

    /* Privacy Policy Mobile Layout Adjustments */
    .privacy-page {
        margin: 95px 15px 40px !important;
        padding: 24px !important;
        border-radius: 12px !important;
    }
    .privacy-title {
        font-size: 1.65rem !important;
    }
}

/* ==========================================================================
   DASHBOARD STATS & JOURNAL HISTORY CARDS
   ========================================================================== */
.dashboard-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.dash-stat-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: var(--panel-shadow);
    transition: all 0.3s ease;
}

.dash-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 240, 255, 0.2);
    box-shadow: var(--glow-cyan);
}

.dash-stat-card .stat-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-stat-card .stat-info {
    display: flex;
    flex-direction: column;
}

.dash-stat-card .stat-lbl {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.dash-stat-card .stat-val {
    font-size: 1.25rem;
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--text-bright);
}

.dashboard-history-section {
    margin-top: 20px;
}

.dashboard-entries-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.dashboard-entry-card {
    background: var(--bg-panel);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--panel-shadow);
    transition: all 0.3s ease;
}

.dashboard-entry-card:hover {
    border-color: rgba(208, 0, 255, 0.2);
    box-shadow: 0 0 15px rgba(208, 0, 255, 0.1);
}

.dash-entry-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.dash-entry-date {
    font-size: 0.78rem;
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-weight: 600;
}

.dash-entry-content {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-wrap;
}

/* ==========================================================================
   MODERN AUTH MODAL OVERLAY STYLES
   ========================================================================== */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 4, 6, 0.75);
    backdrop-filter: blur(8px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.auth-modal-card {
    background: rgba(13, 17, 23, 0.9);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 240, 255, 0.15);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    position: relative;
    animation: authModalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authModalFadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.auth-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    font-size: 1.8rem;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s;
    outline: none;
}

.auth-modal-close:hover {
    color: var(--accent-red);
}

.auth-modal-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-bright);
    margin-bottom: 8px;
    text-align: center;
}

.auth-modal-subtitle {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    text-align: center;
}

.btn-google-auth {
    width: 100%;
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-bright);
    padding: 12px;
    border-radius: 8px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}

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

.auth-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

.auth-divider span {
    padding: 0 10px;
}

.auth-form-group {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.auth-form-group label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.auth-form-group input {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    color: var(--text-bright);
    padding: 12px;
    border-radius: 8px;
    font-size: 0.88rem;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-form-group input:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-auth-submit {
    margin-top: 10px;
    padding: 12px;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: var(--font-display);
    cursor: pointer;
}

.auth-toggle-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 20px;
}

.auth-toggle-text a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: text-shadow 0.2s;
}

.auth-toggle-text a:hover {
    text-shadow: 0 0 8px var(--accent-cyan);
}

