/* ========================================
   DIGITAL STACK HUB - PREMIUM ULTRA DESIGN
   Version: 5.0.0 - MOBILE OPTIMIZED
   Description: Extreme mobile-first design for 80% mobile users
   ======================================== */

/* ----------------------------------------
   1. CSS VARIABLES
   ---------------------------------------- */
:root {
    /* Primary Colors */
    --primary-50: #eef2ff;
    --primary-100: #e0e7ff;
    --primary-200: #c7d2fe;
    --primary-300: #a5b4fc;
    --primary-400: #818cf8;
    --primary-500: #6366f1;
    --primary-600: #4f46e5;
    --primary-700: #4338ca;
    --primary-800: #3730a3;
    --primary-900: #312e81;

    /* Secondary Colors */
    --secondary-500: #8b5cf6;
    --secondary-600: #7c3aed;

    /* Neutral Colors */
    --dark: #0f172a;
    --dark-800: #1e293b;
    --gray-300: #cbd5e1;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-200: #e2e8f0;
    --light: #f8fafc;
    --white: #ffffff;

    /* Semantic Colors */
    --success: #10b981;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #6366f1, #8b5cf6);
    --gradient-2: linear-gradient(135deg, #10b981, #059669);
    --gradient-3: linear-gradient(135deg, #f59e0b, #d97706);
    --gradient-4: linear-gradient(135deg, #3b82f6, #6366f1);
    --gradient-5: linear-gradient(135deg, #ec4899, #8b5cf6);
    --gradient-6: linear-gradient(135deg, #06b6d4, #3b82f6);

    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* 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;

    /* Layout */
    --container-max: 1280px;
    --container-padding: 1rem;
    
    /* Border Radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;
    --radius-2xl: 2rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
}

/* ----------------------------------------
   2. RESET & BASE
   ---------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    color: var(--gray-500);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--dark);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }
p { color: var(--gray-500); line-height: 1.6; }

/* Images */
img { max-width: 100%; height: auto; display: block; }

/* Container */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Section Backgrounds - FIXED */
.features { background: #1E293B; }
.recent-resources { background: #1E293B; }
.pricing { background: #1E293B; }
.testimonials { background: #0f172a; }
.blog-section { background: #0f172a; }
.categories { background: #0f172a; }
.comprehensive-resources { background: #0f172a; }
.cta { background: linear-gradient(135deg, #6366f1, #8b5cf6); }

.light-mode .features,
.light-mode .recent-resources,
.light-mode .pricing {
    background: #ffffff;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.light-mode .testimonials,
.light-mode .blog-section,
.light-mode .categories,
.light-mode .comprehensive-resources {
    background: #f8fafc;
}

/* Section Spacing - FIXED */
section {
    padding: 3rem 0;
}

@media (max-width: 768px) {
    section {
        padding: 2.5rem 0;
    }
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.section-tag {
    display: inline-block;
    background: var(--gradient-1);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-400);
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px -5px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-outline:hover {
    background: white;
    color: var(--primary-500);
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    background-size: cover;
    background-position: center;
    color: white;
    padding: 3rem 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15,23,42,0.95), rgba(99,102,241,0.9));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.hero h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin: 0 auto 1.5rem;
}

/* Hero Buttons - MOBILE FIXED */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.75rem;
    }
    .hero-buttons .btn {
        width: auto;
        min-width: 140px;
        flex: 1;
    }
}

/* Currency Badge */
.currency-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    margin: 1.5rem auto 0;
    font-size: 0.875rem;
    width: fit-content;
}

/* Hero Stats - MOBILE FIXED (SIDE BY SIDE) */
.hero-stats {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .hero-stats {
        flex-direction: row;
        gap: 1rem;
    }
}

.stat-item {
    text-align: center;
    min-width: 80px;
}

.stat-item h3 {
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.25rem;
    line-height: 1;
}

@media (max-width: 480px) {
    .stat-item h3 {
        font-size: 1.25rem;
    }
}

.stat-item p {
    font-size: 0.75rem;
    opacity: 0.8;
    margin: 0;
    white-space: nowrap;
}

/* ===== GRIDS - MOBILE FIRST ===== */
.showcase-grid,
.features-grid,
.categories-grid,
.resources-grid,
.pricing-grid,
.testimonials-grid,
.blog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Tablet */
@media (min-width: 640px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 768px) {
    .showcase-grid,
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .resources-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Desktop */
@media (min-width: 1024px) {
    .showcase-grid,
    .features-grid,
    .pricing-grid,
    .testimonials-grid,
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .resources-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* ===== CARDS ===== */
.showcase-card,
.feature-card,
.category-card,
.resource-card,
.testimonial-card,
.blog-card,
.pricing-card {
    background: #1E293B;
    border: 1px solid #334155;
    border-radius: 1.5rem;
    padding: 1.5rem;
    transition: all 0.3s;
}

.light-mode .showcase-card,
.light-mode .feature-card,
.light-mode .category-card,
.light-mode .resource-card,
.light-mode .testimonial-card,
.light-mode .blog-card,
.light-mode .pricing-card {
    background: #FFFFFF;
    border-color: #E2E8F0;
}

.showcase-card:hover,
.feature-card:hover,
.category-card:hover,
.resource-card:hover,
.testimonial-card:hover,
.blog-card:hover,
.pricing-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-500);
    box-shadow: 0 20px 25px -5px rgba(99, 102, 241, 0.2);
}

/* Card Icon */
.card-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--gradient-1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .card-icon {
        width: 4rem;
        height: 4rem;
        font-size: 1.75rem;
    }
}

/* Category Cards */
.category-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    text-decoration: none;
    color: inherit;
}

.category-card .card-icon {
    width: 3rem;
    height: 3rem;
    font-size: 1.25rem;
    margin-bottom: 0;
}

.category-info {
    flex: 1;
}

.category-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #f8fafc;
}

.light-mode .category-info h4 {
    color: #0f172a;
}

.category-info p {
    font-size: 0.875rem;
    color: #94a3b8;
}

.category-arrow {
    color: var(--primary-500);
    opacity: 0.5;
    transition: all 0.3s;
}

.category-card:hover .category-arrow {
    opacity: 1;
    transform: translateX(5px);
}

/* Mobile Category Cards - FIXED */
@media (max-width: 640px) {
    .category-card {
        flex-direction: row;
        text-align: left;
        padding: 1rem;
    }
    .category-arrow {
        transform: none;
    }
    .category-card:hover .category-arrow {
        transform: translateX(5px);
    }
}

/* Resource Cards */
.resource-image {
    height: 160px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
    position: relative;
}

.resource-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.resource-placeholder {
    height: 100%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.resource-category {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(0,0,0,0.5);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(5px);
}

.resource-meta {
    display: flex;
    gap: 1rem;
    margin: 0.75rem 0;
    font-size: 0.875rem;
    color: #94a3b8;
}

.resource-meta i {
    margin-right: 0.25rem;
    color: var(--primary-500);
}

/* Resource Link Button - FIXED */
.resource-link {
    display: inline-block;
    background: var(--primary-500);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.3s;
    margin-top: 0.75rem;
}

.resource-link:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -5px rgba(99, 102, 241, 0.4);
}

/* Feature Cards with Stats */
.feature-stats {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #334155;
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.light-mode .feature-stats {
    border-top-color: #E2E8F0;
}

.feature-stats strong {
    font-size: 1.5rem;
    color: var(--primary-500);
    line-height: 1;
}

.feature-stats span {
    font-size: 0.875rem;
    color: #94a3b8;
}

/* Featured Cards */
.feature-card.featured,
.pricing-card.featured {
    border: 2px solid transparent;
    background: linear-gradient(#1E293B, #1E293B) padding-box,
                linear-gradient(135deg, #6366f1, #8b5cf6) border-box;
    position: relative;
    z-index: 2;
}

.light-mode .feature-card.featured,
.light-mode .pricing-card.featured {
    background: linear-gradient(#FFFFFF, #FFFFFF) padding-box,
                linear-gradient(135deg, #6366f1, #8b5cf6) border-box;
}

.feature-badge,
.popular-badge {
    position: absolute;
    top: -0.75rem;
    right: 1.25rem;
    background: var(--gradient-1);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
}

/* Pricing */
.price {
    margin: 1.25rem 0;
}

.currency-symbol {
    font-size: 1.25rem;
    color: #94a3b8;
    vertical-align: top;
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: #94a3b8;
}

.features-list {
    list-style: none;
    margin: 1.25rem 0;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 0;
    font-size: 0.875rem;
    border-bottom: 1px solid #334155;
}

.light-mode .features-list li {
    border-bottom-color: #E2E8F0;
}

.features-list i {
    color: #10b981;
}

/* Testimonials */
.testimonials {
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 200%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    opacity: 0.03;
    border-radius: 50%;
    filter: blur(80px);
}

.testimonial-card {
    position: relative;
}

.testimonial-card::after {
    content: '"';
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    font-size: 5rem;
    font-family: serif;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    opacity: 0.2;
    line-height: 1;
}

.stars {
    color: #FBBF24;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.author-avatar {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1rem;
}

.author-info h4 {
    font-size: 0.9375rem;
    margin-bottom: 0.125rem;
}

.author-info p {
    font-size: 0.75rem;
    margin: 0;
}

/* Blog Cards */
.blog-image {
    height: 160px;
    margin: -1.5rem -1.5rem 1rem -1.5rem;
    border-radius: 1.5rem 1.5rem 0 0;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.blog-meta i {
    margin-right: 0.25rem;
    color: var(--primary-500);
}

/* CTA Section - FIXED */
.cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 3rem 0;
    text-align: center;
    color: white;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 0.75rem;
    color: white;
}

.cta p {
    font-size: 1rem;
    color: rgba(255,255,255,0.9);
    margin-bottom: 1.5rem;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-buttons {
        flex-direction: row;
        gap: 0.75rem;
    }
    .cta-buttons .btn {
        flex: 1;
        min-width: 140px;
    }
}

.cta-buttons .btn-primary {
    background: white;
    color: var(--primary-500);
}

/* CTA Features - FIXED (SIDE BY SIDE) */
.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-features {
        flex-direction: row;
        gap: 1rem;
    }
}

.cta-features span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    white-space: nowrap;
}

@media (max-width: 360px) {
    .cta-features span {
        font-size: 0.75rem;
    }
}

.cta-features i {
    color: #10b981;
}

/* Section Footer */
.section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

.section-footer .btn {
    display: inline-flex;
    width: auto;
    min-width: 200px;
}

@media (max-width: 480px) {
    .section-footer .btn {
        width: 100%;
    }
}

/* Utilities */
.text-center { text-align: center; }
/* ===== HOMEPAGE ONLY STYLES - PREVENT DASHBOARD LEAKS ===== */
body:not(.dashboard-page) .dashboard-container,
body:not(.dashboard-page) .mobile-header,
body:not(.dashboard-page) .mobile-tabs,
body:not(.dashboard-page) .sidebar,
body:not(.dashboard-page) .dashboard-layout,
body:not(.dashboard-page) .main-content[class*="dashboard"],
body:not(.dashboard-page) [class*="dashboard-"] {
    display: none !important;
}

/* Ensure homepage sections are visible */
body:not(.dashboard-page) section {
    display: block !important;
}

/* Fix any dashboard styles affecting homepage */
body:not(.dashboard-page) .container {
    max-width: 1280px !important;
    padding: 0 1rem !important;
}

body:not(.dashboard-page) .stats-grid,
body:not(.dashboard-page) .quick-actions,
body:not(.dashboard-page) .modern-card {
    all: revert;
}

/* Force homepage sections to be visible */
body:not(.dashboard-page) .hero,
body:not(.dashboard-page) .comprehensive-resources,
body:not(.dashboard-page) .features,
body:not(.dashboard-page) .categories,
body:not(.dashboard-page) .recent-resources,
body:not(.dashboard-page) .pricing,
body:not(.dashboard-page) .testimonials,
body:not(.dashboard-page) .blog-section,
body:not(.dashboard-page) .cta {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* ===== FULLY RESPONSIVE STEP 1 STYLES ===== */

/* Form Sections */
.form-section {
    background: var(--bg-card, white);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px 0;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--border, #e2e8f0);
    color: var(--text-primary, #0f172a);
}

.title-icon {
    font-size: 20px;
}

.badge {
    background: var(--primary, #6366f1);
    color: white;
    padding: 4px 10px;
    border-radius: 30px;
    font-size: 11px;
    font-weight: 500;
    margin-left: 10px;
}

.required {
    color: #ef4444;
    margin-left: 4px;
}

/* Niche Grid - Fully Responsive */
.niche-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.niche-category {
    background: var(--bg-hover, #f8fafc);
    border-radius: 16px;
    padding: 16px;
}

.niche-category.full-width {
    grid-column: 1 / -1;
}

.category-title {
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 12px 0;
    color: var(--text-secondary, #334155);
}

.niche-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
}

.niche-option {
    cursor: pointer;
}

.niche-option input {
    display: none;
}

.option-content {
    display: block;
    padding: 8px 10px;
    background: var(--bg-card, white);
    border: 1px solid var(--border, #e2e8f0);
    border-radius: 30px;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.2s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.niche-option input:checked + .option-content {
    background: var(--primary, #6366f1);
    border-color: var(--primary, #6366f1);
    color: white;
    box-shadow: 0 4px 10px -2px rgba(99, 102, 241, 0.4);
}

/* Form Row - Responsive */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 15px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary, #334155);
}

/* Form Inputs */
.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border, #e2e8f0);
    border-radius: 16px;
    font-size: 14px;
    transition: all 0.2s;
    background: var(--bg-input, white);
    color: var(--text-primary, #0f172a);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--primary, #6366f1);
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 80px;
}

/* Price Input */
.price-input-group {
    display: flex;
    align-items: center;
    border: 2px solid var(--border, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    background: var(--bg-input, white);
}

.price-input-group:focus-within {
    border-color: var(--primary, #6366f1);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.currency-symbol {
    padding: 0 15px;
    font-size: 18px;
    font-weight: 600;
    background: var(--bg-hover, #f1f5f9);
    color: var(--text-secondary, #334155);
    line-height: 48px;
    border-right: 2px solid var(--border, #e2e8f0);
}

.price-input {
    flex: 1;
    border: none !important;
    border-radius: 0 !important;
    font-size: 16px;
    font-weight: 500;
}

.price-input:focus {
    box-shadow: none !important;
}

/* Benefits Container */
.benefits-container {
    margin-bottom: 15px;
}

.benefit-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.benefit-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--border, #e2e8f0);
    border-radius: 16px;
    font-size: 14px;
    background: var(--bg-input, white);
    color: var(--text-primary, #0f172a);
    transition: all 0.2s;
}

.benefit-input:focus {
    border-color: var(--primary, #6366f1);
    outline: none;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.remove-benefit {
    width: 44px;
    height: 44px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    border-radius: 16px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.remove-benefit:hover {
    background: #ef4444;
    color: white;
}

.add-benefit-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px dashed var(--border, #e2e8f0);
    border-radius: 40px;
    background: none;
    color: var(--primary, #6366f1);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    width: auto;
}

.add-benefit-btn:hover {
    border-color: var(--primary, #6366f1);
    background: rgba(99, 102, 241, 0.05);
}

.plus-icon {
    font-size: 18px;
    font-weight: 600;
}

/* Form Actions */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 30px;
}

.btn-secondary,
.btn-primary {
    padding: 14px 28px;
    border: none;
    border-radius: 40px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-secondary {
    background: var(--bg-hover, #f1f5f9);
    color: var(--text-secondary, #334155);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    box-shadow: 0 4px 15px -3px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px rgba(99, 102, 241, 0.6);
}

.btn-secondary:hover {
    background: var(--border, #e2e8f0);
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
    .form-section {
        padding: 20px;
    }
    
    .section-title {
        font-size: 16px;
        flex-wrap: wrap;
    }
    
    .badge {
        margin-left: 0;
        width: 100%;
    }
    
    .niche-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .niche-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .option-content {
        white-space: normal;
        font-size: 11px;
        padding: 8px 5px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .price-input-group {
        width: 100%;
    }
    
    .benefit-row {
        flex-wrap: wrap;
    }
    
    .remove-benefit {
        width: 100%;
    }
    
    .add-benefit-btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-actions {
        flex-direction: column-reverse;
        gap: 10px;
    }
    
    .btn-secondary,
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-section {
        padding: 15px;
    }
    
    .niche-options {
        grid-template-columns: 1fr;
    }
    
    .niche-category {
        padding: 12px;
    }
    
    .option-content {
        text-align: left;
        padding: 10px 15px;
    }
    
    .benefit-input {
        font-size: 13px;
    }
    
    .currency-symbol {
        padding: 0 12px;
    }
}

/* Dark Mode Support */
.dark-mode .form-section {
    background: #1e293b;
    border-color: #334155;
}

.dark-mode .section-title {
    border-bottom-color: #334155;
    color: #f8fafc;
}

.dark-mode .niche-category {
    background: #0f172a;
}

.dark-mode .option-content {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.dark-mode .form-input,
.dark-mode .form-textarea,
.dark-mode .form-select,
.dark-mode .benefit-input {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.dark-mode .price-input-group {
    background: #0f172a;
    border-color: #334155;
}

.dark-mode .currency-symbol {
    background: #1e293b;
    color: #94a3b8;
    border-right-color: #334155;
}

.dark-mode .btn-secondary {
    background: #334155;
    color: #e2e8f0;
}

.dark-mode .btn-secondary:hover {
    background: #475569;
}