/**
 * Backlink Checker - Premium SaaS Design
 * Inspired by Ahrefs, SEMrush, and Moz
 */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ========================================
   CSS Variables - Professional SaaS Palette
   ======================================== */
:root {
    /* Base Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-hero: linear-gradient(135deg, #dbeafe 0%, #d1fae5 50%, #ede9fe 100%);

    /* Colorful Section Backgrounds - Bold/Vibrant */
    --bg-features: #dbeafe;           /* Stronger blue */
    --bg-steps: #ede9fe;              /* Stronger purple */
    --bg-testimonials: #d1fae5;       /* Stronger teal */
    --bg-use-cases: linear-gradient(180deg, #ffffff 0%, #f0f9ff 100%);

    /* Accent Colors */
    --accent-primary: #2563eb;         /* Professional blue */
    --accent-primary-hover: #1d4ed8;
    --accent-secondary: #059669;       /* Success green for CTAs */
    --accent-highlight: #f59e0b;       /* Amber for highlights */
    --accent-purple: #7c3aed;          /* Purple accent */

    /* Text Colors */
    --text-primary: #0f172a;           /* Dark navy */
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --text-light: #ffffff;

    /* Semantic Colors */
    --success: #059669;
    --success-light: #d1fae5;
    --warning: #f59e0b;
    --warning-light: #fef3c7;
    --danger: #dc2626;
    --danger-light: #fee2e2;

    /* Borders & Shadows */
    --border-color: #e2e8f0;
    --border-light: #f1f5f9;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -2px rgba(0, 0, 0, 0.04);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
}

/* ========================================
   Base Styles
   ======================================== */
* {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    background: var(--bg-primary);
    min-height: 100vh;
    color: var(--text-primary);
    position: relative;
    overflow-x: hidden;
}

/* Remove decorative elements for clean look */
body::after,
body::before {
    display: none;
}

/* ========================================
   Site Header - Dark Professional
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 0.875rem 2rem;
    background: var(--bg-dark);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-light);
}

.header-logo:hover {
    color: var(--text-light);
    text-decoration: none;
}

.header-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.header-logo-text {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-light);
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.header-nav-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

/* ========================================
   App Header
   ======================================== */
.app-header {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-top: 3px solid var(--accent-primary);
    color: var(--text-primary);
    padding: 1.5rem 2rem;
    border-radius: var(--radius-lg);
    margin: 0 0 2rem 0;
    box-shadow: var(--shadow-sm);
}

.app-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.app-header h1 .header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--accent-primary);
    border-radius: var(--radius-sm);
    margin-right: 0.75rem;
}

.app-header h1 .header-icon i {
    color: white;
    font-size: 1.1rem;
}

.app-header p {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin: 0;
}

/* General Quota Badge */
.quota-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    background: transparent;
    border: none;
}

.quota-badge i {
    color: var(--accent-primary);
}

/* App Header Quota Badge */
.app-header .quota-badge {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
}

.app-header .quota-badge i {
    font-size: 0.9rem;
}

.app-header .quota-badge.warning {
    background: var(--warning-light) !important;
    border-color: rgba(245, 158, 11, 0.3);
    color: #92400e;
}

.app-header .quota-badge.danger {
    background: var(--danger-light) !important;
    border-color: rgba(220, 38, 38, 0.3);
    color: #991b1b;
}

/* ========================================
   Cards - Clean Professional Style
   ======================================== */
.card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: box-shadow 0.2s ease;
}

.card:hover {
    box-shadow: var(--shadow-md);
}

.card-header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.5rem;
    font-weight: 600;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-header.bg-white {
    background: var(--bg-secondary) !important;
}

.card-header h5 {
    font-weight: 700;
    color: var(--text-primary);
}

.card-header h5 i {
    color: var(--accent-primary);
}

.card-body {
    padding: 1.5rem;
}

/* Results Card Special Styling */
.results-card {
    border-top: 3px solid var(--accent-primary);
}

.results-card .card-header {
    background: var(--bg-secondary);
}

.results-card .card-body {
    padding-top: 1rem;
}

/* ========================================
   Buttons - Professional Style
   ======================================== */
.btn-primary {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
    color: white;
    background-size: 200% 200%;
}

.btn-primary:hover,
.btn-primary:focus {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
    transform: translateY(-2px);
    color: white;
}

