/**
 * FollowerTracker.app - Main Stylesheet
 * Design: Blue & White with Liquid Glass Effects
 * Inspired by Apple's design language
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors - Blue Palette */
    --primary-50: #EFF6FF;
    --primary-100: #DBEAFE;
    --primary-200: #BFDBFE;
    --primary-300: #93C5FD;
    --primary-400: #60A5FA;
    --primary-500: #3B82F6;
    --primary-600: #2563EB;
    --primary-700: #1D4ED8;
    --primary-800: #1E40AF;
    --primary-900: #1E3A8A;
    
    /* Accent Colors */
    --accent-cyan: #06B6D4;
    --accent-indigo: #6366F1;
    --accent-purple: #8B5CF6;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --gray-50: #F9FAFB;
    --gray-100: #F3F4F6;
    --gray-200: #E5E7EB;
    --gray-300: #D1D5DB;
    --gray-400: #9CA3AF;
    --gray-500: #6B7280;
    --gray-600: #4B5563;
    --gray-700: #374151;
    --gray-800: #1F2937;
    --gray-900: #111827;
    
    /* Status Colors */
    --success: #10B981;
    --warning: #F59E0B;
    --error: #EF4444;
    
    /* Liquid Glass Effects */
    --glass-bg: rgba(255, 255, 255, 0.72);
    --glass-bg-dark: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.5);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.15);
    --glass-blur: blur(20px);
    
    /* Typography */
    --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-2xl: 32px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
    
    /* Container */
    --container-max: 1200px;
    --container-narrow: 800px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--white) 50%, var(--primary-100) 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    max-width: 100vw;
}

/* Fix H1UserAgentFontSizeInSection - explicit sizes prevent browser auto-adjustment */
h1, h2, h3, h4, h5, h6 {
    font-synthesis: none;
    margin: 0;
}

h1 { font-size: clamp(32px, 6vw, 56px); font-weight: 800; line-height: 1.1; }
h2 { font-size: clamp(24px, 4vw, 40px); font-weight: 800; line-height: 1.2; }
h3 { font-size: 18px; font-weight: 700; line-height: 1.3; }
h4 { font-size: 16px; font-weight: 700; line-height: 1.4; }

/* Background Pattern */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 60%, rgba(6, 182, 212, 0.05) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

a {
    color: var(--primary-600);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-700);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   LIQUID GLASS NAVIGATION
   ============================================ */
.liquid-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-md) var(--space-lg);
    transition: all var(--transition-base);
}

.liquid-nav.scrolled {
    padding: var(--space-sm) var(--space-lg);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-sm) var(--space-md);
    box-shadow: var(--glass-shadow);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 18px;
    color: var(--gray-900);
    text-decoration: none;
}

.logo-icon {
    font-size: 24px;
}

.logo-text {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Nav Toggle (Mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: var(--space-sm);
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* Nav Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    font-weight: 500;
    font-size: 14px;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
    background: none;
    border: none;
}

.nav-link:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-600);
}

.dropdown-arrow {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

/* Dropdown Menu */
.nav-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    min-width: 220px;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-sm);
    box-shadow: var(--glass-shadow);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-fast);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(5px);
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--gray-700);
    font-size: 14px;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu a:hover {
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-600);
}

