/* ================================================
   AptitudePro — Landing Page Styles
   Premium Dark Theme with Glassmorphism
   ================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #0A0A12;
    --bg-secondary: #15151F;
    --bg-tertiary: #1E1E2C;
    --bg-card: #15151F;
    --bg-card-hover: #1E1E2C;
    --bg-glass: rgba(255, 255, 255, 0.03);
    --bg-glass-border: rgba(139, 92, 246, 0.15);

    --text-primary: #F5F5FA;
    --text-secondary: #9E9EB0;
    --text-muted: #9E9EB0;
    --text-accent: #8B5CF6;

    --accent-1: #8B5CF6;
    --accent-2: #8B5CF6;
    --accent-3: #8B5CF6;
    --accent-coral: #FF5C7A;
    --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #FF5C7A 100%);
    --accent-gradient-vibrant: linear-gradient(135deg, #8B5CF6 0%, #FF5C7A 100%);
    --accent-glow: rgba(139, 92, 246, 0.3);
    --accent-glow-strong: rgba(139, 92, 246, 0.5);

    --success: #4ADE80;
    --info: #38BDF8;
    --warning: #FF5C7A;
    --error: #FF5C7A;

    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
    --border-radius-xl: 24px;
    --border-radius-full: 9999px;

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.15);
    --shadow-glow-strong: 0 0 80px rgba(124, 58, 237, 0.25);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-spring: 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    background-color: #0A0A12;
    background-image: 
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.16) 0%, rgba(139, 92, 246, 0.04) 35%, transparent 70%),
        radial-gradient(circle at 95% 100%, rgba(255, 92, 122, 0.09) 0%, rgba(255, 92, 122, 0.02) 20%, transparent 45%);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    display: block;
}

/* ---------- Particles Background ---------- */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    background: var(--accent-1);
    opacity: 0;
    animation: floatParticle linear infinite;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100vh) scale(0);
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        opacity: 0;
        transform: translateY(-10vh) scale(1);
    }
}

/* ---------- Container ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Section Utilities ---------- */
.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-3);
    margin-bottom: 20px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--border-radius-full);
    cursor: pointer;
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--accent-gradient-vibrant);
    color: white;
    box-shadow: 0 4px 20px var(--accent-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow-strong);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--bg-glass-border);
}

.btn-ghost:hover {
    background: var(--bg-glass);
    color: var(--text-primary);
    border-color: rgba(255, 255, 255, 0.12);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.btn-outline:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.5);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-xl {
    padding: 20px 44px;
    font-size: 1.15rem;
}

.btn-full {
    width: 100%;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-normal);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(7, 7, 14, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--bg-glass-border);
    padding: 10px 0;
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.logo-icon {
    font-size: 1.5rem;
}

.logo-accent {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    padding: 10px 24px;
    background: var(--accent-gradient-vibrant);
    color: white;
    font-size: 0.88rem;
    font-weight: 600;
    border-radius: var(--border-radius-full);
    transition: all var(--transition-normal);
    box-shadow: 0 2px 12px var(--accent-glow);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px var(--accent-glow-strong);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition-normal);
}

/* ---------- Hero Section ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, rgba(124, 58, 237, 0.04) 40%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.hero-container {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 850px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-full);
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    animation: fadeInDown 0.8s ease forwards;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease 0.1s forwards;
    opacity: 0;
}

.hero-highlight {
    position: relative;
    display: inline-block;
}

.hero-highlight::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: -4px;
    right: -4px;
    height: 14px;
    background: rgba(124, 58, 237, 0.25);
    border-radius: 4px;
    z-index: -1;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 40px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.2s forwards;
    opacity: 0;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 60px;
    animation: fadeInUp 0.8s ease 0.3s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
    padding: 28px 40px;
    background: var(--bg-glass);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-xl);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
    font-variant-numeric: tabular-nums;
}

.stat-suffix {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-3);
}

.stat-label {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--bg-glass-border);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 0.8s ease 0.6s forwards;
    opacity: 0;
}

.hero-scroll-indicator span {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: scrollBounce 2s ease infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: rotate(45deg) translate(0, 0); opacity: 0.5; }
    50% { transform: rotate(45deg) translate(4px, 4px); opacity: 1; }
}

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

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

/* ---------- Pain Points Section ---------- */
.pain-section {
    padding: 120px 0;
    position: relative;
    background: var(--bg-secondary);
}

