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

:root {
    --primary: #5046e5;
    --primary-light: #6366f1;
    --accent: #f97316;
    --bg: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-card: #ffffff;
    --text: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: #e2e8f0;
    --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.04);
    --shadow-lg: 0 4px 6px rgba(0,0,0,0.05), 0 10px 40px rgba(0,0,0,0.08);
    --radius: 12px;
    --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Make nav CTA stand out */
.nav .btn-outline {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.nav .btn-outline:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: white;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 20px;
    color: var(--text);
}

.logo-icon { font-size: 28px; }

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

.nav a {
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

/* Hero */
.hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg) 100%);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #fef3c7;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(40px, 5.5vw, 64px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: var(--text);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary) 0%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.search-box {
    display: flex;
    max-width: 580px;
    margin: 0 auto;
    background: white;
    border: 2px solid var(--border);
    border-radius: 100px;
    overflow: hidden;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.search-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(80, 70, 229, 0.1);
}

.search-box input {
    flex: 1;
    padding: 18px 28px;
    background: transparent;
    border: none;
    color: var(--text);
    font-size: 16px;
    outline: none;
}

.search-box input::placeholder { color: var(--text-muted); }

.search-btn {
    padding: 14px 40px;
    margin: 6px;
    background: var(--primary);
    border: none;
    border-radius: 100px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.search-btn:hover { 
    background: var(--primary-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(80, 70, 229, 0.3);
}

.popular-searches {
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-muted);
}

.popular-searches span { margin-right: 10px; }

.popular-searches a {
    color: var(--text-secondary);
    padding: 6px 14px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 100px;
    margin: 4px;
    display: inline-block;
    transition: all 0.2s;
    font-weight: 500;
}

.popular-searches a:hover {
    border-color: var(--primary);
    color: var(--primary);
}

/* Categories */
.categories {
    padding: 80px 0;
    background: var(--bg);
}

.categories h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 28px 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.category-icon {
    font-size: 36px;
    margin-bottom: 12px;
}

.category-name {
    font-weight: 600;
    font-size: 15px;
    color: var(--text);
}

.category-count {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Featured Spotlight Section */
.featured-spotlight {
    padding: 60px 0 80px;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-secondary) 100%);
}

.featured-spotlight .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.featured-spotlight .section-header h2 {
    font-size: 28px;
    font-weight: 700;
}

.badge-hot {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, auto);
    gap: 20px;
}

.featured-card {
    position: relative;
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, #ec4899 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.featured-card:hover {
    border-color: var(--primary);
    box-shadow: 0 12px 40px rgba(80, 70, 229, 0.15);
    transform: translateY(-6px);
}

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

.featured-card-large {
    grid-column: 1;
    grid-row: 1 / 3;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-color: var(--primary);
}

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

.featured-card-large .featured-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.featured-card-large h3 {
    font-size: 26px;
}

.featured-card-large p {
    font-size: 16px;
    line-height: 1.7;
}

.featured-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(80, 70, 229, 0.1);
    color: var(--primary);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-icon {
    font-size: 42px;
    margin-bottom: 14px;
}

.featured-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.featured-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.featured-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.featured-category {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.featured-pricing {
    font-size: 13px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
}

.featured-pricing.free {
    background: #dcfce7;
    color: #16a34a;
}

.featured-pricing.freemium {
    background: #e0e7ff;
    color: var(--primary);
}

.featured-pricing.paid {
    background: #ffedd5;
    color: var(--accent);
}

.featured-pricing.payperuse {
    background: #fef3c7;
    color: #b45309;
}

@media (max-width: 1024px) {
    .featured-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-card-large {
        grid-row: 1;
    }
}

@media (max-width: 768px) {
    .featured-grid {
        grid-template-columns: 1fr;
    }
    .featured-card-large {
        grid-row: auto;
    }
}

/* Featured / Tools Grid */
.featured {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 26px;
    font-weight: 700;
}

.view-all {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.view-all:hover { text-decoration: underline; }

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

.tool-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    position: relative;
}

.tool-card::after {
    content: 'View Tool →';
    position: absolute;
    bottom: 24px;
    right: 24px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.2s;
}

.tool-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.tool-card:hover::after {
    opacity: 1;
    transform: translateX(0);
}

.tool-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 14px;
}

