/* ========================================
   RastreioFácil - Main Stylesheet
   ======================================== */

/* CSS Variables */
:root {
    --primary: #003E7E;
    --primary-dark: #002B59;
    --secondary: #0056A3;
    --accent: #FFD100;
    --accent-dark: #E6BC00;
    --accent-red: #E8112D;
    --bg: #FFFDF5;
    --bg-light: #FFFAEB;
    --bg-gray: #f3f4f6;
    --bg-dark: #002B59;
    --text: #1A1A2E;
    --text-dark: #111827;
    --text-gray: #4b5563;
    --text-light: #6b7280;
    --text-muted: #9ca3af;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --radius: 9px;
    --radius-lg: 13px;
    --radius-xl: 1rem;
    --white: #ffffff;
    --success: #22c55e;
    --success-dark: #15803d;
    --warning: #FFD100;
    --warning-dark: #E6BC00;
    --error: #E8112D;
    --error-dark: #C40E25;
    --blue: #0056A3;
    --blue-light: #E8F0FE;
    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    border-width: 0;
    border-style: solid;
    border-color: var(--border);
    margin: 0;
    padding: 0;
}

html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    tab-size: 4;
}

body {
    font-family: 'Poppins', ui-sans-serif, system-ui, -apple-system, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 { font-weight: inherit; font-size: inherit; margin: 0; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; font-size: 100%; line-height: inherit; color: inherit; margin: 0; padding: 0; }
button, [type='button'], [type='submit'] { -webkit-appearance: button; background: transparent; cursor: pointer; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img, svg, video { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }

/* Focus States */
a:focus-visible, button:focus-visible, input:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ========== Layout ========== */
.container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1rem;
}

.container-sm { max-width: 42rem; margin: 0 auto; }
.container-md { max-width: 56rem; margin: 0 auto; }
.container-lg { max-width: 48rem; margin: 0 auto; }

/* ========== Header ========== */
.header {
    padding: 16.7px 0;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 50;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.logo-icon {
    display: inline-flex;
    align-items: center;
    height: 40px;
}

.logo-icon svg {
    height: 100%;
    width: auto;
}

/* Header logo: change white text fills to dark blue */
.header .logo-icon svg path[fill="#fff"],
.header .logo-icon svg polygon[fill="#fff"] {
    fill: var(--primary);
}

/* Desktop Nav */
.nav-desktop {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-gray);
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

/* Auth Buttons */
.auth-buttons {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.btn-outline {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid #d1d5db;
    color: #374151;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: var(--bg-light);
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

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

/* Mobile Menu Button */
.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    color: var(--text-gray);
    background: none;
    border: none;
}

.mobile-menu-btn svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    flex-direction: column;
    gap: 0;
    padding-top: 1rem;
    padding-bottom: 0.5rem;
}

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

.mobile-menu .nav-link {
    padding: 0.5rem 0;
}

.mobile-menu-auth {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border);
    margin-top: 0.5rem;
}

/* ========== Buttons ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-lg {
    padding: 0.75rem 2rem;
    font-size: 1.125rem;
}

.btn-md {
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
}

.btn-sm {
    padding: 0.375rem 1rem;
    font-size: 0.75rem;
}

/* ========== Hero Section ========== */
.hero {
    padding: 87.5px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.4;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: var(--accent);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255,255,255,0.1);
}

.hero-badge-dot {
    width: 0.5rem;
    height: 0.5rem;
    background: var(--accent);
    border-radius: 9999px;
    margin-right: 0.5rem;
}

.hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    line-height: 1.25;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.25rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Disclaimer Box */
.disclaimer-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,209,0,0.3);
    border-radius: 0.75rem;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer-box-inner {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.disclaimer-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--accent);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.disclaimer-box p {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.8);
    margin: 0;
    text-align: left;
}

/* Search Form */
.search-form {
    max-width: 42rem;
    margin: 0 auto 1.5rem;
}