.pain-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.pain-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.pain-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pain-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(248, 113, 113, 0.15);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.pain-icon {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.pain-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.pain-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Features Section ---------- */
.features-section {
    padding: 120px 0;
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.feature-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-large {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 24px;
    padding: 40px 36px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(124, 58, 237, 0.15);
}

.feature-card-large::before {
    opacity: 1;
}

.feature-icon-wrap {
    margin-bottom: 18px;
}

.feature-card-large .feature-icon-wrap {
    margin-bottom: 0;
}

.feature-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: rgba(124, 58, 237, 0.1);
    border: 1px solid rgba(124, 58, 237, 0.15);
    border-radius: var(--border-radius-md);
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

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

.feature-tag {
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.12);
    border: 1px solid rgba(124, 58, 237, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

/* ---------- Topics Section ---------- */
.topics-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.topics-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

.topics-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
}

.topic-category {
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.topic-category.visible {
    opacity: 1;
    transform: translateY(0);
}

.topic-category:hover {
    border-color: rgba(124, 58, 237, 0.15);
    background: var(--bg-card-hover);
}

.category-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.category-icon {
    font-size: 1.5rem;
}

.category-header h3 {
    font-size: 1.05rem;
    font-weight: 700;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.topic-tag {
    padding: 6px 14px;
    background: rgba(124, 58, 237, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.1);
    border-radius: var(--border-radius-full);
    font-size: 0.82rem;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.topic-tag:hover {
    background: rgba(124, 58, 237, 0.12);
    color: var(--accent-3);
    border-color: rgba(124, 58, 237, 0.2);
}

/* ---------- How It Works / Timeline ---------- */
.how-section {
    padding: 120px 0;
    position: relative;
}

.timeline {
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.timeline-line {
    position: absolute;
    left: 28px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--accent-1), var(--accent-3), transparent);
}

.timeline-item {
    display: flex;
    gap: 32px;
    margin-bottom: 48px;
    position: relative;
    opacity: 0;
    transform: translateX(-20px);
}

.timeline-item.visible {
    opacity: 1;
    transform: translateX(0);
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    flex-shrink: 0;
    width: 58px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    border: 2px solid var(--accent-1);
    border-radius: 50%;
    position: relative;
    z-index: 1;
}

.timeline-dot span {
    font-size: 1.1rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-content {
    padding: 28px 32px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-lg);
    flex: 1;
    transition: all var(--transition-normal);
}

.timeline-content:hover {
    border-color: rgba(124, 58, 237, 0.15);
    box-shadow: var(--shadow-glow);
}

.timeline-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(124, 58, 237, 0.1);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.timeline-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.timeline-content p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- Preview Section ---------- */
.preview-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.preview-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

.preview-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 32px;
}

.preview-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.preview-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.preview-card:hover {
    border-color: rgba(124, 58, 237, 0.2);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.preview-card-header {
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid var(--bg-glass-border);
}

.preview-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.preview-badge {
    padding: 4px 10px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--success);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.preview-card-body {
    padding: 24px;
}

/* Code Block Styling */
.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: var(--border-radius-md);
    overflow: hidden;
}

.code-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.code-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.code-dot.red { background: #ff5f57; }
.code-dot.yellow { background: #ffbd2e; }
.code-dot.green { background: #28c840; }

.code-title {
    margin-left: auto;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
}

.code-content {
    padding: 20px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 2;
}

.code-comment {
    color: var(--text-muted);
    font-style: italic;
}

.code-line {
    color: var(--text-secondary);
}

.code-key {
    color: var(--accent-3);
    font-weight: 600;
}

.code-answer {
    color: var(--success);
    font-weight: 700;
    font-size: 1rem;
}

/* ---------- Testimonials Section ---------- */
.testimonials-section {
    padding: 120px 0;
    position: relative;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: start;
}

.testimonial-card {
    padding: 36px 28px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-lg);
    transition: all var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.testimonial-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonial-card.featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08) 0%, var(--bg-card) 100%);
    border-color: rgba(124, 58, 237, 0.15);
    transform: scale(1.03);
}

.testimonial-card.featured.visible {
    transform: scale(1.03);
}

.testimonial-card:hover {
    border-color: rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
}

.testimonial-card.featured:hover {
    transform: scale(1.03) translateY(-4px);
}

.testimonial-stars {
    color: var(--warning);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-gradient);
    border-radius: 50%;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
}

.author-info strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.author-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Pricing Section ---------- */
.pricing-section {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
}

.pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(124, 58, 237, 0.2), transparent);
}