.btn-primary:active {
    transform: translateY(0);
    background: linear-gradient(135deg, #1e40af 0%, #1d4ed8 100%);
}

.btn-outline-primary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary.active,
.btn-check:checked + .btn-outline-primary {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

.btn-outline-success {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.btn-outline-success:hover {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
}

.btn-group {
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.btn-group .btn:last-child {
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Button States */
.btn:disabled {
    cursor: not-allowed;
    opacity: 0.5;
}

.btn .spinner-border-sm {
    width: 1rem;
    height: 1rem;
    border-width: 0.15em;
}

/* ========================================
   Form Elements - Clean & Professional
   ======================================== */
.form-control,
.form-select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    font-size: 0.9rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-control::placeholder {
    color: var(--text-muted);
}

.form-control:focus,
.form-select:focus {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    color: var(--text-primary);
}

.form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23475569' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
}

.form-select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.form-control-lg {
    padding: 0.875rem 1.25rem;
    font-size: 1rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.form-text {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Input Group */
.input-group .form-control {
    border-right: none;
}

.input-group-text {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-secondary);
}

.input-group .form-control:focus + .input-group-text {
    border-color: var(--accent-primary);
}

/* Form Switch */
.form-check-input {
    width: 2.75rem;
    height: 1.375rem;
    background-color: var(--border-color);
    border: none;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--accent-primary);
    border-color: var(--accent-primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    border-color: var(--accent-primary);
}

.form-check-label {
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 0.875rem;
}

/* ========================================
   Input Type Badges
   ======================================== */
#inputTypeBadge .badge {
    font-size: 0.7rem;
    font-weight: 700;
    min-width: 55px;
    padding: 0.35rem 0.65rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#inputTypeBadge .badge.bg-secondary {
    background: var(--accent-primary) !important;
    color: white;
}

#inputTypeBadge .badge.bg-info {
    background: var(--accent-highlight) !important;
    color: white;
}

#inputTypeBadge .badge.bg-success {
    background: var(--accent-secondary) !important;
    color: white;
}

/* ========================================
   Bulk Input
   ======================================== */
#bulkInput {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', 'Consolas', monospace;
    font-size: 0.85rem;
    resize: vertical;
    min-height: 150px;
    background: var(--bg-secondary);
    border: 1px dashed var(--border-color);
}

#bulkInput:focus {
    border-style: solid;
    border-color: var(--accent-primary);
    background: var(--bg-primary);
}

/* ========================================
   Progress Bar
   ======================================== */
.progress {
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    height: 24px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.progress-bar {
    background: var(--accent-primary);
    border-radius: var(--radius-sm);
    transition: width 0.3s ease;
    font-weight: 600;
    font-size: 0.8rem;
    color: white;
}

.progress-bar.progress-bar-striped {
    background-image: linear-gradient(
        45deg,
        rgba(255, 255, 255, 0.15) 25%,
        transparent 25%,
        transparent 50%,
        rgba(255, 255, 255, 0.15) 50%,
        rgba(255, 255, 255, 0.15) 75%,
        transparent 75%,
        transparent
    );
    background-size: 1rem 1rem;
    background-color: var(--accent-primary);
}

/* ========================================
   Results Table
   ======================================== */
#resultsTable {
    font-size: 0.875rem;
    color: var(--text-primary);
}

#resultsTable thead th {
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 0.5px;
    padding: 0.875rem 0.75rem;
    border: none;
    border-bottom: 1px solid var(--border-color);
    white-space: nowrap;
}

#resultsTable thead th:first-child {
    border-radius: var(--radius-sm) 0 0 0;
}

#resultsTable thead th:last-child {
    border-radius: 0 var(--radius-sm) 0 0;
}

#resultsTable tbody tr {
    transition: background 0.15s ease;
    border-bottom: 1px solid var(--border-light);
}

#resultsTable tbody tr:nth-child(odd) {
    background: var(--bg-primary);
}

#resultsTable tbody tr:nth-child(even) {
    background: var(--bg-secondary);
}

#resultsTable tbody tr:hover {
    background: rgba(37, 99, 235, 0.04);
}

#resultsTable td {
    vertical-align: middle;
    padding: 0.75rem;
    border-bottom: 1px solid var(--border-light);
    color: var(--text-primary);
}

/* Source URL Column */
#resultsTable td:first-child {
    max-width: 400px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#resultsTable td:first-child a {
    text-decoration: none;
    color: var(--accent-primary);
    font-weight: 500;
    transition: all 0.2s ease;
}

