:root {
    --bg-color: #050505;
    --surface-color: #121212;
    --surface-border: rgba(255, 255, 255, 0.05);
    --primary-color: #f59e0b; /* Amber/Orange for Towing */
    --primary-glow: rgba(245, 158, 11, 0.4);
    --text-primary: #ffffff;
    --text-muted: #a1a1aa;
    --pill-radius: 9999px;
    --card-radius: 40px;
    --transition-fast: 0.2s ease;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="light"] {
    --bg-color: #f8fafc;
    --surface-color: #ffffff;
    --surface-border: rgba(0, 0, 0, 0.1);
    --primary-color: #f59e0b;
    --primary-glow: rgba(245, 158, 11, 0.2);
    --text-primary: #0f172a;
    --text-muted: #64748b;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Glow */
.glow-bg {
    position: fixed;
    top: -20vh;
    left: -10vw;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

/* Typography & Utils */
.highlight {
    color: var(--primary-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
    white-space: normal;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg);
    transition: all 0.5s ease;
    opacity: 0;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.6);
    background: #fbbf24;
}

.btn-primary:hover::after {
    animation: shine 1.5s infinite;
}

@keyframes shine {
    0% { left: -50%; opacity: 0; }
    50% { opacity: 1; }
    100% { left: 150%; opacity: 0; }
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

.pill {
    border-radius: var(--pill-radius);
}

.pill-card {
    border-radius: var(--card-radius);
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    padding: 40px 32px;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 64px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.section-header .section-title {
    margin-bottom: 16px;
}
.section-subtitle {
    color: var(--text-muted);
    font-size: 1.125rem;
}

/* Common Section Rules */
.section-title {
    font-size: 2.5rem;
}

/* Top Marquee */
.top-marquee {
    background: #dc2626; /* Urgent Red */
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.marquee-content {
    display: inline-block;
    animation: marqueeScroll 25s linear infinite;
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Header */
.header {
    position: fixed;
    top: 50px; /* Accounts for marquee */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 40px);
    max-width: 1200px;
    z-index: 100;
    padding: 12px 24px;
    background: rgba(5, 5, 5, 0.75);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: var(--pill-radius);
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header.scrolled {
    padding: 8px 24px;
    background: rgba(5, 5, 5, 0.9);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.theme-toggle {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.logo-img {
    height: 48px;
    width: auto;
    object-fit: contain;
}

.logo-img-footer {
    height: 150px;
    width: 150px;
    object-fit: contain;
}

/* Hero Section */
.hero {
    padding: 160px 0 100px;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 60px;
    justify-content: space-between;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-media {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.image-wrapper {
    position: relative;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.image-wrapper::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    box-shadow: inset 0 0 0 2px rgba(245, 158, 11, 0);
    transition: var(--transition-smooth);
    border-radius: var(--card-radius);
    pointer-events: none;
}

.image-wrapper:hover::after {
    box-shadow: inset 0 0 0 2px rgba(245, 158, 11, 0.5);
}

.image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transform: scale(1.02);
    transition: var(--transition-smooth);
}

.image-wrapper:hover img {
    transform: scale(1.05);
}

.floating-badge {
    position: absolute;
    bottom: 2px;
    right: 20px;
    background: var(--surface-color);
    border: 1px solid var(--primary-color);
    padding: 12px 24px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    display: inline-block;
    z-index: 5;
}

/* Base styling continuing */

.badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -1px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 48px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.location-micro {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Features Section */
.features {
    padding: 100px 0 60px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.feature-card {
    transition: var(--transition-smooth);
}
.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.4);
    border-color: rgba(245, 158, 11, 0.3);
}
.feature-card:hover .feature-icon-wrapper {
    background: var(--primary-color);
    color: #000;
    transform: scale(1.1);
}
.feature-icon-wrapper {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}
.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.5rem;
}
.feature-card p {
    color: var(--text-muted);
}

/* Services section */
.services {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(245,158,11,0.1) 0%, transparent 70%);
    opacity: 0;
    transition: var(--transition-smooth);
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card:hover .icon-wrapper {
    background: var(--primary-color);
    color: #000;
    transform: rotate(5deg) scale(1.1);
}

.icon-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.service-card p {
    color: var(--text-muted);
}

/* Process Section */
.process {
    padding: 80px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
}

.process-inner {
    display: flex;
    align-items: center;
    gap: 60px;
}

.process-content {
    flex: 1;
}

.process-media {
    flex: 1;
    position: relative;
    max-width: 500px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
    text-align: left;
    padding: 16px;
    border-radius: 20px;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}
.step:hover {
    background: rgba(255,255,255,0.03);
    border-color: rgba(245, 158, 11, 0.2);
    transform: translateX(10px);
}
[data-theme="light"] .step:hover {
    background: rgba(0,0,0,0.02);
}

.step-number {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: rgba(245, 158, 11, 0.1);
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    transition: var(--transition-smooth);
}
.step:hover .step-number {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 20px rgba(245,158,11,0.4);
}

.step h3 {
    margin-bottom: 8px;
}

.step p {
    color: var(--text-muted);
}

/* Testimonials */
.testimonials {
    padding: 100px 0 40px;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}
.testimonial-card {
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    cursor: default;
}
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    border-color: rgba(245, 158, 11, 0.2);
}
.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.review-text {
    font-size: 1.1rem;
    font-style: italic;
    color: #e4e4e7;
    margin-bottom: 24px;
    flex-grow: 1;
}
.author {
    display: flex;
    align-items: center;
    gap: 16px;
    border-top: 1px solid var(--surface-border);
    padding-top: 24px;
}
.author-avatar {
    width: 48px;
    height: 48px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}
.author h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}
.author span {
    font-size: 0.85rem;
    color: var(--text-muted);
}


/* CTA Section */
.cta-section {
    padding: 100px 0;
}

.cta-box {
    text-align: center;
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 1px solid rgba(245, 158, 11, 0.4);
    box-shadow: 0 20px 50px rgba(245, 158, 11, 0.15);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%; right: -50%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(245,158,11,0.15) 0%, transparent 60%);
    animation: rotateSlowly 15s linear infinite;
    z-index: 0;
    pointer-events: none;
}

@keyframes rotateSlowly {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(245, 158, 11, 0.25);
}

.cta-box h2, .cta-box p, .cta-box .btn {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.cta-box p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.125rem;
}

/* Footer */
.footer {
    border-top: 1px solid var(--surface-border);
    padding: 64px 0 32px;
    background: var(--surface-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-info h4 {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

.footer-info p {
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--surface-border);
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* Floating CTA for Mobile */
.floating-cta {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-color);
    color: #000;
    padding: 16px 32px;
    font-weight: 700;
    font-size: 1.125rem;
    text-decoration: none;
    box-shadow: 0 8px 32px rgba(245, 158, 11, 0.4);
    z-index: 1000;
    align-items: center;
    gap: 8px;
    width: 90%;
    max-width: 400px;
    justify-content: center;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible, .fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }

.pulse {
    animation: pulse 2s infinite;
}

@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); }
}

/* Popup Offer */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(8px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--surface-color);
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: scale(0.9);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid var(--primary-color);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    padding: 40px 32px;
}

.popup-overlay.show .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 16px;
    right: 24px;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.popup-close:hover {
    color: var(--primary-color);
}

.popup-badge {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    padding: 6px 16px;
    font-weight: 700;
    font-size: 0.85rem;
    margin-bottom: 24px;
}

.popup-content h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
    line-height: 1.1;
}

.popup-content p {
    color: var(--text-muted);
    margin-bottom: 32px;
    font-size: 1.1rem;
}

.popup-disclaimer {
    margin-top: 24px;
    margin-bottom: 0 !important;
    font-size: 0.8rem !important;
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-inner, .process-inner {
        flex-direction: column;
        text-align: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-media, .process-media {
        margin-top: 40px;
        width: 100%;
        max-width: 100%;
    }
    .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .section-header[style] {
        text-align: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 768px) {
    .header-cta {
        display: none;
    }
    .header {
        top: 45px; /* marquee on mobile */
    }
    .hero {
        padding: 140px 0 60px;
    }
    .floating-cta {
        display: flex;
    }
    body {
        padding-bottom: 80px;
    }
    
    .popup-content {
        padding: 32px 20px;
        width: 95%;
    }
    .popup-content h2 {
        font-size: 1.8rem;
    }
    .popup-content p {
        font-size: 1rem;
    }
    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }
}
