/*
  TechR Innovations - "Dark Future" Design System (v10.0)
  Native CSS Variables for Zero-Compile Theming
*/

:root {
    /* Core Palette - Deep Space & Neon */
    --bg-primary: #050507;
    --bg-secondary: #0a0a0c;
    --bg-tertiary: #111114;
    --bg-core: #050507;
    --bg-glass: rgba(20, 20, 25, 0.75);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.05);

    --text-primary: #ffffff;
    --text-secondary: #86868b;
    --text-accent: #2997ff;
    --accent: #2997ff;
    --danger: #ff453a;
    --success: #34c759;

    /* Division Colors */
    --color-techack: #ffffff;
    --color-techbox: #ff9f0a;
    --color-rithim: #ff375f;
    --color-studytech: #5e5ce6;

    /* Spacing */
    --container-max: 1200px;
    --header-height: 80px;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Space Grotesk', sans-serif;

    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
}

/* Background Effects */
.bg-noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.bg-glow {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    background: radial-gradient(ellipse 80% 50% at 50% 0%, rgba(41, 151, 255, 0.1), transparent);
}

/* --- TYPOGRAPHY (Editorial) --- */
h1,
h2,
h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: -0.03em;
}

h1 {
    font-size: 5rem;
    line-height: 1.05;
}

h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 70ch;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* --- LAYOUT UTILITIES --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.fullscreen-section {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* --- REVEAL ANIMATIONS --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- COMPONENTS --- */

/* Fixed Header */
.header-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.glass-panel {
    background: rgba(5, 5, 7, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.35rem;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.logo i {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

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

/* Desktop Navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.nav-link i {
    width: 16px;
    height: 16px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all var(--transition-normal);
}

.admin-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.cart-btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
}

.cart-btn i {
    width: 20px;
    height: 20px;
}

.cart-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
}

.mobile-menu-btn {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-menu-btn i {
    width: 24px;
    height: 24px;
}

/* Mobile Navigation */
.mobile-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    border-bottom: 1px solid var(--border-subtle);
}

.mobile-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    color: var(--text-secondary);
    transition: all var(--transition-normal);
}

.mobile-nav a:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.mobile-nav.hidden {
    display: none;
}

/* 1. Legacy Header Support */
.nav-bar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.brand {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.brand i {
    width: 24px;
    height: 24px;
    color: var(--accent);
}

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

.nav-links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    transition: all var(--transition-normal);
}

.nav-links a:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* 2. Bento Grid Cards */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.bento-card {
    background: #111;
    /* Solid dark instead of glass for 'clean' feel */
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.bento-card:hover {
    transform: scale(1.02);
    background: #161616;
}

.bento-card i {
    margin-bottom: 1.5rem;
    display: block;
}

.bento-card h3 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* 3. Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1rem;
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: #1a7fe0;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(41, 151, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-success {
    background: var(--success);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    padding-bottom: 4rem;
}

.product-card {
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #1c1c1f;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
}

.product-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    height: 40px;
    overflow: hidden;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
}

.price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
}

/* Forms */
input,
textarea,
select {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    padding: 0.75rem;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    margin-bottom: 1rem;
}

input:focus,
textarea:focus {
    outline: none;
    border-color: var(--text-accent);
}

label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 0.5rem;
}

/* AI Generator */
.ai-console {
    font-family: 'Space Mono', monospace;
    background: #000;
    border: 1px solid var(--border-glass);
    padding: 1.5rem;
    border-radius: 8px;
}

.code-block {
    background: #111;
    padding: 1rem;
    border-radius: 6px;
    color: #4ade80;
    font-size: 0.8rem;
    overflow-x: auto;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-glass);
    margin-top: 4rem;
}

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

.footer-col h3 {
    font-family: var(--font-heading);
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.footer-col a {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Mobile Tweaks */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .header-actions .admin-link {
        display: none;
    }
}

/* Loading */
.loader {
    text-align: center;
    padding: 4rem;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--text-accent);
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Techack Special Layout */
.techack-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
}

.techack-hero-content h1 {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 1rem;
    color: var(--color-techack);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.techack-hero-content .badge {
    display: inline-block;
    background: rgba(16, 185, 129, 0.1);
    color: var(--color-techack);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-weight: bold;
    margin-bottom: 1.5rem;
    border: 1px solid var(--color-techack);
}

.techack-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--color-techack);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.1);
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1), transparent);
}

.techack-visual img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.techack-visual:hover img {
    transform: scale(1.05);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.tech-feature {
    padding: 2rem;
    background: rgba(16, 185, 129, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tech-feature:hover {
    background: rgba(16, 185, 129, 0.08);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.tech-feature i {
    color: var(--color-techack);
    margin-bottom: 1rem;
}

.tech-specs-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
    font-family: 'Space Grotesk', monospace;
}

.tech-specs-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-glass);
}

.tech-specs-table td:first-child {
    color: var(--text-secondary);
    width: 40%;
}

.tech-specs-table td:last-child {
    text-align: right;
    color: var(--color-techack);
    font-weight: bold;
}

/* Mobile responsive for Techack */
@media (max-width: 768px) {
    .techack-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .techack-hero-content h1 {
        font-size: 3rem;
    }
}

/* ============================================
   ENHANCED COMPONENTS - v10.0 Additions
   ============================================ */

/* Cards - Modern Glass Design */
.card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    transition: all var(--transition-normal);
}

.card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-md);
}

.card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: rgba(41, 151, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.card-icon i {
    width: 28px;
    height: 28px;
    color: var(--accent);
}

/* Card & Division Logo Images */
.card-logo {
    margin-bottom: 1.5rem;
}

.card-logo img {
    max-width: 120px;
    max-height: 56px;
    object-fit: contain;
}

.division-logo {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.about-division-logo {
    max-width: 100px;
    max-height: 40px;
    object-fit: contain;
}

/* 3-Column Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 900px) {
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Product Card - Enhanced */
.product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-slow);
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-lg);
}

.product-card .product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--bg-tertiary);
    border-bottom: 1px solid var(--border-glass);
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.product-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-glass);
}

/* Alerts */
.alert-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.alert-box i {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
}

.alert-error {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.3);
    color: var(--danger);
}

.alert-success {
    background: rgba(52, 199, 89, 0.1);
    border: 1px solid rgba(52, 199, 89, 0.3);
    color: var(--success);
}

.alert-info {
    background: rgba(41, 151, 255, 0.1);
    border: 1px solid rgba(41, 151, 255, 0.3);
    color: var(--accent);
}

/* Checkout Container */
.checkout-container {
    max-width: 700px;
    margin: 0 auto;
}

.checkout-container h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
}

/* Cart Item Styling */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-subtle);
}

.cart-item:last-child {
    border-bottom: none;
}

.cart-item-info {
    flex: 1;
}

.cart-item-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.remove-btn {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all var(--transition-fast);
}

.remove-btn:hover {
    background: rgba(255, 69, 58, 0.1);
}

/* Debug Console */
.debug-log {
    background: #000;
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.8rem;
    color: var(--color-techack);
    max-height: 200px;
    overflow-y: auto;
    white-space: pre-wrap;
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--header-height) + 4rem);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fullscreen-section {
    padding-top: var(--header-height);
}

/* Division Pages */
.division-hero {
    padding-top: calc(var(--header-height) + 3rem);
    padding-bottom: 4rem;
}

.division-header {
    text-align: center;
    margin-bottom: 4rem;
}

.division-header .badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.division-header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.division-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Techack Division */
.badge-techack {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-techack);
    border: 1px solid var(--color-techack);
}

/* TechBox Division */
.badge-techbox {
    background: rgba(255, 159, 10, 0.1);
    color: var(--color-techbox);
    border: 1px solid var(--color-techbox);
}

/* Rithim Division */
.badge-rithim {
    background: rgba(255, 55, 95, 0.1);
    color: var(--color-rithim);
    border: 1px solid var(--color-rithim);
}

/* StudyTech Division */
.badge-studytech {
    background: rgba(94, 92, 230, 0.1);
    color: var(--color-studytech);
    border: 1px solid var(--color-studytech);
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.12);
}

.feature-card i {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Admin/Login Form */
.auth-container {
    max-width: 400px;
    margin: 0 auto;
    padding-top: calc(var(--header-height) + 4rem);
}

.auth-form {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
}

.auth-form h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-form p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: white;
    font-size: 1rem;
    transition: all var(--transition-normal);
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.15);
}

