/* Core Reset & Variables */
:root {
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --secondary: #10b981;
    --dark: #1e293b;
    --light: #f8fafc;
    --border: #e2e8f0;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Notification Banner */
.top-banner {
    background: linear-gradient(90deg, #1e3a8a, #2563eb);
    color: white;
    text-align: center;
    padding: 8px 10px;
    font-size: 0.9rem;
}
.top-banner a {
    color: #fde047;
    font-weight: 600;
    text-decoration: none;
    margin-left: 5px;
}

/* Header Navigation */
header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}
.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: -0.5px;
}
.logo span { color: var(--primary); }

nav a {
    color: var(--dark);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--primary); }
nav a span {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
    vertical-align: super;
}

/* Buttons */
.btn-primary-sm { background: var(--primary); color: white; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 500; cursor: pointer; }
.btn-primary-sm:hover { background: var(--primary-hover); }
.btn-secondary-sm { background: transparent; color: var(--secondary); border: 2px solid var(--secondary); padding: 6px 14px; border-radius: 6px; font-weight: 600; cursor: pointer; text-decoration: none; }
.btn-secondary-sm:hover { background: var(--secondary); color: white; }

/* Hero Section & Search Container */
.hero {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    padding: 80px 0 60px 0;
    text-align: center;
}
.hero h1 { font-size: 2.8rem; font-weight: 700; color: #0f172a; line-height: 1.2; margin-bottom: 15px; }
.hero-tagline { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 40px; }

.search-container {
    max-width: 750px;
    margin: 0 auto 30px auto;
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
}
.search-tabs { display: flex; gap: 10px; margin-bottom: 12px; border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.tab-btn { background: none; border: none; padding: 6px 16px; font-weight: 600; color: var(--text-muted); cursor: pointer; border-radius: 6px; }
.tab-btn.active { background: #eff6ff; color: var(--primary); }

.search-box { display: flex; gap: 10px; align-items: center; }
.search-input-group { display: flex; align-items: center; gap: 8px; flex: 1; background: #f8fafc; padding: 12px; border-radius: 8px; border: 1px solid var(--border); }
.search-input-group input { background: none; border: none; width: 100%; outline: none; font-size: 0.95rem; }
.btn-search { background: var(--primary); color: white; border: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; cursor: pointer; height: 100%; }

.hero-badges { display: flex; justify-content: center; gap: 25px; margin-top: 20px; font-size: 0.9rem; color: #475569; font-weight: 500; }

/* Stats Bar */
.stats-bar { background: white; padding: 25px 0; border-bottom: 1px solid var(--border); }
.stats-flex { display: flex; justify-content: space-around; text-align: center; }
.stat-item h3 { font-size: 1.8rem; color: var(--primary); }
.stat-item p { color: var(--text-muted); font-size: 0.9rem; font-weight: 500; }

/* Features Section Grid */
.features { padding: 80px 0; }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2rem; margin-bottom: 10px; }
.section-title p { color: var(--text-muted); }

.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 25px; }
.card { background: white; border: 1px solid var(--border); padding: 30px; border-radius: 12px; position: relative; transition: transform 0.2s, box-shadow 0.2s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px rgba(0,0,0,0.03); }
.card-icon { font-size: 2rem; margin-bottom: 15px; }
.card h3 { margin-bottom: 10px; font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 20px; }
.card-link { color: var(--primary); text-decoration: none; font-weight: 600; font-size: 0.9rem; }

.premium-card { border: 2px solid #93c5fd; background: #f8fafc; }
.premium-card .badge { position: absolute; top: 15px; right: 15px; background: #3b82f6; color: white; font-size: 0.75rem; padding: 4px 10px; border-radius: 20px; font-weight: 600; }
.partner-card { background: #f0fdf4; border: 1px solid #bbf7d0; }

/* AI Interactive Section */
.ai-playground { padding: 40px 0; background: #0f172a; color: white; }
.playground-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; background: #1e293b; padding: 40px; border-radius: 16px; }
.pill { background: #3b82f6; color: white; font-size: 0.8rem; padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 15px; font-weight: 600; }
.ai-info h2 { font-size: 1.8rem; margin-bottom: 15px; }
.ai-benefits { list-style: none; margin-top: 20px; }
.ai-benefits li { margin-bottom: 8px; color: #cbd5e1; font-size: 0.95rem; }

.ai-interactive-widget { background: #0f172a; padding: 20px; border-radius: 12px; display: flex; flex-direction: column; gap: 15px; }
.ai-interactive-widget textarea { background: #1e293b; border: 1px solid #334155; border-radius: 8px; padding: 15px; color: white; resize: none; height: 110px; outline: none; }
.btn-ai-submit { background: var(--secondary); color: white; border: none; padding: 12px; border-radius: 8px; font-weight: 600; cursor: pointer; }
#ai-response { background: #1e293b; border-left: 4px solid var(--secondary); padding: 15px; border-radius: 4px; font-size: 0.9rem; max-height: 150px; overflow-y: auto; }

/* How It Works Steps */
.how-it-works { padding: 80px 0; background: white; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; margin-top: 40px; }
.step-card { position: relative; padding: 20px; }
.step-number { font-size: 3rem; font-weight: 800; color: #e2e8f0; line-height: 1; margin-bottom: 10px; }
.step-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.step-card p { color: var(--text-muted); font-size: 0.95rem; }

/* CTA Section */
.cta { background: white; border-top: 1px solid var(--border); padding: 6px 0; }
.cta-grid { display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%); padding: 50px; border-radius: 16px; }
.cta-text { max-width: 60%; }
.cta-text h2 { font-size: 1.8rem; margin-bottom: 10px; }
.cta-actions { display: flex; flex-direction: column; gap: 10px; text-align: center; }
.btn-primary-lg { background: var(--primary); color: white; border: none; padding: 16px 32px; border-radius: 8px; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.or-divider { font-size: 0.85rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; }
.btn-whatsapp { background: #25d366; color: white; text-decoration: none; padding: 12px 24px; border-radius: 8px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; }

/* Footer */
footer { background: #0f172a; color: #94a3b8; padding: 60px 0 30px 0; border-top: 4px solid var(--primary); }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand .logo { color: white; margin-bottom: 15px; }
.footer-links h4 { color: white; margin-bottom: 15px; font-size: 1rem; }
.footer-links a { color: #94a3b8; text-decoration: none; display: block; margin-bottom: 10px; font-size: 0.9rem; }
.footer-links a:hover { color: white; }
.footer-bottom { text-align: center; border-top: 1px solid #334155; padding-top: 25px; font-size: 0.85rem; }

/* Modals */
.modal-backdrop { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(15, 23, 42, 0.6); display: flex; align-items: center; justify-content: center; z-index: 1000; }
.modal-content { background: white; padding: 40px; border-radius: 12px; width: 100%; max-width: 450px; position: relative; box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.close-modal { position: absolute; top: 20px; right: 20px; font-size: 1.5rem; cursor: pointer; color: var(--text-muted); }
#auth-form { display: flex; flex-direction: column; gap: 15px; margin-top: 20px; }
#auth-form input, #auth-form select { padding: 12px; border: 1px solid var(--border); border-radius: 6px; outline: none; font-size: 0.95rem; }
.hidden { display: none !important; }

/* Mobile Optimization */
@media (max-width: 768px) {
    .header-flex { padding: 10px 0; height: auto; flex-direction: column; gap: 15px; }
    .hero h1 { font-size: 1.8rem; }
    .search-box { flex-direction: column; width: 100%; }
    .search-input-group { width: 100%; }
    .btn-search { width: 100%; }
    .stats-flex { flex-direction: column; gap: 20px; }
    .playground-box { grid-template-columns: 1fr; padding: 20px; }
    .steps-grid { grid-template-columns: 1fr; }
    .cta-grid { grid-template-columns: 1fr; padding: 20px; text-align: center; gap: 25px; }
    .cta-text { max-width: 100%; }
    .footer-content { grid-template-columns: 1fr; gap: 30px; }
}
/* =========================================================
   PREMIUM MAIN PAGE (Hero & Navigation)
   ========================================================= */

/* Logo Styling */
.site-logo {
    max-height: 45px; /* Adjust this number to make your logo bigger or smaller */
    width: auto;
    vertical-align: middle;
}

/* Premium Hero Banner Background */
.premium-hero {
    position: relative;
    /* This connects to the banner image you uploaded */
    background-image: url('../images/hero-banner.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 100px 20px;
    text-align: center;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dark overlay to make white text pop */
.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(0,0,0,0.5));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    width: 100%;
}

.hero-content h1 {
    font-size: 3.5rem;
    color: #ffffff;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
}

.highlight-text {
    color: #ffc107; /* A premium gold/yellow accent */
}

.hero-content .subtitle {
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-bottom: 40px;
}

/* The Glassmorphism Search Box */
.glass-search-box {
    background: rgba(255, 255, 255, 0.15); /* Translucent white */
    backdrop-filter: blur(12px); /* The frosted glass blur */
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    margin: 0 auto 30px auto;
}

.search-modes {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
    color: white;
    font-weight: bold;
}

.mode-label {
    cursor: pointer;
    font-size: 1.1rem;
}

.search-inputs {
    display: flex;
    background: #ffffff;
    border-radius: 10px;
    padding: 5px;
    align-items: center;
}

.search-inputs .input-group {
    display: flex;
    align-items: center;
    flex: 1;
    padding: 10px 15px;
}

.search-inputs input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 1.1rem;
    padding-left: 10px;
    color: #333;
}

.search-inputs .divider {
    width: 1px;
    height: 40px;
    background-color: #ddd;
}

.btn-premium-search {
    background: linear-gradient(135deg, var(--primary-color), #0a58ca);
    color: white;
    border: none;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-premium-search:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(13, 110, 253, 0.4);
}

.trust-badges-hero {
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
}

/* Responsive adjustment for phones */
@media (max-width: 768px) {
    .search-inputs { flex-direction: column; background: transparent; }
    .search-inputs .input-group { background: white; border-radius: 8px; margin-bottom: 10px; width: 100%; }
    .search-inputs .divider { display: none; }
    .btn-premium-search { width: 100%; }
    .hero-content h1 { font-size: 2.5rem; }
    .trust-badges-hero { flex-direction: column; gap: 10px; }
}