/* ============================================
   TikTok Jeton Hilesi 2026 - Premium CSS Theme
   SEO Optimized & Performance Focused
   ============================================ */

/* CSS Custom Properties (Variables) */
:root {
    /* Brand Colors */
    --primary-color: #FE2C55;
    --primary-dark: #d91a43;
    --primary-light: #ff5c7c;
    --secondary-color: #25F4EE;
    --secondary-dark: #1bc5c0;
    --secondary-light: #5ff7f3;
    
    /* Neutral Colors */
    --bg-color: #0a0a0f;
    --bg-secondary: #121218;
    --bg-tertiary: #1a1a24;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-bg-hover: rgba(255, 255, 255, 0.06);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #b4b4c4;
    --text-muted: #6b6b7b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, #ff6b8a 50%, var(--secondary-color) 100%);
    --gradient-glow: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    --gradient-dark: linear-gradient(180deg, var(--bg-color) 0%, var(--bg-secondary) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(254, 44, 85, 0.3);
    --shadow-glow-secondary: 0 0 40px rgba(37, 244, 238, 0.2);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Typography */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 2rem;
    --font-size-4xl: 2.5rem;
    --font-size-5xl: 3.5rem;
    
    /* Spacing */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    
    /* Z-Index Scale */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal: 400;
    --z-tooltip: 500;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    background: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}


/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--text-primary);
}

/* Focus Styles for Accessibility */
:focus-visible {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: white;
    padding: var(--space-3) var(--space-6);
    border-radius: var(--radius-md);
    z-index: var(--z-tooltip);
    transition: var(--transition-fast);
    text-decoration: none;
    font-weight: 600;
}

.skip-link:focus {
    top: var(--space-4);
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(2rem, 5vw, var(--font-size-5xl)); }
h2 { font-size: clamp(1.5rem, 4vw, var(--font-size-4xl)); }
h3 { font-size: clamp(1.25rem, 3vw, var(--font-size-2xl)); }

p {
    color: var(--text-secondary);
    font-size: var(--font-size-base);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-fast);
}

/* Gradient Text */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.highlight {
    color: var(--primary-color);
}

/* ============================================
   Layout Components
   ============================================ */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-6);
}

.section-title {
    text-align: center;
    margin-bottom: var(--space-4);
    font-size: var(--font-size-4xl);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: var(--space-12);
    font-size: var(--font-size-lg);
}

/* ============================================
   Header & Navigation
   ============================================ */
header {
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-4) 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    font-weight: 800;
    font-size: var(--font-size-xl);
    color: var(--text-primary);
}

.logo img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.4);
    transition: var(--transition-base);
}

.logo:hover img {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 0 30px rgba(254, 44, 85, 0.6);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: var(--space-8);
}

nav a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: var(--font-size-sm);
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    transition: var(--transition-base);
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-glow);
    transition: var(--transition-base);
    transform: translateX(-50%);
}

nav a:hover {
    color: var(--text-primary);
}

nav a:hover::after {
    width: 80%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-2);
    z-index: var(--z-fixed);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-base);
    border-radius: 2px;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}


/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    padding: var(--space-20) 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-effects {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: var(--primary-color);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: var(--secondary-color);
    bottom: -50px;
    left: -50px;
    animation-delay: -2s;
}

.shape-3 {
    width: 200px;
    height: 200px;
    background: linear-gradient(var(--primary-color), var(--secondary-color));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    background: rgba(254, 44, 85, 0.15);
    border: 1px solid rgba(254, 44, 85, 0.3);
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: var(--space-6);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(254, 44, 85, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(254, 44, 85, 0); }
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: var(--space-6);
    letter-spacing: -0.02em;
    animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-description {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto var(--space-10);
    animation: slideUp 0.8s ease-out 0.1s both;
}

.hero-description strong {
    color: var(--secondary-color);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--space-12);
    margin-bottom: var(--space-10);
    animation: slideUp 0.8s ease-out 0.2s both;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Hero CTA */
.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    animation: slideUp 0.8s ease-out 0.3s both;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: var(--gradient-glow);
    color: white;
    font-weight: 700;
    font-size: var(--font-size-base);
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
    opacity: 0;
    transition: var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-glow {
    animation: btnGlow 3s ease-in-out infinite;
}

@keyframes btnGlow {
    0%, 100% { box-shadow: 0 0 20px rgba(254, 44, 85, 0.4); }
    50% { box-shadow: 0 0 40px rgba(254, 44, 85, 0.6), 0 0 60px rgba(37, 244, 238, 0.3); }
}

.btn-large {
    padding: var(--space-5) var(--space-10);
    font-size: var(--font-size-lg);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    background: transparent;
    color: var(--text-primary);
    font-weight: 600;
    font-size: var(--font-size-base);
    border-radius: var(--radius-full);
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: var(--transition-base);
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
    background: rgba(37, 244, 238, 0.1);
}

.btn-icon {
    font-size: 1.2em;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-8);
    flex-wrap: wrap;
    animation: slideUp 0.8s ease-out 0.4s both;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

.trust-icon {
    font-size: 1.2em;
}


/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: var(--space-20) 0;
    background: var(--bg-secondary);
    position: relative;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-6);
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: var(--space-8);
    text-align: center;
    transition: var(--transition-base);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-glow);
    transform: scaleX(0);
    transition: var(--transition-base);
}