/* Nav CTA */
.nav-cta {
    display: inline-flex;
    align-items: center;
    padding: var(--space-sm) var(--space-lg);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    color: var(--white) !important;
    font-weight: 600;
    font-size: 14px;
    border-radius: var(--radius-full);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    transition: all var(--transition-fast);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

/* Mobile Navigation */
@media (max-width: 900px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: var(--space-md);
        right: var(--space-md);
        flex-direction: column;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        border: 1px solid var(--glass-border);
        border-radius: var(--radius-xl);
        padding: var(--space-lg);
        box-shadow: var(--glass-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all var(--transition-base);
    }
    
    .nav-menu.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-link {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-dropdown {
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
        margin-top: var(--space-sm);
        background: rgba(59, 130, 246, 0.05);
    }
    
    .nav-dropdown.active .dropdown-menu {
        display: block;
    }
    
    .nav-cta {
        width: 100%;
        justify-content: center;
        margin-top: var(--space-md);
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding: 90px var(--space-lg) var(--space-sm);
    text-align: center;
    min-height: auto !important;
    height: auto !important;
}

/* Compact hero for pages without analyzer */
.hero.hero-compact {
    padding-top: 80px;
    padding-bottom: 0;
    margin-bottom: 0;
}

.hero-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
    min-height: auto !important;
    height: auto !important;
}

/* Hero App CTA with rating */
.hero-app-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    margin: var(--space-lg) 0;
    flex-wrap: wrap;
}

.hero-badge-inline {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-700);
}

.hero-badge-inline .hero-badge-icon {
    font-size: 14px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-700);
    margin-bottom: var(--space-lg);
    box-shadow: var(--glass-shadow);
    min-height: 36px;
}

.hero-badge-icon {
    font-size: 16px;
}

.hero h1 {
    font-size: clamp(32px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
    min-height: auto;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--accent-indigo) 50%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto var(--space-md);
    line-height: 1.6;
}

/* Compact hero subtitle - even less margin */
.hero.hero-compact .hero-subtitle {
    margin-bottom: 0;
}

/* Trust Indicators */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-2xl);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 14px;
    color: var(--gray-600);
}

.trust-icon {
    font-size: 18px;
}

/* ============================================
   ANALYZER CARD (Main Input)
   ============================================ */
.analyzer-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-2xl);
    padding: var(--space-lg);
    box-shadow: var(--glass-shadow);
    max-width: 500px;
    margin: 0 auto;
    min-height: auto;
}

/* Trust badges inside analyzer form */
.analyzer-trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
    flex-wrap: nowrap;
}

.trust-item-inline {
    font-size: 12px;
    font-weight: 600;
    color: var(--gray-600);
    white-space: nowrap;
}

.analyzer-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.input-wrapper {
    position: relative;
}

.input-icon {
    position: absolute;
    left: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    font-size: 20px;
    color: var(--gray-400);
    pointer-events: none;
}

.analyzer-input {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    padding-left: 50px;
    font-size: 16px;
    font-family: inherit;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    background: var(--white);
    color: var(--gray-800);
    transition: all var(--transition-fast);
}

.analyzer-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}

.analyzer-input::placeholder {
    color: var(--gray-400);
}

.analyzer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md) var(--space-xl);
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
    transition: all var(--transition-fast);
}

.analyzer-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.5);
}

.analyzer-btn:disabled {
    background: var(--gray-300);
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

.analyzer-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-size: 13px;
    color: var(--gray-500);
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-top: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--gray-200);
}

.avatar-stack {
    display: flex;
}

.avatar-stack img,
.avatar-stack .avatar-placeholder {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--white);
    margin-left: -8px;
    object-fit: cover;
}

.avatar-stack img:first-child,
.avatar-stack .avatar-placeholder:first-child {
    margin-left: 0;
}

.social-proof-text {
    font-size: 13px;
    color: var(--gray-600);
}

.social-proof-text strong {
    color: var(--gray-800);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features {
    padding: var(--space-xl) var(--space-lg);
}

.features-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header-compact {
    margin-bottom: var(--space-md);
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-xs) var(--space-md);
    background: var(--primary-100);
    color: var(--primary-700);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-md);
}

/* 3-column grid for How It Works section */
.features-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Internal links grid */
.internal-links-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

@media (max-width: 900px) {
    .features-grid-3,
    .internal-links-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    transition: all var(--transition-base);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(31, 38, 135, 0.12);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-100) 0%, var(--primary-200) 100%);
    border-radius: var(--radius-lg);
    font-size: 28px;
    margin-bottom: var(--space-md);
}

.feature-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: var(--space-sm);
}