.search-form-inner {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.search-input-wrapper {
    flex: 1;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 0 1.5rem;
    height: 57.4px;
    font-size: 1.125rem;
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    outline: none;
    transition: all 0.15s ease;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    letter-spacing: 0.025em;
}

.search-input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(255,209,0,0.15);
}

.search-input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 1.5rem;
    height: 1.5rem;
}

.search-btn {
    height: 57.4px;
    padding: 0 2rem;
    font-size: 1.125rem;
    font-weight: 700;
    background: var(--accent);
    color: var(--primary);
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.search-btn:hover {
    background: var(--accent-dark);
    box-shadow: 0 8px 25px rgba(255,209,0,0.4);
    transform: translateY(-1px);
}

.search-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Loader */
.loader {
    display: none;
    margin-bottom: 1.5rem;
}

.loader.show {
    display: block;
}

.loader-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: var(--primary);
}

.spinner {
    animation: spin 1s linear infinite;
    width: 1.5rem;
    height: 1.5rem;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

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

/* Result Box */
.result-box {
    display: none;
    max-width: 42rem;
    margin: 0 auto 2rem;
    transition: all 0.3s ease;
}

.result-box.show {
    display: block;
}

/* Error Box */
.error-box {
    display: none;
    max-width: 42rem;
    margin: 0 auto 1rem;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.error-box.show {
    display: block;
}

.error-box-inner {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 0.75rem;
    padding: 1rem;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.error-box svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--error);
    margin-top: 0.125rem;
    flex-shrink: 0;
}

.error-title {
    font-weight: 500;
    color: #991b1b;
}

.error-msg {
    font-size: 0.875rem;
    color: var(--error-dark);
    margin-top: 0.25rem;
}

.search-hint {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    margin-top: 0.75rem;
}

.search-hint code {
    font-family: ui-monospace, monospace;
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.search-hint a {
    color: var(--accent);
    font-weight: 500;
}

.search-hint a:hover {
    text-decoration: underline;
}

/* ========== Carriers Section ========== */
.carriers {
    padding: 32px 0;
    background: var(--bg-light);
    border-bottom: 1px solid var(--border);
}

.carriers-title {
    text-align: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
}

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

.carrier-tag {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 18px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary);
    white-space: nowrap;
}

.carrier-tag.more {
    color: var(--text-light);
}

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

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 3rem;
    text-align: center;
    color: var(--text-dark);
}

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

.step-card {
    position: relative;
    z-index: 10;
    background: var(--bg-light);
    text-align: center;
}

.step-number {
    width: 4rem;
    height: 4rem;
    background: var(--accent);
    border: none;
    color: var(--primary);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 12px rgba(255,209,0,0.3);
}

.step-card h4 {
    font-weight: 700;
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-gray);
    font-size: 0.875rem;
    max-width: 20rem;
    margin: 0 auto;
}

/* ========== Features ========== */
.features {
    padding: 84.2px 0;
    background: var(--white);
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.features-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
    max-width: 42rem;
    margin: 0 auto;
}

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

.feature-card {
    padding: 2rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    transition: all 0.15s ease;
}

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

.feature-icon {
    width: 3rem;
    height: 3rem;
    background: var(--accent);
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(255,209,0,0.3);
}

.feature-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.feature-card p {
    color: var(--text-gray);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* ========== Testimonials ========== */
.testimonials {
    padding: 72px 0;
    background: var(--bg-light);
}

.testimonials-header {
    text-align: center;
    margin-bottom: 48px;
}

.testimonials-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.testimonials-header p {
    font-size: 1.125rem;
    color: var(--text-gray);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 24px;
}

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

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    color: var(--warning);
    font-size: 1rem;
}

.testimonial-text {
    font-size: 0.9rem;
    color: #374151;
    line-height: 1.7;
    margin-bottom: 16px;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
}

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

/* ========== Stats Section ========== */
.stats {
    padding: 5rem 0;
    background: var(--primary);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGNpcmNsZSBjeD0iMiIgY3k9IjIiIHI9IjIiIGZpbGw9IiNmZmYiLz48L3N2Zz4=');
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    text-align: center;
    position: relative;
    z-index: 10;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: 0.5rem;
    color: rgba(255,255,255,0.8);
}