.tool-icon {
    width: 52px;
    height: 52px;
    background: var(--bg-secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    flex-shrink: 0;
}

.tool-info h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 2px;
}

.tool-category {
    font-size: 13px;
    color: var(--text-muted);
    font-weight: 500;
}

.tool-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
    margin-bottom: 16px;
}

.tool-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tool-tags { display: flex; gap: 6px; }

.tool-tag {
    padding: 4px 10px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

.tool-pricing {
    font-size: 13px;
    font-weight: 600;
}

.tool-pricing.free { color: #16a34a; }
.tool-pricing.freemium { color: var(--primary); }
.tool-pricing.paid { color: var(--accent); }

/* Newsletter */
.newsletter { padding: 80px 0; }

.newsletter-content {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
    padding: 56px;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    border-radius: var(--radius-lg);
    color: white;
}

.newsletter h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.newsletter p {
    opacity: 0.9;
    margin-bottom: 28px;
    font-size: 15px;
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 14px;
}

.newsletter-form input {
    flex: 1;
    padding: 14px 18px;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: var(--radius);
    color: white;
    font-size: 15px;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.7); }
.newsletter-form input:focus { background: rgba(255,255,255,0.2); }

.newsletter-form .btn {
    background: white;
    color: var(--primary);
}

.newsletter-form .btn:hover { background: #f8fafc; }

.newsletter-count {
    font-size: 13px;
    opacity: 0.8;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.footer-links h4 {
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text);
}

.footer-links a {
    display: block;
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 10px;
}

.footer-links a:hover { color: var(--primary); }

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

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

/* Featured Spotlight Section */
.featured-spotlight {
    padding: 80px 0 40px;
    background: var(--bg);
}

.featured-spotlight .section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 32px;
}

.badge-hot {
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Featured Badge for Sponsored Tools */
.tool-card.featured {
    border: 2px solid var(--accent);
    position: relative;
    background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.tool-card.featured::before {
    content: '🔥 Featured';
    position: absolute;
    top: -1px;
    right: 16px;
    background: linear-gradient(135deg, #f97316 0%, #ef4444 100%);
    color: white;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 0 0 8px 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.tool-card.featured:hover {
    border-color: #ea580c;
    box-shadow: 0 8px 32px rgba(249, 115, 22, 0.2);
}

/* Email Capture Popup */
.email-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.popup-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(4px);
}

.popup-content {
    position: relative;
    background: white;
    padding: 48px 40px;
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 100%;
    text-align: center;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
    animation: popupSlide 0.3s ease-out;
}

@keyframes popupSlide {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.popup-close:hover {
    background: var(--border);
    color: var(--text);
}

.popup-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.popup-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1.3;
    color: var(--text);
}

.popup-content p {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

.popup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popup-form input {
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    outline: none;
    transition: border-color 0.2s;
}

.popup-form input:focus {
    border-color: var(--primary);
}

.btn-lg {
    padding: 16px 28px;
    font-size: 16px;
}

.popup-note {
    display: block;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Sticky Banner */
.sticky-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    padding: 12px 0;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
}

.sticky-banner .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.banner-text {
    font-size: 14px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-accent {
    background: white;
    color: var(--primary);
}

.btn-accent:hover {
    background: #f8fafc;
}

.banner-close {
    position: absolute;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
    opacity: 0.7;
}

.banner-close:hover {
    opacity: 1;
}

/* Click Tracking Styles */
[data-track] {
    cursor: pointer;
}

/* Deals Page Styles */
.deals-hero {
    padding: 140px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fff7ed 50%, var(--bg) 100%);
}

.deals-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #dc2626;
    color: white;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
    animation: pulse 2s infinite;
}

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

.deal-card {
    background: white;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.deal-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.deal-card.hot::before {
    content: '🔥 HOT DEAL';
    position: absolute;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, #dc2626 0%, #f97316 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 0 0 0 12px;
}

.deal-discount {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 12px;
}

.deal-original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 14px;
    margin-right: 8px;
}

.deal-price {
    font-size: 24px;
    font-weight: 700;
    color: #16a34a;
}

.deal-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: white;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    margin-top: 16px;
}

.deal-cta:hover {
    background: var(--primary-light);
    transform: translateY(-1px);
}

.deal-expires {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 12px;
    text-align: center;
}

/* Newsletter Landing Page */
.newsletter-hero {
    padding: 140px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #ede9fe 0%, var(--bg) 100%);
}

.newsletter-hero h1 {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.newsletter-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 60px 0;
}

.benefit-card {
    background: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    text-align: center;
}

.benefit-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.benefit-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
}

.benefit-card p {
    color: var(--text-secondary);
    font-size: 14px;
}

.signup-box {
    max-width: 480px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.signup-box h2 {
    font-size: 22px;
    margin-bottom: 8px;
}

.signup-box p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 14px;
}

.signup-form input {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid var(--border);
    border-radius: var(--radius);
    font-size: 15px;
    margin-bottom: 12px;
    outline: none;
}

.signup-form input:focus {
    border-color: var(--primary);
}

.signup-form button {
    width: 100%;
}

.trust-badges {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.testimonials {
    padding: 80px 0;
    background: var(--bg-secondary);
}

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

.testimonial-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.testimonial-name {
    font-weight: 600;
    font-size: 14px;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* Mobile Navigation Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 101;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Social Proof Section */
.social-proof {
    padding: 48px 0;
    background: var(--bg-secondary);
    text-align: center;
}

.proof-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    font-weight: 600;
}

.logo-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.company-logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    transition: opacity 0.2s;
}

.company-logo:hover {
    opacity: 1;
}

/* Testimonials Section */
.testimonials-section {
    padding: 80px 0;
    background: var(--bg);
}

.testimonials-section h2 {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--text);
}

.testimonials-section .testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.testimonials-section .testimonial-card {
    background: white;
    padding: 28px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.testimonials-section .testimonial-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.testimonials-section .testimonial-text {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    font-style: italic;
}

.testimonials-section .testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonials-section .testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
}

.testimonials-section .testimonial-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text);
}