/* Pricing Section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.pricing-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all var(--transition-slow);
    position: relative;
}

.pricing-card.featured {
    border-color: var(--accent);
    transform: scale(1.02);
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 1rem;
    border-radius: 100px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin: 1rem 0;
}

.pricing-card .price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.pricing-features li i {
    width: 18px;
    height: 18px;
    color: var(--success);
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

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

.stat-value {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* CTA Section */
.cta-section {
    text-align: center;
    padding: 6rem 2rem;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.1) 0%, transparent 50%);
    border-radius: 24px;
    margin: 4rem 0;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto 2rem;
}

/* Mobile Menu Toggle */
@media (max-width: 900px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    h1 {
        font-size: 3rem;
    }

    h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 2rem;
    }

    .fullscreen-section {
        min-height: auto;
        padding: calc(var(--header-height) + 2rem) 0 4rem;
    }
}

/* Scroll Margin for Anchor Links */
[id] {
    scroll-margin-top: var(--header-height);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Tab Components */
.tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-glass);
    padding-bottom: 0.5rem;
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    padding: 0.75rem 1.25rem;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    transition: all var(--transition-normal);
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: var(--accent);
    background: rgba(41, 151, 255, 0.1);
}

/* Category Pills */
.category-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.pill {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.875rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.pill:hover,
.pill.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* Testimonials */
.testimonial-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
}

.testimonial-text {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--accent);
}

.testimonial-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.testimonial-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Success Page */
.success-container {
    text-align: center;
    padding: calc(var(--header-height) + 4rem) 2rem 4rem;
    max-width: 500px;
    margin: 0 auto;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(52, 199, 89, 0.1);
    border: 2px solid var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.success-icon i {
    width: 40px;
    height: 40px;
    color: var(--success);
}

/* Checkout Inquiry Form Styling */
.checkout-order-table {
    width: 100%;
    border-collapse: collapse;
}

.checkout-order-table thead th {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid var(--border-glass);
    font-weight: 500;
}

.checkout-order-table tbody td {
    padding: 0.75rem 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.checkout-order-table tbody tr:last-child td {
    border-bottom: none;
}

.checkout-table-wrapper {
    overflow-x: auto;
    margin: 0 -1.5rem;
    padding: 0 1.5rem;
}

.checkout-total-row {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 2px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.checkout-trust-card {
    background: rgba(41, 151, 255, 0.04);
    border: 1px solid rgba(41, 151, 255, 0.12);
    padding: 1rem 1.5rem;
}

.checkout-inquiry-card {
    border: 1px solid rgba(41, 151, 255, 0.15);
    background: linear-gradient(180deg, rgba(41, 151, 255, 0.03) 0%, transparent 100%);
}

.checkout-inquiry-form .inquiry-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.checkout-inquiry-form .inquiry-field {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.checkout-inquiry-form .inquiry-field label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.checkout-inquiry-form input,
.checkout-inquiry-form textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.85rem 1rem;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    outline: none;
}

.checkout-inquiry-form input:hover,
.checkout-inquiry-form textarea:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.checkout-inquiry-form input:focus,
.checkout-inquiry-form textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(41, 151, 255, 0.15);
}

.checkout-inquiry-form input::placeholder,
.checkout-inquiry-form textarea::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.checkout-inquiry-form textarea {
    resize: vertical;
    min-height: 80px;
}

.checkout-submit-btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.checkout-email-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--accent);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

.checkout-email-link:hover {
    opacity: 0.8;
}

/* Email Preview / Copy-Paste Section */
.email-preview-section {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    overflow: hidden;
}

.email-preview-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid var(--border-glass);
}

.email-preview-content {
    padding: 1rem;
    font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--text-primary);
    white-space: pre-wrap;
    word-break: break-word;
    user-select: all;
    max-height: 300px;
    overflow-y: auto;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(41, 151, 255, 0.1);
    border: 1px solid rgba(41, 151, 255, 0.2);
    color: var(--accent);
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all var(--transition-fast);
}

.copy-btn:hover {
    background: rgba(41, 151, 255, 0.2);
    border-color: rgba(41, 151, 255, 0.35);
}

.copy-all-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

@media (max-width: 600px) {
    .checkout-inquiry-form .inquiry-form-grid {
        grid-template-columns: 1fr;
    }

    .checkout-order-table thead th:nth-child(3),
    .checkout-order-table tbody td:nth-child(3) {
        display: none;
    }
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 8px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Toast Notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* ============================================
   ADMIN DASHBOARD STYLES
   ============================================ */

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.admin-stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
}

.admin-stat-value {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent);
}

.admin-stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.admin-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.admin-product-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: all var(--transition-normal);
    position: relative;
}

.admin-product-card:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-product-img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--bg-tertiary);
}

.admin-product-info {
    padding: 1.25rem;
}

.admin-product-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.admin-product-price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent);
    margin-top: 0.5rem;
}

.admin-product-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0 1.25rem 1.25rem;
}

/* ============================================
   MODAL STYLES
   ============================================ */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    width: 100%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* ============================================
   PRODUCT DETAIL STYLES
   ============================================ */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-detail-gallery {
    position: sticky;
    top: calc(var(--header-height) + 2rem);
}

.product-detail-main-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-tertiary);
}

.product-detail-main-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    display: block;
    transition: opacity var(--transition-normal);
}

.product-detail-thumbnails {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.product-thumb {
    flex-shrink: 0;
    width: 72px;
    height: 72px;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--border-glass);
    cursor: pointer;
    background: var(--bg-tertiary);
    padding: 0;
    transition: border-color var(--transition-fast);
}

.product-thumb:hover {
    border-color: var(--text-secondary);
}

.product-thumb.active {
    border-color: var(--accent);
}

.product-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.product-detail-image {
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
}

.product-detail-image img {
    width: 100%;
    height: auto;
    max-height: 450px;
    object-fit: cover;
    display: block;
}

.product-detail-info {
    padding-top: 1rem;
}

.product-detail-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.product-detail-breadcrumb a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.product-detail-breadcrumb a:hover {
    color: var(--accent);
}

.product-detail-breadcrumb span {
    color: var(--text-primary);
}

.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-detail-rating .stars {
    display: flex;
    gap: 2px;
}

.product-detail-rating .rating-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-detail-colors {
    margin-bottom: 1.5rem;
}

.product-detail-colors label {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.color-options {
    display: flex;
    gap: 0.5rem;
}

.color-swatch {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: all var(--transition-fast);
    outline: none;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15);
}

.color-swatch:hover {
    transform: scale(1.1);
}

.color-swatch.active {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px var(--bg-primary), 0 0 0 4px var(--accent);
}

.product-detail-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

.detail-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .product-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .product-detail-main-image img {
        max-height: 320px;
    }

    .product-detail-gallery {
        position: static;
    }

    .product-detail-image img {
        max-height: 280px;
    }

    .admin-stats {
        grid-template-columns: 1fr;
    }

    .dashboard-header {
        flex-direction: column;
        text-align: center;
    }

    .about-founder-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-founder-photo {
        margin: 0 auto;
    }

    .about-founder-links {
        justify-content: center;
    }

    .about-divisions-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   ENHANCED CHECKOUT STYLES
   ============================================ */

.checkout-steps {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.checkout-step {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.checkout-step.active {
    color: var(--accent);
}

.checkout-step-number {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 600;
}

.checkout-step.active .checkout-step-number {
    background: var(--accent);
    color: white;
}
/* === Checkout Enhancements === */
.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-glass);
    gap: 1rem;
}

.cart-item:last-child {
    border-bottom: none;
}

.qty-controls {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-tertiary);
    border-radius: 8px;
    padding: 0.25rem;
}

.qty-controls button {
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: background var(--transition-fast);
}

.qty-controls button:hover {
    background: var(--accent);
}

.qty-controls span {
    min-width: 2rem;
    text-align: center;
    font-weight: 600;
}

.cart-clear-btn {
    background: transparent;
    border: 1px solid var(--danger);
    color: var(--danger);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-clear-btn:hover {
    background: var(--danger);
    color: white;
}

.cart-item-total {
    font-weight: 600;
    color: var(--accent);
    font-size: 0.95rem;
}

/* === About Page === */
.about-hero {
    text-align: center;
    padding: 2rem 0 3rem;
}

.about-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.about-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 3rem;
}

.about-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.about-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.team-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(20px);
}

.team-card .team-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--bg-tertiary);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team-card h3 {
    margin-bottom: 0.25rem;
}

