/* ==========================================================================
   Public Landing Page Stylesheet (Light Theme)
   Lead Collection & Random Gift Winner Management System
   ========================================================================== */

:root {
    --primary-color: #4f46e5;
    --primary-hover: #4338ca;
    --secondary-color: #06b6d4;
    --gold-accent: #f59e0b;
    --gold-subtle: rgba(245, 158, 11, 0.12);
    --border-color: #e2e8f0;
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    color: #0f172a;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.bg-light-gradient {
    background: radial-gradient(ellipse at 50% 0%, #e0e7ff 0%, #f1f5f9 60%, #ffffff 100%);
    background-attachment: fixed;
}

/* Navbar */
.bg-gradient-primary {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
}

.text-gradient-gold {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Hero & Lead Form Card */
.lead-card {
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 20px 40px -15px rgba(79, 70, 229, 0.12), 0 10px 20px -10px rgba(0, 0, 0, 0.05);
    border: 1px solid #e2e8f0;
}

.hero-title {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
}

.hero-subtitle {
    color: #475569;
    font-size: 1.15rem;
    line-height: 1.6;
}

.featured-gift-card {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    transition: transform 0.2s ease;
}

.featured-gift-card:hover {
    transform: translateY(-2px);
    border-color: #cbd5e1;
}

/* Custom Input Styling */
.form-floating > .form-control,
.form-floating > .form-select {
    border-radius: 14px;
    border: 1.5px solid #cbd5e1;
    font-size: 0.95rem;
    height: calc(3.5rem + 2px);
    background-color: #f8fafc;
}

.form-floating > .form-control:focus,
.form-floating > .form-select:focus {
    background-color: #ffffff;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

/* Searchable Country Select Dropdown */
.country-select-wrapper {
    position: relative;
}

.country-search-input {
    border-bottom: 1px solid #e2e8f0;
    border-radius: 8px 8px 0 0;
}

.country-list-dropdown {
    max-height: 220px;
    overflow-y: auto;
    border-radius: 14px;
    border: 1px solid #cbd5e1;
    box-shadow: 0 15px 35px -5px rgba(0,0,0,0.15);
}

.country-option-item {
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.15s ease;
    font-size: 0.925rem;
}

.country-option-item:hover,
.country-option-item.selected {
    background-color: #eef2ff;
    color: var(--primary-color);
    font-weight: 600;
}

/* Submit Button */
.btn-submit-draw {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.15rem;
    border: none;
    border-radius: 16px;
    padding: 16px 28px;
    box-shadow: 0 12px 25px -5px rgba(245, 158, 11, 0.4);
    transition: all 0.25s ease;
}

.btn-submit-draw:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 30px -5px rgba(245, 158, 11, 0.5);
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #ffffff;
}

/* Success Card */
.success-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
}

.entry-badge {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 20px;
    padding: 24px;
}

.entry-id-code {
    font-family: 'Outfit', monospace;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 0.05em;
}

/* Utility Classes */
.fs-7 { font-size: 0.875rem; }
.fs-8 { font-size: 0.775rem; }
.cursor-pointer { cursor: pointer; }

/* Responsive Adjustments */
@media (max-width: 575.98px) {
    .hero-title { font-size: 2.2rem; }
    .hero-subtitle { font-size: 1rem; }
    .lead-card { padding: 1.5rem !important; border-radius: 20px; }
    .entry-id-code { font-size: 1.75rem; }
}
