/* ============================================
   SNIPPETSYNC LANDING PAGE - DARK MODE
   ============================================ */

:root {
    /* Base Colors */
    --bg-dark: #0f172a;        /* Slate 900 */
    --bg-card: #1e293b;        /* Slate 800 */
    --bg-input: #334155;       /* Slate 700 */
    
    /* Text Colors */
    --text-primary: #f8fafc;   /* Slate 50 */
    --text-secondary: #94a3b8; /* Slate 400 */
    --text-muted: #64748b;     /* Slate 500 */

    /* Accent Colors */
    --primary: #8b5cf6;        /* Violet 500 */
    --primary-hover: #7c3aed;  /* Violet 600 */
    --primary-glow: rgba(139, 92, 246, 0.5);
    
    --secondary: #3b82f6;      /* Blue 500 */
    --gradient: linear-gradient(135deg, #8b5cf6 0%, #3b82f6 100%);
    
    /* UI Elements */
    --border: #334155;         /* Slate 700 */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

ul {
    list-style: none;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 18px;
}

.gradient-text {
    background: var(--gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 15px var(--primary-glow);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 25px var(--primary-glow);
}

.btn-secondary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--text-secondary);
    background: var(--bg-input);
}

.btn-outline {
    border: 1px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
}

/* User Info & Logout (Shared) */
.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar-small { /* Renamed to distinguish from large profile avatar */
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 14px;
}

.logout-btn {
    padding: 6px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}

.logout-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    /* Container styles manually applied since @extend is not supported in CSS */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.logo {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a:not(.nav-cta) {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 14px;
}

.nav-links a:not(.nav-cta):hover {
    color: var(--text-primary);
}

.nav-cta {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
}

.nav-cta:hover {
    background: var(--primary-hover);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    background: radial-gradient(circle at top center, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    text-align: center;
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-right: auto;
}

.search-hero-content {
    display: flex;
    gap: 12px;
    max-width: 600px;
    margin: 32px auto 0;
    align-items: stretch;
}

.search-hero-content .search-box {
    margin: 0;
    flex: 1;
}

#startContributingBtn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
}

.hero-subtitle b {
    color: var(--text-primary);
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    margin-bottom: 24px;
}

.hero-note {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* Browser Mockup */
.hero-demo-wrapper {
    margin-top: 60px;
    padding: 0 24px;
}

.browser-mockup {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    overflow: hidden;
}

.browser-header {
    background: #0f172a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}
.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.browser-url-bar {
    margin-left: 16px;
    background: var(--bg-input);
    color: var(--text-muted);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    width: 300px;
}

.browser-content {
    background: #0f172a;
    min-height: 400px;
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

/* Typing & Tooltip Demo Styles */
.typing-area {
    position: relative;
    width: 600px;
}

.placeholder-text {
    position: absolute;
    top: -30px;
    left: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.command {
    background: rgba(139, 92, 246, 0.2);
    color: #c4b5fd;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

#demoInput {
    width: 100%;
    background: transparent;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    border-bottom: 2px solid var(--primary);
    padding: 8px 0;
    font-family: inherit;
    outline: none;
}

.tooltip {
    position: absolute;
    top: 50px;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    width: 300px;
    box-shadow: var(--shadow-lg);
    display: none; /* Hidden by default */
    animation: fadeIn 0.2s ease-out;
    z-index: 10;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Demo Section Styles */
.demo-section {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.video-placeholder {
    max-width: 800px;
    margin: 0 auto;
    background: #0f172a;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 40px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.video-placeholder:hover {
    border-color: var(--primary);
    transform: scale(1.02);
}

.play-button {
    width: 80px;
    height: 80px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
    margin: 0 auto 24px;
    padding-left: 6px; /* Offset for play icon triangle */
    box-shadow: 0 0 30px var(--primary-glow);
}

.video-placeholder h3 {
    font-size: 28px;
    margin-bottom: 12px;
}

.video-placeholder p {
    color: var(--text-secondary);
    font-size: 18px;
}


.tooltip-header {
    padding: 12px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.badge {
    font-size: 12px;
    color: #c4b5fd;
    background: rgba(139, 92, 246, 0.1);
    padding: 2px 8px;
    border-radius: 100px;
}

.shortcut {
    font-family: monospace;
    color: var(--text-muted);
    font-size: 12px;
}

.tooltip-content {
    padding: 12px;
    font-size: 14px;
    color: var(--text-secondary);
}

.tooltip-content strong {
    color: var(--text-primary);
    margin-bottom: 4px;
    display: block;
}

.tooltip-footer {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    font-size: 11px;
    text-align: right;
    border-top: 1px solid var(--border);
}

/* ============================================
   SOCIAL PROOF
   ============================================ */
.social-proof {
    padding: 40px 0;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.social-proof p {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos {
    display: flex;
    justify-content: center;
    gap: 32px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    padding: 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* Highlight card style for Cloud Sync */
.highlight-card {
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.05) 100%);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon-bg {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 15px;
}

.feature-card code {
    background: rgba(139, 92, 246, 0.1);
    color: #c4b5fd;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
}

/* ============================================
   COMMUNITY SECTION
   ============================================ */
.community-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, var(--bg-dark), #0b0f19);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.community-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.community-content h2 {
    font-size: 36px;
    margin-bottom: 16px;
}

.community-content p {
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.snippet-packs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pack-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 24px;
    border-radius: var(--radius-md);
    width: 200px;
    text-align: left;
    transition: all 0.2s;
    cursor: pointer;
}

.pack-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.pack-icon {
    font-size: 28px;
    margin-bottom: 12px;
}

.pack-card h4 {
    color: var(--text-primary);
    margin-bottom: 4px;
}

.pack-card span {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================
   PRICING SECTION
   ============================================ */
/* ============================================
   PRICING SECTION - REDESIGNED
   ============================================ */
.pricing-section {
    padding: 100px 0;
    text-align: center;
}

.pricing-header {
    margin-bottom: 60px;
}

.pricing-crown {
    font-size: 48px;
    margin-bottom: 16px;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

.pricing-header h2 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    background: linear-gradient(to right, #fff, #94a3b8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-header p {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Feature Grid */
.pricing-features-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.pricing-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.pricing-feature-icon {
    font-size: 32px;
    background: rgba(139, 92, 246, 0.1);
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.pricing-feature-text {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Payment Platforms */
.payment-platforms {
    margin-bottom: 40px;
}

.payment-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.platform-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.platform-btn {
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.platform-btn:hover {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.platform-btn.active {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
    color: var(--primary);
}

/* Pricing Tiers */
.pricing-tiers {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.pricing-tier {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    width: 250px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s;
}

.pricing-tier:hover {
    transform: translateY(-5px);
    border-color: var(--text-muted);
}

.pricing-tier.featured-tier {
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
    background: linear-gradient(145deg, var(--bg-card) 0%, rgba(139, 92, 246, 0.05) 100%);
    transform: scale(1.05);
    z-index: 10;
}

.pricing-tier.featured-tier:hover {
    transform: scale(1.05) translateY(-5px);
}

.tier-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
}

.tier-header {
    text-align: center;
    margin-bottom: 24px;
}

.tier-name {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.tier-price {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1;
}

.tier-price span {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.tier-btn {
    width: 100%;
}

.free-tier-info {
    font-size: 14px;
    color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    display: inline-block;
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255,255,255,0.05);
}

.free-tier-info strong {
    color: #10b981;
}

/* Responsive Rules for Pricing */
@media (max-width: 900px) {
    .pricing-tiers {
        flex-direction: column;
        align-items: center;
        gap: 40px; /* More gap when stacked */
    }
    
    .pricing-tier {
        width: 100%;
        max-width: 350px;
    }
    
    .pricing-tier.featured-tier {
        transform: none; /* Disable scale on mobile */
    }
    
    .pricing-tier.featured-tier:hover {
        transform: translateY(-5px);
    }
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    padding: 80px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item h3 {
    color: var(--text-primary);
    font-size: 18px;
    margin-bottom: 8px;
}

.faq-item p {
    color: var(--text-secondary);
    font-size: 15px;
}

/* ============================================
   CTA & FOOTER
   ============================================ */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: transparent;
}

.cta-section .container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 60px 24px;
    background-image: radial-gradient(circle at center, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 32px;
    color: var(--text-secondary);
}

/* Remove button override so it uses default btn-primary styles */
.cta-section .btn-primary {
    background: var(--primary);
    color: white;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 60px 0 24px;
    background: #0b0f19;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.footer-brand p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* ============================================
   MOBILE NAVIGATION
   ============================================ */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(8px);
    z-index: 99;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
}

.mobile-nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border);
    padding: 20px;
    gap: 20px;
    z-index: 100;
    transform: translateY(-100%);
    transition: transform 0.3s ease;
}

.mobile-nav-links.active {
    display: flex;
    transform: translateY(0);
}

.mobile-nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 16px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-links a:last-child {
    border-bottom: none;
}

.mobile-nav-links .nav-cta {
    background: var(--primary);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-align: center;
    border-bottom: none;
}

/* ============================================
   RESPONSIVE - MOBILE FIRST
   ============================================ */
@media (max-width: 767px) {
    /* Container adjustments */
    .container {
        padding: 0 16px;
    }
    
    /* Navigation */
    .nav-container {
        padding: 0 16px;
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .logo {
        font-size: 18px;
    }
    
    /* Hero Section */
    .hero {
        padding-top: 100px;
        padding-bottom: 60px;
    }
    
    .hero-container {
        padding: 0 16px;
    }
    
    .hero-badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    
    .hero h1 {
        font-size: 36px;
        line-height: 1.2;
        margin-bottom: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        padding: 14px 24px;
    }
    
    .hero-note {
        font-size: 12px;
        line-height: 1.8;
    }
    
    .browser-mockup {
        display: none;
    }
    
    .hero-demo-wrapper {
        margin-top: 40px;
        padding: 0 16px;
    }
    
    /* Social Proof */
    .social-proof {
        padding: 30px 0;
    }
    
    .social-proof p {
        font-size: 12px;
    }
    
    .logos {
        gap: 16px;
        font-size: 14px;
        flex-wrap: wrap;
    }
    
    /* Section Headers */
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-header h2 {
        font-size: 28px;
        margin-bottom: 12px;
    }
    
    .section-header p {
        font-size: 16px;
    }
    
    /* Features Section */
    .features-section {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .feature-card h3 {
        font-size: 18px;
    }
    
    .feature-card p {
        font-size: 14px;
    }
    
    /* Community Section */
    .community-section {
        padding: 60px 0;
    }
    
    .community-content h2 {
        font-size: 28px;
    }
    
    .community-content p {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .snippet-packs {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .pack-card {
        width: 100%;
    }
    
    /* Pricing Section */
    .pricing-section {
        padding: 60px 0;
    }
    
    .pricing-grid {
        flex-direction: column;
        gap: 24px;
        align-items: stretch;
    }
    
    .pricing-card {
        width: 100%;
        padding: 32px 24px;
    }
    
    .plan-price {
        font-size: 40px;
    }
    
    /* FAQ Section */
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .faq-item h3 {
        font-size: 16px;
    }
    
    .faq-item p {
        font-size: 14px;
    }
    
    /* CTA Section */
    .cta-section {
        padding: 60px 0;
    }
    
    .cta-section .container {
        padding: 40px 20px;
    }
    
    .cta-section h2 {
        font-size: 24px;
        margin-bottom: 12px;
    }
    
    .cta-section p {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    /* Footer */
    .footer {
        padding: 40px 0 20px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 24px;
        margin-bottom: 24px;
        text-align: center;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-bottom {
        font-size: 12px;
    }

    /* Fixed Search Hero Content Mobile */
    .search-hero-content {
        flex-direction: column;
        gap: 16px;
        margin-top: 24px !important; /* Override inline margin if needed */
        width: 100%;
    }
    
    .search-hero-content .search-box {
        width: 100%;
    }
    
    #startContributingBtn {
        width: 100%;
        justify-content: center;
    }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .container {
        padding: 0 32px;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .pricing-card {
        width: calc(50% - 16px);
    }
}