#resultsTable td:first-child a:hover {
    color: var(--accent-primary-hover);
    text-decoration: underline;
}

/* Anchor Text Column */
#resultsTable td:nth-child(2) {
    max-width: 250px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--text-secondary);
}

/* ========================================
   Authority Badges (DA/PA)
   ======================================== */
.da-badge,
.pa-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

/* High Authority (50+) - Green */
.da-badge.da-high,
.pa-badge.pa-high {
    background: var(--success-light);
    color: #065f46;
}

/* Medium Authority (20-49) - Amber */
.da-badge.da-medium,
.pa-badge.pa-medium {
    background: var(--warning-light);
    color: #92400e;
}

/* Low Authority (<20) - Red */
.da-badge.da-low,
.pa-badge.pa-low {
    background: var(--danger-light);
    color: #991b1b;
}

/* ========================================
   Metric Badges (Page Rank, Harmonic Centrality)
   ======================================== */
.metric-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

/* High Metric - Blue */
.metric-badge.metric-high {
    background: rgba(37, 99, 235, 0.1);
    color: var(--accent-primary);
}

/* Medium Metric - Purple */
.metric-badge.metric-medium {
    background: rgba(139, 92, 246, 0.1);
    color: #6d28d9;
}

/* Low Metric - Gray */
.metric-badge.metric-low {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* ========================================
   Spam Score Badges (inverted - high is bad)
   ======================================== */
.spam-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.75rem;
}

/* Low Spam Score (<30) - Green (Good) */
.spam-badge.spam-low {
    background: var(--success-light);
    color: #065f46;
}

/* Medium Spam Score (30-59) - Yellow (Warning) */
.spam-badge.spam-medium {
    background: var(--warning-light);
    color: #92400e;
}

/* High Spam Score (60+) - Red (Dangerous) */
.spam-badge.spam-high {
    background: var(--danger-light);
    color: #991b1b;
}

/* ========================================
   Follow Status Badges
   ======================================== */
.follow-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.3rem 0.6rem;
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.follow-badge.dofollow {
    background: var(--success-light);
    color: #065f46;
}

.follow-badge.nofollow {
    background: var(--bg-secondary);
    color: var(--text-muted);
}

/* ========================================
   Query Column (Bulk Mode)
   ======================================== */
.query-column {
    max-width: 200px;
}

/* ========================================
   Results Count Badge
   ======================================== */
#resultsCount {
    background: var(--accent-primary);
    font-size: 0.8rem;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    color: white;
}

/* ========================================
   Loading Overlay
   ======================================== */
#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

#loadingOverlay .spinner-border {
    width: 3rem;
    height: 3rem;
    border-width: 3px;
    color: var(--accent-primary);
}

/* ========================================
   Toast Customization
   ======================================== */
.toast {
    min-width: 320px;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-lg);
    color: var(--text-primary);
}

.toast-header {
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
}

.toast-header .btn-close {
    filter: none;
}

.toast-header .bi {
    font-size: 1rem;
}

.toast-header .bi.text-success {
    color: var(--success) !important;
}

.toast-header .bi.text-danger {
    color: var(--danger) !important;
}

.toast-header .bi.text-warning {
    color: var(--warning) !important;
}

.toast-body {
    color: var(--text-secondary);
}

/* ========================================
   Alert Styling
   ======================================== */
.alert {
    border: none;
    border-radius: var(--radius-md);
    padding: 1rem 1.25rem;
}

.alert-warning {
    background: var(--warning-light);
    color: #92400e;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.alert-warning .alert-heading {
    color: #92400e;
    font-weight: 700;
}

.alert-warning .btn-close {
    filter: none;
}

/* Error List */
#errorsList {
    max-height: 150px;
    overflow-y: auto;
    color: #92400e;
}

#errorsList .error-item {
    padding: 0.35rem 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.15);
}

#errorsList .error-item:last-child {
    border-bottom: none;
}

/* ========================================
   DataTables Customization
   ======================================== */
.dataTables_wrapper {
    color: var(--text-secondary);
}

