:root {
    --bg-color: #fafbfc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --primary-color: #2563eb;
    --primary-hover: #1d4ed8;
    --icon-bg: #eff6ff;
    --card-bg: #ffffff;
    --border-color: #e2e8f0;
    --error-color: #ef4444;
    --success-color: #10b981;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Heebo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.nav-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a.active {
    color: var(--primary-color);
}

/* Main Content */
.main-content {
    padding-bottom: 4rem;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 1rem 3rem;
}

.hero-logo {
    height: 280px;
    width: auto;
    max-width: 100%;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.75rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

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

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

/* Cards */
.card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-width: 700px;
    margin: 0 auto;
    padding: 2.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

.section-title {
    text-align: center;
    font-size: 1.5rem;
    color: #0f172a;
    margin-bottom: 2rem;
}

/* Features List */
.how-it-works {
    padding: 0 1rem 3rem;
}

.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.feature-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.feature-icon {
    background-color: var(--icon-bg);
    color: var(--primary-color);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    width: 24px;
    height: 24px;
}

.feature-text h3 {
    font-size: 1.1rem;
    color: #0f172a;
    margin-bottom: 0.25rem;
}

.feature-text p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Complaint Section */
.complaint-section {
    padding: 0 1rem;
}

.form-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-top: -1.5rem;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

/* Form Tabs styling */
.form-tabs {
    display: flex;
    background-color: #f1f5f9;
    border-radius: 10px;
    padding: 0.35rem;
    margin-bottom: 2rem;
    gap: 0.25rem;
    border: 1px solid var(--border-color);
}

.form-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: none;
    border: none;
    padding: 0.75rem 1rem;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.25s ease;
}

.form-tab i {
    width: 18px;
    height: 18px;
}

.form-tab:hover {
    color: var(--primary-color);
    background-color: rgba(37, 99, 235, 0.05);
}

.form-tab.active {
    color: var(--primary-color);
    background-color: #ffffff;
    box-shadow: 0 4px 10px -2px rgba(0, 0, 0, 0.08), 0 2px 4px -1px rgba(0, 0, 0, 0.04);
}

/* Raffle Badge styling */
.raffle-badge {
    background: linear-gradient(135deg, #fef3c7 0%, #fffbeb 100%);
    border: 1px solid #fde68a;
    color: #b45309;
    padding: 0.85rem 1.25rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    animation: pulse-border 2s infinite ease-in-out;
}

.raffle-badge i {
    color: #d97706;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

@keyframes pulse-border {
    0%, 100% { border-color: #fde68a; box-shadow: 0 0 0 0 rgba(253, 230, 138, 0.4); }
    50% { border-color: #fbbf24; box-shadow: 0 0 0 4px rgba(251, 191, 36, 0.15); }
}

/* Dynamic details section styling */
.form-section-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    background-color: #f8fafc;
    padding: 1.25rem;
    border-radius: 8px;
    border: 1px dashed var(--border-color);
    transition: all 0.3s ease;
}

@media (max-width: 600px) {
    .form-tabs {
        flex-direction: column;
        gap: 0.25rem;
    }
    .form-section-details {
        grid-template-columns: 1fr;
    }
}

.complaint-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

label {
    font-size: 0.95rem;
    font-weight: 500;
    color: #334155;
}

.required {
    color: var(--error-color);
}

input, textarea {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.75rem 1rem;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s ease;
}

input::placeholder, textarea::placeholder {
    color: #94a3b8;
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--icon-bg);
}

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

.form-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.875rem;
}

/* Loader */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

/* Messages */
.form-message {
    padding: 1rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    margin-top: 1rem;
}

.form-message.success {
    background-color: #ecfdf5;
    color: var(--success-color);
    border: 1px solid #a7f3d0;
}

.form-message.error {
    background-color: #fef2f2;
    color: var(--error-color);
    border: 1px solid #fecaca;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
    background-color: white;
}

/* Responsive */
@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .card { padding: 1.5rem; }
    .nav-container { padding: 1rem; }
}
