/* AI Tool Compatibility Matrix - Styles */

/* ========================
   CSS Variables / Design Tokens
   ======================== */
:root {
    --primary: #6366F1;
    --primary-hover: #4F46E5;
    --secondary: #10B981;
    --accent: #F59E0B;
    --bg: #0F172A;
    --surface: #1E293B;
    --surface-hover: #334155;
    --text-primary: #F8FAFC;
    --text-secondary: #94A3B8;
    --error: #EF4444;
    --success: #22C55E;
    --border: #334155;

    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;

    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);

    --transition-fast: 150ms ease;
    --transition-normal: 200ms ease-out;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

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

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* ========================
   Container & Layout
   ======================== */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-align: center;
}

/* ========================
   Navigation
   ======================== */
.navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 16px 24px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo svg {
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.nav-auth {
    display: flex;
    gap: 12px;
}

.nav-mobile-toggle {
    display: none;
    color: var(--text-primary);
    padding: 8px;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 16px 24px;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-link {
    padding: 12px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

.mobile-auth {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

/* ========================
   Buttons
   ======================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast);
}

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

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

.btn-ghost {
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
    background: var(--surface);
}

.btn-outline {
    border: 1px solid var(--border);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: var(--surface);
    border-color: var(--text-secondary);
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

/* ========================
   Hero Section
   ======================== */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

/* Hero Search */
.hero-search {
    max-width: 600px;
    margin: 0 auto 48px;
    position: relative;
}

.search-container {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 16px;
    color: var(--text-secondary);
    pointer-events: none;
}

.search-input {
    width: 100%;
    padding: 16px 60px 16px 48px;
    font-size: 1rem;
    background: var(--surface);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    transition: border-color var(--transition-fast);
}

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

.search-input:focus {
    outline: none;
    border-color: var(--primary);
}

.search-shortcut {
    position: absolute;
    right: 16px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
}

.search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 50;
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.search-result-item:hover {
    background: var(--surface-hover);
}

.search-result-icon {
    width: 36px;
    height: 36px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
}

.search-result-name {
    font-weight: 500;
}

.search-result-category {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================
   Quick Search Section
   ======================== */
.quick-search {
    padding: 64px 0;
    background: var(--surface);
}

.quick-search-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.tool-select-group {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.vs-label {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.tool-select {
    padding: 12px 40px 12px 16px;
    font-size: 0.875rem;
    background: var(--bg);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2394A3B8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    min-width: 180px;
}

.tool-select:focus {
    outline: none;
    border-color: var(--primary);
}

.popular-searches {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 16px;
}

.popular-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.chip {
    padding: 8px 16px;
    font-size: 0.875rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.chip:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* ========================
   Featured Section
   ======================== */
.featured-section {
    padding: 80px 0;
}

.compatibility-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.combo-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-normal);
}

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

.combo-tools {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.combo-tool {
    font-weight: 600;
    font-size: 0.875rem;
}

.combo-vs {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.combo-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
}

.combo-status.verified {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.combo-status.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

.combo-status.incompatible {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.combo-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.combo-versions {
    font-family: var(--font-mono);
}

/* ========================
   How It Works
   ======================== */
.how-it-works {
    padding: 80px 0;
    background: var(--surface);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.step-card {
    position: relative;
    text-align: center;
    padding: 32px 24px;
}

.step-number {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.step-icon {
    margin: 24px 0 16px;
    color: var(--primary);
}

.step-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.step-desc {
    color: var(--text-secondary);
    margin-bottom: 16px;
    font-size: 0.875rem;
}

.step-code {
    display: block;
    padding: 12px 16px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--secondary);
    overflow-x: auto;
}

/* ========================
   Categories
   ======================== */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 28px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-normal);
}

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

.category-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    color: var(--primary);
    margin-bottom: 16px;
}

.category-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-card p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.category-count {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 500;
}

/* ========================
   Pricing Preview
   ======================== */
.pricing-preview {
    padding: 80px 0;
    background: var(--surface);
}

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

.pricing-card {
    position: relative;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
}

.pricing-card.featured {
    border-color: var(--primary);
    transform: scale(1.02);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 16px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--primary);
    color: white;
    border-radius: var(--radius-full);
}

.pricing-tier {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.pricing-price {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin-bottom: 24px;
}

.pricing-features li {
    padding: 8px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.pricing-features .check {
    color: var(--success);
    margin-right: 8px;
}

.pricing-features .x {
    color: var(--error);
    margin-right: 8px;
}

/* ========================
   CTA Section
   ======================== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(99, 102, 241, 0.1) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cta-content p {
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 280px;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-top: 16px;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-links a {
    display: block;
    padding: 6px 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ========================
   Modal
   ======================== */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    margin: 24px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
}

.modal-close:hover {
    color: var(--text-primary);
}

/* Auth Forms */
.auth-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 8px;
    text-align: center;
}

.auth-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.875rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
}

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

.auth-form .btn {
    width: 100%;
    margin-top: 8px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.auth-switch a {
    color: var(--primary);
    cursor: pointer;
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ========================
   Browse Page Styles
   ======================== */
.page-header {
    padding: 48px 0;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    color: var(--text-secondary);
}

.browse-filters {
    display: flex;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.filter-input {
    padding: 10px 16px;
    font-size: 0.875rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    min-width: 200px;
}

.filter-input:focus {
    outline: none;
    border-color: var(--primary);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 48px 0;
}

.tool-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition-normal);
    cursor: pointer;
}

.tool-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.tool-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.tool-name {
    font-weight: 600;
    font-size: 1rem;
}

.tool-category {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tool-stats {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.tool-stat {
    font-size: 0.875rem;
}

.tool-stat strong {
    color: var(--primary);
}

.tool-stat span {
    color: var(--text-secondary);
}

/* ========================
   Compatibility Page Styles
   ======================== */
.compat-hero {
    padding: 48px 0;
    background: var(--surface);
    text-align: center;
}

.compat-tools {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.compat-tool-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.compat-tool-icon {
    width: 40px;
    height: 40px;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
}

.compat-tool-name {
    font-weight: 600;
}

.compat-vs-icon {
    font-size: 1.5rem;
    color: var(--text-secondary);
}

.compat-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.compat-status-badge.verified {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.compat-status-badge.pending {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent);
}

.compat-status-badge.incompatible {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

.compat-version {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.compat-details {
    padding: 64px 0;
}

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

.compat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
}

.compat-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.compat-detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

.compat-detail-row:last-child {
    border-bottom: none;
}

.compat-detail-row span:first-child {
    color: var(--text-secondary);
}

.compat-detail-row span:last-child {
    font-weight: 500;
}

.test-results-list {
    max-height: 400px;
    overflow-y: auto;
}

.test-result-item {
    padding: 16px;
    background: var(--bg);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
}

.test-result-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.test-result-version {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.test-result-status {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.test-result-status.pass {
    background: rgba(16, 185, 129, 0.15);
    color: var(--success);
}

.test-result-status.fail {
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
}

/* ========================
   Submit Page Styles
   ======================== */
.submit-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 48px 0;
}

.submit-form {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.submit-form h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 24px;
    text-align: center;
}

.submit-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.submit-form .btn {
    width: 100%;
    margin-top: 16px;
}

/* ========================
   Pricing Page Styles
   ======================== */
.pricing-hero {
    padding: 64px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, transparent 100%);
}

.pricing-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.pricing-hero p {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.pricing-comparison {
    padding: 64px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--bg);
    font-weight: 600;
    font-size: 0.875rem;
}

.comparison-table td {
    font-size: 0.875rem;
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.check-icon {
    color: var(--success);
}

.x-icon {
    color: var(--error);
}

/* ========================
   Responsive
   ======================== */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-auth {
        display: none;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-stats {
        gap: 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .pricing-card.featured {
        transform: none;
    }

    .submit-row {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.75rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 12px 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .search-input {
        padding: 14px 50px;
        font-size: 0.875rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .tool-select {
        min-width: 100%;
    }
}

/* ========================
   Animations
   ======================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.combo-card,
.category-card,
.pricing-card,
.tool-card {
    animation: fadeIn 0.3s ease-out forwards;
}

.combo-card:nth-child(1) { animation-delay: 0.05s; }
.combo-card:nth-child(2) { animation-delay: 0.1s; }
.combo-card:nth-child(3) { animation-delay: 0.15s; }
.combo-card:nth-child(4) { animation-delay: 0.2s; }
.combo-card:nth-child(5) { animation-delay: 0.25s; }
.combo-card:nth-child(6) { animation-delay: 0.3s; }

/* Loading Skeleton */
.skeleton {
    background: linear-gradient(90deg, var(--surface) 25%, var(--surface-hover) 50%, var(--surface) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ========================
   Utility Classes
   ======================== */
.hidden {
    display: none !important;
}

.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;
}