.feature-description {
    font-size: 14px;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ============================================
   COMPARISON SECTION
   ============================================ */
.comparison {
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(180deg, transparent 0%, var(--primary-50) 100%);
}

.comparison-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-2xl);
}

.comparison-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.comparison-card.others {
    border: 2px solid var(--error);
    opacity: 0.8;
}

.comparison-card.us {
    border: 2px solid var(--primary-500);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.2);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.comparison-icon {
    font-size: 32px;
}

.comparison-title {
    font-size: 20px;
    font-weight: 700;
}

.comparison-list {
    list-style: none;
}

.comparison-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 14px;
    color: var(--gray-700);
}

.comparison-list .icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================
   APP SECTION
   ============================================ */
.app-section {
    padding: var(--space-xl) var(--space-lg);
}

.app-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.app-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

@media (max-width: 900px) {
    .app-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.app-info h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-md);
}

.app-info p {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: var(--space-lg);
}

.app-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.app-feature {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.app-feature-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-100);
    border-radius: var(--radius-md);
    font-size: 20px;
}

.app-feature-text {
    font-size: 15px;
    color: var(--gray-700);
}

.app-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

@media (max-width: 900px) {
    .app-buttons {
        justify-content: center;
    }
}

.app-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    background: var(--gray-900);
    color: var(--white);
    font-weight: 600;
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.app-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    color: var(--white);
}

.app-btn-icon {
    font-size: 24px;
}

.app-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.app-btn-text small {
    font-size: 10px;
    opacity: 0.8;
}

.app-btn-text span {
    font-size: 16px;
}

.app-mockup {
    display: flex;
    justify-content: center;
}

.app-mockup img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--space-xl) var(--space-lg);
    background: var(--gray-50);
}

.faq-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--gray-800);
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-600);
}

.faq-icon {
    font-size: 20px;
    color: var(--primary-500);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer-content {
    padding: 0 var(--space-lg) var(--space-lg);
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
}

/* ============================================
   RESULTS SECTION
   ============================================ */
.results-section {
    padding: var(--space-2xl) var(--space-lg);
}

.results-container {
    max-width: 600px;
    margin: 0 auto;
}

/* Profile Card */
.profile-card {
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--glass-shadow);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.profile-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 3px solid var(--primary-500);
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.verified-badge {
    color: var(--primary-500);
    font-size: 16px;
}

.profile-username {
    font-size: 14px;
    color: var(--gray-500);
}

.profile-stats {
    display: flex;
    gap: var(--space-lg);
    margin-top: var(--space-md);
}

.profile-stat {
    text-align: center;
}

.profile-stat-number {
    font-size: 18px;
    font-weight: 700;
    color: var(--gray-900);
}

.profile-stat-label {
    font-size: 12px;
    color: var(--gray-500);
}

/* Tabs */
.tabs {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.tab-btn {
    flex: 1;
    padding: var(--space-md);
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-600);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.tab-btn:hover {
    border-color: var(--primary-300);
    color: var(--primary-600);
}

.tab-btn.active {
    background: var(--primary-500);
    border-color: var(--primary-500);
    color: var(--white);
}

/* User Cards */
.user-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.user-card {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md);
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    transition: all var(--transition-fast);
}

.user-card:hover {
    border-color: var(--primary-300);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.user-info {
    flex: 1;
    min-width: 0;
}

.user-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-900);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-fullname {
    font-size: 13px;
    color: var(--gray-500);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.user-action {
    padding: var(--space-sm) var(--space-md);
    background: var(--primary-500);
    color: var(--white);
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all var(--transition-fast);
}

.user-action:hover {
    background: var(--primary-600);
    color: var(--white);
}

/* Blurred State */
.user-card.blurred {
    position: relative;
    overflow: hidden;
}

.user-card.blurred::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0.6) 100%);
    backdrop-filter: blur(4px);
}

/* ============================================
   CONTENT SECTION (Long-form content)
   ============================================ */
.content-section {
    padding: var(--space-md) var(--space-lg);
    background: var(--white);
    margin-top: 0;
}

