/* Global Vars & Reset */
:root {
    --primary-color: #000000;
    --secondary-color: #ffffff;
    --accent-color: #f7f7f7;
    /* Light gray/off-white for sections */
    --text-color: #1a1a1a;
    --muted-color: #666666;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --transition-speed: 0.3s;
    --container-width: 1200px;
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--secondary-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-speed);
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 28px;
    border-radius: 30px;
    /* Pill shape */
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-speed), transform 0.2s;
    border: none;
    font-size: 1rem;
    box-sizing: border-box;
    text-decoration: none;
    line-height: 1;
    font-family: inherit;
    /* Ensure <button> inherits standard font */
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--secondary-color);
}

.btn-primary:hover {
    background-color: #333;
    transform: translateY(-1px);
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background-color: var(--accent-color);
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #eee;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.logo img {
    height: 64px;
    width: auto;
    object-fit: contain;
}

/* Navigation Right Container */
.nav-right {
    display: flex;
    align-items: center;
    gap: 24px;
}

/* Language Dropdown */
.language-dropdown {
    position: relative;
    margin-right: 0;
}

.lang-btn {
    background: none;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    background-color: #f9f9f9;
}

.lang-btn:hover {
    background-color: #eee;
}

.lang-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 120px;
    overflow: hidden;
    z-index: 1001;
    flex-direction: column;
}

.lang-menu.show {
    display: flex;
}

.lang-menu a {
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s;
}

.lang-menu a:hover {
    background-color: #f3f3f3;
}

.nav-links {
    /* Removed or reset if not used anymore, but keeping just in case */
    display: flex;
    align-items: center;
    gap: 32px;
}

/* Hero Section (Split Layout) */
.hero-split {
    display: flex;
    min-height: calc(100vh - 80px);
    /* Subtract header height */
    margin-top: 80px;
    /* Header spacing */
    overflow: hidden;
}

.hero-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    background: #fff;
    max-width: 600px;
    /* Constrain text width like Uber */
}

.hero-content-wrapper h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 48px;
    color: #000;
    letter-spacing: -1px;
}

.hero-right {
    flex: 1.5;
    /* Image takes slightly more space */
    position: relative;
    background: #f3f3f3;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Booking Widget (Uber Style Refined) */
.booking-widget {
    background: #fff;
    width: 100%;
    /* No shadow/border for the 'integrated' look, or minimal */
    display: flex;
    flex-direction: column;
    position: relative;
    /* For dropdown positioning */
}

.widget-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
}

