:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #2563eb;
    --accent-yellow: #fbbf24;
    --text-dark: #1a1a1a;
    --text-gray: #4a4a4a;
    --text-light: #ffffff;
    --bg-light: #f5f7fa;
    --white: #ffffff;
    --border-gray: #d1d5db;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.5;
}

header {
    background-color: var(--primary-blue);
    padding: 0.75rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow);
}

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

.header-container.stacked {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    padding: 1rem 1.5rem;
}

.header-container.stacked .phone-btn {
    width: auto;
    min-width: 280px;
    max-width: 400px;
    margin: 0 auto;
}

.logo {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.call-text {
    color: var(--white);
    font-size: 0.9rem;
    font-weight: 500;
}

.phone-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #1e3a8a;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 800;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.1;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid #fbbf24;
    box-shadow: 0 10px 20px -5px rgba(245, 158, 11, 0.5);
    position: relative;
    overflow: hidden;
}

.phone-btn .phone-number {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.phone-btn .status-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 2px;
}

.status-dot {
    width: 6px;
    height: 6px;
    background-color: #059669;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 2px rgba(5, 150, 105, 0.2);
    animation: blink 1.5s infinite;
}

.phone-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 25px -5px rgba(245, 158, 11, 0.6);
    background: linear-gradient(135deg, #fcd34d 0%, #fbbf24 100%);
}

.phone-btn:active {
    transform: translateY(-1px);
}

@keyframes blink {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0); }
}

.phone-btn {
    animation: pulse 2s infinite;
}

.hero {
    background-color: #1e3a8a;
    background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)), url('../hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 4rem 1.5rem;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    font-weight: 500;
}

.search-box {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    text-align: left;
    color: var(--text-dark);
}

.search-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.search-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

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

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.form-group input, .form-group select {
    padding: 0.75rem;
    border: 1px solid var(--border-gray);
    border-radius: 4px;
    font-size: 1rem;
    width: 100%;
}

.search-btn {
    background-color: var(--secondary-blue);
    color: var(--white);
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
    grid-column: 1 / -1;
    margin-top: 0.5rem;
}

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

.features {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--shadow);
    text-align: center;
}

.feature i {
    font-size: 2.5rem;
    color: var(--secondary-blue);
    margin-bottom: 1rem;
}

.feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-blue);
}

.feature p {
    color: var(--text-gray);
}

.progress-container {
    display: none;
    margin-top: 2rem;
    text-align: center;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background-color: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--secondary-blue);
    width: 0%;
    transition: width 0.3s ease;
}

.progress-text {
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.search-steps {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.step {
    position: relative;
}

.step.active {
    color: var(--secondary-blue);
    font-weight: 700;
}

.footer {
    background-color: #1a1a1a;
    color: #d1d5db;
    padding: 4rem 1.5rem 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.125rem;
    margin-bottom: 1.25rem;
}

.footer-section a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.2s;
}

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

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        justify-content: center;
        padding: 0.75rem;
        gap: 0.75rem;
    }
    .logo {
        display: block;
        font-size: 1.25rem;
    }
    .header-right {
        width: 100%;
        justify-content: center;
    }
    .header-right .call-text {
        display: none;
    }
    .phone-btn {
        width: 100%;
        max-width: 320px;
        justify-content: center;
        font-size: 1.1rem;
        padding: 0.6rem;
    }
    .hero h1 {
        font-size: 2.25rem;
    }
    .search-form {
        grid-template-columns: 1fr;
    }
    .search-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
}