.dataTables_wrapper .dataTables_filter input {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.875rem;
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_filter input::placeholder {
    color: var(--text-muted);
}

.dataTables_wrapper .dataTables_filter input:focus {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
    outline: none;
}

.dataTables_wrapper .dataTables_filter label {
    color: var(--text-secondary);
}

.dataTables_wrapper .dataTables_length select {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.5rem 2.5rem 0.5rem 0.875rem;
    color: var(--text-primary);
}

.dataTables_wrapper .dataTables_length select option {
    background: var(--bg-primary);
    color: var(--text-primary);
}

.dataTables_wrapper .dataTables_length label {
    color: var(--text-secondary);
}

.dataTables_wrapper .dataTables_paginate .paginate_button {
    background: var(--bg-primary) !important;
    border-radius: var(--radius-sm) !important;
    font-weight: 600;
    border: 1px solid var(--border-color) !important;
    margin: 0 2px;
    color: var(--text-secondary) !important;
    transition: all 0.2s ease;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: var(--accent-primary) !important;
    color: white !important;
    border: none !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover:not(.current):not(.disabled) {
    background: var(--bg-secondary) !important;
    color: var(--accent-primary) !important;
    border: 1px solid var(--accent-primary) !important;
}

.dataTables_wrapper .dataTables_paginate .paginate_button.disabled {
    color: var(--text-muted) !important;
    opacity: 0.5;
}

.dataTables_wrapper .dataTables_info {
    color: var(--text-secondary);
    font-weight: 500;
}

/* Table sorting icons */
table.dataTable thead .sorting:before,
table.dataTable thead .sorting:after,
table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_asc:after,
table.dataTable thead .sorting_desc:before,
table.dataTable thead .sorting_desc:after {
    opacity: 0.3;
}

table.dataTable thead .sorting_asc:before,
table.dataTable thead .sorting_desc:after {
    opacity: 1;
}

/* ========================================
   Empty State
   ======================================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-primary);
    opacity: 0.5;
}

.empty-state p {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

.fade-in {
    animation: fadeIn 0.4s ease-out;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* Floating animation for decorative orbs */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 4px 30px rgba(124, 58, 237, 0.4);
    }
}

/* Gradient shimmer animation */
@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ========================================
   Responsive Adjustments
   ======================================== */
@media (max-width: 768px) {
    .app-header {
        padding: 1.25rem;
        margin: 0 0 1.5rem 0;
        border-radius: var(--radius-md);
    }

    .app-header h1 {
        font-size: 1.25rem;
    }

    .app-header .quota-badge {
        font-size: 0.7rem;
        padding: 0.5rem 0.75rem;
    }

    .card-body {
        padding: 1rem;
    }

    #resultsTable {
        font-size: 0.8rem;
    }

    .btn-group .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .da-badge,
    .pa-badge,
    .metric-badge,
    .spam-badge {
        min-width: 38px;
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }

    .follow-badge {
        font-size: 0.6rem;
        padding: 0.25rem 0.5rem;
    }
}

/* ========================================
   Utility Classes
   ======================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
}

.shadow-colored {
    box-shadow: var(--shadow-lg);
}

/* ========================================
   Scrollbar Styling
   ======================================== */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color) var(--bg-secondary);
}

/* ========================================
   MARKETING SECTIONS - Premium SaaS Style
   ======================================== */

body.marketing-page {
    background: var(--bg-primary);
}

/* ========================================
   Hero Section
   ======================================== */
.hero-section {
    position: relative;
    padding: 2rem;
    padding-top: 6rem;
    padding-bottom: 4rem;
    background: var(--bg-hero);
    overflow: hidden;
}

/* Subtle grid pattern */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Decorative gradient orbs - Bold/Vibrant with animations */
.hero-section::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 8s ease-in-out infinite;
}

.hero-section .hero-container::before {
    content: '';
    position: absolute;
    bottom: -150px;
    left: -150px;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float-slow 10s ease-in-out infinite;
}

.hero-section .hero-container::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: float 12s ease-in-out infinite;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-top: 1rem;
    position: relative;
    z-index: 1;
}

.hero-content {
    padding-right: 2rem;
}

.hero-tool {
    position: relative;
}

/* Trust Badge - Bold/Vibrant */
.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1) 0%, rgba(124, 58, 237, 0.1) 100%);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--accent-primary);
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.15);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.trust-badge i {
    color: #3b82f6;
}