.widget-tab {
    background: #eee;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #000;
    display: flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.widget-tab.active {
    background: #000;
    color: #fff;
}

/* Date Time Picker */
.datetime-picker {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    animation: fadeIn 0.3s;
    position: relative;
    /* Context for absolute calendar */
}

.custom-date-wrapper {
    flex: 1;
    position: relative;
}

.date-trigger,
.time-input {
    width: 100%;
    border: none;
    background: #f3f3f3;
    padding: 12px 16px;
    border-radius: 8px;
    font-family: var(--font-main);
    font-size: 0.95rem;
    outline: none;
    cursor: pointer;
    text-align: left;
    height: 48px;
    /* Fixed height for alignment */
    display: flex;
    align-items: center;
}

.date-trigger:hover,
.time-input:hover {
    background: #e9e9e9;
}

/* Custom Calendar Popup */
.custom-calendar {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
    width: 300px;
    padding: 16px;
    z-index: 100;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-weight: 600;
}

.cal-nav {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.cal-nav:hover {
    background: #f3f3f3;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    text-align: center;
}

.calendar-day-label {
    font-size: 0.75rem;
    color: #888;
    margin-bottom: 8px;
}

.calendar-day {
    padding: 8px;
    font-size: 0.9rem;
    border-radius: 50%;
    cursor: pointer;
}

.calendar-day:hover:not(.empty) {
    background: #f3f3f3;
}

.calendar-day.selected {
    background: #000;
    color: #fff;
}

.calendar-day.empty {
    cursor: default;
}

.widget-body {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
    width: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    background: #f3f3f3;
    border-radius: 8px;
    height: 56px;
    padding: 0 16px;
    position: relative;
    z-index: 20;
    /* Above dropdown */
}

.input-group:focus-within {
    box-shadow: inset 0 0 0 2px #000;
    background: #fff;
}

.input-icon.dot {
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    margin-right: 16px;
    flex-shrink: 0;
}

.input-arrow {
    margin-left: auto;
    font-size: 0.8rem;
    color: #000;
    transform: rotate(45deg);
    /* Arrow pointer style */
}

.booking-widget input {
    border: none;
    background: transparent;
    width: 100%;
    height: 100%;
    font-size: 1rem;
    font-weight: 500;
    font-family: var(--font-main);
    color: #000;
    outline: none;
}

.booking-widget input::placeholder {
    color: #555;
    font-weight: 400;
}

.autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin-top: 8px;
    z-index: 50;
    max-height: 200px;
    overflow-y: auto;
    display: none;
    /* Hidden default */
    border: 1px solid #eee;
}

.autocomplete-item {
    padding: 12px 16px;
    cursor: pointer;
    font-size: 0.95rem;
    border-bottom: 1px solid #f5f5f5;
    display: flex;
    align-items: center;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f9f9f9;
}

.autocomplete-icon {
    margin-right: 12px;
    opacity: 0.5;
}


.widget-btn {
    height: 56px;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    width: auto;
    /* Allow it to be auto or 100% */
    align-self: flex-start;
    /* Align left */
    padding: 0 40px;
}

.widget-btn:hover {
    background: #333;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* -----------------------------------------------------
   Responsive Design
   ----------------------------------------------------- */

/* Tablet & Intermediate (max-width: 900px) */
@media (max-width: 900px) {
    .container {
        padding: 0 32px;
    }

    .hero-split {
        flex-direction: column-reverse;
        /* Image top (visual top in column-reverse? No, usually column-reverse puts last item first. Hero Right is last. So this puts Image Top.) */
        /* Wait, if I want Image (Right) on Top, and structure is [Left, Right].
           column-reverse makes it [Right, Left]. Correct. */
        height: auto;
        min-height: auto;
        margin-top: 60px;
        /* Smaller header buffer */
    }

    .hero-left {
        max-width: 100%;
        padding: 40px 24px;
        justify-content: flex-start;
    }

    .hero-content-wrapper h1 {
        font-size: 3rem;
        margin-bottom: 32px;
    }

    .hero-right {
        height: 350px;
        /* Fixed height for image area */
        flex: none;
        width: 100%;
    }

    /* Cinematic Barbers Grid for Tablet */
    .barber-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {
    .container {
        padding: 0 20px;
    }

    /* Header */
    header .container {
        padding: 0 16px;
    }

    .nav-links {
        gap: 16px;
    }

    /* Hero */
    .hero-content-wrapper h1 {
        font-size: 2.2rem;
        /* Mobile Headline */
        margin-bottom: 24px;
        line-height: 1.2;
    }

    .hero-right {
        height: 250px;
        /* Smaller image area */
    }

    .hero-left {
        padding: 24px 16px;
    }

    /* Booking Widget Mobile */
    .widget-tabs {
        flex-wrap: wrap;
        /* allow wrap if needed on very small screens */
        gap: 8px;
    }

    .widget-tab {
        flex: 1;
        /* Equal width tabs */
        justify-content: center;
        font-size: 0.85rem;
        padding: 8px 12px;
    }

    .datetime-picker {
        flex-direction: column;
        /* Stack date and time */
    }

    .widget-btn {
        width: 100%;
        /* Full width button */
    }

    /* Sections */
    .section-title h2 {
        font-size: 2rem;
    }

    /* Features Grid */
    .feature-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 24px;
    }

    /* How It Works Steps */
    .steps-container {
        flex-direction: column;
        gap: 40px;
    }

    .step {
        width: 100%;
        flex-direction: column;
        /* Stack Mockup and Text */
        gap: 24px;
    }

    .step-content {
        order: 2;
        /* Text below image */
        text-align: center;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-top: 0 !important;
    }

    .step-visual {
        order: 1;
        /* Image/Mockup first */
        margin: 0 auto;
    }

    /* Cinematic Barbers Mobile */
    .barber-grid {
        grid-template-columns: 1fr;
        /* Single column */
    }

    .barber-card {
        height: 350px;
        /* Taller/Standard height */
    }

    /* Modals */
    .modal-content {
        width: 95%;
        margin: 10% auto;
        padding: 24px;
    }

    /* Discount Popup */
    .discount-content {
        padding: 32px 24px;
    }

    .discount-badge {
        font-size: 0.8rem;
        padding: 4px 12px;
    }

    .discount-content h2 {
        font-size: 2rem;
    }
}

/* Discount Popup Styling */
.discount-modal {
    z-index: 3000;
    /* Higher than booking modal */
}

.discount-content {
    background: #fff;
    background-image: linear-gradient(135deg, #fff 0%, #f7f7f7 100%);
    border: 1px solid #000;
}

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

.discount-badge {
    background: #000;
    color: #fff;
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.discount-header h2 {
    font-size: 2.2rem;
    margin-bottom: 8px;
}

.coupon-code {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #000;
    background: #eee;
    padding: 16px;
    border-radius: 8px;
    display: inline-block;
    margin-top: 16px;
    border: 2px dashed #000;
}

/* Mobile responsive for widget */
@media (max-width: 600px) {
    .booking-widget {
        width: 100%;
        padding: 16px;
    }
}

/* Features / Value Props */
.features {
    padding: 120px 0;
    background-color: var(--secondary-color);
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
}

.section-header p {
    color: var(--muted-color);
    font-size: 1.1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-card {
    padding: 40px 32px;
    border-radius: 12px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #eaeaea;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.02);
    transition: transform 0.3s, box-shadow 0.3s;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

.icon-wrapper {
    height: 150px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-wrapper img {
    height: 112px;
    width: auto;
    object-fit: contain;
    /* Ensure the icons look crisp */
    filter: grayscale(100%) contrast(120%);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.feature-card p {
    color: var(--muted-color);
    line-height: 1.6;
}

/* Steps / How It Works */
.steps {
    padding: 100px 0;
    background-color: var(--accent-color);
    overflow: hidden;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
    /* Centered for better flow with images */
}

.step-item {
    position: relative;
    padding: 0 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 16px;
    background: #fff;
    width: 60px;
    height: 60px;
    line-height: 60px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.step-item h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
    color: var(--text-color);
    font-weight: 700;
}

.step-item p {
    color: var(--muted-color);
    margin-bottom: 32px;
    font-size: 0.95rem;
    max-width: 280px;
}

/* CSS Phone Mockup */
.phone-mockup {
    width: 220px;
    height: 400px;
    background: #fff;
    border: 10px solid #1a1a1a;
    /* Bezel */
    border-radius: 32px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: translateY(-8px);
}

/* Notch */
.phone-mockup::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 20px;
    background: #1a1a1a;
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 10;
}

/* Mockup Screen Content */
.mockup-screen {
    flex: 1;
    background-color: #fafafa;
    display: flex;
    flex-direction: column;
    padding: 20px;
    padding-top: 40px;
}

.mockup-header {
    height: 12px;
    width: 40%;
    background-color: #eee;
    margin-bottom: 16px;
    border-radius: 4px;
}

.mockup-block {
    background-color: #eee;
    border-radius: 4px;
    margin-bottom: 12px;
    width: 100%;
}

.mockup-img-placeholder {
    width: 100%;
    height: 120px;
    background-color: #e0e0e0;
    border-radius: 8px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #bbb;
}

/* Specific Step Styling inside Mockup */
.mockup-btn {
    height: 36px;
    background-color: #000;
    border-radius: 6px;
    margin-top: auto;
    width: 100%;
}

.mockup-map {
    flex: 1;
    background-color: #e0e0e0;
    border-radius: 8px;
    position: relative;
}

.mockup-pin {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 0 8px rgba(0, 0, 0, 0.1);
}

/* Modal */
.modal {
    display: none;
    /* Hidden by default */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 40px;
    border: 1px solid #888;
    width: 90%;
    max-width: 500px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

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

.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-btn:hover,
.close-btn:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--muted-color);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

/* Larger Discount Modal */
#discountModal .modal-content {
    max-width: 800px;
    width: 90%;
    min-height: 500px;
}

#discountModal .discount-text-side {
    padding: 60px 40px;
}

.discount-input-group input {
    width: 100%;
    padding: 18px 24px;
    border: 2px solid #eee;
    border-radius: 12px;
    font-size: 1.1rem;
    outline: none;
    transition: border-color 0.2s;
    background: #f9f9f9;
}

.form-group input:focus {
    border-color: var(--primary-color);
}

.submit-btn {
    width: 100%;
    margin-top: 16px;
}

/* Success Message inside Modal */
.success-message {
    text-align: center;
    display: none;
}

.success-icon {
    font-size: 4rem;
    color: #4CAF50;
    margin-bottom: 16px;
}

/* Footer */
footer {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: #888;
}

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

.footer-links a {
    margin-left: 24px;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

/* Trust Section */
.trust-section {
    padding: 100px 0;
    background-color: var(--secondary-color);
}

.trust-grid {
    display: flex;
    justify-content: space-between;
    gap: 48px;
    text-align: center;
    max-width: 1000px;
    margin: 100px auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    flex: 1;
}

.trust-icon {
    margin-bottom: 24px;
}

.trust-icon img {
    height: 64px;
    width: auto;
    background: rgba(255, 255, 255, 0.1);
    /* Subtle backing if needed, or keeping it clean */
}

.trust-content h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 700;
    color: #fff;
    /* In dark cinematic section, text should be white */
}

.trust-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}


/* Cinematic Barbers */
.cinematic-barbers {
    background-color: #000;
    padding-top: 80px;
    padding-bottom: 0px;
    color: #fff;
    overflow: hidden;
}

.cinematic-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 20px;
}

.cinematic-header h2 {
    font-size: 3rem;
    font-weight: 300;
    letter-spacing: 4px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.cinematic-grid {
    display: flex;
    width: 100%;
}

.cinematic-item {
    flex: 1;
    height: 70vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.cinematic-item:last-child {
    border-right: none;
}

.cinematic-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, filter 0.5s ease;
    filter: grayscale(100%) brightness(0.7);
}

.cinematic-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%) brightness(1);
    z-index: 1;
}

.cinematic-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
    color: #fff;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.5s ease 0.1s;
    z-index: 2;
}

.cinematic-item:hover .cinematic-overlay {
    transform: translateY(0);
    opacity: 1;
}

.cinematic-overlay h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.cinematic-overlay p {
    font-size: 1rem;
    color: #ccc;
    font-weight: 300;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Responsiveness Updates */
@media (max-width: 768px) {
    .trust-grid {
        flex-direction: column;
        align-items: center;
    }

    .trust-item {
        width: 100%;
        max-width: 400px;
    }

    .barber-grid {
        grid-template-columns: 1fr;
    }

    .features-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .logo {
        position: relative;
        z-index: 1001;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .logo {
        position: relative;
        z-index: 1001;
    }

    nav {
        padding: 0 16px;
    }
}

/* -----------------------------------------------------
   5. Interactive Discount Modal (Uber Style)
   ----------------------------------------------------- */
#discountModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3000;
    /* Higher than everything */
    backdrop-filter: blur(4px);
}

#discountModal.show {
    opacity: 1;
}

#discountModal .modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 66vw;
    height: 66vh;
    max-width: 900px;
    max-height: 600px;
    /* Added max-height for consistency, though not in instruction */
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    display: flex;
    /* Flex layout for Image + Text */
    overflow: hidden;
    padding: 0;
    /* Remove default padding to let image bleed */
}

