/* PVS Design System */
:root {
    /* Color Palette */
    --clr-navy-900: #0f172a;
    /* Deep Navy Background */
    --clr-navy-800: #1e293b;
    /* Card Background */
    --clr-navy-700: #334155;

    --clr-ice-400: #38bdf8;
    /* Primary Brand Color (Ice Blue) */
    --clr-ice-100: #e0f2fe;
    /* Light Text */

    --clr-white: #ffffff;
    --clr-text-primary: #f1f5f9;
    --clr-text-secondary: #94a3b8;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--clr-navy-900) 0%, var(--clr-navy-800) 100%);
    --gradient-accent: linear-gradient(135deg, var(--clr-ice-400) 0%, #0ea5e9 100%);

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --container-padding: 2rem;
    --max-width: 1200px;
}

/* Reset & Base */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--clr-navy-900);
    color: var(--clr-text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
    color: var(--clr-white);
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

/* Utilities */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    font-family: var(--font-heading);
}

.btn-primary {
    background: var(--clr-ice-400);
    color: var(--clr-navy-900);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.4);
}

/* Glassmorphism Card Style */
.glass-card {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

/* Sections */
.section {
    padding: 5rem 0;
}

@media (min-width: 1024px) {
    .section {
        padding: 8rem 0;
    }
}

.section-header {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.text-center {
    text-align: center;
}

/* Live Operations Specifics */
.section-live-ops {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)),
        url('assets/aurorasuite.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    /* Ensure text pops against the busy image */
}

/* Tractor Advantage Specifics */
.section-tractor-advantage {
    background: linear-gradient(rgba(15, 23, 42, 0.85), rgba(15, 23, 42, 0.95)),
        url('assets/blowershot3.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Hero Specifics */
.hero {
    padding: 8rem 0 5rem;
    /* Top padding for fixed nav */
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Hero Image with Dark Overlay */
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.7), rgba(15, 23, 42, 0.8)),
        url('assets/Blowershot2.png');
    background-size: cover;
    background-position: center;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--clr-text-secondary);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--clr-ice-400);
    color: var(--clr-ice-400);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.1);
    color: var(--clr-white);
}

/* Grid Layouts */
.steps-grid,
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

/* Step Cards */
.step-card {
    padding: 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
}

.step-number {
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.05);
    position: absolute;
    top: -10px;
    right: 10px;
}

.step-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-ice-400);
}

/* Pricing Cards */
.pricing-card {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--clr-ice-400);
    background: rgba(14, 165, 233, 0.1);
    transform: scale(1.05);
}

.popular-tag {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--clr-ice-400);
    color: var(--clr-navy-900);
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    font-weight: 700;
    border-bottom-left-radius: 12px;
    border-top-right-radius: 12px;
}

.card-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plan-name {
    font-size: 1.25rem;
    color: var(--clr-text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--clr-white);
}

.price .period {
    font-size: 1rem;
    color: var(--clr-text-secondary);
    font-weight: 400;
}

.features-list {
    list-style: none;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.features-list li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--clr-text-primary);
}

.check {
    color: var(--clr-ice-400);
}

.full-width {
    width: 100%;
}

/* CTA Box */
.cta-box {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

/* Navbar Tweaks */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    border-radius: 0 0 16px 16px;
    border-top: none;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.hero {
    margin-top: 0;
}

/* Features Grid (Aurora Section) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(30, 41, 59, 0.8);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    background-clip: text;
    /* Emoji fallback requires transparent color fix or just simple size */
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--clr-ice-400);
}

.feature-card p {
    color: var(--clr-text-secondary);
}

/* Map Styles */
#service-map {
    height: 450px;
    width: 100%;
    margin: 2rem auto;
    z-index: 1;
    background: #0f172a;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Leaflet Popup Customization */
.leaflet-popup-content-wrapper {
    background: var(--clr-navy-800);
    color: var(--clr-text-primary);
    border: 1px solid var(--clr-ice-400);
    border-radius: 8px;
}

.leaflet-popup-tip {
    background: var(--clr-navy-800);
    border: 1px solid var(--clr-ice-400);
}

.leaflet-popup-content {
    margin: 1rem;
    text-align: center;
}

.map-form-input {
    width: 100%;
    padding: 0.5rem;
    margin: 0.5rem 0;
    border-radius: 4px;
    border: 1px solid var(--clr-navy-700);
    background: var(--clr-navy-900);
    color: var(--clr-white);
}


/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Custom Success Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    /* Hidden by default */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: rgba(30, 41, 59, 0.9);
    /* Opaque for readability */
    padding: 2.5rem;
    max-width: 400px;
    width: 90%;
    text-align: center;
    border: 1px solid var(--clr-ice-400);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}


/* Redesign: Dashboard & Reservation */

/* Scrollbar for log */
.activity-log::-webkit-scrollbar {
    width: 6px;
}

.activity-log::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}

.activity-log::-webkit-scrollbar-thumb {
    background: var(--clr-navy-700);
    border-radius: 3px;
}

/* Coming Soon Overlay */
.dashboard-grid {
    position: relative;
    /* Ensure content is visible underneath but blurred/covered */
}

