/* ============================================
   PROFESSIONAL DESIGN SYSTEM
   Soft Skills Workshop Library - SSWL
   ============================================ */

/* ============================================
   DARK THEME (Default) - Professional Navy
   ============================================ */
:root {
    /* Primary Colors - Professional Blue */
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;

    /* Gradient Colors - Sophisticated */
    --gradient-start: #1e3a5f;
    --gradient-mid: #2563eb;
    --gradient-end: #0ea5e9;

    /* Accent Colors - Professional Teal/Blue */
    --accent-cyan: #06b6d4;
    --accent-purple: #6366f1;
    --accent-pink: #8b5cf6;
    --accent-blue: #3b82f6;

    /* Background Colors - Deep Navy/Slate */
    --bg-dark: #0f172a;
    --bg-darker: #020617;
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-strong: rgba(255, 255, 255, 0.08);
    --bg-glass-light: rgba(255, 255, 255, 0.02);
    --bg-card: #1e293b;
    --bg-surface: #0f172a;

    /* Text Colors */
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --text-heading: #f1f5f9;

    /* Glass Effects */
    --glass-border: rgba(148, 163, 184, 0.1);
    --glass-border-strong: rgba(148, 163, 184, 0.2);
    --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --glass-glow: 0 0 40px rgba(37, 99, 235, 0.2);

    /* Functional Colors */
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.2);
    --error: #ef4444;
    --warning: #f59e0b;

    /* Header Background */
    --header-bg: rgba(15, 23, 42, 0.9);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Inter', sans-serif;

    /* Transitions */
    --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 3rem;
    --card-padding: 1.5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 9999px;
}

/* ============================================
   LIGHT THEME - Clean Professional
   ============================================ */
[data-theme="light"] {
    /* Primary Colors */
    --primary: #1d4ed8;
    --primary-dark: #1e40af;
    --primary-light: #3b82f6;

    /* Gradient Colors */
    --gradient-start: #1d4ed8;
    --gradient-mid: #2563eb;
    --gradient-end: #0284c7;

    /* Accent Colors */
    --accent-cyan: #0891b2;
    --accent-purple: #4f46e5;
    --accent-pink: #7c3aed;
    --accent-blue: #2563eb;

    /* Background Colors - Clean White/Gray */
    --bg-dark: #f8fafc;
    --bg-darker: #f1f5f9;
    --bg-glass: rgba(15, 23, 42, 0.03);
    --bg-glass-strong: rgba(15, 23, 42, 0.06);
    --bg-glass-light: rgba(15, 23, 42, 0.02);
    --bg-card: #ffffff;
    --bg-surface: #f8fafc;

    /* Text Colors */
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;
    --text-heading: #1e293b;

    /* Glass Effects */
    --glass-border: rgba(15, 23, 42, 0.08);
    --glass-border-strong: rgba(15, 23, 42, 0.15);
    --glass-shadow: 0 8px 32px rgba(15, 23, 42, 0.08);
    --glass-glow: 0 0 40px rgba(37, 99, 235, 0.1);

    /* Functional Colors - Same for both themes */
    --success: #059669;
    --success-glow: rgba(5, 150, 105, 0.15);
    --error: #dc2626;
    --warning: #d97706;

    /* Header Background */
    --header-bg: rgba(248, 250, 252, 0.9);
}