/* Hero Headline */
.hero-headline {
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.hero-headline .highlight {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hero Subtext */
.hero-subtext {
    font-size: 1.15rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 480px;
}

/* Stats Counter Row */
.stats-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.stat-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 12px;
    padding: 0.75rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(4px);
    transition: all 0.2s ease;
}

.stat-item:nth-child(1) {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
}

.stat-item:nth-child(2) {
    background: rgba(5, 150, 105, 0.08);
    border: 1px solid rgba(5, 150, 105, 0.15);
}

.stat-item:nth-child(3) {
    background: rgba(124, 58, 237, 0.08);
    border: 1px solid rgba(124, 58, 237, 0.15);
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}

/* Different colors for each stat */
.stat-item:nth-child(1) .stat-number {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(2) .stat-number {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-item:nth-child(3) .stat-number {
    background: linear-gradient(135deg, #7c3aed 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Trust Indicators List */
.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.trust-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-indicator i {
    color: #10b981;
    font-size: 1rem;
}

/* Tool Card in Hero - Bold/Vibrant with glow */
.hero-tool .card {
    position: relative;
    z-index: 1;
    border: 1px solid var(--border-color);
    border-top: none;
    box-shadow: var(--shadow-lg), 0 0 60px rgba(37, 99, 235, 0.15), 0 0 100px rgba(124, 58, 237, 0.08);
    transition: all 0.3s ease;
    overflow: hidden;
}

/* Gradient top border using pseudo-element (respects border-radius) */
.hero-tool .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2563eb 0%, #7c3aed 100%);
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.hero-tool .card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg), 0 0 80px rgba(37, 99, 235, 0.2), 0 0 120px rgba(124, 58, 237, 0.12);
}

/* ========================================
   Features Section
   ======================================== */
.features-section {
    position: relative;
    padding: 5rem 2rem;
    background: var(--bg-features);
    overflow: hidden;
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #1e40af 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 550px;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    background: var(--bg-primary);
    padding: 2rem;
    border-radius: var(--radius-lg);
    text-align: center;
    border: 1px solid var(--border-color);
    border-left: 4px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.feature-card:hover {
    border-color: var(--accent-primary);
    transform: translateY(-4px);
}

/* Gradient left borders for feature cards */
.feature-card:nth-child(1) {
    border-left: 4px solid #3b82f6;
}

.feature-card:nth-child(2) {
    border-left: 4px solid #10b981;
}

.feature-card:nth-child(3) {
    border-left: 4px solid #8b5cf6;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(37, 99, 235, 0.1);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
    font-size: 1.5rem;
    color: var(--accent-primary);
    transition: all 0.3s ease;
}

/* Multi-color feature icons - Bold/Vibrant with gradients */
.feature-card:nth-child(1) .feature-icon {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
}

.feature-card:nth-child(2) .feature-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.feature-card:nth-child(3) .feature-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3);
}

/* Matching hover effects with colored glow */
.feature-card:nth-child(1):hover {
    border-color: #3b82f6;
    background: rgba(37, 99, 235, 0.03);
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.15);
}

.feature-card:nth-child(2):hover {
    border-color: #10b981;
    background: rgba(5, 150, 105, 0.03);
    box-shadow: 0 10px 40px rgba(5, 150, 105, 0.15);
}

.feature-card:nth-child(3):hover {
    border-color: #8b5cf6;
    background: rgba(124, 58, 237, 0.03);
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.15);
}

.feature-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ========================================
   How It Works Section
   ======================================== */
.how-it-works-section {
    padding: 5rem 2rem;
    background: var(--bg-steps);
}

.how-it-works-container {
    max-width: 1000px;
    margin: 0 auto;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

.step-card {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 800;
    color: white;
    margin: 0 auto 1.25rem;
    box-shadow: 0 6px 25px rgba(37, 99, 235, 0.35);
    animation: pulse-glow 3s ease-in-out infinite;
    position: relative;
}

/* Connecting line between steps */
.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 20%;
    right: 20%;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6 0%, #8b5cf6 50%, #7c3aed 100%);
    border-radius: 2px;
    z-index: 0;
    opacity: 0.3;
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.step-description {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ========================================
   Use Cases Section
   ======================================== */
.use-cases-section {
    padding: 5rem 2rem;
    background: var(--bg-use-cases);
}

.use-cases-container {
    max-width: 1000px;
    margin: 0 auto;
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.use-case-card {
    background: var(--bg-primary);
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.use-case-card:hover {
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.12);
    transform: translateY(-3px);
}

.use-case-icon {
    font-size: 2.25rem;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.use-case-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ========================================
   Testimonials Section
   ======================================== */
.testimonials-section {
    padding: 5rem 2rem;
    background: var(--bg-testimonials);
}

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

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--bg-primary);
    padding: 1.75rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    position: relative;
    border-top: 4px solid transparent;
    transition: all 0.3s ease;
}

/* Colored top borders for testimonial cards - Bold/Vibrant */
.testimonial-card:nth-child(1) {
    border-top-color: #2563eb;
}

.testimonial-card:nth-child(2) {
    border-top-color: #059669;
}

.testimonial-card:nth-child(3) {
    border-top-color: #f59e0b;
}

/* Colored shadows on hover */
.testimonial-card:nth-child(1):hover {
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.15);
    transform: translateY(-4px);
}

.testimonial-card:nth-child(2):hover {
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.15);
    transform: translateY(-4px);
}