.discount-image-side {
    width: 50%;
    /* Reusing the selected Uber-style hero image for consistency */
    background: url('hero_uber_style.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.discount-text-side {
    width: 50%;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.discount-badge {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 24px;
    width: fit-content;
}

.discount-text-side h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: #000;
    line-height: 1.1;
}

.discount-text-side p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 32px;
    line-height: 1.5;
}

/* Steps Animation */
.step-1,
.step-2 {
    width: 100%;
}

.discount-input-group {
    margin-bottom: 16px;
}

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

.code-display {
    background: #f3f3f3;
    padding: 16px;
    font-family: monospace;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    border-radius: 8px;
    margin: 24px 0;
    border: 2px dashed #000;
}

/* Close Button */
.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.9);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.close-modal:hover {
    background: #eee;
}

/* Mobile Responsiveness for Modal */
@media (max-width: 768px) {
    #discountModal .modal-content {
        flex-direction: column;
        width: 90vw;
        height: 80vh;
    }

    .discount-image-side {
        width: 100%;
        height: 35%;
    }

    .discount-text-side {
        width: 100%;
        height: 65%;
        padding: 24px;
        text-align: center;
        align-items: center;
    }

    .discount-text-side h2 {
        font-size: 1.8rem;
    }

    .discount-badge {
        margin: 0 auto 16px auto;
    }
}