/* ============================================
   RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
    -webkit-overflow-scrolling: touch;
}

/* Animated Background Gradient - Dark Theme */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(37, 99, 235, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(30, 58, 95, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
    z-index: -2;
    animation: gradientShift 20s ease-in-out infinite;
    transition: background 0.5s ease;
}

/* Light Theme Background */
[data-theme="light"] body::before {
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(37, 99, 235, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(14, 165, 233, 0.05) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 50% 80%, rgba(99, 102, 241, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
}

@keyframes gradientShift {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.85;
    }
}

/* Noise Texture Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.015;
    z-index: -1;
    pointer-events: none;
}

[data-theme="light"] body::after {
    opacity: 0.008;
}

/* ============================================
   CUSTOM CURSOR SYSTEM
   ============================================ */
.cursor {
    position: fixed;
    width: 20px;
    height: 20px;
    border: 2px solid var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.15s ease-out, width 0.2s ease, height 0.2s ease, background 0.2s ease;
    transform: translate(-50%, -50%);
    mix-blend-mode: difference;
}

.cursor-dot {
    position: fixed;
    width: 6px;
    height: 6px;
    background: var(--accent-cyan);
    border-radius: 50%;
    pointer-events: none;
    z-index: 99999;
    transition: transform 0.05s ease-out;
    transform: translate(-50%, -50%);
}

.cursor.active {
    width: 50px;
    height: 50px;
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--accent-purple);
}

.cursor.link-hover {
    width: 60px;
    height: 60px;
    background: rgba(168, 85, 247, 0.1);
    border-color: var(--accent-purple);
}

.cursor-text {
    position: fixed;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-primary);
    pointer-events: none;
    z-index: 99999;
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cursor-text.visible {
    opacity: 1;
}

/* Hide custom cursor on touch devices */
@media (hover: none) and (pointer: coarse) {

    .cursor,
    .cursor-dot,
    .cursor-text {
        display: none !important;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.01em;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

.text-gradient {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--accent-cyan) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-glow {
    text-shadow: 0 0 40px rgba(102, 126, 234, 0.5);
}

/* ============================================
   CONTAINER & LAYOUT
   ============================================ */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

.section-padding {
    padding: var(--section-padding) 0;
}

.text-center {
    text-align: center;
}

/* ============================================
   GLASS CARD COMPONENT
   ============================================ */
.glass-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--card-padding);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--glass-border-strong);
    box-shadow: var(--glass-shadow), var(--glass-glow);
}

/* Card with Tilt Effect */
.glass-card-tilt {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* ============================================
   PREMIUM BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    border: none;
    font-family: var(--font-primary);
    text-transform: none;
    letter-spacing: 0;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

.btn-primary i {
    color: #ffffff !important;
}

/* Ensure btn-primary text stays white in light mode */
[data-theme="light"] .btn-primary {
    color: #ffffff !important;
}

[data-theme="light"] .btn-primary i {
    color: #ffffff !important;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border-strong);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-glass-strong);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border-strong);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--bg-glass);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
}

.btn-large {
    padding: 1.25rem 3rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* Ripple Effect */
.btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s ease-out;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* ============================================
   NAVIGATION / HEADER
   ============================================ */
header,
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    background: var(--header-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    width: 100%;
}

header.scrolled {
    padding: 0.75rem 0;
    background: var(--header-bg);
    box-shadow: 0 10px 40px var(--glass-shadow);
}

[data-theme="light"] header.scrolled {
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
    flex-shrink: 0;
    min-width: 0;
}

.logo:hover {
    opacity: 0.9;
}

.logo img {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(37, 99, 235, 0.2));
    transition: filter var(--transition-base);
}

/* Default state (dark mode): show dark logo, hide light logo */
.logo img.logo-dark {
    display: block !important;
}

.logo img.logo-light {
    display: none !important;
}

/* Light mode: show light logo, hide dark logo */
[data-theme="light"] .logo img.logo-dark {
    display: none !important;
}

[data-theme="light"] .logo img.logo-light {
    display: block !important;
    filter: drop-shadow(0 2px 8px rgba(15, 23, 42, 0.1));
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    list-style: none;
}

.nav-links li a {
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
    transition: width var(--transition-base);
    border-radius: 2px;
}

.nav-links li a:hover {
    color: var(--text-primary);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 0.75rem 1.5rem !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all var(--transition-base);
    margin-left: 0.5rem;
}

.theme-toggle:hover {
    background: var(--bg-glass-strong);
    color: var(--primary);
    border-color: var(--primary);
    transform: rotate(15deg);
}

.theme-toggle .fa-sun {
    display: none;
}

.theme-toggle .fa-moon {
    display: block;
}

[data-theme="light"] .theme-toggle .fa-sun {
    display: block;
    color: var(--warning);
}

[data-theme="light"] .theme-toggle .fa-moon {
    display: none;
}

/* Mobile Navigation */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    flex-shrink: 0;
    margin-left: auto;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero+.section-padding {
    padding-top: 1rem;
}

.hero {
    min-height: auto;
    display: flex;
    align-items: center;
    padding: 8rem 0 0rem;
    position: relative;
    overflow: hidden;
}

/* Floating Orbs Background */
.hero::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) translateX(0);
    }

    25% {
        transform: translateY(-20px) translateX(10px);
    }

    50% {
        transform: translateY(-10px) translateX(-10px);
    }

    75% {
        transform: translateY(-25px) translateX(5px);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-text h1 .text-gradient {
    display: block;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 500;
}

.feature-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--accent-cyan);
    font-size: 0.9rem;
}