.testimonial-card:nth-child(3):hover {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.15);
    transform: translateY(-4px);
}

/* Star Rating */
.testimonial-stars {
    color: var(--accent-highlight);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    letter-spacing: 2px;
}

.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.testimonial-info {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.9rem;
}

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

.testimonial-company {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.125rem;
}

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background: var(--bg-dark);
    color: white;
    padding: 3rem 2rem 2rem;
}

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

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #7c3aed 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: white;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 4rem;
}

.footer-links-column h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-column li {
    margin-bottom: 0.5rem;
}

.footer-links-column a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-links-column a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-powered {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

.footer-powered span {
    color: var(--accent-primary);
    font-weight: 600;
}

.footer-copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    margin: 0;
}

/* Footer Legal Links */
.footer-legal-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin: 0;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-legal-links a:hover {
    color: rgba(255, 255, 255, 0.9);
}

.footer-link-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.875rem;
}

/* ========================================
   Legal Pages (Privacy & Terms)
   ======================================== */
.legal-section {
    padding: 6rem 2rem 4rem;
    background: var(--bg-primary);
    min-height: calc(100vh - 200px);
}

.legal-container {
    max-width: 900px;
    margin: 0 auto;
}

.legal-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-content {
    color: var(--text-secondary);
    line-height: 1.8;
}

.legal-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.legal-content h2:first-child {
    margin-top: 0;
}

.legal-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.legal-content ul {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.legal-content a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.legal-content a:hover {
    color: var(--accent-primary-hover);
    text-decoration: underline;
}

.legal-content strong {
    color: var(--text-primary);
    font-weight: 600;
}

/* Legal page responsive */
@media (max-width: 768px) {
    .legal-section {
        padding: 5rem 1.5rem 3rem;
    }

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

    .legal-content h2 {
        font-size: 1.2rem;
    }

    .legal-content h3 {
        font-size: 1rem;
    }
}

.footer-badges {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-badge i {
    font-size: 0.875rem;
}

/* Simple footer for backwards compatibility */
.footer-container > .footer-logo {
    justify-content: center;
}

.footer-container > .footer-tagline,
.footer-container > .footer-powered,
.footer-container > .footer-copyright {
    text-align: center;
}

/* ========================================
   Results Section (Marketing Page)
   ======================================== */
.results-section-wrapper {
    padding: 2rem;
    background: var(--bg-secondary);
}

.results-section-container {
    max-width: 1400px;
    margin: 0 auto;
}

/* ========================================
   Marketing Page Responsive
   ======================================== */
@media (max-width: 1200px) {
    .hero-headline {
        font-size: 2.75rem;
    }
}

@media (max-width: 992px) {
    .hero-section {
        padding-top: 5rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 2rem;
    }

    .hero-content {
        padding-right: 0;
        text-align: center;
    }

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

    .hero-subtext {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .stats-row {
        justify-content: center;
    }

    .trust-indicators {
        justify-content: center;
    }

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-brand {
        max-width: 100%;
        text-align: center;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-links {
        width: 100%;
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 0.75rem 1rem;
    }

    .hero-section {
        padding: 1.5rem;
        padding-top: 5rem;
    }

    .hero-container {
        padding-top: 1rem;
        padding-bottom: 2rem;
    }

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

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

    .stats-row {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

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

    .features-section,
    .how-it-works-section,
    .use-cases-section,
    .testimonials-section {
        padding: 3rem 1.5rem;
    }

    .use-cases-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .use-case-card {
        padding: 1.5rem 1rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.75rem;
    }

    .trust-indicators {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .stats-row {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1rem;
    }

    .stat-number {
        font-size: 1.25rem;
    }

    .stat-label {
        margin-top: 0;
    }

    /* Hide connecting line on mobile */
    .steps-grid::before {
        display: none;
    }
}

@media (max-width: 992px) {
    .steps-grid::before {
        display: none;
    }
}
