/* Header */
header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 20px 0;
    background: var(--bg-glass);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border-subtle);
    transition: all var(--transition-base);
}

header.scrolled {
    padding: 12px 0;
    box-shadow: var(--shadow-md);
}

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

.branding {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm), 0 0 20px var(--accent-glow);
    transition: transform var(--transition-bounce), box-shadow var(--transition-base);
    overflow: hidden;
}

.logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-text h1 {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.brand-text p {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.header-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.header-actions .version-badge {
    margin-right: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--accent-glow) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.3);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.2);
}

.header-divider {
    width: 1px;
    height: 24px;
    background: var(--border-default);
    margin: 0 4px;
}

.theme-toggle .sun-icon,
.theme-toggle .moon-icon {
    position: absolute;
    transition: all var(--transition-bounce);
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle.light .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

.theme-toggle.light .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Hero Section */
.hero {
    padding: 100px 0 80px;
    text-align: center;
    position: relative;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 400px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.6;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(48px, 8vw, 72px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-title .static-text {
    color: var(--text-primary);
}

.hero-title .rotating-text-wrapper {
    display: inline-block;
    position: relative;
    min-width: 280px;
    text-align: left;
}

@media (max-width: 768px) {
    .hero-title .rotating-text-wrapper {
        min-width: 0;
        width: auto;
    }
}

.rotating-text {
    color: var(--accent-primary);
    display: inline-block;
    position: relative;
    font-family: 'Fira Code', monospace;
    letter-spacing: 0.02em;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
    text-align: left;
}

/* Only fix width on mobile to prevent jumping */
@media (max-width: 768px) {
    .rotating-text {
        min-width: 9ch;
    }
}

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

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.stat-bar {
    width: 60px;
    height: 3px;
    background: var(--border-default);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 4px;
}

.stat-bar-fill {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
    animation: statFill 1.5s ease forwards;
    transform-origin: left;
}

/* Input Section */
.input-section {
    padding: 0 0 60px;
}

.input-container {
    background: var(--surface);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    padding: 32px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.input-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    opacity: 0.5;
}

.input-glow {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 400px;
    height: 200px;
    background: radial-gradient(ellipse, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity var(--transition-smooth);
}

.input-container:focus-within .input-glow {
    opacity: 1;
}

.input-main {
    display: grid;
    grid-template-columns: 1fr 140px;
    gap: 16px;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.input-field-wrapper {
    position: relative;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.input-label-text {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.headers-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.header-row {
    display: grid;
    grid-template-columns: 1fr 2fr 42px;
    gap: 12px;
    animation: slideIn var(--transition-base) ease;
}

.header-row .text-input {
    padding: 12px 16px;
    font-size: 13px;
}

.action-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--border-subtle);
}

.auth-type-selector {
    margin-bottom: 16px;
}

#authFields {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Results Section */
.results-section {
    padding: 0 0 80px;
    min-height: 400px;
}

.results-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 40px;
    text-align: center;
}

.empty-illustration {
    width: 120px;
    height: 120px;
    background: var(--surface);
    border: 2px dashed var(--border-default);
    border-radius: var(--radius-xl);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-illustration svg {
    width: 48px;
    height: 48px;
    color: var(--text-dim);
}

.empty-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.empty-desc {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 400px;
}

.results-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.loader-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 120px;
    height: 120px;
}

.grid-cell {
    background: var(--bg-secondary);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.grid-cell::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--accent-primary);
    opacity: 0;
    animation: gridPulse 2s ease-in-out infinite;
}

.grid-cell:nth-child(1)::before { animation-delay: 0s; }
.grid-cell:nth-child(2)::before { animation-delay: 0.1s; }
.grid-cell:nth-child(3)::before { animation-delay: 0.2s; }
.grid-cell:nth-child(4)::before { animation-delay: 0.3s; }
.grid-cell:nth-child(5)::before { animation-delay: 0.4s; }
.grid-cell:nth-child(6)::before { animation-delay: 0.5s; }
.grid-cell:nth-child(7)::before { animation-delay: 0.6s; }
.grid-cell:nth-child(8)::before { animation-delay: 0.7s; }
.grid-cell:nth-child(9)::before { animation-delay: 0.8s; }

@keyframes gridPulse {
    0%, 100% { 
        opacity: 0;
        transform: scale(0.8);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1);
    }
}

.results-content {
    animation: fadeInUp 0.5s ease;
}

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

.results-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.results-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--success-muted) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--radius-md);
    animation: fadeInRight 0.4s ease;
}