/* ========== Info Section ========== */
.info-section {
    padding: 4rem 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
}

.info-box {
    background: var(--bg-light);
    border-radius: var(--radius-xl);
    padding: 2rem;
    border: 1px solid var(--border);
}

.info-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    color: #1f2937;
}

.info-box h3 svg {
    width: 1.25rem;
    height: 1.25rem;
    margin-right: 0.5rem;
    color: var(--text-light);
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    font-size: 0.875rem;
}

.info-grid h4 {
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.info-grid p {
    color: var(--text-gray);
    line-height: 1.625;
}

/* ========== Footer ========== */
.footer {
    padding: 43.5px 0;
    background: var(--bg-dark);
    color: var(--white);
}

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

.footer-about .logo {
    margin-bottom: 1rem;
}

.footer-about .logo-icon svg {
    height: 40px;
    width: auto;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 1rem;
}

.footer-company {
    color: var(--text-light);
    font-size: 0.75rem;
}

.footer-section h4 {
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.875rem;
    transition: color 0.3s;
}

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

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.footer-contact svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.footer-disclaimer {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    padding-bottom: 1rem;
}

.footer-disclaimer p {
    color: var(--text-light);
    font-size: 0.75rem;
    text-align: center;
    max-width: 48rem;
    margin: 0 auto;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.875rem;
}

.footer-ssl {
    display: flex;
    align-items: center;
    color: var(--success);
    font-size: 0.875rem;
}

.footer-ssl svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.25rem;
}

/* ========== Cookie Banner ========== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    padding: 1rem;
    z-index: 9999;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.cookie-inner {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
}

.cookie-inner p {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.cookie-inner a {
    color: var(--primary);
    text-decoration: underline;
}

.cookie-btn {
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.cookie-btn:hover {
    filter: brightness(1.1);
}

/* ========== Result Card ========== */
.result-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    text-align: left;
    border: 1px solid var(--border);
}

.result-header {
    background: linear-gradient(to right, var(--primary), var(--blue));
    padding: 1.5rem;
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.result-header-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.result-header-code {
    font-size: 1.5rem;
    font-family: ui-monospace, monospace;
    font-weight: 700;
    letter-spacing: 0.025em;
    margin-top: 0.25rem;
}

.result-body {
    padding: 1.5rem;
}

.result-event {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.result-event-icon {
    flex-shrink: 0;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: var(--blue-light);
    color: var(--blue);
    box-shadow: 0 0 0 4px var(--blue-light);
}

.result-event-icon svg {
    width: 1.5rem;
    height: 1.5rem;
}

.result-event-desc {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-dark);
}

.result-event-date {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.25rem;
}

.result-event-detail {
    font-size: 0.875rem;
    color: #374151;
    margin-top: 0.5rem;
    background: var(--bg-light);
    padding: 0.75rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-light);
}

.result-footer {
    border-top: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-light);
}

.result-location {
    display: flex;
    align-items: center;
}

.result-location svg {
    width: 1rem;
    height: 1rem;
    margin-right: 0.375rem;
    color: var(--text-muted);
}

.result-badge {
    background: #dcfce7;
    color: var(--success-dark);
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
}

.result-source {
    background: var(--bg-light);
    padding: 0.75rem 1.5rem;
    border-top: 1px solid var(--border);
    text-align: center;
}

.result-source p {
    font-size: 10px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ========== Page Content ========== */
.page-hero {
    padding: 60px 0;
    background: linear-gradient(to bottom right, var(--primary), var(--primary-dark));
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 42rem;
    margin: 0 auto;
}

.page-content {
    padding: 60px 0;
}

.page-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
    margin-top: 2rem;
}

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

.page-content h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    margin-top: 1.5rem;
}

.page-content p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    line-height: 1.7;
}

.page-content ul, .page-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.page-content ul { list-style: disc; }
.page-content ol { list-style: decimal; }

.page-content li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

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