.content-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.content-body {
    background: var(--gray-50);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-top: 0;
}

.content-body p {
    color: var(--gray-700);
    line-height: 1.8;
    margin-bottom: var(--space-lg);
    font-size: 16px;
}

.content-body h3 {
    color: var(--gray-900);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    font-size: 20px;
}

.content-body ul {
    margin: var(--space-md) 0 var(--space-lg) var(--space-lg);
    color: var(--gray-700);
    line-height: 1.8;
}

.content-body ul li {
    margin-bottom: var(--space-sm);
}

.content-body a {
    color: var(--primary-600);
    font-weight: 600;
}

.content-body a:hover {
    text-decoration: underline;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    padding: var(--space-xl) var(--space-lg);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-800) 100%);
    color: var(--white);
    text-align: center;
}

.cta-container {
    max-width: var(--container-narrow);
    margin: 0 auto;
}

.cta-section h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.cta-section p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: var(--space-xl);
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-2xl);
    background: var(--white);
    color: var(--primary-700);
    font-size: 18px;
    font-weight: 700;
    border-radius: var(--radius-full);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all var(--transition-fast);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    color: var(--primary-800);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-300);
    padding: var(--space-3xl) var(--space-lg) var(--space-xl);
}

.footer-container {
    max-width: var(--container-max);
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: var(--space-md);
}

.footer-tagline {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: var(--space-md);
}

.footer-trust {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    font-size: 12px;
}

.footer-column h4 {
    color: var(--white);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: var(--space-sm);
}

.footer-column a {
    color: var(--gray-400);
    font-size: 14px;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--white);
}

.footer-apps {
    text-align: center;
    padding: var(--space-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--space-xl);
}