.results-status.error {
    background: linear-gradient(135deg, var(--error-muted) 0%, rgba(239, 68, 68, 0.05) 100%);
    border-color: rgba(239, 68, 68, 0.3);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.results-status.error .status-dot {
    background: var(--error);
}

.status-text {
    font-size: 13px;
    font-weight: 700;
    color: var(--success);
    font-family: 'Fira Code', monospace;
}

.results-status.error .status-text {
    color: var(--error);
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.results-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.results-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--success-muted);
    border-radius: var(--radius-sm);
}

.results-status.error {
    background: var(--error-muted);
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: statusPulse 2s ease infinite;
}

.results-status.error .status-dot {
    background: var(--error);
}

.status-text {
    font-size: 12px;
    font-weight: 700;
    color: var(--success);
}

.results-status.error .status-text {
    color: var(--error);
}

.results-actions {
    display: flex;
    gap: 10px;
}

/* Special Gradient Buttons (Comparison & Mock Data) */
.special-btn {
    position: relative;
    padding: 12px 20px;
    background: var(--surface);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
    transition: all var(--transition-base);
}

.btn-gradient-border {
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #ec4899 50%, 
        #f43f5e 75%, 
        #6366f1 100%
    );
    background-size: 200% 100%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    animation: flowGradient 3s linear infinite;
    pointer-events: none;
}

@keyframes flowGradient {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.btn-content {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.btn-content svg {
    width: 16px;
    height: 16px;
    color: var(--text-secondary);
    transition: all var(--transition-base);
}

.btn-text {
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(90deg, 
        #6366f1 0%, 
        #8b5cf6 25%, 
        #ec4899 50%, 
        #f43f5e 75%, 
        #6366f1 100%
    );
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: flowGradient 3s linear infinite;
}

.special-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
}

.special-btn:hover .btn-content svg {
    color: var(--accent-primary);
    transform: scale(1.1);
}

.special-btn:active {
    transform: translateY(0);
}

.error-container {
    padding: 24px;
    background: var(--error-muted);
    border: 1px solid var(--error);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.error-icon {
    width: 48px;
    height: 48px;
    background: var(--error);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.error-icon svg {
    width: 24px;
    height: 24px;
}

.error-content {
    flex: 1;
}

.error-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--error);
    margin-bottom: 4px;
}

.error-message {
    font-size: 14px;
    color: var(--text-secondary);
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

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

    .hero-title {
        font-size: 36px;
    }

    .hero-stats {
        flex-direction: row;
        gap: 16px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-stat {
        flex: 0 0 auto;
        min-width: 100px;
    }

    .input-main {
        grid-template-columns: 1fr;
    }

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

    .header-row .remove-btn {
        justify-self: end;
    }

    .options-grid {
        grid-template-columns: 1fr;
    }

    .action-bar {
        flex-direction: column;
    }

    .primary-btn {
        width: 100%;
    }

    .results-header {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }

    .sidebar {
        width: 100%;
    }
}

/* Footer */
.footer {
    background: var(--surface);
    border-top: 1px solid var(--border-subtle);
    margin-top: 120px;
    padding: 60px 0 40px;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-primary) 50%, transparent 100%);
    opacity: 0.3;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
}

.footer-logo span {
    font-size: 24px;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-muted);
    max-width: 400px;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-dim);
    font-family: 'Fira Code', monospace;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-section-title {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 42px;
    height: 42px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-link:hover {
    background: var(--accent-glow);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-feedback-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all var(--transition-base);
    width: fit-content;
}

.footer-feedback-btn:hover {
    background: var(--accent-glow);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.footer-feedback-btn svg {
    width: 18px;
    height: 18px;
}

.footer-email-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 100%);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all var(--transition-base);
    width: fit-content;
    margin-top: 12px;
}

.footer-email-link:hover {
    background: linear-gradient(135deg, var(--accent-glow) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.footer-email-link svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.email-address {
    font-family: 'Fira Code', monospace;
    font-size: 13px;
    letter-spacing: 0.02em;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-subtle);
}

.footer-version {
    padding: 6px 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-sm);
    font-family: 'Fira Code', monospace;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-secondary);
}