.team-card .team-role {
    color: var(--accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.team-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* === Admin Enhancements === */
.admin-search-bar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-search-bar input {
    flex: 1;
    min-width: 200px;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.admin-search-bar select {
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.admin-settings-section {
    margin-top: 3rem;
}

.admin-settings-section h2 {
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.settings-form {
    display: grid;
    gap: 1rem;
    max-width: 600px;
}

.settings-form .form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.settings-form .form-group input,
.settings-form .form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.admin-section-divider {
    border: none;
    border-top: 1px solid var(--border-glass);
    margin: 3rem 0;
}

.coming-soon-badge {
    display: inline-block;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.image-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 8px;
    margin-top: 0.5rem;
    object-fit: contain;
    background: var(--bg-tertiary);
}

.admin-product-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

/* === About Page - Founder Section === */
.about-founder-section {
    margin-bottom: 3rem;
}

.about-founder-card {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2.5rem;
    align-items: center;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.about-founder-photo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--accent);
    box-shadow: 0 0 30px rgba(41, 151, 255, 0.2);
}

.about-founder-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-founder-info h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.about-founder-tagline {
    color: var(--accent);
    font-size: 1.05rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.about-founder-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.about-founder-links {
    display: flex;
    gap: 0.75rem;
}

.founder-social-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.founder-social-link:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

/* === About Page - Divisions Grid === */
.about-divisions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.about-divisions-grid h2 {
    font-size: 1.8rem;
    color: var(--accent);
}

.about-division-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-left: 3px solid;
    border-radius: 12px;
    padding: 1.5rem;
    backdrop-filter: blur(20px);
}

.about-division-card h3 {
    margin: 0.75rem 0 0.5rem;
    font-size: 1.1rem;
}

.about-division-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* === Image Upload Area === */
.image-upload-area {
    border: 1px dashed var(--border-glass);
    border-radius: 12px;
    padding: 1rem;
    background: var(--bg-tertiary);
    transition: border-color var(--transition-fast), background var(--transition-fast);
}

.image-upload-area.drag-over {
    border-color: var(--accent);
    background: rgba(41, 151, 255, 0.08);
}

/* ============================================
   UPGRADED ADMIN DASHBOARD STYLES
   ============================================ */

/* Admin Tab Navigation */
.admin-tabs {
    display: flex;
    gap: 0.25rem;
    background: var(--bg-tertiary);
    padding: 0.35rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.65rem 1.25rem;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-body);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.admin-tab:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.admin-tab.active {
    background: var(--accent);
    color: white;
    font-weight: 500;
}

/* Welcome Banner */
.admin-welcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-welcome h1 {
    font-size: 2rem;
    margin: 0;
}

.admin-welcome .session-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Quick Actions */
.admin-quick-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    padding: 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
}

/* Enhanced Stats */
.admin-stats-enhanced {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stat-card-enhanced {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.admin-stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.admin-stat-icon.blue { background: rgba(41, 151, 255, 0.15); color: var(--accent); }
.admin-stat-icon.green { background: rgba(52, 199, 89, 0.15); color: var(--success); }
.admin-stat-icon.orange { background: rgba(255, 159, 10, 0.15); color: var(--color-techbox); }
.admin-stat-icon.purple { background: rgba(94, 92, 230, 0.15); color: var(--color-studytech); }
.admin-stat-icon.red { background: rgba(255, 69, 90, 0.15); color: var(--danger); }

.admin-stat-details .admin-stat-value {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

.admin-stat-details .admin-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Product Controls Bar */
.admin-controls-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.admin-controls-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.admin-controls-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* View Toggle */
.view-toggle-btn {
    padding: 0.5rem;
    border-radius: 8px;
    border: 1px solid var(--border-glass);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.view-toggle-btn.active, .view-toggle-btn:hover {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

/* List View */
.admin-products-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.admin-product-list-item {
    display: grid;
    grid-template-columns: 40px 60px 1fr 100px 80px 100px auto;
    gap: 1rem;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    transition: all var(--transition-fast);
}

.admin-product-list-item:hover {
    border-color: rgba(255, 255, 255, 0.12);
}

.admin-product-list-item img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    object-fit: cover;
}

/* Bulk Selection Checkbox */
.admin-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid var(--border-glass);
    background: var(--bg-tertiary);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    flex-shrink: 0;
}

.admin-checkbox:checked {
    background: var(--accent);
    border-color: var(--accent);
}

.admin-checkbox:checked::after {
    content: '\2713';
    color: white;
    font-size: 12px;
    font-weight: bold;
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.status-active { background: rgba(52, 199, 89, 0.15); color: var(--success); }
.status-draft { background: rgba(255, 159, 10, 0.15); color: var(--color-techbox); }
.status-archived { background: rgba(134, 134, 139, 0.15); color: var(--text-secondary); }

/* Notification Bell */
.notification-bell {
    position: relative;
    background: none;
    border: 1px solid var(--border-glass);
    color: var(--text-primary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all var(--transition-fast);
}

.notification-bell:hover {
    background: rgba(255, 255, 255, 0.05);
}

.notification-count {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notification-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    width: 320px;
    max-height: 400px;
    overflow-y: auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    padding: 0.5rem;
}

.notification-item {
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.notification-item:last-child {
    border-bottom: none;
}

.notification-item .notif-time {
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
    margin-top: 0.25rem;
}

/* Activity Log */
.activity-log {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
}

.activity-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    flex-shrink: 0;
}

.activity-text {
    flex: 1;
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Analytics Charts */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.analytics-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 1.5rem;
}

.analytics-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.chart-bar-container {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.chart-bar-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.chart-bar-label {
    width: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: right;
    flex-shrink: 0;
}

.chart-bar-track {
    flex: 1;
    height: 24px;
    background: var(--bg-tertiary);
    border-radius: 6px;
    overflow: hidden;
}

.chart-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
    display: flex;
    align-items: center;
    padding-left: 0.5rem;
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
}

/* Messages List */
.messages-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.message-card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
}

.message-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.message-sender {
    font-weight: 600;
    font-size: 0.95rem;
}

.message-date {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.message-email {
    font-size: 0.85rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.message-body {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Category Management */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
}

.category-item .cat-name {
    font-weight: 500;
    text-transform: capitalize;
}

.category-item .cat-count {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Shortcuts Reference */
.shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
}

.shortcut-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-glass);
    border-radius: 8px;
}

.shortcut-key {
    padding: 0.25rem 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--accent);
    white-space: nowrap;
}

.shortcut-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Product Notes Icon */
.product-note-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--color-techbox);
    padding: 0.15rem 0.4rem;
    background: rgba(255, 159, 10, 0.1);
    border-radius: 4px;
}

/* Filter Panel */
.filter-panel {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.filter-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.35rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--text-primary);
    font-size: 0.9rem;
}

/* Admin Light Theme Override */
.admin-theme-light {
    --bg-primary: #f5f5f7;
    --bg-secondary: #ffffff;
    --bg-tertiary: #e8e8ed;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --border-glass: rgba(0, 0, 0, 0.1);
    --text-primary: #1d1d1f;
    --text-secondary: #6e6e73;
}

/* Drag Handle */
.drag-handle {
    cursor: grab;
    color: var(--text-secondary);
    opacity: 0.5;
    transition: opacity var(--transition-fast);
}

.drag-handle:hover {
    opacity: 1;
}

/* Product actions enhanced */
.admin-product-actions-enhanced {
    display: flex;
    gap: 0.35rem;
    padding: 0 1.25rem 1.25rem;
    flex-wrap: wrap;
}

.admin-product-actions-enhanced .btn {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
}

/* Sort Select */
.sort-select {
    padding: 0.5rem 0.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.85rem;
    cursor: pointer;
}

/* Responsive adjustments for new admin */
@media (max-width: 768px) {
    .admin-stats-enhanced {
        grid-template-columns: 1fr 1fr;
    }

    .admin-product-list-item {
        grid-template-columns: 30px 40px 1fr auto;
        gap: 0.5rem;
    }

    .admin-product-list-item .list-category,
    .admin-product-list-item .list-status {
        display: none;
    }

    .admin-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
    }

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

    .filter-panel {
        grid-template-columns: 1fr;
    }

    .notification-dropdown {
        width: 280px;
        right: -1rem;
    }

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

/* AI Lab Styles */
.ai-lab-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ai-lab-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 992px) {
    .ai-lab-grid {
        grid-template-columns: 1fr;
    }
}

.ai-settings h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.ai-chat-container {
    height: 700px;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
    overflow: hidden;
}

.ai-chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ai-empty-state {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-align: center;
    padding: 2rem;
}

.ai-empty-state i {
    width: 64px;
    height: 64px;
    margin-bottom: 1.5rem;
    opacity: 0.3;
}

.ai-message {
    max-width: 85%;
    padding: 1.25rem;
    border-radius: 16px;
    animation: fadeInUp 0.3s ease-out;
}

.ai-message.user {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(41, 151, 255, 0.15), rgba(41, 151, 255, 0.05));
    border: 1px solid rgba(41, 151, 255, 0.3);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.ai-message.assistant {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
    border: 1px solid var(--border-glass);
    border-left: 4px solid var(--color-studytech);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.ai-message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

.ai-message.user .ai-message-header {
    color: var(--accent);
}

.ai-message.assistant .ai-message-header {
    color: var(--color-studytech);
}

.ai-message-body {
    line-height: 1.6;
    font-size: 0.95rem;
}

.ai-message-body code {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-family: monospace;
}

.ai-message-body pre {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 8px;
    overflow-x: auto;
    margin: 1rem 0;
}

.ai-chat-input-area {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.2);
    border-top: 1px solid var(--border-subtle);
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

#ai-input {
    flex: 1;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    color: white;
    resize: none;
    max-height: 200px;
    font-family: inherit;
    transition: var(--transition-fast);
}

#ai-input:focus {
    outline: none;
    border-color: var(--color-studytech);
    box-shadow: 0 0 0 2px rgba(94, 92, 230, 0.2);
}

/* ============================================
   TECHACK HACKER THEME
   ============================================ */

.techack-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #050508;
    font-family: 'Courier New', 'Lucida Console', 'Fira Code', monospace;
    color: #ffffff;
}