.footer-apps p {
    font-size: 14px;
    margin-bottom: var(--space-md);
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.app-badge img {
    height: 40px;
    width: auto;
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: 14px;
    margin-bottom: var(--space-sm);
}

.disclaimer {
    font-size: 12px;
    color: var(--gray-400);
}

/* ============================================
   LOADING STATES
   ============================================ */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray-200);
    border-top-color: var(--primary-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: var(--space-xl) auto;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.skeleton {
    background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   ERROR STATES
   ============================================ */
.error-message {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    text-align: center;
    color: var(--error);
}

.error-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.error-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.error-text {
    font-size: 14px;
    opacity: 0.8;
}

/* ============================================
   UTILITIES
   ============================================ */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }

.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.mb-lg { margin-bottom: var(--space-lg); }
.mb-xl { margin-bottom: var(--space-xl); }

.hidden { display: none !important; }
.visible { display: block !important; }

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media (max-width: 900px) {
    /* Force all grids to single column on tablet/mobile */
    .features-grid,
    .features-grid[style],
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Footer grid - stack on tablet */
    .footer-grid,
    .footer-grid[style] {
        grid-template-columns: 1fr !important;
        gap: var(--space-xl);
    }
}

@media (max-width: 600px) {
    /* BULLETPROOF MOBILE FIX - Override everything EXCEPT nav */
    *:not(.nav-menu):not(.nav-container):not(.nav-link):not(.nav-cta):not(.liquid-nav):not(.nav-toggle):not(.dropdown-menu) {
        max-width: 100vw;
        box-sizing: border-box;
    }
    
    body {
        width: 100vw;
        overflow-x: hidden;
    }
    
    /* Force containers to fit - EXCLUDE nav elements */
    section, article, aside, main, footer,
    div:not(.nav-menu):not(.nav-container):not(.dropdown-menu) {
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Override inline width styles - EXCLUDE nav */
    [style*="max-width"]:not(.nav-menu):not(.nav-container) {
        max-width: 100% !important;
    }
    
    [style*="width"]:not(img):not(svg):not(.nav-menu):not(.nav-container) {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    /* MOBILE NAV - Must work! */
    .nav-menu {
        position: fixed !important;
        top: 80px !important;
        left: 16px !important;
        right: 16px !important;
        width: auto !important;
        max-width: none !important;
        flex-direction: column !important;
        background: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
        border-radius: 24px !important;
        padding: 24px !important;
        box-shadow: 0 8px 32px rgba(31, 38, 135, 0.15) !important;
        opacity: 0;
        visibility: hidden;
        transform: translateY(-20px);
        transition: all 0.25s ease;
        z-index: 9999 !important;
    }
    
    .nav-menu.active {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
    
    .nav-toggle {
        display: flex !important;
        z-index: 10000 !important;
    }
    
    .hero {
        padding: 80px var(--space-md) var(--space-sm);
        min-height: auto;
    }
    
    .hero.hero-compact {
        padding-top: 80px;
        padding-bottom: 0;
    }
    
    .hero-container {
        min-height: auto;
        padding: 0 var(--space-sm);
        width: 100% !important;
    }
    
    /* Hero app CTA mobile */
    .hero-app-cta {
        flex-direction: column;
        gap: var(--space-md);
    }
    
    .hero-badge-inline {
        font-size: 12px;
    }
    
    /* Analyzer trust badges mobile - keep on one line */
    .analyzer-trust-badges {
        gap: var(--space-sm);
    }
    
    .trust-item-inline {
        font-size: 10px;
    }
    
    /* Content section mobile */
    .content-section {
        padding: var(--space-md) var(--space-md);
    }
    
    .content-body {
        padding: var(--space-md);
        margin-top: var(--space-sm);
    }
    
    .content-body h3 {
        font-size: 18px;
    }
    
    .content-body p,
    .content-body ul {
        font-size: 15px;
    }
    
    .analyzer-card {
        padding: var(--space-lg);
        min-height: auto;
        margin-left: var(--space-sm);
        margin-right: var(--space-sm);
        width: calc(100% - 16px) !important;
    }
    
    /* Force ALL grids to single column */
    .features-grid,
    .features-grid[style],
    .comparison-grid,
    [class*="grid"] {
        grid-template-columns: 1fr !important;
        width: 100% !important;
        display: grid !important;
    }
    
    /* Feature cards - NOT square, just centered */
    .feature-card {
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        text-align: center;
        padding: var(--space-md);
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .feature-card .feature-icon {
        margin: 0 auto var(--space-sm);
    }
    
    .feature-card .feature-title {
        margin-bottom: var(--space-xs);
    }
    
    .feature-card .feature-description {
        font-size: 14px;
        line-height: 1.6;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .comparison-grid {
        grid-template-columns: 1fr !important;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .profile-stats {
        justify-content: space-around;
    }
    
    /* Footer - single column on mobile */
    .footer-grid,
    .footer-grid[style] {
        grid-template-columns: 1fr !important;
        gap: var(--space-lg);
        text-align: center;
    }
    
    .footer-brand {
        max-width: 100% !important;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .footer-trust {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-column ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .footer-apps {
        padding: var(--space-lg) 0;
    }
    
    .app-badges {
        flex-direction: column;
        align-items: center;
        gap: var(--space-sm);
    }
    
    .footer-bottom {
        padding: var(--space-md);
    }
    
    .disclaimer {
        font-size: 11px;
        line-height: 1.5;
    }
    
    /* Sections padding */
    .features,
    .comparison,
    .app-section,
    .faq,
    .cta-section {
        padding: var(--space-lg) var(--space-md);
    }
    
    /* Site footer */
    .site-footer {
        padding: var(--space-lg) var(--space-md) var(--space-md);
    }
    
    /* ALL containers must fit */
    .hero-container,
    .features-container,
    .comparison-container,
    .app-container,
    .faq-container,
    .cta-container,
    .footer-container {
        max-width: 100% !important;
        width: 100% !important;
        padding-left: var(--space-sm);
        padding-right: var(--space-sm);
        box-sizing: border-box;
    }
    
    /* Fix hero subtitle on mobile */
    .hero-subtitle {
        max-width: 100% !important;
        padding: 0;
        font-size: 15px;
    }
    
    /* App section on mobile */
    .app-content {
        gap: var(--space-xl);
    }
    
    .app-mockup img {
        max-width: 200px !important;
        height: auto;
    }
    
    /* Section titles smaller on mobile */
    .section-title {
        font-size: 24px !important;
    }
    
    .cta-section h2 {
        font-size: 22px !important;
    }
    
    /* Text containers */
    p, h1, h2, h3, h4, span, a {
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    /* Privacy/Terms content boxes */
    .features-container > div {
        padding: var(--space-lg) !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { 
        opacity: 0;
        transform: translateY(20px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slide-up {
    animation: slideUp 0.5s ease forwards;
}

@keyframes popIn {
    from { 
        opacity: 0;
        transform: scale(0.9);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

.animate-pop-in {
    animation: popIn 0.4s ease forwards;
}

/* ============================================
   ERROR CARDS
   ============================================ */
.error-card {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-indigo) 100%);
    color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-xl);
    margin: var(--space-lg) 0;
    text-align: center;
    box-shadow: 0 8px 32px rgba(37, 99, 235, 0.3);
}

.error-card.rate-limit {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF8E53 100%);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
}

.error-card.not-found {
    background: linear-gradient(135deg, #FF6B6B 0%, #FF5252 100%);
    box-shadow: 0 8px 32px rgba(255, 107, 107, 0.3);
}

.error-card.private-profile {
    background: linear-gradient(135deg, #FFB84D 0%, #FF9A3D 100%);
    box-shadow: 0 8px 32px rgba(255, 184, 77, 0.3);
}

.error-card.timeout {
    background: linear-gradient(135deg, #9B59B6 0%, #8E44AD 100%);
    box-shadow: 0 8px 32px rgba(155, 89, 182, 0.3);
}

.error-card .error-icon {
    font-size: 48px;
    margin-bottom: var(--space-md);
}

.error-card .error-title {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.error-card .error-subtitle {
    font-size: 16px;
    opacity: 0.95;
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.error-card .error-features,
.error-card .error-tips {
    background: rgba(0, 0, 0, 0.2);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: var(--space-lg) 0;
    text-align: left;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.error-card .error-features-title,
.error-card .error-tips-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: var(--space-sm);
    text-align: center;
}

.error-card .error-features ul,
.error-card .error-tips ul {
    list-style: none;
    font-size: 14px;
    line-height: 1.8;
}

.error-card .error-social-proof {
    background: rgba(255, 255, 255, 0.2);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    font-size: 14px;
    font-weight: 600;
}

.error-card .error-actions {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin: var(--space-lg) 0 var(--space-md);
}

.error-card .cta-btn {
    display: inline-block;
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    border: none;
    transition: var(--transition-fast);
}

.error-card .cta-btn.primary {
    background: var(--white);
    color: var(--primary-600);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.error-card .cta-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.error-card .cta-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.error-card .cta-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.error-card .error-note {
    font-size: 12px;
    opacity: 0.85;
    margin-top: var(--space-md);
}

/* Loading Steps */
.loading-state {
    text-align: center;
    padding: var(--space-2xl);
}

.loading-state .loading-text {
    font-size: 18px;
    margin: var(--space-lg) 0;
    color: var(--gray-700);
}

.loading-state .loading-steps {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.loading-state .loading-step {
    font-size: 14px;
    color: var(--gray-500);
    transition: var(--transition-base);
}

/* Unlock CTA in User List */
.unlock-cta {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--accent-indigo) 100%);
    color: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    margin-top: var(--space-lg);
}

.unlock-cta .unlock-icon {
    font-size: 36px;
    margin-bottom: var(--space-sm);
}

.unlock-cta .unlock-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.unlock-cta .unlock-text {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: var(--space-md);
}

.unlock-cta .cta-btn {
    display: inline-block;
    background: var(--white);
    color: var(--primary-600);
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-full);
    font-weight: 700;
    text-decoration: none;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition-fast);
}

.unlock-cta .cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

