:root {
    --primary: #003580;
    --secondary: #006ce4;
    --accent: #fbc531;
    --success: #00b894;
    --text-dark: #1e293b;
    --text-muted: #64748b;
    --bg-page: #f8fafc;
    --white: #ffffff;
    --shadow-pro: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --radius-pro: 20px;
}

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

body {
    background-color: var(--bg-page);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Glass Header */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.75rem 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: -1px;
}

.logo span { color: var(--secondary); }

/* Refined Status Badge with Phone */
.status-badge-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #ecfdf5;
    border: 1px solid #d1fae5;
    padding: 8px 16px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.status-info {
    display: flex;
    flex-direction: column;
}

.status-text {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.65rem;
    font-weight: 800;
    color: #065f46;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-phone {
    font-size: 1rem;
    font-weight: 900;
    color: var(--primary);
    text-decoration: none;
}

.dot-live {
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    position: relative;
}

.dot-live::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-ring 1.5s infinite;
}

@keyframes pulse-ring {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* Master Hero */
.hero-master {
    background: linear-gradient(rgba(0, 53, 128, 0.65), rgba(0, 53, 128, 0.65)), 
                url('https://images.unsplash.com/photo-1436491865332-7a61a109cc05?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');
    background-size: cover;
    background-position: center;
    padding: 6rem 5% 10rem;
    text-align: center;
}

.hero-master h1 {
    color: var(--white);
    font-size: clamp(2.2rem, 6vw, 3.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-master p {
    color: var(--white);
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Pro Search Card */
.search-container-pro {
    max-width: 1100px;
    margin: -6rem auto 4rem;
    padding: 0 4%;
    position: relative;
    z-index: 10;
}

.search-card-master {
    background: var(--white);
    padding: 3rem;
    border-radius: var(--radius-pro);
    box-shadow: var(--shadow-pro);
}

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

.form-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-field label {
    font-size: 0.7rem;
    font-weight: 800;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-field input, 
.form-field select {
    padding: 1rem;
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s;
    background: #f8fafc;
}

.form-field input:focus {
    border-color: var(--secondary);
    background: var(--white);
    outline: none;
}

.btn-master {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1.2rem;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    grid-column: 1 / -1;
    margin-top: 1rem;
    transition: all 0.3s;
}

.btn-master:hover {
    background: #002a66;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 53, 128, 0.2);
}

.btn-master:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading Animation */
.loading-wrap {
    display: none;
    margin-top: 2rem;
    text-align: center;
}

.progress-line {
    width: 100%;
    height: 8px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-active {
    height: 100%;
    background: linear-gradient(90deg, var(--secondary), #60a5fa);
    width: 0%;
    transition: width 0.3s ease;
}

/* Trust Signals */
.trust-row {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.trust-item-pro {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-muted);
}

.trust-item-pro i {
    font-size: 1.5rem;
    color: var(--success);
}

/* Perfected Mobile Call Bar */
.call-bar-fixed {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    background: var(--accent);
    color: var(--text-dark);
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 15px 35px rgba(251, 197, 49, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2000;
    border: 4px solid var(--white);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.call-bar-fixed span.call-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: -2px;
}

.call-bar-fixed span.call-number {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.call-bar-fixed:hover {
    transform: translateX(-50%) scale(1.05) translateY(-5px);
}

.call-bar-fixed i {
    font-size: 1.4rem;
    animation: shake 2s infinite;
}

@keyframes shake {
    0%, 100% { transform: rotate(0); }
    10%, 30%, 50%, 70%, 90% { transform: rotate(-10deg); }
    20%, 40%, 60%, 80% { transform: rotate(10deg); }
}

/* Footer Master */
footer {
    background: var(--white);
    padding: 5rem 6% 3rem;
    border-top: 1px solid #f1f5f9;
}

.footer-top-pro {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.rating-box {
    display: flex;
    align-items: center;
    gap: 15px;
}

.rating-stars { color: var(--accent); font-size: 1.2rem; }

.footer-links-pro {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
}

.footer-links-pro a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    header { padding: 0.75rem 4%; }
    .status-badge-pro { padding: 6px 12px; gap: 8px; }
    .status-phone { font-size: 0.85rem; }
    .status-text { font-size: 0.55rem; }
    
    .search-card-master { padding: 2rem 1.5rem; }
    .search-grid-pro { grid-template-columns: 1fr; }
    
    .call-bar-fixed {
        width: 92%;
        padding: 0.8rem;
    }
    .call-bar-fixed span.call-number { font-size: 1.1rem; }
    
    body { padding-bottom: 100px; }
}