.techack-page * {
    font-family: 'Courier New', 'Lucida Console', monospace;
}

/* Professional accent color for secondary highlights */
.techack-page {
    --techack-green: #ffffff;
    --techack-green-soft: #e0e0e0;
    --techack-green-dim: rgba(255, 255, 255, 0.5);
    --techack-green-subtle: rgba(255, 255, 255, 0.08);
    --techack-green-faint: rgba(255, 255, 255, 0.03);
    --techack-bg-panel: rgba(8, 8, 12, 0.92);
    --techack-border: rgba(255, 255, 255, 0.15);
    --techack-border-hover: rgba(255, 255, 255, 0.45);
    --techack-text-body: rgba(255, 255, 255, 0.55);
}

/* Subtle vignette - professional, not distracting */
.techack-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
    background: radial-gradient(ellipse at center, transparent 50%, rgba(0, 0, 0, 0.5) 100%);
}

/* Subtle CRT flicker - toned down for professionalism */
.techack-page::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9;
    background: rgba(5, 5, 8, 0);
    animation: techack-crt-flicker 4s ease-in-out infinite;
    opacity: 0.015;
}

@keyframes techack-crt-flicker {
    0%, 100% { opacity: 0.01; }
    50% { opacity: 0.025; }
}

/* Subtle scanline overlay */
.techack-scanlines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.015) 2px,
        rgba(255, 255, 255, 0.015) 4px
    );
    animation: techack-scanline-move 12s linear infinite;
}

@keyframes techack-scanline-move {
    0% { background-position: 0 0; }
    100% { background-position: 0 100px; }
}

/* Matrix rain background - enhanced with canvas */
.techack-matrix-rain {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.techack-matrix-rain canvas {
    width: 100%;
    height: 100%;
}

/* Boot sequence overlay */
.techack-boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #050508;
    z-index: 100;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 3rem;
    transition: opacity 0.8s ease;
}

.techack-boot-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.techack-boot-text {
    font-family: 'Courier New', monospace;
    color: #e0e0e0;
    font-size: 0.8rem;
    line-height: 1.8;
    white-space: pre-wrap;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.3);
}

/* Terminal header block - refined */
.techack-terminal-header {
    margin-top: 2rem;
    border: 1px solid var(--techack-border);
    border-radius: 6px;
    overflow: hidden;
    background: var(--techack-bg-panel);
    box-shadow: 0 4px 40px rgba(255, 255, 255, 0.04), 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(10, 10, 15, 0.8);
    border-bottom: 1px solid var(--techack-border);
}

.terminal-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: inline-block;
}

.terminal-title {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    margin-left: auto;
    letter-spacing: 1px;
}

.terminal-body {
    padding: 2rem 2.5rem 2.5rem;
}

.terminal-line {
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    margin-bottom: 0.6rem;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.15);
}

.terminal-prompt {
    color: var(--techack-green-soft);
    margin-right: 0.5rem;
    font-weight: bold;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.terminal-cursor {
    animation: techack-blink 0.7s step-end infinite;
    color: var(--techack-green-soft);
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* Typing animation for terminal output lines */
.techack-typing {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #ffffff;
    animation: techack-typing 1.5s steps(40) 1s forwards, techack-blink-border 0.7s step-end infinite;
    width: 0;
}

@keyframes techack-typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes techack-blink-border {
    0%, 100% { border-color: #ffffff; }
    50% { border-color: transparent; }
}

/* Access log decoration - cleaner */
.techack-access-log {
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.2);
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1rem;
    line-height: 2;
}

.techack-access-log span {
    display: block;
}

@keyframes techack-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

/* Glitch text effect - refined */
.techack-glitch-text {
    font-family: 'Courier New', monospace;
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 14px;
    position: relative;
    text-shadow:
        0 0 8px rgba(255, 255, 255, 0.6),
        0 0 30px rgba(255, 255, 255, 0.2),
        0 0 60px rgba(255, 255, 255, 0.08);
    animation: techack-glow 4s ease-in-out infinite alternate;
}

.techack-glitch-text::before,
.techack-glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.techack-glitch-text::before {
    color: rgba(0, 255, 255, 0.4);
    animation: techack-glitch-1 5s infinite linear alternate-reverse;
    clip-path: inset(0 0 70% 0);
    opacity: 0.5;
}

.techack-glitch-text::after {
    color: rgba(255, 0, 255, 0.3);
    animation: techack-glitch-2 4s infinite linear alternate-reverse;
    clip-path: inset(70% 0 0 0);
    opacity: 0.4;
}

@keyframes techack-glow {
    0% { text-shadow: 0 0 8px rgba(255, 255, 255, 0.4), 0 0 25px rgba(255, 255, 255, 0.15); }
    100% { text-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 0 40px rgba(255, 255, 255, 0.2), 0 0 80px rgba(255, 255, 255, 0.08); }
}

@keyframes techack-glitch-1 {
    0%, 85% { transform: translate(0); }
    87% { transform: translate(-1px, 1px); }
    90% { transform: translate(1px, -1px); }
    93% { transform: translate(-1px, -1px); }
    96% { transform: translate(1px, 1px); }
    100% { transform: translate(0); }
}

@keyframes techack-glitch-2 {
    0%, 80% { transform: translate(0); }
    82% { transform: translate(1px, -1px); }
    86% { transform: translate(-1px, 1px); }
    90% { transform: translate(1px, 1px); }
    94% { transform: translate(-1px, -1px); }
    100% { transform: translate(0); }
}

.techack-subtitle {
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    line-height: 1.8;
    max-width: 640px;
    margin-top: 1.2rem;
    text-shadow: 0 0 3px rgba(255, 255, 255, 0.1);
}

/* ASCII art divider - refined */
.techack-ascii-divider {
    font-family: 'Courier New', monospace;
    color: rgba(255, 255, 255, 0.12);
    font-size: 0.6rem;
    text-align: center;
    margin: 3rem 0;
    letter-spacing: 3px;
    overflow: hidden;
    white-space: nowrap;
}

/* Feature cards - refined hacker terminal style */
.techack-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 3rem 0;
}

.techack-feature-card {
    position: relative;
    padding: 2rem 1.75rem;
    background: var(--techack-bg-panel);
    border: 1px solid var(--techack-border);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.techack-feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--techack-green-soft);
    transition: height 0.4s ease;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.techack-feature-card:hover {
    border-color: var(--techack-border-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.06);
    background: rgba(12, 12, 18, 0.95);
}

.techack-feature-card:hover::before {
    height: 100%;
}

.techack-feature-icon {
    margin-bottom: 1.25rem;
}

.techack-feature-icon i {
    color: var(--techack-green-soft);
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

.techack-feature-card h3 {
    font-family: 'Courier New', monospace;
    color: #ffffff;
    font-size: 1rem;
    margin-bottom: 0.85rem;
    letter-spacing: 1px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.2);
}

.techack-feature-card p {
    color: var(--techack-text-body);
    font-size: 0.8rem;
    line-height: 1.7;
    font-family: 'Courier New', monospace;
}

.techack-feature-tag {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.25);
    margin-top: 1.25rem;
    letter-spacing: 2px;
    text-shadow: 0 0 2px rgba(255, 255, 255, 0.1);
}

/* Products section header - refined */
.techack-products-section {
    margin-top: 4rem;
}

.techack-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: 'Courier New', monospace;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.techack-section-header .terminal-prompt {
    font-size: 1.1rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

.techack-section-header h2 {
    color: var(--techack-green-soft);
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.15);
}