/* -----------------------------------------------------
   Booking Page Styles (Uber-like Split Layout)
   ----------------------------------------------------- */
.booking-page {
    height: 100vh;
    overflow: hidden;
}

/* Booking Page Specifics */
.booking-container {
    display: flex;
    height: 100vh;
    overflow: hidden;
}

.booking-sidebar {
    width: 35%;
    max-width: 400px;
    background: #fff;
    border-right: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    z-index: 10;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
}

.sidebar-header {
    padding: 24px;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* New Info Summary (Location/Time) */
.booking-info-summary {
    padding: 16px 24px;
    border-bottom: 8px solid #f9f9f9;
}

.info-row {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-icon {
    width: 32px;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 12px;
}

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

.info-content .label {
    font-size: 0.75rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.info-content .value {
    font-size: 1rem;
    font-weight: 500;
    color: #000;
}

/* Option Items */
.options-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.ride-option {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 2px solid transparent;
    border-radius: 12px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

.ride-option:hover {
    background: #f9f9f9;
}

.ride-option.selected {
    background: #f0f4ff;
    /* Uber-ish selected state */
    border-color: #000;
}

.option-img {
    width: 60px;
    height: 60px;
    margin-right: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Circular Profile Pics */
.option-img.profile-pic img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
    border: 1px solid #eee;
}

.ride-option img {
    width: 100%;
    height: auto;
}

.option-details {
    flex: 1;
}

.option-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
}

.option-header .price {
    font-size: 1.1rem;
    font-weight: 700;
}

.option-meta {
    font-size: 0.9rem;
    color: #666;
    margin: 0;
}

.tag {
    display: inline-block;
    background: #000;
    color: #fff;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    margin-top: 4px;
    font-weight: 600;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 24px;
    border-top: 1px solid #f3f3f3;
    background: #fff;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    font-weight: 500;
    font-size: 0.95rem;
}

.booking-action-btn {
    width: 100%;
    height: 56px;
    font-size: 1.2rem;
}

/* Map Area */
.booking-map {
    flex: 1;
    position: relative;
    background: #e5e3df;
    /* Map colored bg */
    overflow: hidden;
}

.map-placeholder-bg {
    width: 100%;
    height: 100%;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/Neighborhood_Map_1002.png');
    /* Generic map tile helper */
    background-size: cover;
    background-position: center;
    opacity: 0.6;
    filter: grayscale(100%);
}

.map-pin {
    position: absolute;
    width: 32px;
    height: 32px;
    background-image: url('icon-verified.png');
    /* Reuse verified icon as pin */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.3));
}

.map-pin.pin-user {
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0.1);
    background-image: none;
}