.pricing-single {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.pricing-single .pricing-card {
    max-width: 480px;
    width: 100%;
}

.pricing-card {
    padding: 40px 32px;
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: var(--border-radius-xl);
    transition: all var(--transition-normal);
    position: relative;
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.pricing-card-featured {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.1) 0%, var(--bg-card) 100%);
    border-color: rgba(124, 58, 237, 0.3);
    transform: scale(1.04);
    box-shadow: var(--shadow-glow-strong);
}

.pricing-card-featured.visible {
    transform: scale(1.04);
}

.pricing-card-featured:hover {
    transform: scale(1.04) translateY(-4px);
}

.pricing-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 20px;
    background: var(--accent-gradient-vibrant);
    color: white;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: var(--border-radius-full);
    white-space: nowrap;
    box-shadow: 0 4px 16px var(--accent-glow);
}

.pricing-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
}

.pricing-amount {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: 28px 0 8px;
}

.price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.price-value {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.03em;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-left: 4px;
}

.pricing-original {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.pricing-original span:first-child {
    text-decoration: line-through;
}

.pricing-save {
    padding: 3px 10px;
    background: rgba(52, 211, 153, 0.1);
    border: 1px solid rgba(52, 211, 153, 0.2);
    border-radius: var(--border-radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--success);
    text-decoration: none !important;
}

.pricing-features {
    list-style: none;
    margin: 28px 0 36px;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li.disabled {
    color: var(--text-muted);
    opacity: 0.5;
}

.check {
    color: var(--success);
    font-weight: 700;
    flex-shrink: 0;
}

.cross {
    color: var(--text-muted);
    flex-shrink: 0;
}



/* ---------- FAQ Section ---------- */
.faq-section {
    padding: 120px 0;
    position: relative;
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--bg-glass-border);
    opacity: 0;
    transform: translateY(10px);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-primary);
    font-size: 1.05rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--accent-3);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--accent-2);
    transition: transform var(--transition-normal);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 24px;
}

.faq-answer p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ---------- Final CTA Section ---------- */
.final-cta {
    padding: 120px 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-content > p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.cta-buttons {
    margin-bottom: 24px;
}

.cta-subtext {
    font-size: 0.88rem;
    color: var(--text-muted);
}

/* ---------- Footer ---------- */
.footer {
    padding: 64px 0 32px;
    border-top: 1px solid var(--bg-glass-border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.footer-brand {
    max-width: 320px;
}

.footer-brand .nav-logo {
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    gap: 64px;
    flex-wrap: wrap;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.footer-col a {
    display: block;
    font-size: 0.88rem;
    color: var(--text-muted);
    padding: 6px 0;
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--accent-3);
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid var(--bg-glass-border);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-card-large {
        grid-column: 1 / -1;
    }


}

@media (max-width: 768px) {
    .nav-links, .nav-cta {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(7, 7, 14, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--bg-glass-border);
    }

    .hero {
        padding: 100px 20px 60px;
        min-height: auto;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-stats {
        flex-direction: column;
        gap: 16px;
        padding: 24px;
    }

    .stat-divider {
        width: 60px;
        height: 1px;
    }

    .hero-scroll-indicator {
        display: none;
    }

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

    .feature-card-large {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-tag {
        justify-self: center;
    }

    .topics-wrapper {
        grid-template-columns: 1fr;
    }

    .preview-cards {
        grid-template-columns: 1fr;
    }

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

    .testimonial-card.featured {
        transform: none;
    }

    .testimonial-card.featured.visible {
        transform: none;
    }

    .timeline-line {
        left: 18px;
    }

    .timeline-dot {
        width: 40px;
        height: 40px;
    }

    .timeline-dot span {
        font-size: 0.9rem;
    }

    .timeline-item {
        gap: 20px;
    }

    .timeline-content {
        padding: 20px;
    }

    .footer-top {
        flex-direction: column;
        gap: 32px;
    }

    .footer-links {
        gap: 32px;
    }

    .pricing-guarantee {
        flex-direction: column;
        text-align: center;
    }

    .pain-section,
    .features-section,
    .topics-section,
    .how-section,
    .preview-section,
    .testimonials-section,
    .pricing-section,
    .faq-section,
    .final-cta {
        padding: 80px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .hero-cta-group {
        flex-direction: column;
    }

    .hero-cta-group .btn {
        width: 100%;
    }

    .preview-cards {
        grid-template-columns: 1fr;
        min-width: 0;
    }

    .code-content {
        font-size: 0.75rem;
        padding: 14px;
    }
}

/* =========================================
   ANDROID NATIVE UI ADJUSTMENTS
   ========================================= */

/* Bottom Navigation Bar for Mobile */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--bg-glass-border);
    z-index: 1000;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom, 0px);
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    gap: 4px;
    transition: color var(--transition-fast);
}

.bottom-nav-item.active {
    color: var(--accent-3);
}

.bottom-nav-icon {
    font-size: 20px;
}

.bottom-nav-text {
    font-size: 11px;
    font-weight: 500;
}

/* Touch Feedback (Ripple/Active state) */
button:active, .btn:active, .option-card:active, .topic-card:active {
    transform: scale(0.96);
    opacity: 0.8;
}

@media (max-width: 768px) {
    /* Hide top nav items to favor bottom nav */
    .mobile-toggle {
        display: none !important;
    }
    .navbar {
        height: 60px;
        justify-content: center;
        background: transparent;
    }
    .nav-container {
        justify-content: center;
    }
    
    /* Show bottom nav */
    .bottom-nav {
        display: flex;
    }

    /* Add padding to body so content isn't hidden behind bottom nav */
    body {
        padding-bottom: 80px;
    }

    /* Fix large elements */
    .pricing-value {
        font-size: 2.5rem !important;
    }
    .hero-glow {
        width: 100vw !important;
        height: 100vw !important;
        max-width: 500px;
        max-height: 500px;
    }
    .pricing-card {
        padding: 24px 20px !important;
    }
}

/* =========================================
   DASHBOARD UI STYLES (HOME REPLACEMENT)
   ========================================= */

.dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    z-index: 10;
    position: relative;
}

/* Top Cards */
.dashboard-top-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.dash-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 20px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: transform 0.2s ease;
}

.dash-card:active {
    transform: scale(0.97);
}

.dash-card-left {
    background: #15151F;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.dash-card-right {
    background: #15151F;
    border: 1px solid rgba(139, 92, 246, 0.15);
}

.dash-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.dash-card-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

.dash-card-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0 0 16px 0;
}