/* Hero Image / Product Mockup */
.hero-image {
    position: relative;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow:
        0 25px 80px rgba(0, 0, 0, 0.4),
        0 0 60px rgba(102, 126, 234, 0.2);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform var(--transition-slow);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* Floating 3D Effect Container */
.hero-image::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border-radius: var(--radius-xl);
    transform: rotate(-3deg);
    z-index: -1;
}

/* Light Theme - Remove hero image background frame */
[data-theme="light"] .hero-image::before {
    display: none;
}

[data-theme="light"] .hero-image img {
    box-shadow: none;
    border-radius: 0;
    mix-blend-mode: multiply;
}

/* ============================================
   PAIN POINTS / IS THIS YOU SECTION
   ============================================ */
.pain-points {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    margin: 4rem 0;
}

.pain-points h2 {
    text-align: center;
    margin-bottom: 2.5rem;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.pain-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.5rem;
    background: var(--bg-glass-light);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.pain-item:hover {
    border-color: var(--accent-purple);
    background: var(--bg-glass);
    transform: translateX(5px);
}

.pain-item i {
    font-size: 1.5rem;
    color: var(--accent-purple);
    margin-top: 0.25rem;
}

.pain-item p {
    margin: 0;
    font-weight: 500;
    color: var(--text-secondary);
}

/* ============================================
   WHAT'S INSIDE SECTION
   ============================================ */
.inside-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

.inside-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.inside-item {
    display: flex;
    gap: 1.25rem;
    padding: 1.5rem;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    cursor: default;
}

.inside-item:hover {
    border-color: var(--accent-cyan);
    transform: translateX(10px);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.1);
}

.inside-item i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-mid));
    border-radius: var(--radius-sm);
    color: #ffffff;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.inside-item h4 {
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.inside-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.inside-image {
    position: relative;
}

.inside-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

/* ============================================
   POPULAR TOPICS SECTION
   ============================================ */
.topics {
    text-align: center;
    background: var(--bg-glass-light);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    border: 1px solid var(--glass-border);
}

.topic-cloud {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
    max-width: 900px;
    margin: 2.5rem auto 0;
}

.topic-tag {
    background: var(--bg-glass);
    color: var(--text-secondary);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
    cursor: default;
}

.topic-tag:hover {
    border-color: var(--accent-cyan);
    color: var(--text-primary);
    background: var(--bg-glass-strong);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.how-it-works {
    text-align: center;
    padding-top: 3rem;
}

.steps-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    margin-top: 3rem;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    flex: 1;
    max-width: 220px;
    padding: 2rem 1rem;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.step-item:hover {
    border-color: var(--accent-purple);
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(168, 85, 247, 0.15);
}

.step-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--gradient-start), var(--accent-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.step-item h4 {
    color: var(--text-primary);
    font-size: 1rem;
}

.step-arrow {
    color: var(--text-muted);
    font-size: 1.5rem;
    align-self: center;
    margin-top: 2rem;
}

/* ============================================
   WHO IT'S FOR SECTION
   ============================================ */
.who-for {
    background: transparent;
}

.who-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.who-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.who-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--glass-shadow);
}

.who-card.perfect {
    border-top: 3px solid var(--success);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.1) 0%, var(--bg-glass) 20%);
}