/* Gated Modal Overlay */
.gated-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    /* High opacity gray layer */
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gated-content {
    background: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 450px;
    width: 90%;
    border: 1px solid #eee;
}

.gated-content h2 {
    font-size: 2rem;
    margin-bottom: 12px;
}

.gated-content p {
    color: #666;
    margin-bottom: 24px;
    line-height: 1.5;
}

.gated-content form {
    display: flex;
    gap: 12px;
    flex-direction: column;
}

.gated-content input {
    padding: 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    width: 100%;
}

.gated-content .gated-sub {
    font-size: 0.8rem;
    color: #999;
    margin-top: 16px;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .booking-container {
        flex-direction: column-reverse;
    }

    .booking-sidebar {
        width: 100%;
        height: 60%;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    }

    .booking-map {
        height: 40%;
    }
}

/* Bottom CTA Section (Premium Dark) */
.cta-section {
    padding: 120px 0;
    background-color: #000;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.cta-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1000px;
    margin: 0 auto;
    gap: 60px;
}

.cta-text {
    flex: 1;
    text-align: left;
}

.cta-text h2 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: -2px;
    line-height: 1.1;
}

.cta-text p {
    font-size: 1.2rem;
    color: #ccc;
    font-weight: 400;
    max-width: 500px;
    line-height: 1.6;
}

.cta-action {
    flex-shrink: 0;
}