.feature-card:hover {
    background: var(--card-bg-hover);
    transform: translateY(-5px);
    border-color: rgba(254, 44, 85, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-4);
    display: block;
}

.feature-card h3 {
    font-size: var(--font-size-xl);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
}

.feature-card p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Animation for cards */
.feature-card,
.article-card,
.faq-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.feature-card.animate-in,
.article-card.animate-in,
.faq-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Articles Section
   ============================================ */
.articles-section {
    padding: var(--space-20) 0;
    background: var(--bg-color);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-8);
}

.article-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: var(--transition-base);
    display: flex;
    flex-direction: column;
}

.article-card:hover {
    transform: translateY(-8px);
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-glow-secondary);
}

.article-image-wrapper {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.article-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.article-card:hover .article-image-wrapper img {
    transform: scale(1.1);
}

.article-badge {
    position: absolute;
    top: var(--space-3);
    right: var(--space-3);
    background: var(--primary-color);
    color: white;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
}

.article-content {
    padding: var(--space-6);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.article-category {
    display: inline-block;
    color: var(--secondary-color);
    font-size: var(--font-size-xs);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-2);
}

.article-card h3 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-3);
    color: var(--text-primary);
    line-height: 1.4;
}

.article-card p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.7;
    flex: 1;
}


/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: var(--space-20) 0;
    background: var(--bg-secondary);
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: var(--space-4);
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-base);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.faq-item.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(254, 44, 85, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-5) var(--space-6);
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: var(--transition-base);
    font-family: inherit;
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: var(--font-size-xl);
    font-weight: 300;
    color: var(--text-muted);
    transition: var(--transition-base);
    flex-shrink: 0;
    margin-left: var(--space-4);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-answer p {
    padding: 0 var(--space-6) var(--space-5);
    color: var(--text-secondary);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
    padding: var(--space-20) 0;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.1) 0%, rgba(37, 244, 238, 0.1) 100%);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 44, 85, 0.2) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.cta-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: var(--font-size-4xl);
    margin-bottom: var(--space-4);
}

.cta-content p {
    font-size: var(--font-size-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

/* ============================================
   About Section
   ============================================ */
.about-section {
    padding: var(--space-20) 0;
    background: var(--bg-color);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: center;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-6);
}

.about-content p {
    margin-bottom: var(--space-4);
    font-size: var(--font-size-base);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: var(--space-8);
    margin-top: var(--space-8);
}

.about-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: var(--font-size-3xl);
    font-weight: 800;
    color: var(--primary-color);
}

.stat-desc {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-xl);
    border: 3px solid var(--secondary-color);
    box-shadow: var(--shadow-lg);
}

.about-image::before {
    content: '';
    position: absolute;
    inset: -10px;
    border: 2px dashed rgba(37, 244, 238, 0.3);
    border-radius: var(--radius-xl);
    z-index: -1;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-section {
    padding: var(--space-16) 0;
    background: var(--bg-secondary);
}

.contact-wrapper {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-wrapper .section-title {
    margin-bottom: var(--space-4);
}

.contact-wrapper > p {
    margin-bottom: var(--space-8);
}

.contact-info {
    display: flex;
    justify-content: center;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    background: var(--card-bg);
    padding: var(--space-5) var(--space-8);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-item a {
    color: var(--secondary-color);
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.contact-item a:hover {
    color: var(--secondary-light);
}


/* ============================================
   Footer
   ============================================ */
footer {
    background: #050508;
    padding: var(--space-16) 0 var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-12);
    padding-bottom: var(--space-12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    margin-bottom: var(--space-8);
}

.footer-brand .logo {
    margin-bottom: var(--space-4);
}

.footer-brand p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    max-width: 300px;
}

.footer-nav h3,
.footer-cta h3 {
    font-size: var(--font-size-base);
    margin-bottom: var(--space-4);
    color: var(--text-primary);
}

.footer-nav ul {
    list-style: none;
}

.footer-nav li {
    margin-bottom: var(--space-2);
}

.footer-nav a {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    transition: var(--transition-fast);
}

.footer-nav a:hover {
    color: var(--primary-color);
}

.footer-cta p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.footer-cta .btn-primary {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-sm);
}

.footer-bottom {
    text-align: center;
}

.footer-bottom p {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

.disclaimer {
    margin-top: var(--space-2);
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    opacity: 0.7;
}

/* ============================================
   Generator Page Styles
   ============================================ */
.generator-container {
    max-width: 550px;
    margin: var(--space-12) auto;
    background: linear-gradient(145deg, var(--card-bg), rgba(255, 255, 255, 0.02));
    padding: var(--space-10);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.generator-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-glow);
}

.generator-container h2 {
    color: var(--primary-color);
    margin-bottom: var(--space-4);
}

.input-group {
    margin-bottom: var(--space-6);
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: var(--space-2);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}

.input-group input,
.input-group select {
    width: 100%;
    padding: var(--space-4);
    background: rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: var(--font-size-base);
    font-family: inherit;
    outline: none;
    transition: var(--transition-base);
}

.input-group input::placeholder {
    color: var(--text-muted);
}

.input-group input:focus,
.input-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(254, 44, 85, 0.15);
}

.input-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23ffffff' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10l-5 5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

/* Fake Captcha */
.fake-captcha {
    margin: var(--space-6) auto;
    background: #f9f9f9;
    border: 1px solid #d3d3d3;
    padding: var(--space-4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #555;
    max-width: 304px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.captcha-checkbox {
    width: 28px;
    height: 28px;
    border: 2px solid #c1c1c1;
    border-radius: 3px;
    background: #fff;
    cursor: pointer;
    margin-right: var(--space-4);
    position: relative;
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.captcha-checkbox:hover {
    border-color: #4285f4;
}

.captcha-checkbox.checked {
    background: #4285f4;
    border-color: #4285f4;
}

.captcha-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: white;
    font-weight: bold;
}

.captcha-text {
    font-size: 14px;
    font-family: Roboto, helvetica, arial, sans-serif;
    flex-grow: 1;
    text-align: left;
}

.captcha-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 8px;
    color: #999;
}

.captcha-logo img {
    width: 32px;
    margin-bottom: 2px;
}

/* Progress Bar */
.progress-bar-bg {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    margin: var(--space-6) 0;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient-glow);
    border-radius: var(--radius-full);
    transition: width 0.1s linear;
    position: relative;
}

.progress-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

#status-text {
    font-style: italic;
    color: var(--secondary-color);
    font-size: var(--font-size-sm);
}