.highlight-bold {
    font-weight: 800;
    color: var(--accent-1);
}

.dash-card-icon-area {
    margin-top: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.dash-icon-placeholder {
    font-size: 4rem;
    opacity: 0.8;
}

.dash-btn-black {
    background-color: #ffffff;
    color: #000000;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    text-decoration: none;
    margin-top: auto;
    display: inline-block;
    transition: opacity 0.2s ease;
}

.dash-btn-black:active {
    opacity: 0.8;
}

/* Action Section */
.dashboard-action-section {
    margin-top: 16px;
}

.dash-section-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 16px 4px;
    color: var(--text-primary);
}

.dash-action-card {
    background: var(--bg-card);
    border: 1px solid var(--bg-glass-border);
    border-radius: 20px;
    padding: 24px;
}

.dash-action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.dash-action-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.dash-action-icon-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    transition: transform 0.2s ease;
}

.dash-action-item:active .dash-action-icon-circle {
    transform: scale(0.9);
}

.dash-action-icon-circle.blue {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}
.dash-action-icon-circle.purple {
    background: rgba(168, 85, 247, 0.15);
    color: #a855f7;
}
.dash-action-icon-circle.orange {
    background: rgba(249, 115, 22, 0.15);
    color: #f97316;
}
.dash-action-icon-circle.green {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
}

.dash-action-text {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
}