.btn-white {
    background-color: #fff;
    color: #000;
    padding: 18px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    display: inline-block;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.btn-white:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.15);
}

@media (max-width: 900px) {
    .cta-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }

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

    .cta-text h2 {
        font-size: 2.5rem;
    }

    .cta-text p {
        margin: 0 auto;
    }
}

/* Contact Form Section */
.contact-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.contact-wrapper {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 48px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.contact-form .form-group {
    margin-bottom: 24px;
}

.contact-form label {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 8px;
    font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: var(--font-main);
    transition: all 0.2s;
    background: #f9f9f9;
}

.contact-form textarea {
    min-height: 120px;
    resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
    outline: none;
    border-color: #000;
    background: #fff;
}

.contact-form button {
    width: 100%;
    margin-top: 16px;
}

@media (max-width: 600px) {
    .contact-wrapper {
        padding: 32px 24px;
    }
}

/* Success Message Styles */
.success-message {
    text-align: center;
    padding: 40px 0;
    animation: fadeIn 0.5s ease-out;
}

.success-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: inline-block;
    animation: bounceIn 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.success-message h3 {
    color: #333;
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.success-message p {
    color: #666;
    font-size: 1.1rem;
}

.form-status {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #d9534f;
    text-align: center;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    60% {
        transform: scale(1.1);
        opacity: 1;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Salary Calculator Styles */
.salary-section {
    padding: 100px 0;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
}

.salary-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
    gap: 20px;
}

.salary-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.salary-controls {
    text-align: right;
}

.salary-dropdown {
    padding: 14px 24px;
    font-size: 1.1rem;
    border: 1px solid #e0e0e0;
    border-radius: 30px;
    background: #f9f9f9;
    cursor: pointer;
    min-width: 250px;
    font-family: var(--font-main);
    outline: none;
    transition: all 0.2s;
}

.salary-dropdown:hover {
    background: #eee;
    border-color: #ccc;
}

.salary-result-wrapper {
    min-height: 200px;
    /* Prevent jump */
}

.salary-placeholder {
    display: none;
    width: 100%;
    /* Removed padding: 80px; handled by grid children */
    border-radius: 24px;
    text-align: center;
    transition: all 0.3s ease;
    /* Removed box-shadow */
}

.salary-placeholder.finland {
    /* Removed blue background */
    display: block;
    /* Managed via style attribute usually, but keep logic safe */
    animation: fadeIn 0.5s;
}

.salary-placeholder.switzerland {
    background-color: #ff3b30;
    /* Keep red for now or update? User said remove blue bg. Assuming specifically Finland context. */
    animation: fadeIn 0.5s;
}

/* Calculator Grid */
.calculator-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    /* Give results slightly more space */
    gap: 60px;
    text-align: left;
    background: #fff;
    padding: 40px;
    border-radius: 24px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.calc-inputs {
    padding-right: 20px;
}

.calc-results {
    color: #333;
    /* Dark text */
    font-size: 0.95rem;
    background: #f8f9fa;
    /* Light gray for results */
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #eee;
}

.calc-inputs h3,
.calc-results h3 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #888;
    border-bottom: none;
    padding-bottom: 0;
}

.calc-results h3 {
    margin-top: 32px;
    /* Uniform spacing */
    color: #000;
    border-top: 1px solid #eee;
    padding-top: 24px;
}

.calc-results h3:first-child {
    margin-top: 0;
    border-top: none;
    padding-top: 0;
}

/* Input Rows */
.input-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.input-row label {
    font-weight: 500;
    color: #444;
}

.input-row input {
    width: 120px;
    padding: 10px 12px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    text-align: right;
    font-family: var(--font-main);
    /* Ensure consistent font */
    font-size: 1rem;
    background: #fff;
    transition: border 0.2s;
}

.input-row input:focus {
    border-color: #000;
    outline: none;
}

/* Result Rows */
.result-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.result-row.total {
    font-weight: 700;
    font-size: 1.1rem;
    border-top: 2px solid #000;
    /* Distinct total line */
    border-bottom: none;
    margin-top: 8px;
    padding-top: 12px;
    color: #000;
}

.result-row span:last-child {
    font-family: var(--font-main);
    font-weight: 500;
}

.net-salary-box {
    background: #000;
    color: #fff;
    padding: 24px;
    border-radius: 12px;
    margin-top: 40px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.net-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 1.1rem;
    opacity: 0.9;
}

.net-row.big {
    font-size: 1.6rem;
    font-weight: 700;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    opacity: 1;
}

@media (max-width: 900px) {
    .calculator-grid {
        grid-template-columns: 1fr;
    }
}

/* -----------------------------------------------------
   Price Comparison Section
   ----------------------------------------------------- */
.comparison-section {
    padding: 100px 0;
    background-color: #fafafa;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    /* For VS badge */
}

.comparison-card {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    border: 1px solid #eee;
    position: relative;
    transition: transform 0.3s;
}

.comparison-card.highlight {
    border: 2px solid #000;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 2;
}

.comparison-header {
    text-align: center;
    margin-bottom: 32px;
    border-bottom: 1px solid #eee;
    padding-bottom: 24px;
}

.comparison-header h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
    font-weight: 700;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
    font-size: 1.05rem;
    color: #555;
    padding: 8px 0;
}

.comparison-row span:last-child {
    font-weight: 600;
    color: #000;
}

.comparison-row.total {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #eee;
    font-weight: 800;
    color: #000;
    font-size: 1.25rem;
}

.comparison-row.wasted span:last-child {
    color: #e74c3c;
}

.comparison-row.saved span:last-child {
    color: #27ae60;
}

.vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #000;
    color: #fff;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    z-index: 10;
    border: 6px solid #fafafa;
    font-size: 1.2rem;
}