.footer-credits {
    font-size: 13px;
    color: var(--text-muted);
}

/* Feedback Modal Content */
.feedback-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feedback-description {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    text-align: center;
}

.feedback-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feedback-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    text-decoration: none;
    transition: all var(--transition-base);
}

.feedback-option:hover {
    background: var(--bg-tertiary);
    border-color: var(--accent-primary);
    transform: translateX(4px);
}

.feedback-option-icon {
    width: 48px;
    height: 48px;
    background: var(--accent-glow);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    flex-shrink: 0;
}

.feedback-option-icon svg {
    width: 24px;
    height: 24px;
}

.feedback-option-content {
    flex: 1;
}

.feedback-option-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.feedback-option-desc {
    font-size: 13px;
    color: var(--text-muted);
}

.feedback-note {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--info-muted);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
}

.feedback-note svg {
    width: 20px;
    height: 20px;
    color: var(--info);
    flex-shrink: 0;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer {
        margin-top: 80px;
        padding: 40px 0 30px;
    }

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

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }

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

/* Mobile Responsive Styles */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
        padding: 0 40px;
    }
}

@media (max-width: 968px) {
    .container {
        max-width: 720px;
        padding: 0 32px;
    }
    
    .header-content {
        padding: 20px 0;
    }
    
    .header-logo {
        font-size: 22px;
    }
    
    .header-nav {
        gap: 16px;
    }
    
    .nav-link {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
    
    .header-content {
        flex-direction: row;
        gap: 0;
        padding: 16px 0;
        justify-content: space-between;
    }
    
    .branding {
        gap: 12px;
    }
    
    .logo-mark {
        width: 36px;
        height: 36px;
    }
    
    .brand-text h1 {
        font-size: 22px;
        background: var(--gradient-primary);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }
    
    .brand-text p {
        font-size: 10.5px;
        display: block;
    }
    
    .header-actions {
        gap: 6px;
    }
    
    .header-actions .version-badge {
        display: none;
    }
    
    /* Make all buttons the same size on mobile */
    .header-actions .icon-btn {
        width: 44px;
        height: 44px;
        margin-right: 2px;
    }
    
    .header-actions .icon-btn svg {
        width: 20px;
        height: 20px;
    }
    
    .hero {
        padding: 80px 0 60px;
        min-height: 450px;
    }
    
    .hero-title {
        font-size: 42px;
        line-height: 1.2;
        text-align: center;
        min-height: 110px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-title br {
        content: ' ';
    }
    
    .hero-title br::after {
        content: ' ';
    }
    
    .scramble-text {
        margin-left: 0 !important;
        margin-right: 8px;
    }
    
    .hero-subtitle {
        font-size: 18px;
        max-width: 100%;
        text-align: center;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }
    
    .hero-actions .primary-btn,
    .hero-actions .secondary-btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-cta {
        text-align: center;
        margin-top: 32px;
    }
    
    .feature-pills {
        justify-content: center;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    /* Empty state illustration - only make the icon smaller, keep container same */
    .empty-illustration svg {
        width: 32px;
        height: 32px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-logo {
        margin: 0 auto;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .footer-section {
        width: 100%;
        text-align: center;
        align-items: center;
    }
    
    .footer-feedback-btn {
        margin: 0 auto;
    }
    
    .footer-email-link {
        margin: 12px auto 0;
    }
    
    .footer-section-title {
        text-align: center;
    }
    
    .footer-section-links {
        align-items: center;
    }
    
    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .branding {
        gap: 10px;
    }
    
    .logo-mark {
        width: 32px;
        height: 32px;
    }
    
    .brand-text h1 {
        font-size: 20px;
    }
    
    .brand-text p {
        font-size: 10px;
        display: block;
    }
    
    .header-actions {
        gap: 4px;
    }
    
    .header-actions .icon-btn {
        width: 36px;
        height: 36px;
    }
    
    .header-actions .icon-btn svg {
        width: 16px;
        height: 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
        min-height: 90px;
    }
    
    .scramble-text {
        margin-right: 6px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    /* Empty state icon even smaller on tiny screens */
    .empty-illustration svg {
        width: 28px;
        height: 28px;
    }
    
    .version-badge {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .feature-pills {
        gap: 6px;
    }
    
    .feature-pill {
        padding: 6px 12px;
        font-size: 10px;
    }
}