.testimonials-section .testimonial-role {
    font-size: 13px;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    
    .nav a {
        padding: 12px 0;
        font-size: 16px;
    }
    
    .nav .btn-outline {
        text-align: center;
        padding: 14px 24px;
    }
    
    .hero { padding: 130px 0 60px; }
    .hero h1 { font-size: 28px; letter-spacing: -0.5px; }
    .hero-subtitle { font-size: 16px; }
    
    .search-box { 
        flex-direction: column; 
        border-radius: var(--radius-lg);
        border: none;
        background: transparent;
        box-shadow: none;
    }
    
    .search-box input {
        background: white;
        border: 2px solid var(--border);
        border-radius: var(--radius);
        margin-bottom: 12px;
    }
    
    .search-btn { 
        margin: 0; 
        border-radius: var(--radius);
        padding: 16px;
    }
    
    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .category-card {
        padding: 20px 16px;
    }
    
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .newsletter-form { flex-direction: column; }
    .newsletter-content { padding: 40px 24px; }
    .tools-grid { grid-template-columns: 1fr; }
    
    .popup-content { padding: 32px 24px; }
    .popup-content h3 { font-size: 20px; }
    
    .sticky-banner .container { flex-wrap: wrap; gap: 12px; }
    .banner-text { text-align: center; width: 100%; }
    
    .deals-hero, .newsletter-hero { padding: 120px 0 40px; }
    
    .logo-grid { gap: 24px; }
    .company-logo { font-size: 14px; }
    
    .testimonials-section { padding: 60px 0; }
    .testimonials-section h2 { font-size: 24px; }
}

@media (max-width: 480px) {
    .category-grid {
        grid-template-columns: 1fr;
    }
    
    .popular-searches a {
        font-size: 12px;
        padding: 5px 10px;
    }
}
