:root {
    --bg-color: #050505;
    --card-bg: #121212;
    --text-color: #ffffff;
    --text-muted: #a0a0a0;
    --accent: #b91c1c; 
    --accent-glow: rgba(185, 28, 28, 0.4);
    --border-color: rgba(255, 255, 255, 0.08);
    --success-color: #22c55e;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    overflow-x: hidden;
}

.container { 
    max-width: 500px; 
    width: 100%; 
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Status Pulsing Dot */
.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeIn 0.8s ease-out;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success-color);
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 8px var(--success-color);
}

.pulse-dot::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--success-color);
    top: 0;
    left: 0;
    transform: scale(1);
    animation: pulse 1.8s infinite;
}

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

.status-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--success-color);
    text-transform: uppercase;
}

/* Brand Name */
.brand-name {
    font-family: 'Dancing Script', cursive;
    font-size: clamp(2.5rem, 8vw, 4rem);
    line-height: 1.1;
    color: var(--accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px var(--accent-glow);
    animation: slideDown 0.6s ease-out;
}

/* Location Banner */
.location-banner {
    font-size: 0.9rem;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    animation: fadeIn 1s ease-out;
}

.location-banner .highlight {
    color: var(--text-color);
    font-weight: 600;
    border-bottom: 1px dashed var(--accent);
    padding-bottom: 2px;
}

/* Services */
.services { 
    list-style: none; 
    margin-bottom: 2.5rem; 
    padding: 0; 
    width: 100%; 
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 1.2s ease-out;
}

.services li {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.services li:hover {
    transform: translateX(4px);
    color: var(--accent);
}

.services li::before {
    content: "•";
    color: var(--accent);
    font-size: 1.5rem;
    margin-right: 12px;
    text-shadow: 0 0 8px var(--accent);
}

.divider { 
    width: 60px; 
    height: 1px; 
    background-color: var(--accent); 
    box-shadow: 0 0 8px var(--accent);
    margin-bottom: 2.5rem; 
    animation: scaleWidth 0.6s ease-out forwards;
}

/* Contacts Layout */
.contacts { 
    display: flex; 
    flex-direction: column; 
    gap: 1rem; 
    align-items: center; 
    width: 100%; 
    animation: slideUp 0.8s ease-out;
}

/* Telephone flip card */
.phone-wrapper {
    perspective: 1000px;
    width: 100%;
    max-width: 280px;
    height: 54px;
    cursor: pointer;
    margin-bottom: 0.2rem;
}

.phone-card {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

.phone-wrapper:hover .phone-card,
.phone-wrapper.flipped .phone-card { 
    transform: rotateX(180deg); 
}

.phone-front, .phone-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.phone-front i {
    font-size: 1.1rem;
    margin-right: 10px;
}

.phone-front:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.phone-back { 
    transform: rotateX(180deg); 
    color: var(--accent); 
    border-color: var(--accent); 
    box-shadow: 0 0 15px var(--accent-glow);
}

.phone-back a { 
    color: var(--accent); 
    text-decoration: none; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-weight: 600;
}

/* Buttons and Links */
.btn-primary {
    width: 100%;
    max-width: 280px;
    padding: 0.9rem;
    background-color: var(--accent);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.3);
}

.btn-primary:hover {
    background-color: #d11e1e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(185, 28, 28, 0.5);
}

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

.contact-item {
    width: 100%;
    max-width: 280px;
    padding: 0.9rem;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    background-color: var(--card-bg);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.contact-item:hover { 
    color: var(--accent); 
    border-color: var(--accent); 
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.contact-item i {
    font-size: 1.1rem;
}

/* Footer styling */
.footer {
    margin-top: 4rem;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1.6;
    max-width: 400px;
}

.footer p {
    margin-bottom: 0.5rem;
}

.footer .disclaimer {
    opacity: 0.5;
    font-size: 0.7rem;
}

/* Modal Popup styling */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
}

.modal-content {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 2.2rem 1.8rem;
    position: relative;
    z-index: 1001;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(185, 28, 28, 0.05);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    transition: color 0.3s ease;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: var(--accent);
    background-color: rgba(255, 255, 255, 0.03);
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-align: left;
    color: var(--text-color);
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.8rem;
    text-align: left;
    line-height: 1.4;
}

/* Form Styles */
#callback-form {
    text-align: left;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: var(--accent);
}

.form-group input, .form-group select {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 0.85rem 1rem;
    border-radius: 8px;
    color: var(--text-color);
    font-family: inherit;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 10px rgba(185, 28, 28, 0.2);
    background-color: rgba(255, 255, 255, 0.05);
}

.form-group select option {
    background-color: var(--card-bg);
    color: var(--text-color);
}

.form-submit {
    width: 100%;
    padding: 0.95rem;
    background-color: var(--accent);
    color: var(--text-color);
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.form-submit:hover {
    background-color: #d11e1e;
    box-shadow: 0 4px 15px rgba(185, 28, 28, 0.4);
}

.form-submit .btn-loader i {
    animation: rotate 1s linear infinite;
    display: inline-block;
}

@keyframes rotate {
    100% { transform: rotate(360deg); }
}

.form-note {
    font-size: 0.7rem;
    color: var(--text-muted);
    margin-top: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    opacity: 0.7;
}

.form-note i {
    color: var(--success-color);
}

/* Success Container */
#success-container {
    text-align: center;
    padding: 1.5rem 0;
    animation: scaleIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.success-icon {
    font-size: 4rem;
    color: var(--success-color);
    margin-bottom: 1.2rem;
    filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.3));
    animation: bounceIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Keyframes */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes scaleWidth {
    from { width: 0; }
    to { width: 60px; }
}

@keyframes bounceIn {
    0% { transform: scale(0.3); opacity: 0; }
    50% { transform: scale(1.05); }
    70% { transform: scale(0.9); }
    100% { transform: scale(1); opacity: 1; }
}