.who-card.not-for {
    border-top: 3px solid var(--error);
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.1) 0%, var(--bg-glass) 20%);
}

.who-card h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.who-card.perfect h3 i {
    color: var(--success);
}

.who-card.not-for h3 i {
    color: var(--error);
}

.who-list {
    list-style: none;
}

.who-list li {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    color: var(--text-secondary);
    font-size: 1rem;
}

.who-card.perfect .who-list i {
    color: var(--success);
}

.who-card.not-for .who-list i {
    color: var(--error);
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing {
    text-align: center;
    position: relative;
}

.pricing::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.pricing-card {
    background: var(--bg-glass-strong);
    backdrop-filter: blur(30px);
    border: 2px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    padding: 3.5rem;
    max-width: 600px;
    margin: 2rem auto 0;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gradient-start), var(--accent-cyan), var(--accent-purple));
}

.price-tag {
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.price-sub {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.price-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
    color: var(--text-secondary);
    font-size: 1rem;
    flex-wrap: wrap;
}

.price-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.price-features i {
    color: var(--accent-cyan);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--glass-border);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 1.5rem 0;
    background: none;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-cyan);
}

.faq-question i {
    transition: transform var(--transition-base);
    color: var(--text-muted);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base), padding var(--transition-base);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 1.5rem;
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 0 2rem;
    position: relative;
}

.footer-cta {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 50%, var(--accent-purple) 100%);
    border-radius: var(--radius-xl);
    padding: 4rem 3rem;
    max-width: 900px;
    margin: -8rem auto 4rem;
    position: relative;
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.3);
    text-align: center;
    overflow: hidden;
    width: 100%;
}

.footer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.footer-cta h2 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    position: relative;
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.4;
}

.footer-btn {
    background: rgba(255, 255, 255, 0.95);
    color: var(--gradient-start) !important;
    font-weight: 700;
    padding: 1.25rem 2.5rem;
    position: relative;
}

.footer-btn i {
    color: var(--gradient-start);
}

.footer-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   FORMS & INPUTS
   ============================================ */
.form-input,
input[type="text"],
input[type="email"],
input[type="tel"],
select,
textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: all var(--transition-base);
    outline: none;
}

.form-input:focus,
input:focus,
select:focus,
textarea:focus {
    border-color: var(--accent-cyan);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.15), 0 0 20px rgba(0, 212, 255, 0.1);
    background: var(--bg-glass-strong);
}