/* Responsive Overrides */
@media (max-width: 768px) {
    .dashboard-container {
        padding-top: 70px;
        padding-bottom: 20px;
    }

    .dashboard-top-cards {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .dash-card {
        padding: 16px;
    }

    .dash-card-title {
        font-size: 1.1rem;
        margin: 0 0 12px 0;
    }

    .dash-btn-black {
        padding: 10px;
        font-size: 0.75rem;
    }
    
    .dash-action-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 8px;
    }
    
    .dash-action-icon-circle {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .dash-action-text {
        font-size: 0.7rem;
    }
}

/* =========================================
   DASHBOARD SLIDER
   ========================================= */

.dash-slider-wrapper {
    width: 100%;
    margin-top: 16px;
    margin-bottom: 8px;
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.dash-slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.dash-slider-slide {
    min-width: 100%;
    box-sizing: border-box;
    padding: 24px;
    color: white;
    position: relative;
}

.slide-1 { background: #15151F; border: 1px solid rgba(139, 92, 246, 0.15); }
.slide-2 { background: #15151F; border: 1px solid rgba(139, 92, 246, 0.15); }
.slide-3 { background: linear-gradient(135deg, #8B5CF6 0%, #FF5C7A 100%); }

.slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 800;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.slide-content p {
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
    margin: 0 0 16px 0;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slide-btn {
    background: #ffffff;
    color: #000000;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    position: absolute;
    bottom: 16px;
    width: 100%;
}

.slider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #ffffff;
    width: 16px;
    border-radius: 10px;
}

/* =========================================
   AUTH MODAL & NAVBAR USER BADGE STYLES
   ========================================= */

.nav-auth-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-auth-btn {
    background: rgba(124, 58, 237, 0.15);
    color: var(--accent-3, #a855f7);
    border: 1px solid rgba(168, 85, 247, 0.3);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.nav-auth-btn:hover {
    background: rgba(124, 58, 237, 0.3);
    border-color: rgba(168, 85, 247, 0.6);
    transform: translateY(-1px);
}

.user-menu-wrap {
    position: relative;
    display: inline-block;
}

.user-profile-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.2));
    border: 1px solid rgba(168, 85, 247, 0.4);
    padding: 6px 14px;
    border-radius: 24px;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.user-profile-badge:hover {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.4), rgba(236, 72, 153, 0.4));
    border-color: rgba(168, 85, 247, 0.8);
    transform: translateY(-1px);
}

.user-avatar-icon {
    font-size: 1rem;
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: 240px;
    background: #13141f;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    z-index: 9999;
    backdrop-filter: blur(16px);
}

.user-dropdown.hidden {
    display: none !important;
}

.user-dropdown-header {
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 12px;
}

.user-dropdown-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
}

.user-dropdown-email {
    font-size: 0.78rem;
    color: #94a3b8;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-dropdown-status {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.user-dropdown-stats {
    display: flex;
    justify-content: space-around;
    padding: 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    font-size: 0.8rem;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.user-dropdown-item {
    width: 100%;
    padding: 10px;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.user-dropdown-item:hover {
    background: rgba(239, 68, 68, 0.25);
    border-color: rgba(239, 68, 68, 0.5);
}

/* Auth Modal Window */
.auth-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 9, 15, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.auth-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.auth-modal-overlay.hidden {
    display: none !important;
}

.auth-modal-card {
    position: relative;
    width: 90%;
    max-width: 420px;
    background: linear-gradient(145deg, #1e1f2e 0%, #12131e 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px 32px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: transparent;
    border: none;
    color: #94a3b8;
    font-size: 1.6rem;
    cursor: pointer;
    transition: color 0.2s ease;
}

.auth-modal-close:hover {
    color: #ffffff;
}

.auth-switch-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.88rem;
    color: #94a3b8;
}

.auth-switch-text a {
    color: #a855f7;
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s ease;
}

.auth-switch-text a:hover {
    color: #c084fc;
    text-decoration: underline;
}

.auth-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    font-size: 0.82rem;
    color: #94a3b8;
    margin: 0 0 20px 0;
    line-height: 1.4;
}

.auth-input-group {
    margin-bottom: 16px;
    text-align: left;
}

.auth-input-group label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.auth-input-group input {
    width: 100%;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    box-sizing: border-box;
    outline: none;
    transition: all 0.3s ease;
}

.auth-input-group input:focus {
    border-color: #a855f7;
    background: rgba(255, 255, 255, 0.06);
    box-shadow: 0 0 0 4px rgba(168, 85, 247, 0.15);
}

.auth-input-group input:-webkit-autofill,
.auth-input-group input:-webkit-autofill:hover,
.auth-input-group input:-webkit-autofill:focus,
.auth-input-group input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1b26 inset !important;
    -webkit-text-fill-color: #ffffff !important;
    transition: background-color 5000s ease-in-out 0s;
}

.auth-error-msg {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #f87171;
    font-size: 0.8rem;
    padding: 10px 12px;
    border-radius: 10px;
    margin-bottom: 16px;
    text-align: left;
}

.auth-error-msg.hidden {
    display: none !important;
}

.auth-form.hidden {
    display: none !important;
}

.auth-submit-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #ffffff;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(124, 58, 237, 0.35);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(124, 58, 237, 0.5);
}


 