#percentage {
    font-size: var(--font-size-2xl);
    font-weight: 800;
    background: var(--gradient-glow);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

#error-message {
    display: none;
    background: rgba(254, 44, 85, 0.1);
    color: var(--text-primary);
    padding: var(--space-6);
    border-radius: var(--radius-md);
    border: 1px solid var(--primary-color);
    margin-top: var(--space-6);
    animation: slideUp 0.3s ease-out;
}

#error-message h3 {
    color: var(--primary-color);
    margin-bottom: var(--space-3);
}

#error-message p {
    color: var(--text-secondary);
    font-size: var(--font-size-sm);
}


/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }
    
    .about-content .section-title {
        text-align: center;
    }
    
    .about-content {
        text-align: center;
    }
    
    .about-stats {
        justify-content: center;
    }
    
    .footer-top {
        grid-template-columns: 1fr 1fr;
    }
    
    .footer-brand {
        grid-column: span 2;
        text-align: center;
    }
    
    .footer-brand p {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    :root {
        --space-20: 3rem;
        --space-16: 2.5rem;
        --space-12: 2rem;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-secondary);
        padding: var(--space-20) var(--space-8);
        transition: var(--transition-base);
        z-index: var(--z-fixed);
        border-left: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    nav a {
        font-size: var(--font-size-lg);
        display: block;
        padding: var(--space-3) 0;
    }
    
    /* Hero */
    .hero {
        min-height: auto;
        padding: var(--space-16) 0;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-6);
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
    
    .trust-badges {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Articles */
    .article-grid {
        grid-template-columns: 1fr;
    }
    
    /* About */
    .about-stats {
        flex-direction: column;
        gap: var(--space-4);
    }
    
    .about-image::before {
        display: none;
    }
    
    /* Footer */
    .footer-top {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        grid-column: auto;
    }
    
    .footer-nav ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-4);
    }
    
    .footer-nav li {
        margin: 0;
    }
    
    /* Generator */
    .generator-container {
        margin: var(--space-6);
        padding: var(--space-6);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-4);
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: var(--font-size-base);
    }
    
    .section-title {
        font-size: var(--font-size-2xl);
    }
    
    .feature-card {
        padding: var(--space-6);
    }
    
    .article-content {
        padding: var(--space-4);
    }
    
    .faq-question {
        padding: var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    .faq-answer p {
        padding: 0 var(--space-4) var(--space-4);
        font-size: var(--font-size-sm);
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        padding: var(--space-6);
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    header,
    footer,
    .hero-cta,
    .trust-badges,
    .cta-section {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .article-card,
    .feature-card {
        break-inside: avoid;
        border: 1px solid #ccc;
    }
}

/* ============================================
   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;
    }
}

/* ============================================
   High Contrast Mode
   ============================================ */
@media (prefers-contrast: high) {
    :root {
        --card-bg: rgba(255, 255, 255, 0.1);
        --text-secondary: #e0e0e0;
        --text-muted: #c0c0c0;
    }
    
    .btn-primary,
    .btn-secondary {
        border: 2px solid currentColor;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-4 { margin-top: var(--space-4); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-8 { margin-bottom: var(--space-8); }