.form-input::placeholder,
input::placeholder {
    color: var(--text-muted);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23888' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

select option {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.form-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-card {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    max-width: 900px;
    margin: 0 auto;
}

label {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

/* ============================================
   CHECKOUT PAGE
   ============================================ */
.checkout-body {
    background: var(--bg-dark);
}

.checkout-container {
    max-width: 1000px;
    margin: 8rem auto 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.checkout-form {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--glass-border);
}

.checkout-form h2 {
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.order-summary {
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-mid) 100%);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.order-summary::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.order-summary h2,
.order-summary h3,
.order-summary h4 {
    color: #ffffff !important;
    margin-bottom: 2rem;
}

.order-summary p,
.order-summary span,
.order-summary li {
    color: #ffffff !important;
}

.order-summary i {
    color: #ffffff !important;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff !important;
}

.total-row {
    display: flex;
    justify-content: space-between;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 1.5rem;
    color: #ffffff !important;
}

/* ============================================
   SUCCESS PAGES
   ============================================ */
.success-hero {
    text-align: center;
    padding: 4rem 0 3rem;
}

.success-headline {
    font-size: 2.5rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.notification-box {
    background: var(--bg-glass);
    border: 1px solid var(--accent-cyan);
    border-left: 4px solid var(--accent-cyan);
    border-radius: var(--radius-md);
    padding: 1.5rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-primary);
    font-weight: 500;
    max-width: 600px;
    margin: 0 auto;
}

.notification-box i {
    font-size: 1.5rem;
    color: var(--accent-cyan);
}

/* Upsell Section */
.upsell-section {
    padding: 4rem 0;
    background: var(--bg-glass-light);
}

.upsell-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.upsell-content h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.upsell-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.upsell-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.upsell-item i {
    font-size: 1.25rem;
}

.btn-green {
    background: linear-gradient(135deg, var(--success), #059669);
    color: var(--text-primary) !important;
    box-shadow: 0 4px 20px var(--success-glow);
}

.btn-green:hover {
    box-shadow: 0 8px 30px var(--success-glow);
    transform: translateY(-2px);
}

.upsell-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

/* Purchase Success */
.purchase-success-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.success-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 4rem 1.5rem;
}

.thank-you-title {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--gradient-start), var(--accent-cyan));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.library-ready-title {
    font-size: 2rem;
    color: var(--text-primary);
    margin-bottom: 2rem;
}

.success-message {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 2.5rem;
}

.btn-large-blue {
    background: linear-gradient(135deg, var(--gradient-start), var(--accent-cyan));
    color: var(--text-primary) !important;
    font-size: 1.25rem;
    padding: 1.25rem 3rem;
    border-radius: var(--radius-md);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
}

.btn-large-blue:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(102, 126, 234, 0.4);
}

.support-text {
    margin-top: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.support-link {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.simple-footer-bar {
    background: var(--bg-glass);
    padding: 1.5rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--glass-border);
}

.simple-footer-bar a {
    color: var(--accent-cyan);
}

/* ============================================
   FREE SAMPLE PAGE
   ============================================ */
.sample-page-body {
    background: var(--bg-dark);
}

.simple-header {
    padding: 2rem 0;
    background: transparent;
    position: relative;
    border: none;
    box-shadow: none;
}

.sample-hero {
    padding: 4rem 0 3rem;
    text-align: center;
}

.sample-Grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.sample-text {
    text-align: left;
    max-width: 500px;
}

.sample-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.sample-image img {
    max-width: 350px;
    border-radius: var(--radius-lg);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
}

.form-section {
    padding: 2rem 0 4rem;
}

.spam-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 1rem;
    margin-bottom: 0;
}

.preview-section {
    background: var(--bg-glass-light);
}

.preview-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.preview-item img {
    border-radius: var(--radius-md);
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--glass-border);
    width: 100%;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 {
    transition-delay: 0.1s;
}

.stagger-2 {
    transition-delay: 0.2s;
}

.stagger-3 {
    transition-delay: 0.3s;
}

.stagger-4 {
    transition-delay: 0.4s;
}

.stagger-5 {
    transition-delay: 0.5s;
}

/* ============================================
   RESPONSIVE DESIGN - COMPREHENSIVE
   ============================================ */

/* Large Desktop (1400px+) */
@media (min-width: 1400px) {
    :root {
        --container-max: 1320px;
    }
}

/* Desktop (1200px - 1399px) */
@media (max-width: 1399px) {
    :root {
        --container-max: 1140px;
    }
}

/* Tablet Landscape / Small Desktop (1024px - 1199px) */
@media (max-width: 1199px) {
    :root {
        --container-max: 960px;
        --section-padding: 5rem;
    }

    .hero-content {
        gap: 3rem;
    }

    .inside-container {
        gap: 3rem;
    }

    .upsell-grid {
        gap: 3rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .topic-cloud {
        max-width: 800px;
    }
}

/* Tablet Portrait (768px - 1023px) */
@media (max-width: 1023px) {
    :root {
        --container-max: 720px;
        --section-padding: 4rem;
        --card-padding: 1.5rem;
    }

    /* Header & Navigation - Mobile Menu Hidden by Default */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 350px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg-dark);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 5rem 2rem 2rem;
        gap: 0.5rem;
        z-index: 1000;
        transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--glass-border);
        overflow-y: auto;
        display: flex !important;
        visibility: visible !important;
    }

    .nav-links.open {
        right: 0 !important;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-links li a {
        font-size: 1.25rem;
        display: block;
        padding: 1rem;
    }

    .mobile-menu-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        z-index: 1001;
    }

    /* Logo size adjustment */
    .logo img {
        height: 55px;
    }

    /* Hero Section */
    .hero {
        padding: 7rem 0 4rem;
        min-height: auto;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .hero-text {
        order: 1;
    }

    .hero-image {
        order: 0;
        max-width: 450px;
        margin: 0 auto;
    }

    .hero-image img {
        transform: none;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-features {
        justify-content: center;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    /* Pain Points */
    .pain-points {
        padding: 2rem;
    }

    .pain-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    /* Inside Section */
    .inside-container {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .inside-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    /* Steps */
    .steps-container {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    .step-item {
        max-width: 200px;
    }

    .step-arrow {
        display: none;
    }

    /* Who For Section */
    .who-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
    }

    /* Pricing */
    .pricing-card {
        padding: 2.5rem 2rem;
        max-width: 500px;
    }

    .price-tag {
        font-size: 3rem;
    }

    .price-features {
        gap: 1.5rem;
    }

    /* Topics */
    .topics {
        padding: 3rem 2rem;
    }

    .topic-cloud {
        gap: 0.75rem;
    }

    .topic-tag {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Checkout */
    .checkout-container {
        grid-template-columns: 1fr;
        margin-top: 7rem;
        gap: 1.5rem;
    }

    .order-summary {
        order: -1;
    }

    /* Footer CTA */
    .footer-cta {
        padding: 3rem 2rem;
        margin: -5rem auto 3rem;
    }

    /* Sample Page */
    .sample-Grid {
        flex-direction: column;
        gap: 2.5rem;
        text-align: center;
    }

    .sample-text {
        text-align: center;
        max-width: 100%;
    }

    .sample-image img {
        max-width: 300px;
    }

    /* Upsell */
    .upsell-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
        text-align: center;
    }

    .upsell-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .upsell-image {
        max-width: 400px;
        margin: 0 auto;
    }

    /* Preview Grid */
    .preview-grid {
        gap: 1.5rem;
    }

    /* Forms */
    .form-card {
        padding: 2rem;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Mobile Landscape / Large Mobile (576px - 767px) */
@media (max-width: 767px) {
    :root {
        --section-padding: 3rem;
        --card-padding: 1.25rem;
    }

    .container {
        padding: 0 1rem;
        max-width: 100%;
        overflow-x: hidden;
    }

    /* Ensure nav doesn't overflow */
    nav {
        gap: 0.5rem;
    }

    /* Typography */
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.25rem;
    }

    p {
        font-size: 1rem;
    }

    /* Header */
    header,
    .header {
        padding: 0.75rem 0;
    }

    .logo img {
        height: 45px;
    }

    /* Hero */
    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-image {
        max-width: 350px;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .hero-features {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem;
        width: 100%;
        margin-top: 1rem;
    }

    .feature-item {
        font-size: 0.85rem;
        justify-content: center;
        /* Center the icon+text inside the grid cell */
    }

    /* Buttons */
    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .btn-large {
        padding: 1rem 2rem;
        font-size: 1rem;
    }

    /* Pain Points */
    .pain-points {
        padding: 1.5rem;
        margin: 2rem 0;
    }

    .pain-item {
        padding: 1rem;
    }

    .pain-item i {
        font-size: 1.25rem;
    }

    .pain-item p {
        font-size: 0.95rem;
    }

    /* Inside Items */
    .inside-item {
        padding: 1rem;
        gap: 1rem;
    }

    .inside-item i {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .inside-item h4 {
        font-size: 1rem;
    }

    .inside-image {
        max-width: 100%;
    }

    /* Steps */
    .steps-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .step-item {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem 1rem;
        flex-direction: row;
        justify-content: center;
        text-align: center;
    }

    .step-icon {
        width: 56px;
        height: 56px;
        font-size: 1.5rem;
    }

    .step-item h4 {
        font-size: 0.95rem;
    }

    /* Who Cards */
    .who-card {
        padding: 1.5rem;
    }

    .who-card h3 {
        font-size: 1.1rem;
    }

    .who-list li {
        font-size: 0.95rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 2rem 1.5rem;
        margin: 1.5rem auto 0;
    }

    .price-tag {
        font-size: 2.5rem;
    }

    .price-sub {
        font-size: 1rem;
    }

    .price-features {
        flex-direction: column;
        gap: 0.75rem;
        font-size: 0.9rem;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem 0;
    }

    .faq-answer {
        font-size: 0.95rem;
    }

    /* Topics */
    .topics {
        padding: 2.5rem 1.5rem;
    }

    .topic-tag {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }

    /* Footer */
    .footer-cta {
        padding: 2rem 1.5rem;
        margin: -3rem auto 2rem;
        border-radius: var(--radius-lg);
    }

    .footer-cta h2 {
        font-size: 1.25rem;
    }

    .footer-btn {
        padding: 1rem 2rem;
        font-size: 0.95rem;
    }

    footer {
        padding: 3rem 0 1.5rem;
    }

    /* Checkout Page */
    .checkout-container {
        margin-top: 5rem;
        gap: 1rem;
    }

    .checkout-form,
    .order-summary {
        padding: 1.5rem;
    }

    .checkout-form h2 {
        font-size: 1.25rem;
    }

    .total-row {
        font-size: 1.25rem;
    }

    /* Sample Page */
    .sample-hero {
        padding: 2rem 0;
    }

    .sample-title {
        font-size: 1.5rem;
    }

    .sample-image img {
        max-width: 250px;
    }

    .form-section {
        padding: 1.5rem 0 3rem;
    }

    /* Preview Grid */
    .preview-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Success Pages */
    .success-hero {
        padding: 3rem 0 2rem;
    }

    .success-headline {
        font-size: 1.75rem;
    }

    .notification-box {
        padding: 1rem 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }

    .thank-you-title {
        font-size: 2rem;
    }

    .library-ready-title {
        font-size: 1.5rem;
    }

    .success-message {
        font-size: 1rem;
    }

    .btn-large-blue {
        font-size: 1rem;
        padding: 1rem 2rem;
    }

    /* Upsell */
    .upsell-section {
        padding: 3rem 0;
    }

    .upsell-content h2 {
        font-size: 1.5rem;
    }

    .upsell-item {
        font-size: 1rem;
    }

    .upsell-image img {
        max-width: 100%;
    }

    /* Glass Card */
    .glass-card {
        padding: 1.25rem;
    }

    .glass-card:hover {
        transform: none;
    }

    /* Theme Toggle */
    .theme-toggle {
        width: 36px;
        height: 36px;
    }
}

/* Small Mobile (up to 575px) */
@media (max-width: 575px) {
    :root {
        --section-padding: 2.5rem;
        --card-padding: 1rem;
    }

    .container {
        padding: 0 0.875rem;
    }

    /* Typography */
    h1 {
        font-size: 1.625rem;
    }

    h2 {
        font-size: 1.375rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    /* Logo */
    .logo img {
        height: 40px;
    }

    /* Hero */
    .hero {
        padding: 5.5rem 0 2.5rem;
    }

    .hero-image {
        max-width: 280px;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    /* Buttons */
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.9rem;
    }

    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 0.95rem;
    }

    /* Steps */
    .step-icon {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }

    /* Pricing */
    .price-tag {
        font-size: 2.25rem;
    }

    .pricing-card {
        padding: 1.5rem 1rem;
    }

    /* Footer CTA */
    .footer-cta {
        padding: 1.5rem 1rem;
        margin: -2rem auto 1.5rem;
    }

    .footer-cta h2 {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    /* Checkout */
    .checkout-container {
        margin-top: 4.5rem;
    }

    .checkout-form,
    .order-summary {
        padding: 1.25rem;
    }

    /* Sample Page */
    .sample-title {
        font-size: 1.375rem;
    }

    .sample-image img {
        max-width: 220px;
    }

    /* Success Pages */
    .success-headline {
        font-size: 1.5rem;
    }

    .thank-you-title {
        font-size: 1.75rem;
    }

    .library-ready-title {
        font-size: 1.25rem;
    }

    /* Form Card */
    .form-card {
        padding: 1.5rem 1rem;
    }

    /* Topic Tags */
    .topic-tag {
        padding: 0.4rem 0.875rem;
        font-size: 0.8rem;
    }

    /* Pain Items */
    .pain-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    /* Inside Items */
    .inside-item {
        padding: 0.875rem;
        gap: 0.75rem;
    }

    .inside-item i {
        width: 36px;
        height: 36px;
        font-size: 0.9rem;
    }
}

/* Extra Small Mobile (up to 375px) */
@media (max-width: 375px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .logo img {
        height: 35px;
    }

    .hero {
        padding: 5rem 0 2rem;
    }

    .hero-image {
        max-width: 240px;
    }

    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.85rem;
    }

    .price-tag {
        font-size: 2rem;
    }

    .footer-cta h2 {
        font-size: 1rem;
    }

    .sample-title {
        font-size: 1.25rem;
    }

    .checkout-form h2,
    .order-summary h2 {
        font-size: 1.1rem;
    }
}

/* Mobile Menu Overlay - For JavaScript Toggle */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

.mobile-menu-overlay.active {
    display: block;
}

/* Mobile Menu Close Button */
.mobile-menu-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    z-index: 1002;
    display: none;
}

.nav-links.active .mobile-menu-close {
    display: block;
}

/* Landscape Mobile Orientation */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 5rem 0 2rem;
    }

    .nav-links.active {
        padding: 1rem;
        gap: 0.5rem;
        overflow-y: auto;
    }

    .nav-links.active li a {
        padding: 0.5rem;
        font-size: 1rem;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .glass-card:hover {
        transform: none;
        box-shadow: var(--glass-shadow);
    }

    .btn:hover {
        transform: none;
    }

    .pain-item:hover,
    .inside-item:hover,
    .step-item:hover,
    .who-card:hover,
    .topic-tag:hover {
        transform: none;
    }

    /* Increase tap targets */
    .nav-links li a {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn {
        min-height: 44px;
    }

    .faq-question {
        min-height: 48px;
    }

    .theme-toggle {
        min-width: 44px;
        min-height: 44px;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .cursor,
    .cursor-dot,
    .cursor-text {
        display: none;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.text-primary-color {
    color: var(--accent-cyan);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.hidden {
    display: none !important;
}

.visible {
    visibility: visible;
}

.invisible {
    visibility: hidden;
}

/* Force Footer CTA Width Fix */
/* Mobile Footer Layout Fix */
@media (max-width: 767px) {
    .footer-cta {
        margin: 2rem 0 !important;
        /* Positive margin = No overlap */
        width: 100% !important;
        box-sizing: border-box !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
        border-radius: 16px !important;
    }

    footer {
        padding-top: 0 !important;
        /* Reduce gap since we removed negative margin */
        margin-top: 0 !important;
    }
}

/* ============================================
   CATEGORY GRID (New Section)
   ============================================ */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    margin-bottom: 4rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2.5rem 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(37, 99, 235, 0.2);
    border-color: rgba(37, 99, 235, 0.4);
}

.category-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #ffffff;
    font-size: 1.75rem;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.category-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.15rem;
    color: var(--text-primary);
    font-weight: 600;
}

.category-card p {
    margin-bottom: 0;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Mobile Slider for Category Grid */
@media (max-width: 767px) {
    .category-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 1.5rem;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
        /* Hide scrollbar */
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .category-grid::-webkit-scrollbar {
        display: none;
    }

    .category-card {
        min-width: 100%;
        scroll-snap-align: center;
        /* Ensure card height is consistent */
        height: auto;
    }

    /* Slider Dots Visibility */
    .slider-dots {
        display: flex !important;
    }
}

/* Slider Dots Styles */
.slider-dots {
    display: none;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    margin-bottom: 3rem;
    width: 100%;
}

.slider-dot {
    width: 8px;
    height: 8px;
    background-color: var(--text-muted);
    border-radius: 50%;
    opacity: 0.3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.slider-dot.active {
    background-color: var(--primary);
    opacity: 1;
    transform: scale(1.2);
}