.techack-blink {
    color: var(--techack-green-soft);
    animation: techack-blink 0.7s step-end infinite;
    font-size: 1.2rem;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
}

/* Product cards in techack - polished terminal style */
.techack-page .product-card {
    background: var(--techack-bg-panel);
    border: 1px solid var(--techack-border);
    border-radius: 4px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

.techack-page .product-card::after {
    content: '[AVAILABLE]';
    position: absolute;
    top: 12px;
    right: 12px;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    color: var(--techack-green-soft);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 3px 8px;
    letter-spacing: 1px;
    z-index: 2;
    border-radius: 2px;
}

.techack-page .product-card:hover {
    border-color: var(--techack-border-hover);
    box-shadow: 0 8px 32px rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
}

.techack-page .product-card h3 {
    color: #ffffff;
    font-family: 'Courier New', monospace;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.2);
    letter-spacing: 1px;
}

.techack-page .product-card .product-desc {
    color: var(--techack-text-body);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.6;
}

.techack-page .product-card .price {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.3);
    font-family: 'Courier New', monospace;
    font-weight: bold;
    letter-spacing: 1px;
}

.techack-page .product-card .btn-secondary {
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--techack-green-soft);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    border-radius: 3px;
    text-transform: uppercase;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.techack-page .product-card .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--techack-green-soft);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.12);
}


/* Mobile responsive */
@media (max-width: 768px) {
    .techack-glitch-text {
        font-size: 2.2rem;
        letter-spacing: 6px;
    }

    .terminal-body {
        padding: 1.25rem;
    }

    .techack-features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .techack-boot-overlay {
        padding: 1.5rem;
    }

    .techack-boot-text {
        font-size: 0.65rem;
    }

    .techack-subtitle {
        font-size: 0.85rem;
    }

    .techack-feature-card {
        padding: 1.5rem;
    }
}


/* ═══════════════════════════════════════════════
   TECHBOX v2 — STEM WORKSHOP THEME
   ═══════════════════════════════════════════════ */

.techbox-workshop-v2 {
    min-height: 100vh;
    background:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 39px,
            rgba(255, 159, 10, 0.03) 39px,
            rgba(255, 159, 10, 0.03) 40px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 39px,
            rgba(255, 159, 10, 0.03) 39px,
            rgba(255, 159, 10, 0.03) 40px
        );
}

.workshop-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 2rem;
    background: rgba(255, 159, 10, 0.1);
    border-bottom: 2px solid rgba(255, 159, 10, 0.2);
    font-size: 0.8rem;
    color: var(--color-techbox);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.workshop-hero {
    text-align: center;
    padding: 2rem 0 2rem;
}

.workshop-hero-desc {
    max-width: 700px;
    margin: 1rem auto 0;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
}

.workbench-section {
    background: rgba(255, 159, 10, 0.05);
    border: 1px solid rgba(255, 159, 10, 0.15);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 2rem 0 3rem;
}

.workbench-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.workbench-header h2 {
    margin: 0;
    color: var(--color-techbox);
}

.workbench-tools {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}

.tool-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.25rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.3s ease;
}

.tool-item:hover {
    border-color: rgba(255, 159, 10, 0.3);
    transform: translateY(-2px);
}

.tool-item i {
    width: 24px;
    height: 24px;
}

.workshop-process {
    margin: 3rem 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}

.process-step {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    border-left: 3px solid rgba(255, 159, 10, 0.2);
    position: relative;
    transition: all 0.3s ease;
}

.process-step:hover {
    border-left-color: var(--color-techbox);
    background: rgba(255, 159, 10, 0.03);
}

.process-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 2.3rem;
    width: 11px;
    height: 11px;
    background: var(--color-techbox);
    border-radius: 50%;
    border: 2px solid var(--bg-primary);
}

.process-number {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: rgba(255, 159, 10, 0.2);
    line-height: 1;
    flex-shrink: 0;
    min-width: 48px;
}

.process-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.process-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.7;
    margin: 0;
}

.workshop-kits-header {
    margin-top: 3rem;
    margin-bottom: 0.5rem;
}

.workshop-kits-header p {
    color: var(--text-secondary);
    margin: 0.25rem 0 0;
}

.workshop-skills {
    margin-top: 3rem;
    padding: 2.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
}

.skills-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.skill-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: rgba(255, 159, 10, 0.08);
    border: 1px solid rgba(255, 159, 10, 0.2);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--color-techbox);
    font-weight: 500;
}

@media (max-width: 768px) {
    .workshop-top-bar {
        flex-direction: column;
        gap: 0.25rem;
        text-align: center;
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }

    .workbench-tools {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-step {
        padding: 1.25rem 1rem;
    }

    .workbench-section {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .workbench-tools {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ═══════════════════════════════════════════════
   STUDYTECH v2 — CLASSROOM THEME
   ═══════════════════════════════════════════════ */

.studytech-classroom-v2 {
    min-height: 100vh;
}

.classroom-banner-bar {
    text-align: center;
    padding: 0.6rem 1rem;
    background: rgba(94, 92, 230, 0.1);
    border-bottom: 2px solid rgba(94, 92, 230, 0.15);
    font-size: 0.85rem;
    color: var(--color-studytech);
    font-weight: 500;
}

.whiteboard {
    background: linear-gradient(135deg, #f5f5f7 0%, #e8e8ed 100%);
    border: 3px solid #c8c8cc;
    border-radius: 12px;
    padding: 3rem 2.5rem;
    box-shadow:
        0 4px 20px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    text-align: center;
    margin-bottom: 3rem;
}

.whiteboard-markers {
    position: absolute;
    bottom: -12px;
    right: 2rem;
    display: flex;
    gap: 6px;
}

.marker {
    width: 8px;
    height: 28px;
    border-radius: 2px 2px 4px 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.marker-red { background: #e74c3c; }
.marker-blue { background: #3498db; }
.marker-green { background: #27ae60; }
.marker-black { background: #2d3436; }

.whiteboard-inner {
    position: relative;
    z-index: 1;
}

.whiteboard-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0.5rem 0;
    font-family: 'Space Grotesk', sans-serif;
}

.whiteboard-subtitle {
    color: #555;
    font-size: 1.1rem;
    margin-top: 0.5rem;
}

.whiteboard .division-logo {
    filter: brightness(0.3);
}

.notebook-section {
    margin: 2rem 0 3rem;
}

.notebook-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.notebook-header h2 {
    margin: 0;
}

.notebook-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.notebook-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    position: relative;
    border-top: 3px solid var(--color-studytech);
    transition: all 0.3s ease;
}

.notebook-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(94, 92, 230, 0.08);
    border-color: rgba(94, 92, 230, 0.25);
    border-top-color: var(--color-studytech);
}

.notebook-card-number {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    font-size: 2.5rem;
    font-weight: 800;
    color: rgba(94, 92, 230, 0.08);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}

.notebook-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}

.notebook-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.classroom-bulletin {
    background: rgba(94, 92, 230, 0.06);
    border: 1px solid rgba(94, 92, 230, 0.12);
    border-radius: 16px;
    padding: 2rem 2.5rem;
    margin: 2rem 0;
    position: relative;
}

.bulletin-pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: var(--color-studytech);
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.classroom-bulletin h3 {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.classroom-bulletin p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin: 0;
}

.classroom-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.classroom-pricing-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.classroom-pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(94, 92, 230, 0.08);
}

.classroom-pricing-featured {
    border-color: var(--color-studytech);
    box-shadow: 0 0 0 1px var(--color-studytech);
}

.classroom-pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-studytech);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.classroom-pricing-tag {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.classroom-pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-studytech);
    margin-bottom: 1.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

.classroom-pricing-price span {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.classroom-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
    text-align: left;
}

.classroom-pricing-card ul li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-glass);
}

.classroom-pricing-card ul li:last-child {
    border-bottom: none;
}

@media (max-width: 768px) {
    .notebook-cards {
        grid-template-columns: 1fr;
    }

    .whiteboard-title {
        font-size: 2.2rem;
    }

    .whiteboard {
        padding: 2rem 1.25rem;
    }

    .classroom-pricing-grid {
        grid-template-columns: 1fr;
    }

    .classroom-bulletin {
        padding: 1.5rem;
    }
}


/* ═══════════════════════════════════════════════
   RITHIM v3 — Premium Clothing Brand Theme
   ═══════════════════════════════════════════════ */

/* ── Shared Utilities ── */
.rithim-v3 {
    min-height: 100vh;
    overflow-x: hidden;
    background: var(--bg-primary);
}

.rithim-section-label {
    display: inline-block;
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--color-rithim);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.rithim-signature {
    display: block;
    margin-top: 1.5rem;
    color: var(--color-rithim);
    font-weight: 600;
    font-size: 0.95rem;
    font-style: italic;
    letter-spacing: 0.02em;
}

/* ── Shared Buttons ── */
.rithim-btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.75rem;
    background: var(--color-rithim);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 0;
    text-decoration: none;
    border: 2px solid var(--color-rithim);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.rithim-btn-primary:hover {
    background: transparent;
    color: var(--color-rithim);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(255, 55, 95, 0.25);
}

.rithim-btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.75rem;
    background: transparent;
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.85rem;
    border-radius: 0;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.rithim-btn-ghost:hover {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.rithim-text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--color-rithim);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: all 0.25s ease;
    margin-top: 2rem;
}
.rithim-text-link:hover {
    letter-spacing: 0.14em;
    opacity: 0.8;
}

/* ── Hero — Full-bleed fashion landing ── */
.rithim-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 2rem 6rem;
    overflow: hidden;
    text-align: center;
}

.rithim-hero-orbs {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.rithim-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.08;
}
.rithim-orb-1 {
    width: 700px;
    height: 700px;
    background: var(--color-rithim);
    top: -200px;
    right: -150px;
    animation: rithimOrbFloat 12s ease-in-out infinite alternate;
}
.rithim-orb-2 {
    width: 500px;
    height: 500px;
    background: #ff8fab;
    bottom: -120px;
    left: -120px;
    animation: rithimOrbFloat 10s ease-in-out infinite alternate-reverse;
}
.rithim-orb-3 {
    width: 300px;
    height: 300px;
    background: var(--color-rithim);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.05;
    animation: rithimOrbFloat 8s ease-in-out infinite alternate;
}
@keyframes rithimOrbFloat {
    0% { transform: translate(0, 0); }
    100% { transform: translate(20px, -20px); }
}

.rithim-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
}

.rithim-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: var(--color-rithim);
    font-weight: 600;
    background: rgba(255, 55, 95, 0.06);
    border: 1px solid rgba(255, 55, 95, 0.15);
    border-radius: 0;
    padding: 0.4rem 1.25rem;
    margin-bottom: 2rem;
}

.rithim-hero-wordmark {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 0 1rem;
    line-height: 1;
}
.rithim-wordmark-main {
    font-size: clamp(5rem, 16vw, 12rem);
    font-weight: 700;
    color: #ffffff;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: lowercase;
    letter-spacing: -0.04em;
    line-height: 0.85;
    background: linear-gradient(180deg, #ffffff 40%, rgba(255, 55, 95, 0.6) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.rithim-hero-tagline {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-weight: 300;
    color: var(--text-secondary);
    font-style: italic;
    letter-spacing: 0.18em;
    margin-bottom: 1.5rem;
    font-family: 'Outfit', sans-serif;
}

.rithim-hero-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto 2.5rem;
}

.rithim-hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    justify-content: center;
}

.rithim-scroll-hint {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 1;
}
.rithim-scroll-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    opacity: 0.4;
}
.rithim-scroll-bar {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, var(--color-rithim), transparent);
    animation: rithimScrollPulse 1.8s ease-in-out infinite;
}
@keyframes rithimScrollPulse {
    0%, 100% { opacity: 0.3; transform: scaleY(1); }
    50% { opacity: 0.8; transform: scaleY(1.15); }
}

/* ── Marquee — Fashion brand ticker ── */
.rithim-marquee {
    overflow: hidden;
    border-top: 1px solid rgba(255, 55, 95, 0.1);
    border-bottom: 1px solid rgba(255, 55, 95, 0.1);
    padding: 1rem 0;
    background: rgba(255, 55, 95, 0.02);
    user-select: none;
}
.rithim-marquee-track {
    display: flex;
    align-items: center;
    gap: 2.5rem;
    width: max-content;
    animation: rithimMarquee 32s linear infinite;
}
.rithim-marquee-track:hover {
    animation-play-state: paused;
}
@keyframes rithimMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.rithim-marquee-word {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--text-secondary);
    white-space: nowrap;
    opacity: 0.7;
}
.rithim-marquee-dot {
    font-size: 0.45rem;
    color: var(--color-rithim);
    flex-shrink: 0;
    opacity: 0.5;
}

/* ── Editorial / Lookbook Section ── */
.rithim-editorial {
    padding: 8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rithim-editorial-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}
.rithim-editorial-text {
    max-width: 480px;
}
.rithim-editorial-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 700;
    line-height: 1.1;
    margin: 0.5rem 0 1.5rem;
    color: var(--text-primary);
    font-family: 'Space Grotesk', sans-serif;
}
.rithim-editorial-body {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.9;
}
.rithim-editorial-visual {
    position: relative;
}
.rithim-editorial-img-wrap {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: rgba(255, 55, 95, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
}
.rithim-editorial-img-wrap::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, var(--bg-primary), transparent);
    pointer-events: none;
}
.rithim-editorial-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.rithim-editorial-img-wrap:hover .rithim-editorial-img {
    transform: scale(1.04);
}
.rithim-editorial-placeholder {
    background: linear-gradient(135deg, rgba(255, 55, 95, 0.08), rgba(255, 55, 95, 0.02));
}

/* ── Brand Values ── */
.rithim-values {
    padding: 6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rithim-values-header {
    text-align: center;
    margin-bottom: 4rem;
}
.rithim-values-header h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    margin-top: 0.25rem;
}
.rithim-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
}
.rithim-value-card {
    padding: 2.5rem 2rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 55, 95, 0.02);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}
.rithim-value-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-rithim);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}
.rithim-value-card:hover::before {
    transform: scaleX(1);
}
.rithim-value-card:hover {
    border-color: rgba(255, 55, 95, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(255, 55, 95, 0.06);
}
.rithim-value-num {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--color-rithim);
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
    display: block;
    font-family: 'Space Grotesk', sans-serif;
}
.rithim-value-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.6rem;
    color: var(--text-primary);
}
.rithim-value-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ── Collection ── */
.rithim-collection {
    padding: 6rem 0 7rem;
}
.rithim-collection-hd {
    text-align: center;
    margin-bottom: 4rem;
}
.rithim-collection-hd h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin: 0.25rem 0 0.75rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
}
.rithim-collection-hd p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.rithim-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.rithim-product-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.3s ease;
}
.rithim-product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 64px rgba(255, 55, 95, 0.08);
    border-color: rgba(255, 55, 95, 0.2);
}

.rithim-card-image-wrap {
    position: relative;
    overflow: hidden;
    background: rgba(255, 55, 95, 0.03);
    aspect-ratio: 3 / 4;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rithim-card-image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 2rem;
}
.rithim-card-img {
    max-width: 100%;
    max-height: 280px;
    object-fit: contain;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.rithim-product-card:hover .rithim-card-img {
    transform: scale(1.08);
}
.rithim-card-img-fallback {
    width: 100%;
    height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
}

.rithim-card-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #fff;
    background: var(--color-rithim);
    border-radius: 0;
    padding: 0.3rem 0.85rem;
}

.rithim-quick-add {
    position: absolute;
    bottom: -3.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: var(--color-rithim);
    border: none;
    border-radius: 0;
    padding: 0.7rem 1.5rem;
    cursor: pointer;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: bottom 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.rithim-product-card:hover .rithim-quick-add {
    bottom: 1.25rem;
    box-shadow: 0 8px 24px rgba(255, 55, 95, 0.35);
}

.rithim-card-body {
    padding: 1.5rem 1.5rem 2rem;
}
.rithim-card-top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
}
.rithim-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-decoration: none;
    flex: 1;
    letter-spacing: 0.02em;
}
.rithim-card-name:hover { color: var(--color-rithim); }

.rithim-card-price {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-rithim);
    font-family: 'Space Grotesk', sans-serif;
    flex-shrink: 0;
}
.rithim-card-desc {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin-bottom: 1rem;
}

.rithim-card-swatches {
    display: flex;
    gap: 6px;
    margin-bottom: 0.75rem;
}
.rithim-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.rithim-swatch:hover {
    transform: scale(1.25);
    border-color: rgba(255, 255, 255, 0.35);
}

.rithim-card-sizes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.rithim-size {
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
    padding: 0.25rem 0.6rem;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.08em;
}
.rithim-size:hover {
    border-color: var(--color-rithim);
    color: var(--color-rithim);
    background: rgba(255, 55, 95, 0.06);
}