.page-content strong {
    color: var(--text-dark);
}

/* ========== Pricing ========== */
.pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 64rem;
    margin: 0 auto;
}

.pricing-card {
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.pricing-card.featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

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

.pricing-desc {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.pricing-features {
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--text-gray);
    border-bottom: 1px solid var(--border-light);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

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

.pricing-features .cross {
    color: var(--text-muted);
}

.pricing-btn {
    width: 100%;
    padding: 0.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.3s ease;
}

/* ========== FAQ ========== */
.faq-list {
    max-width: 48rem;
    margin: 0 auto;
}

.faq-item {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    overflow: hidden;
    background: var(--white);
}

.faq-question {
    width: 100%;
    padding: 1.25rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    cursor: pointer;
    text-align: left;
    transition: background 0.2s;
}

.faq-question:hover {
    background: var(--bg-light);
}

.faq-question svg {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--text-light);
    transition: transform 0.3s;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.25rem;
    color: var(--text-gray);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.faq-item.open .faq-answer {
    display: block;
}

/* ========== Contact Form ========== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    max-width: 64rem;
    margin: 0 auto;
}

.contact-info-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
}

.contact-info-icon {
    width: 2.5rem;
    height: 2.5rem;
    background: var(--primary);
    color: var(--white);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-info-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.contact-info-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.contact-info-text {
    font-size: 0.875rem;
    color: var(--text-gray);
}

.form-group {
    margin-bottom: 1.25rem;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-input, .form-textarea, .form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    background: var(--white);
    transition: border-color 0.2s;
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 62, 126, 0.1);
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

/* ========== Auth Pages ========== */
.auth-page {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
    background: var(--bg-light);
}

.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 2.5rem;
    width: 100%;
    max-width: 28rem;
}

.auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-logo .logo-icon {
    height: 50px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 0.5rem;
}

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

.auth-form .form-group {
    margin-bottom: 1.25rem;
}

.auth-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.input-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon > i {
    position: absolute;
    left: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    z-index: 1;
    pointer-events: none;
}

.input-icon input {
    width: 100%;
    padding: 0.75rem 1rem 0.75rem 2.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.input-icon input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 62, 126, 0.1);
}

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

.password-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.9rem;
}

.password-toggle:hover {
    color: var(--primary);
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-gray);
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.checkbox-label a {
    color: var(--primary);
    font-weight: 500;
}

.checkbox-label a:hover {
    text-decoration: underline;
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 1.5rem;
}

.forgot-password {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.forgot-password:hover {
    text-decoration: underline;
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    padding: 0 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.auth-footer a {
    color: var(--primary);
    font-weight: 500;
}

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

.divider {
    display: flex;
    align-items: center;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.75rem;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.divider span {
    padding: 0 1rem;
}

/* ========== Legal Pages ========== */
.legal-content {
    max-width: 48rem;
    margin: 0 auto;
}

.legal-content .last-update {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
}

/* ========== CTA Section ========== */
.cta-section {
    padding: 72px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    text-align: center;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--white);
    color: var(--primary);
    padding: 0.875rem 2rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ========== Responsive ========== */
@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
    .search-form-inner { flex-direction: row; }
    .cookie-inner { flex-direction: row; justify-content: space-between; }
    .footer-bottom { flex-direction: row; justify-content: space-between; }
}

@media (min-width: 768px) {
    .nav-desktop { display: flex; }
    .auth-buttons { display: flex; }
    .mobile-menu-btn { display: none; }
    .mobile-menu { display: none !important; }

    .hero h1 { font-size: 3rem; }
    .steps-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-grid { grid-template-columns: repeat(4, 1fr); }
    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .pricing-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid { grid-template-columns: 1fr 1fr; }

    .section-title { font-size: 2.25rem; }
    .features-header h2 { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
    .hero h1 { font-size: 3.75rem; }
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: repeat(4, 1fr); }
    .pricing-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== Utilities ========== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.hidden { display: none; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.font-bold { font-weight: 700; }
.font-semibold { font-weight: 600; }
.font-mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }
