/* 
  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: #34c759;
    --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: 220px;
    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);
}

/* 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: 200px;
    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: 600px;
    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(52, 199, 89, 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);
}

/* Square Payment Form Styling */
#card-container {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    min-height: 50px;
    margin-bottom: 1.5rem;
}

/* 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;
    }
}