/* ── Manifesto — Full-width quote section ── */
.rithim-manifesto {
    padding: 8rem 0;
    background: rgba(255, 55, 95, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.rithim-manifesto-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.rithim-manifesto-quote {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--text-primary);
    line-height: 1.2;
    margin: 0 0 2rem;
    border-left: none;
    padding-left: 0;
    font-style: italic;
}
.rithim-manifesto-body {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.9;
    max-width: 580px;
    margin: 0 auto;
}

/* ── Movement Section ── */
.rithim-movement {
    padding: 6rem 0 7rem;
    background:
        radial-gradient(ellipse at 50% 50%, rgba(255, 55, 95, 0.04) 0%, transparent 65%);
}
.rithim-movement-inner {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.rithim-stats-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 0;
    overflow: hidden;
    background: rgba(255, 55, 95, 0.02);
}
.rithim-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 2rem 2.5rem;
    flex: 1;
    min-width: 120px;
}
.rithim-stat-divider {
    width: 1px;
    height: 60px;
    background: rgba(255, 255, 255, 0.06);
    flex-shrink: 0;
}
.rithim-stat-val {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--color-rithim);
    font-family: 'Space Grotesk', sans-serif;
    line-height: 1;
}
.rithim-stat-lbl {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .rithim-editorial-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .rithim-values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .rithim-product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .rithim-hero {
        padding: 8rem 1rem 4rem;
        min-height: auto;
    }
    .rithim-hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .rithim-product-grid {
        grid-template-columns: 1fr;
    }
    .rithim-values-grid {
        grid-template-columns: 1fr;
    }
    .rithim-stats-row {
        flex-direction: column;
    }
    .rithim-stat-divider {
        width: 60px;
        height: 1px;
    }
    .rithim-stat {
        padding: 1.25rem 1.5rem;
    }
    .rithim-manifesto-quote {
        font-size: 1.5rem;
    }
    .rithim-scroll-hint {
        display: none;
    }
    .rithim-editorial {
        padding: 5rem 0;
    }
    .rithim-values {
        padding: 4rem 0;
    }
}

/* ======================================================
   CUSTOM CURSOR SYSTEM
   Page-aware cursor with smooth animations and glow FX
   ====================================================== */

/* Hide default cursor everywhere except touch/coarse devices */
@media (pointer: fine) {
    *, *::before, *::after {
        cursor: none !important;
    }
}

/* Outer ring - lags behind cursor for a cool trailing effect */
.cursor-ring {
    position: fixed;
    top: 0;
    left: 0;
    width: 38px;
    height: 38px;
    border: 2px solid var(--cursor-color, #2997ff);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99998;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px var(--cursor-glow, rgba(41, 151, 255, 0.35)),
                inset 0 0 6px var(--cursor-glow, rgba(41, 151, 255, 0.15));
    transition: width 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                height 0.2s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.4s ease,
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                border-style 0.35s ease,
                box-shadow 0.4s ease,
                opacity 0.3s ease,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: left, top;
    backdrop-filter: blur(1px);
}

/* Inner dot - snaps to cursor position instantly */
.cursor-dot {
    position: fixed;
    top: 0;
    left: 0;
    width: 7px;
    height: 7px;
    background: var(--cursor-color, #2997ff);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 8px var(--cursor-glow, rgba(41, 151, 255, 0.8));
    transition: width 0.15s ease,
                height 0.15s ease,
                background-color 0.4s ease,
                border-radius 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s ease,
                clip-path 0.35s cubic-bezier(0.16, 1, 0.3, 1),
                opacity 0.3s ease,
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: left, top;
}

/* === HOVER STATE: ring blooms, dot shrinks === */
body.cursor-hovering .cursor-ring {
    width: 56px;
    height: 56px;
    opacity: 0.5;
    border-width: 1.5px;
}
body.cursor-hovering .cursor-dot {
    width: 4px;
    height: 4px;
}

/* === CLICK STATE: ring snaps in, dot pulses === */
body.cursor-clicking .cursor-ring {
    width: 28px;
    height: 28px;
    opacity: 1;
}
body.cursor-clicking .cursor-dot {
    width: 11px;
    height: 11px;
}

/* === IDLE STATE: fade out === */
body.cursor-idle .cursor-ring,
body.cursor-idle .cursor-dot {
    opacity: 0;
}

/* ============================
   Per-page cursor color themes
   ============================ */
body[data-page="/"] {
    --cursor-color: #2997ff;
    --cursor-glow: rgba(41, 151, 255, 0.45);
}
body[data-page="studytech"],
body[data-page="studytech-lab"] {
    --cursor-color: #5e5ce6;
    --cursor-glow: rgba(94, 92, 230, 0.45);
}
body[data-page="techbox"] {
    --cursor-color: #ff9f0a;
    --cursor-glow: rgba(255, 159, 10, 0.45);
}
body[data-page="techack"] {
    --cursor-color: #ffffff;
    --cursor-glow: rgba(255, 255, 255, 0.45);
}
body[data-page="rithim"] {
    --cursor-color: #ff375f;
    --cursor-glow: rgba(255, 55, 95, 0.45);
}
body[data-page="about"] {
    --cursor-color: #2997ff;
    --cursor-glow: rgba(41, 151, 255, 0.45);
}
body[data-page="checkout"] {
    --cursor-color: #2997ff;
    --cursor-glow: rgba(41, 151, 255, 0.45);
}
body[data-page="admin"],
body[data-page="dashboard"] {
    --cursor-color: #ff453a;
    --cursor-glow: rgba(255, 69, 58, 0.45);
}
body[data-page="success"] {
    --cursor-color: #34c759;
    --cursor-glow: rgba(52, 199, 89, 0.45);
}

/* Hide on touch/mobile – these devices don't have a mouse */
@media (pointer: coarse) {
    .cursor-ring,
    .cursor-dot {
        display: none;
    }
}

/* ============================================================
   Per-page cursor SHAPE themes
   Each page gets a visually distinct cursor shape, not just colour
   ============================================================ */

/* HOME: Squircle — rounded square ring + small rounded dot (tech / innovation) */
body[data-page="/"] .cursor-ring {
    border-radius: 10px;
    width: 40px;
    height: 40px;
    border-width: 1.5px;
}
body[data-page="/"] .cursor-dot {
    border-radius: 3px;
    width: 8px;
    height: 8px;
}
body[data-page="/"].cursor-hovering .cursor-ring {
    width: 56px;
    height: 56px;
    border-radius: 14px;
}
body[data-page="/"].cursor-clicking .cursor-ring {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

/* STUDYTECH: Diamond — rotated rounded square (pencil / learning angle) */
body[data-page="studytech"] .cursor-ring,
body[data-page="studytech-lab"] .cursor-ring {
    border-radius: 4px;
    width: 32px;
    height: 32px;
    transform: translate(-50%, -50%) rotate(45deg);
}
body[data-page="studytech"] .cursor-dot,
body[data-page="studytech-lab"] .cursor-dot {
    border-radius: 2px;
    width: 8px;
    height: 8px;
    transform: translate(-50%, -50%) rotate(45deg);
}
body[data-page="studytech"].cursor-hovering .cursor-ring,
body[data-page="studytech-lab"].cursor-hovering .cursor-ring {
    width: 50px;
    height: 50px;
}
body[data-page="studytech"].cursor-clicking .cursor-ring,
body[data-page="studytech-lab"].cursor-clicking .cursor-ring {
    width: 22px;
    height: 22px;
}

/* TECHBOX: Capsule / pill — wide rounded rectangle + upward triangle dot (zap / gadget) */
body[data-page="techbox"] .cursor-ring {
    border-radius: 18px;
    width: 52px;
    height: 26px;
}
body[data-page="techbox"] .cursor-dot {
    border-radius: 0;
    width: 10px;
    height: 9px;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    box-shadow: none;
}
body[data-page="techbox"].cursor-hovering .cursor-ring {
    width: 68px;
    height: 40px;
}
body[data-page="techbox"].cursor-clicking .cursor-ring {
    width: 38px;
    height: 18px;
}

/* TECHACK: Terminal block — square dashed ring + blinking square dot */
body[data-page="techack"] .cursor-ring {
    border-radius: 0;
    border-style: dashed;
    width: 36px;
    height: 36px;
}
body[data-page="techack"] .cursor-dot {
    border-radius: 0;
    width: 8px;
    height: 8px;
    animation: cursor-terminal-blink 1s step-end infinite;
}
@keyframes cursor-terminal-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}
body[data-page="techack"].cursor-hovering .cursor-ring {
    border-style: solid;
    width: 54px;
    height: 54px;
}
body[data-page="techack"].cursor-clicking .cursor-ring {
    border-style: dashed;
    width: 26px;
    height: 26px;
}

/* RITHIM: Crosshair — large thin ring + cross/plus shaped dot (fashion / style) */
body[data-page="rithim"] .cursor-ring {
    border-width: 1px;
    width: 50px;
    height: 50px;
}
body[data-page="rithim"] .cursor-dot {
    width: 14px;
    height: 14px;
    border-radius: 0;
    clip-path: polygon(35% 0%, 65% 0%, 65% 35%, 100% 35%, 100% 65%,
                       65% 65%, 65% 100%, 35% 100%, 35% 65%, 0% 65%,
                       0% 35%, 35% 35%);
    box-shadow: none;
}
body[data-page="rithim"].cursor-hovering .cursor-ring {
    width: 68px;
    height: 68px;
}
body[data-page="rithim"].cursor-clicking .cursor-ring {
    width: 38px;
    height: 38px;
}

/* ABOUT: Dotted ring + oversized dot (informational / soft) */
body[data-page="about"] .cursor-ring {
    border-style: dotted;
    border-width: 3px;
}
body[data-page="about"] .cursor-dot {
    width: 11px;
    height: 11px;
}

/* CHECKOUT: Double ring (outline offset) + hollow ring dot (purchase / confirm) */
body[data-page="checkout"] .cursor-ring {
    outline: 1.5px solid var(--cursor-color);
    outline-offset: 6px;
}
body[data-page="checkout"] .cursor-dot {
    background: transparent;
    border: 2px solid var(--cursor-color);
    box-shadow: none;
    width: 10px;
    height: 10px;
}

/* SUCCESS: Double-border ring + pulsing dot (confirmation / done) */
body[data-page="success"] .cursor-ring {
    border-style: double;
    border-width: 4px;
}
body[data-page="success"] .cursor-dot {
    width: 9px;
    height: 9px;
    animation: cursor-success-pulse 1.5s ease-in-out infinite;
}
@keyframes cursor-success-pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50%       { transform: translate(-50%, -50%) scale(1.6); }
}

/* ADMIN / DASHBOARD: Sharp diamond — zero-radius rotated square (alert / danger) */
body[data-page="admin"] .cursor-ring,
body[data-page="dashboard"] .cursor-ring {
    border-radius: 0;
    width: 28px;
    height: 28px;
    transform: translate(-50%, -50%) rotate(45deg);
    border-width: 3px;
}
body[data-page="admin"] .cursor-dot,
body[data-page="dashboard"] .cursor-dot {
    border-radius: 0;
    width: 9px;
    height: 9px;
    transform: translate(-50%, -50%) rotate(45deg);
}
body[data-page="admin"].cursor-hovering .cursor-ring,
body[data-page="dashboard"].cursor-hovering .cursor-ring {
    width: 44px;
    height: 44px;
}
body[data-page="admin"].cursor-clicking .cursor-ring,
body[data-page="dashboard"].cursor-clicking .cursor-ring {
    width: 20px;
    height: 20px;
}

/* ============================================================
   Cursor FX Canvas — interactive background layer
   ============================================================ */
#cursor-fx-canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}
@media (pointer: coarse) {
    #cursor-fx-canvas { display: none; }
}

/* ============================================================
   Enhanced per-page cursor INTERFACE themes
   ============================================================ */

/* TECHACK: Scanline overlay on ring + glitch micro-shift on click */
body[data-page="techack"] .cursor-ring {
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.4),
                inset 0 0 8px rgba(255, 255, 255, 0.15);
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.04) 2px,
        rgba(255, 255, 255, 0.04) 4px
    );
}
body[data-page="techack"] .cursor-dot {
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.3);
}
body[data-page="techack"].cursor-clicking .cursor-ring {
    animation: cursor-glitch 0.15s steps(2) 1;
}
body[data-page="techack"].cursor-hovering .cursor-ring {
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.08) 2px,
        rgba(255, 255, 255, 0.08) 4px
    );
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.5),
                inset 0 0 12px rgba(255, 255, 255, 0.2);
}
@keyframes cursor-glitch {
    0%   { transform: translate(-50%, -50%) translate(2px, -1px); }
    25%  { transform: translate(-50%, -50%) translate(-3px, 2px); }
    50%  { transform: translate(-50%, -50%) translate(1px, 1px); }
    75%  { transform: translate(-50%, -50%) translate(-2px, -2px); }
    100% { transform: translate(-50%, -50%); }
}