.coming-soon-overlay {
    position: absolute;
    inset: -20px;
    /* Cover slightly more than the grid */
    background: rgba(15, 23, 42, 0.6);
    /* Semi-transparent navy */
    backdrop-filter: blur(8px) grayscale(0.8);
    /* Blur and desaturate underneath */
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.coming-soon-badge {
    background: var(--gradient-accent);
    color: var(--clr-navy-900);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-bottom: 1rem;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.5);
}

.coming-soon-text {
    font-size: 1.1rem;
    color: var(--clr-ice-100);
    max-width: 400px;
}

/* Fix Reservation Box Scaling & Spacing */
.reservation-box {
    margin: 1rem auto 3rem;
    /* Reduced top margin, keeping bottom for separation */
    padding: 2rem;
    width: 100%;
    /* Responsive width */
    max-width: 750px;
    /* Wider max-width */
    text-align: center;
    border: 1px solid var(--clr-ice-400);
    /* Thinner border looks more premium */
    background: rgba(14, 165, 233, 0.05);
    /* Softer background */
    box-shadow: 0 0 30px rgba(14, 165, 233, 0.1);
}

.reservation-box h3 {
    margin-bottom: 1rem;
    color: var(--clr-white);
    letter-spacing: 1px;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 20px;
    width: 100%;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-accent);
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.capacity-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--clr-ice-100);
}

.glow-anim {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    padding: 2rem;
    text-align: left;
}

.dashboard-card h3 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--clr-ice-400);
    text-transform: uppercase;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row strong {
    color: var(--clr-white);
    font-size: 1.1rem;
}

.stat-icon {
    font-size: 2rem;
    float: right;
    margin-top: -3rem;
}

.activity-log {
    max-height: 200px;
    overflow-y: auto;
}

.log-item {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.log-time {
    color: var(--clr-ice-400);
    font-weight: 600;
    min-width: 70px;
}

/* Scrollbar for log */
.activity-log::-webkit-scrollbar {
    width: 6px;
}



.activity-log::-webkit-scrollbar-thumb {
    background: var(--clr-navy-700);
    border-radius: 3px;
}

/* Services Page: Offer Grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.offer-card {
    background: var(--clr-ice-400);
    /* Bright Blue Background */
    color: var(--clr-navy-900);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.offer-card:hover {
    transform: translateY(-5px);
    background: #0ea5e9;
}

.service-explanation {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Support Page: FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-white);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-ice-400);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--clr-text-secondary);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    padding-top: 0;
    letter-spacing: 1px;
}

.progress-container {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    height: 20px;
    width: 100%;
    margin-bottom: 0.5rem;
    overflow: hidden;
}

.progress-bar {
    background: var(--gradient-accent);
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

.capacity-text {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: var(--clr-ice-100);
}

.glow-anim {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(56, 189, 248, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(56, 189, 248, 0);
    }
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.dashboard-card {
    padding: 2rem;
    text-align: left;
}

.dashboard-card h3 {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: var(--clr-ice-400);
    text-transform: uppercase;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-row strong {
    color: var(--clr-white);
    font-size: 1.1rem;
}

.stat-icon {
    font-size: 2rem;
    float: right;
    margin-top: -3rem;
}

.activity-log {
    max-height: 200px;
    overflow-y: auto;
}

.log-item {
    display: flex;
    gap: 1rem;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.9rem;
}

.log-time {
    color: var(--clr-ice-400);
    font-weight: 600;
    min-width: 70px;
}

/* Scrollbar for log */
.activity-log::-webkit-scrollbar {
    width: 6px;
}



.activity-log::-webkit-scrollbar-thumb {
    background: var(--clr-navy-700);
    border-radius: 3px;
}

/* Services Page: Offer Grid */
.offer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.offer-card {
    background: var(--clr-ice-400);
    /* Bright Blue Background */
    color: var(--clr-navy-900);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(56, 189, 248, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    font-family: var(--font-heading);
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.offer-card:hover {
    transform: translateY(-5px);
    background: #0ea5e9;
}

.service-explanation {
    max-width: 800px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Support Page: FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--clr-white);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--clr-ice-400);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--clr-text-secondary);
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    padding-top: 0;
    max-height: 500px;
    /* Arbitrary large height */
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Timeline Section */
.timeline-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    margin-top: 3rem;
}

.timeline-step {
    text-align: center;
    position: relative;
    padding: 2rem 1rem;
}

.step-circle {
    width: 60px;
    height: 60px;
    background: var(--clr-ice-400);
    color: var(--clr-navy-900);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.4);
    position: relative;
    z-index: 2;
}

.step-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--clr-white);
}

/* Connector line (desktop only) */
@media (min-width: 768px) {
    .timeline-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 50px;
        /* Center of 60px circle + padding */
        right: -50%;
        width: 100%;
        height: 2px;
        background: rgba(56, 189, 248, 0.3);
        /* faint blue line */
        z-index: 1;
    }
}
/* Payment & Installment Badges */
.payment-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin-top: auto;
}

.payment-note {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--clr-text-secondary);
}

.badge-installment {
    display: inline-block;
    background: rgba(59, 130, 246, 0.1);
    color: var(--clr-primary);
    padding: 0.25em 0.75em;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