@media (max-width: 768px) {
    .comparison-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .vs-badge {
        top: 50%;
        /* Adjusted for stacked layout */
        left: 50%;
        margin-top: -10px;
        /* Slight offset */
    }
}

/* Comparison Table Redesign */
.comparison-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-top: 48px;
    border-radius: 16px;
    /* Removed main wrapper shadow to allow inner pop-out */
    background: transparent;
    border: none;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    /* Required for border-radius/shadow on cells/columns */
    border-spacing: 0;
    min-width: 600px;
}

.comparison-table th,
.comparison-table td {
    padding: 24px;
    text-align: left;
    border-bottom: 1px solid #eee;
    font-size: 1rem;
}

.comparison-table th {
    font-weight: 700;
    color: #000;
    font-size: 1.1rem;
    border-bottom: 2px solid #eee;
}

.comparison-table td {
    border-bottom: 1px solid #f0f0f0;
}

/* Column specific styles */
.col-feature {
    width: 25%;
    font-weight: 600;
    color: #666 !important;
    background: transparent;
}

.col-salon {
    width: 35%;
    color: #999 !important;
    background: transparent;
}

/* Pop-out Sermo Column */
.col-sermo {
    width: 40%;
    color: #000 !important;
    font-weight: 600;
    background-color: #fff;
    position: relative;
    /* Box Shadow for the pop-out effect on the column cells */
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid #eee;
}

/* Top corners of the pop-out column */
th.col-sermo {
    background-color: #000;
    color: #fff !important;
    /* Force white text on black background */
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border-bottom: none;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

/* Bottom corners (applied to the last standard row's cell) */
.comparison-table tbody tr:last-child td.col-sermo {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    border-bottom: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer Row adjustments */
.table-footer-row td {
    background: transparent;
    padding-top: 56px;
    /* More breathing room */
    border: none;
    text-align: center;
}

.benefit-summary {
    font-size: 1.25rem;
    color: #000;
    line-height: 1.4;
    font-weight: 500;
}

.benefit-summary strong {
    display: block;
    margin-top: 8px;
    font-size: 1.5rem;
    font-weight: 800;
}

/* Responsive adjustments */
@media (max-width: 768px) {

    .comparison-table th,
    .comparison-table td {
        padding: 16px;
        font-size: 0.9rem;
    }

    .col-feature {
        width: 25%;
    }
}

/* Price Transparency Styles */
.price-breakdown {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.price-base {
    color: #000;
    font-weight: 500;
}

.col-salon .price-base {
    color: #666;
    /* Slightly dim base price in salon column for contrast */
}

.price-plus {
    color: #999;
    font-size: 1rem;
}

.price-fee {
    color: #27ae60;
    font-weight: 800;
    background: #e6fcf0;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.price-fee small {
    font-weight: 500;
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}