/* STUDYTECH: Glow highlight aura around ring — pencil/highlighter feel */
body[data-page="studytech"] .cursor-ring,
body[data-page="studytech-lab"] .cursor-ring {
    box-shadow: 0 0 16px rgba(94, 92, 230, 0.5),
                0 0 40px rgba(94, 92, 230, 0.15),
                inset 0 0 8px rgba(94, 92, 230, 0.2);
}
body[data-page="studytech"] .cursor-dot,
body[data-page="studytech-lab"] .cursor-dot {
    box-shadow: 0 0 10px rgba(94, 92, 230, 0.9),
                0 0 24px rgba(94, 92, 230, 0.3);
}
body[data-page="studytech"].cursor-clicking .cursor-ring,
body[data-page="studytech-lab"].cursor-clicking .cursor-ring {
    animation: cursor-pencil-press 0.2s ease-out 1;
}
@keyframes cursor-pencil-press {
    0%   { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
    50%  { transform: translate(-50%, -50%) rotate(45deg) scale(0.7); }
    100% { transform: translate(-50%, -50%) rotate(45deg) scale(1); }
}

/* TECHBOX: Pulsing electric glow — zap / circuit energy */
body[data-page="techbox"] .cursor-ring {
    box-shadow: 0 0 12px rgba(255, 159, 10, 0.5),
                0 0 30px rgba(255, 159, 10, 0.15),
                inset 0 0 6px rgba(255, 159, 10, 0.2);
    animation: cursor-circuit-pulse 2s ease-in-out infinite;
}
body[data-page="techbox"] .cursor-dot {
    box-shadow: none;
    filter: drop-shadow(0 0 6px rgba(255, 159, 10, 0.9));
}
body[data-page="techbox"].cursor-clicking .cursor-ring {
    animation: cursor-spark 0.2s ease-out 1;
}
@keyframes cursor-circuit-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 159, 10, 0.5), inset 0 0 6px rgba(255, 159, 10, 0.2); }
    50%      { box-shadow: 0 0 18px rgba(255, 159, 10, 0.7), inset 0 0 10px rgba(255, 159, 10, 0.3); }
}
@keyframes cursor-spark {
    0%   { transform: translate(-50%, -50%) scale(1); border-color: #ff9f0a; }
    30%  { transform: translate(-50%, -50%) scale(1.4); border-color: #ffe066; }
    100% { transform: translate(-50%, -50%) scale(1); border-color: #ff9f0a; }
}

/* RITHIM: Smooth ripple ring — fashion / elegance */
body[data-page="rithim"] .cursor-ring {
    box-shadow: 0 0 12px rgba(255, 55, 95, 0.4),
                0 0 30px rgba(255, 55, 95, 0.1);
}
body[data-page="rithim"] .cursor-dot {
    filter: drop-shadow(0 0 4px rgba(255, 55, 95, 0.8));
}
body[data-page="rithim"].cursor-clicking .cursor-ring {
    animation: cursor-ripple 0.4s ease-out 1;
}
@keyframes cursor-ripple {
    0%   { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50%  { transform: translate(-50%, -50%) scale(1.5); opacity: 0.4; }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

/* HOME: Magnetic pull effect on hover */
body[data-page="/"].cursor-hovering .cursor-ring {
    box-shadow: 0 0 20px rgba(41, 151, 255, 0.5),
                0 0 40px rgba(41, 151, 255, 0.15);
}
body[data-page="/"].cursor-clicking .cursor-ring {
    animation: cursor-tech-pulse 0.25s ease-out 1;
}
@keyframes cursor-tech-pulse {
    0%   { transform: translate(-50%, -50%) scale(1); }
    50%  { transform: translate(-50%, -50%) scale(0.6); box-shadow: 0 0 30px rgba(41, 151, 255, 0.8); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

/* ABOUT: Gentle breathing animation */
body[data-page="about"] .cursor-ring {
    animation: cursor-breathe 3s ease-in-out infinite;
}
@keyframes cursor-breathe {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50%      { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* CHECKOUT: Coin spin on click */
body[data-page="checkout"].cursor-clicking .cursor-ring {
    animation: cursor-coin-spin 0.3s ease-out 1;
}
@keyframes cursor-coin-spin {
    0%   { transform: translate(-50%, -50%) rotateY(0deg); }
    50%  { transform: translate(-50%, -50%) rotateY(180deg); opacity: 0.6; }
    100% { transform: translate(-50%, -50%) rotateY(360deg); }
}
