/* Global Styles & Variables */
:root {
    --primary-blue: #0f2740;
    --secondary-blue: #13263c;
    --accent-teal: #3dc6bf;
    --white: #ffffff;
    --light-gray: #f4f7f8;
    --medium-gray: #e0e0e0;
    --dark-gray: #777;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Manrope', sans-serif;
    color: var(--primary-blue);
    background: var(--light-gray);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    padding: 0;
    font-family: 'Manrope', sans-serif;
}

.mobile-container {
    max-width: 450px; /* Typical phone width */
    margin: 0 auto;
    background: var(--white);
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative; /* For floating WhatsApp button */
}

.main-content {
    flex-grow: 1;
    padding-bottom: 70px; /* Space for bottom nav */
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: var(--primary-blue);
    color: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-left i,
.header-right i {
    font-size: 22px;
}

.header-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.header-center .logo {
    height: 60px;
}

.header-center .logo-text {
    font-size: 10px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.8);
}

/* Hero Section */
.hero-section-mobile {
    position: relative;
    display: block;
    min-height: 50vh;
    max-height: 50vh;
    color: var(--white);
    overflow: hidden;
    padding: 24px 0 12px;
}

.hero-section-mobile::before,
.hero-section-mobile::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-section-mobile::before {
    background-image: url('kochinest-hero.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: scroll;
    z-index: 0;
}

.hero-section-mobile::after {
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-background {
    display: none;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom; /* Adjust to show more of the property/bike */
}

.hero-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(15, 39, 64, 0.6) 0%, rgba(15, 39, 64, 0.4) 100%);
}

.hero-content-overlay {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    gap: 2rem;
}

.hero-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: min(100%, 1120px);
}

.hero-text-block {
    margin-top: 0;
    line-height: 1.2;
    width: 100%;
    max-width: 760px;
}

.hero-title-mobile {
    font-family: 'Sora', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 5px;
}

.hero-subtitle-mobile {
    font-family: 'Sora', sans-serif;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.highlight-kochi {
    color: var(--accent-teal);
}

.highlight-freely {
    color: #ffcc00; /* Yellowish highlight from image */
}

/* Search Tabs Container */
.search-tabs-container {
    background: var(--white);
    margin: 12px 0 0;
    border-radius: 15px;
    box-shadow: var(--shadow-md);
    padding: 12px;
    position: relative;
    display: block;
    z-index: 20;
    width: 100%;
}

.search-tabs-description {
    font-size: 11px;
    color: var(--dark-gray);
    line-height: 1.4;
    margin-bottom: 10px;
}

.tab-buttons {
    display: flex;
    margin-bottom: 15px;
    background-color: var(--light-gray);
    border-radius: 10px;
    padding: 5px;
}

.tab-button {
    flex: 1;
    padding: 10px 0;
    font-weight: 600;
    color: var(--dark-gray);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.tab-button.active {
    background-color: var(--primary-blue);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.search-field {
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1px solid var(--medium-gray);
    border-radius: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    color: var(--dark-gray);
}

.search-field i {
    color: var(--dark-gray);
    margin-right: 10px;
    font-size: 16px;
}

.search-field input {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--primary-blue);
    background: transparent;
}

.search-field input::placeholder {
    color: #a0a0a0;
}

.search-field select {
    flex-grow: 1;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--primary-blue);
    background: transparent;
    appearance: none;
}

.search-field select option:disabled {
    color: #a0a0a0;
}

.search-button {
    width: 100%;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 12px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.search-suggestions {
    position: absolute;
    top: 0;
    left: 0;
    width: min(100%, 420px);
    max-height: 260px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #d9e4ec;
    border-radius: 12px;
    box-shadow: 0 12px 28px rgba(15, 39, 64, 0.16);
    z-index: 60;
}

.suggestion-item,
.suggestion-state {
    display: block;
    width: 100%;
    text-align: left;
    border: none;
    background: transparent;
    padding: 10px 12px;
    font-size: 13px;
    color: var(--primary-blue);
}

.suggestion-item:hover,
.suggestion-item:focus-visible {
    background: #edf5fb;
}

.suggestion-state {
    color: var(--dark-gray);
}

.suggestion-spinner {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid #d5e7f7;
    border-top-color: var(--primary-blue);
    display: inline-block;
    margin-right: 8px;
    animation: spin 0.9s linear infinite;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}


.pac-container {
    border-radius: 12px !important;
    border: 1px solid #d9e4ec !important;
    box-shadow: 0 12px 28px rgba(15, 39, 64, 0.16) !important;
    margin-top: 4px !important;
    font-family: 'Manrope', sans-serif !important;
    z-index: 1600 !important;
}

.pac-item {
    padding: 12px 14px !important;
    font-size: 13px !important;
    border-top: 1px solid #eef3f7 !important;
}

.pac-item:hover,
.pac-item-selected {
    background: #edf5fb !important;
}

.pac-icon {
    display: none !important;
}

@media (max-width: 768px) {
    .pac-item {
        min-height: 44px;
        display: flex !important;
        align-items: center;
    }

    .hero-section-mobile {
        padding-top: 100px;
        padding-bottom: 50px;
    }
}

.no-results-found {
    margin-top: 12px;
}

.smart-lead-card {
    background: linear-gradient(160deg, #0f2740 0%, #13263c 65%, #20557e 100%);
    border-radius: 14px;
    padding: 14px;
    color: #fff;
    box-shadow: var(--shadow-md);
}

.no-results-found h2 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--primary-blue);
}

.smart-lead-message {
    margin: 0 0 12px;
    font-size: 13px;
    line-height: 1.4;
}

.smart-lead-form {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.smart-lead-form input[type="text"],
.smart-lead-form input[type="tel"] {
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 10px;
    background: rgba(255,255,255,0.12);
    color: #fff;
    padding: 11px;
}

.smart-lead-form input::placeholder { color: rgba(255,255,255,0.75); }

.lead-whatsapp-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
}

.lead-submit-btn,
.custom-repair-btn {
    width: 100%;
    border-radius: 10px;
    padding: 11px;
    font-weight: 700;
    border: none;
}

.lead-submit-btn { background: #3dc6bf; color: #0f2740; }
.custom-repair-btn { background: #25d366; color: #083323; margin-top: 8px; }

.nearby-alternatives h3 {
    margin: 0 0 8px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.nearby-alternatives-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nearby-alternatives-list a {
    font-size: 12px;
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 6px 10px;
    border-radius: 999px;
}


.intent-silos-section {
    padding-top: 14px;
}

.intent-silos-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
}

.intent-silo-card {
    min-width: 180px;
    background: #ffffff;
    border: 1px solid #d9e4ec;
    border-radius: 14px;
    padding: 14px;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 7px;
    scroll-snap-align: start;
}

.intent-silo-card i {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0f7;
    color: var(--primary-blue);
}

.intent-silo-card h3 { margin: 0; font-size: 13px; font-weight: 800; color: var(--primary-blue); }
.intent-silo-card span { font-weight: 800; font-size: 14px; }
.intent-silo-card p { margin: 0; font-size: 11px; color: var(--dark-gray); }

.service-verified-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: #0f7a41;
    background: #e7f7ef;
    border: 1px solid #bce8cd;
    border-radius: 999px;
    padding: 4px 8px;
    vertical-align: middle;
}

.repair-cta-row {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
}

.service-book-btn {
    background: var(--accent-teal);
    color: #0f3d24;
    padding: 9px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.service-book-btn.whatsapp {
    background: #25d366;
}

/* Quick Services */
.quick-services-mobile {
    padding: 25px 15px;
    background-color: var(--light-gray);
}

.hero-journey-section {
    padding: 0;
    background: transparent;
    margin-top: 40px;
    width: 100%;
    position: relative;
    display: block;
}

.hero-journey-section .section-header h2 {
    color: #fff;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.section-header h2 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.section-header a {
    font-size: 13px;
    color: var(--accent-teal);
    font-weight: 600;
}

.services-grid-mobile {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.service-card-mobile {
    background: var(--white);
    border-radius: 12px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    box-shadow: var(--shadow-sm);
    min-height: 100px;
}

.service-card-mobile i {
    font-size: 28px;
    margin-bottom: 8px;
}

.service-card-mobile span {
    font-weight: 700;
    font-size: 14px;
    color: var(--primary-blue);
}

.service-card-mobile p {
    font-size: 11px;
    color: var(--dark-gray);
    margin: 2px 0 0;
}

/* KochiNest Verified */
.kochinest-verified {
    padding: 25px 15px;
    margin-top: 60px;
    background-color: var(--white);
    position: relative;
    display: block;
}

.kochinest-verified .section-header h2 i {
    color: var(--accent-teal);
    font-size: 16px;
    margin-left: 5px;
}

.verified-cards-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.verified-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding-bottom: 10px;
    position: relative;
    border: 1px solid var(--medium-gray);
}

.verified-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
    margin-bottom: 8px;
}

.verified-card .verified-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background-color: var(--accent-teal);
    color: #0f3d24;
    font-size: 8px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 5px;
    letter-spacing: 0.2px;
}

.verified-card h3 {
    font-size: 13px;
    font-weight: 700;
    margin: 0 10px 2px;
    color: var(--primary-blue);
}

.verified-card p {
    font-size: 11px;
    color: var(--dark-gray);
    margin: 0 10px 5px;
}

.verified-card .price {
    font-size: 14px;
    font-weight: 700;
    margin: 0 10px;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.verified-card .price span {
    font-size: 10px;
    font-weight: 400;
    color: var(--dark-gray);
}

.verified-card .fa-heart {
    font-size: 16px;
    color: var(--dark-gray);
    margin-left: auto;
    margin-right: 10px;
}

/* Deal of the Day */
.deal-of-the-day {
    padding: 25px 15px;
    background-color: var(--light-gray);
}

.deal-of-the-day-container {
    min-height: 220px;
}

.deal-of-the-day .timer {
    min-width: 132px;
    display: inline-block;
}

.deal-card {
    min-height: 112px;
}

.deal-of-the-day .section-header h2 i {
    color: #ff9800; /* Orange fire icon */
    margin-right: 5px;
}

.deal-of-the-day .timer {
    font-size: 13px;
    color: var(--dark-gray);
    font-weight: 600;
}

.deal-of-the-day .timer .time {
    color: var(--primary-blue);
}

.deal-card {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    border: 1px solid var(--medium-gray);
}

.deal-card img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.deal-details {
    flex-grow: 1;
}

.deal-details h3 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 5px;
    color: var(--primary-blue);
}

.deal-details p {
    font-size: 11px;
    color: var(--dark-gray);
    margin: 0 0 8px;
}

.deal-details .price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-blue);
}

.deal-details .price span {
    font-size: 10px;
    font-weight: 400;
    color: var(--dark-gray);
}

.book-now-button {
    background-color: var(--accent-teal);
    color: #0f3d24;
    padding: 8px 15px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

/* Post & Earn CTA */
.post-earn-cta {
    padding: 25px 15px;
    background-color: var(--white);
}

.post-earn-card {
    background-color: var(--primary-blue);
    border-radius: 15px;
    padding: 20px;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.post-earn-icon i {
    font-size: 36px;
    color: #ffcc00; /* Yellow icon */
}

.post-earn-text {
    flex-grow: 1;
}

.post-earn-text p {
    font-size: 11px;
    margin: 0;
    opacity: 0.8;
}

.post-earn-text h4 {
    font-size: 15px;
    font-weight: 700;
    margin: 5px 0 0;
    line-height: 1.3;
}

.post-earn-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.post-earn-action button {
    background-color: #ffcc00; /* Yellow button */
    color: var(--primary-blue);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.post-earn-action p {
    font-size: 10px;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 5px;
}

.post-earn-action p i {
    font-size: 10px;
}

/* Floating WhatsApp Button */
.whatsapp-float-button {
    position: fixed;
    bottom: 80px; /* Above bottom nav */
    right: 20px;
    background-color: #25d366; /* WhatsApp green */
    color: var(--white);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: var(--shadow-md);
    z-index: 1000;
}


.mobile-menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(10, 18, 38, 0.45);
    z-index: 1300;
}

.mobile-drawer {
    width: 84%;
    max-width: 330px;
    height: 100%;
    background: #fff;
    padding: 14px;
    overflow-y: auto;
    border-right: 1px solid #eceff3;
}

.drawer-welcome {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #eef1f5;
}

.drawer-profile-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid #d8dee9;
    background: radial-gradient(circle at 28% 20%, #d3dff0, #8ea3bf 55%, #4f6583 100%);
}

.drawer-welcome-title { margin: 0; font-size: 14px; font-weight: 700; color: #14213d; }
.drawer-location { margin: 3px 0 0; font-size: 12px; color: #6b7280; }

.drawer-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #eef1f5;
}

.drawer-meta-link {
    color: #14213d;
    font-size: 12px;
    text-decoration: none;
    font-weight: 600;
}

.language-toggle {
    border: 1px solid #d5dbe7;
    border-radius: 999px;
    background: #f8fafc;
    padding: 2px;
    display: inline-flex;
}

.language-toggle__option {
    font-size: 10px;
    border-radius: 999px;
    padding: 4px 8px;
    color: #64748b;
    font-weight: 700;
}

.language-toggle__option.is-active {
    background: #14213d;
    color: #fff;
}

.drawer-section { padding: 12px 0; border-bottom: 1px solid #eef1f5; }
.drawer-section-title { margin: 0 0 10px; font-size: 11px; letter-spacing: 0.8px; font-weight: 800; color: #64748b; }

.drawer-rental-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.drawer-rental-grid a,
.drawer-service-list a {
    text-decoration: none;
    color: #14213d;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.35;
    background: #f8fafc;
    border: 1px solid #e5eaf2;
    border-radius: 10px;
    padding: 10px;
    display: flex;
    gap: 7px;
    align-items: center;
}

.drawer-service-list {
    display: grid;
    gap: 8px;
}

.drawer-post-btn {
    display: block;
    text-align: center;
    background: #14213d;
    color: #f7c948;
    font-weight: 800;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px;
}

.drawer-footer-trending {
    padding-top: 12px;
}

.drawer-footer-trending p {
    margin: 0 0 6px;
    font-size: 11px;
    color: #6b7280;
    font-weight: 700;
}

.drawer-footer-trending div {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.drawer-footer-trending a {
    font-size: 11px;
    color: #14213d;
    text-decoration: none;
    border-bottom: 1px solid #d7deea;
}


.premium-identity-header {
    background: #f8fbff;
    border-radius: 12px;
    padding: 10px;
    border: 1px solid #e4edf7;
    margin-bottom: 2px;
}

.trust-section {
    background: #f9fcff;
    border-radius: 12px;
    border: 1px solid #e5edf7;
    padding: 12px;
}

.trust-pillars {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 8px;
}

.trust-pillars li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #0f2740;
    font-weight: 600;
}

.sidebar-icon {
    width: 16px;
    height: 16px;
    stroke-width: 2.1;
}

.rentals-icon { color: #2563eb; }
.services-icon { color: #16a34a; }
.neutral-icon { color: #64748b; }

/* Bottom Navigation */
.bottom-navigation {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: var(--white);
    border-top: 1px solid var(--medium-gray);
    padding: 5px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 450px; /* Match mobile-container width */
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
    z-index: 1000;
}

.bottom-navigation .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--dark-gray);
    font-size: 11px;
    padding: 5px 0;
}

.bottom-navigation .nav-item i {
    font-size: 20px;
    margin-bottom: 3px;
}

.bottom-navigation .nav-item.active {
    color: var(--primary-blue);
}

/* Small adjustments for quick service card icons to match image better */
.service-card-mobile:nth-child(1) i { background-color: #e0ffe0; padding: 8px; border-radius: 8px; color: #388e3c; }
.service-card-mobile:nth-child(2) i { background-color: #fffbe0; padding: 8px; border-radius: 8px; color: #fbc02d; }
.service-card-mobile:nth-child(3) i { background-color: #e0ffff; padding: 8px; border-radius: 8px; color: #00bcd4; }
.service-card-mobile:nth-child(4) i { background-color: #f5e0ff; padding: 8px; border-radius: 8px; color: #9c27b0; }

.service-card-mobile:nth-child(1) {
    background-color: #e0ffe0; /* Lighter background for the card */
    border: 1px solid #c8e6c9;
}
.service-card-mobile:nth-child(2) {
    background-color: #fffbe0;
    border: 1px solid #ffecb3;
}
.service-card-mobile:nth-child(3) {
    background-color: #e0ffff;
    border: 1px solid #b2ebf2;
}
.service-card-mobile:nth-child(4) {
    background-color: #f5e0ff;
    border: 1px solid #e1bee7;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0,0,0,0);
    border: 0;
}

/* Visibility Utilities */
.desktop-only {
    display: none !important;
}

/* New Sections Styles */
.section-subtitle {
    font-size: 11px;
    color: var(--dark-gray);
    margin-top: -5px;
    margin-bottom: 12px;
    font-weight: 500;
}

.trending-cards-container {
    display: flex;
    overflow-x: scroll;
    gap: 10px;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.trending-cards-container::-webkit-scrollbar { display: none; }

.trending-card {
    flex: 0 0 100px;
    background: var(--white);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.trending-card img {
    width: 35px;
    height: 35px;
    object-fit: contain;
}
.trending-card .card-title {
    font-size: 10px;
    font-weight: 700;
    line-height: 1.2;
}
.trending-card .card-price {
    font-size: 10px;
    font-weight: 700;
}

.popular-cards-container {
    display: flex;
    overflow-x: scroll;
    gap: 12px;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.popular-cards-container::-webkit-scrollbar { display: none; }

.popular-card {
    flex: 0 0 160px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
    position: relative;
    padding-bottom: 8px;
}
.popular-card .card-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}
.popular-card .card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 8px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--white);
}
.popular-card .badge-verified { background-color: #4CAF50; }
.popular-card .badge-fomo { background-color: #F44336; }
.badge-host { background-color: #4CAF50; color: #fff; }
.badge-in-house { background-color: #0f2740; color: #fff; }

.card-marketplace {
    background: #ffffff;
    border: 1px solid #d7e0e8;
    box-shadow: var(--shadow-sm);
}

.card-direct-service {
    background: #f4f9f9;
    border: 2px solid #b9ced6;
    box-shadow: var(--shadow-sm);
}


.popular-card .card-info {
    padding: 0 10px;
    margin-top: 5px;
}
.popular-card .card-title-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}
.popular-card .card-price {
    font-size: 12px;
    font-weight: 700;
}

.card-cta {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    border-radius: 6px;
    padding: 7px 10px;
    display: inline-flex;
}

.btn-outline {
    border: 1px solid #0f2740;
    color: #0f2740;
    background: #fff;
}

.btn-primary {
    border: 1px solid #0f2740;
    color: #fff;
    background: #0f2740;
}

.car-promo-banner {
    background-color: #008080;
    border-radius: 15px;
    padding: 15px;
    color: var(--white);
    margin-top: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
}
.promo-content {
    flex: 1;
    z-index: 2;
}
.promo-content h3 {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
}
.promo-content .promo-price {
    font-size: 12px;
    margin-top: 5px;
    font-weight: 500;
}
.promo-chips {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}
.promo-chip {
    background: rgba(255, 255, 255, 0.2);
    font-size: 9px;
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.4);
}
.promo-whatsapp {
    background: var(--white);
    color: #000;
    border-radius: 20px;
    padding: 4px 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10px;
    font-weight: 700;
    margin-top: 12px;
}
.promo-whatsapp i { color: #25D366; font-size: 12px; }
.promo-img {
    position: absolute;
    right: -10px;
    bottom: 10px;
    width: 140px;
    z-index: 1;
}

.services-grid {
    display: flex;
    overflow-x: scroll;
    gap: 10px;
    padding-bottom: 5px;
    scrollbar-width: none;
}
.services-grid::-webkit-scrollbar { display: none; }

.service-mini-card {
    flex: 0 0 85px;
    background: var(--white);
    border-radius: 10px;
    padding: 10px;
    text-align: left;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--medium-gray);
}
.service-mini-card img {
    width: 25px;
    height: 25px;
    margin-bottom: 5px;
    object-fit: contain;
}
.service-mini-card p {
    font-size: 9px;
    font-weight: 700;
    margin: 0;
    line-height: 1.1;
}

.location-chips-row {
    display: flex;
    overflow-x: scroll;
    gap: 8px;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.location-chips-row::-webkit-scrollbar { display: none; }

.loc-chip {
    flex: 0 0 auto;
    background: #E0F2F1;
    color: #004D40;
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid #B2DFDB;
}


.review-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.review-card {
    background: #fff;
    border: 1px solid #dbe5eb;
    border-radius: 10px;
    padding: 12px;
}

.review-card h3 {
    margin: 0 0 6px;
    font-size: 12px;
}

.review-card p {
    margin: 0 0 6px;
    font-size: 11px;
    color: var(--dark-gray);
}

.review-card span {
    font-size: 10px;
    color: var(--primary-blue);
    font-weight: 700;
}

.footer-nap p {
    margin: 0 0 6px;
    font-size: 10px;
    opacity: 0.86;
    line-height: 1.4;
}

.footer-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding-block: 12px;
    width: 100%;
}

@media screen and (max-width: 899px) {
    .intent-silos-grid {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .intent-silo-card {
        min-width: 220px;
    }
}

/* Mobile Compression Overrides */
@media screen and (max-width: 480px) {
    .header { padding: 6px 12px; }
    .header-center .logo { height: 48px; }
    .header-center .logo-text { font-size: 8px; }
    .header-left i, .header-right i { font-size: 18px; }

    .hero-section-mobile {
        min-height: 50vh;
        max-height: 50vh;
        padding-top: 20px;
        padding-bottom: 10px;
    }
    .hero-text-block { margin-top: 0; }
    .hero-title-mobile {
        font-size: 1.6rem;
        line-height: 1.2;
        margin-bottom: 6px;
    }
    .hero-subtitle-mobile { font-size: 15px; }

    .search-tabs-container {
        margin: 8px 0 0;
        padding: 8px;
        border-radius: 12px;
        max-height: 24vh;
        overflow-y: auto;
    }
    .search-tabs-description {
        display: none;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 6px;
    }
    .tab-buttons { margin-bottom: 6px; padding: 2px; gap: 4px; flex-wrap: nowrap; }
    .tab-button { padding: 5px 0; font-size: 10px; gap: 3px; }
    .search-field { padding: 8px 10px; margin-bottom: 6px; font-size: 12px; }
    .search-field i { font-size: 14px; margin-right: 8px; }
    .search-field input { font-size: 12px; }
    .search-button { padding: 10px; margin-top: 6px; margin-bottom: 0; font-size: 14px; }
    .hero-journey-section { margin-top: 40px; }

    .quick-services-mobile,
    .kochinest-verified,
    .deal-of-the-day,
    .post-earn-cta {
        padding: 12px 12px;
    }

    .intent-silos-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 8px;
        overflow-x: visible;
    }

    .intent-silo-card {
        min-width: 0;
    }

    .section-header { margin-bottom: 8px; }
    .section-header h2 { font-size: 15px; }
    .section-header a { font-size: 11px; }

    .services-grid-mobile { gap: 6px; }
    .service-card-mobile { padding: 8px; min-height: 70px; }
    .service-card-mobile i { font-size: 18px; margin-bottom: 4px; padding: 6px !important; }
    .service-card-mobile span { font-size: 12px; }
    .service-card-mobile p { font-size: 9px; }

    .kochinest-verified .verified-cards-container { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .verified-card { padding-bottom: 6px; }
    .verified-card img { height: 72px; margin-bottom: 4px; }
    .verified-card h3 { font-size: 11px; margin: 0 8px 1px; }
    .verified-card p { font-size: 9px; margin: 0 8px 3px; }
    .verified-card .price { font-size: 12px; margin: 0 8px; }
    .verified-card .price span { font-size: 9px; }
    .verified-card .verified-badge { top: 6px; left: 6px; font-size: 7px; padding: 2px 4px; }
    .verified-card .fa-heart { font-size: 14px; margin-right: 8px; }

    .deal-card { padding: 10px; gap: 10px; }
    .deal-card img { width: 55px; height: 55px; }
    .deal-details h3 { font-size: 12px; margin-bottom: 2px; }
    .deal-details p { font-size: 9px; margin-bottom: 4px; }
    .deal-details .price { font-size: 12px; }
    .book-now-button { padding: 6px 10px; font-size: 10px; }

    .post-earn-card { padding: 12px; gap: 10px; }
    .post-earn-icon i { font-size: 24px; }
    .post-earn-text h4 { font-size: 12px; }
    .post-earn-text p { font-size: 10px; }
    .post-earn-action button { padding: 6px 10px; font-size: 11px; }

    .bottom-navigation { padding: 2px 0; height: 55px; }
    .bottom-navigation .nav-item { font-size: 9px; }
    .bottom-navigation .nav-item i { font-size: 18px; }
    .main-content { padding-bottom: 55px; }
}

/* JavaScript for tab switching (to be added to script.js later) */
/*
document.addEventListener('DOMContentLoaded', () => {
    const tabButtons = document.querySelectorAll('.tab-button');
    const tabContents = document.querySelectorAll('.tab-content');

    tabButtons.forEach(button => {
        button.addEventListener('click', () => {
            tabButtons.forEach(btn => btn.classList.remove('active'));
            button.classList.add('active');

            const targetTab = button.dataset.tab;
            tabContents.forEach(content => {
                if (content.id === targetTab) {
                    content.classList.add('active');
                } else {
                    content.classList.remove('active');
                }
            });
        });
    });
});
*/

/* New Sections Added Styles */
.homes-rooms-section, .packers-movers-section, .fix-repair-section, .partner-cards-section, .business-cta-section {
    background-color: var(--white);
}
.fix-repair-section .services-grid-mobile {
    grid-template-columns: repeat(2, 1fr);
}
.partner-cards-section .verified-cards-container {
    gap: 10px;
}

/* Desktop-only enhancements */
.desktop-nav,
.desktop-header-actions,
.hero-intro,
.hero-tags,
.desktop-location {
    display: none;
}

@media screen and (min-width: 900px) {
    .mobile-only {
        display: none !important;
    }

    .desktop-only {
        display: initial !important;
    }

    .desktop-location.desktop-only {
        display: inline-block !important;
    }

    .desktop-nav.desktop-only,
    .desktop-header-actions.desktop-only {
        display: flex !important;
    }

    body {
        background: #eef3f5;
    }

    .mobile-container {
        max-width: 100%;
        box-shadow: none;
        background: transparent;
    }

    .main-content {
        padding-bottom: 0;
    }

    .main-content > section {
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 32px !important;
        padding-right: 32px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .header {
        padding: 18px 36px;
        position: sticky;
        gap: 20px;
    }

    .header-left,
    .header-right {
        display: none;
    }

    .header-center {
        align-items: flex-start;
        min-width: 240px;
    }

    .header-center .logo {
        height: 72px;
    }

    .header-center .logo-text {
        display: none;
    }

    .desktop-location {
        display: inline-block;
        font-size: 13px;
        color: rgba(255,255,255,0.82);
        font-weight: 600;
    }

    .desktop-nav {
        display: flex;
        gap: 28px;
        align-items: center;
        justify-content: center;
        flex: 1;
        font-size: 15px;
        font-weight: 600;
    }

    .desktop-header-actions {
        display: flex;
        align-items: center;
        gap: 14px;
    }

    .desktop-lang {
        color: #d8e7f5;
        font-size: 14px;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .desktop-login {
        background: #ffffff;
        color: var(--primary-blue);
        padding: 10px 16px;
        border-radius: 999px;
        font-weight: 700;
        font-size: 14px;
    }

    .hero-section-mobile {
        min-height: 60vh;
        align-items: stretch;
        border-radius: 0;
        max-width: 100% !important;
        padding: 0 !important;
    }

    .hero-section-mobile::before {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-attachment: scroll;
    }

    .hero-section-mobile::after {
        background: rgba(0, 0, 0, 0.5);
    }

    .hero-content-overlay {
        max-width: 1320px;
        margin: 0 auto;
        padding: 21px 32px 18px;
        display: flex;
        flex-direction: column;
        gap: 2rem;
        align-items: center;
        justify-content: flex-start;
    }

    .hero-stack {
        gap: 2rem;
        width: 100%;
        align-items: flex-start;
    }

    .hero-text-block {
        margin-top: 0;
        max-width: 640px;
    }

    .hero-title-mobile {
        font-size: 3rem;
        line-height: 1.1;
        margin-bottom: 8px;
    }

    .hero-subtitle-mobile {
        font-size: 32px;
        margin-bottom: 16px;
    }

    .hero-intro {
        display: block;
        font-size: 16px;
        line-height: 1.6;
        color: rgba(255,255,255,0.9);
        margin: 0 0 18px;
        max-width: 560px;
    }

    .hero-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .hero-tags span {
        font-size: 13px;
        font-weight: 700;
        background: rgba(255,255,255,0.16);
        border: 1px solid rgba(255,255,255,0.28);
        padding: 7px 12px;
        border-radius: 999px;
    }

    .search-tabs-container {
        max-width: 100%;
        padding: 13px;
        border-radius: 22px;
        box-shadow: 0 20px 55px rgba(11, 30, 47, 0.22);
        margin: 14px 0 0;
    }

    .search-tabs-container p {
        font-size: 14px !important;
        margin-bottom: 16px !important;
        max-width: 920px;
    }

    .tab-buttons {
        width: min(100%, 420px);
        margin-bottom: 18px;
    }

    .tab-content.active {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
        gap: 14px;
        align-items: center;
    }

    .search-field {
        margin-bottom: 0;
        padding: 13px 14px;
    }

    .search-button {
        margin-top: 0;
        width: auto;
        min-width: 220px;
        padding: 14px 24px;
        height: 50px;
    }

    .search-suggestions {
        width: 420px;
    }

    .intent-silos-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        overflow: visible;
    }

    .intent-silo-card {
        min-width: 0;
    }

    .quick-services-mobile .services-grid-mobile,
    .fix-repair-section .services-grid-mobile {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .service-card-mobile {
        min-height: 132px;
    }

    .verified-cards-container,
    .trending-cards-container,
    .popular-cards-container,
    .services-grid,
    .location-chips-row {
        overflow: visible;
        display: grid;
    }

    .kochinest-verified .verified-cards-container,
    .homes-rooms-section .verified-cards-container,
    .partner-cards-section .verified-cards-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .verified-card,
    .homes-rooms-section .verified-card,
    .partner-cards-section .verified-card {
        flex: initial !important;
        min-width: 0;
        height: 100%;
    }

    .verified-card img {
        height: 180px;
    }

    .trending-cards-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
    }

    .trending-card {
        flex: initial;
        padding: 16px;
        min-height: 170px;
    }

    .trending-card img {
        width: 100%;
        height: 120px;
        border-radius: 10px;
        object-fit: cover;
        margin-bottom: 6px;
    }

    .trending-card .card-title,
    .trending-card .card-price {
        font-size: 15px;
    }

    .popular-cards-container {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .popular-card {
        flex: initial;
    }

    .popular-card .card-img {
        height: 200px;
    }

    .services-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 14px;
    }

    .service-mini-card {
        flex: initial;
        min-height: 140px;
        padding: 16px;
    }

    .service-mini-card img {
        width: 72px;
        height: 72px;
        border-radius: 8px;
        object-fit: cover;
    }

    .service-mini-card p {
        font-size: 15px;
        line-height: 1.35;
    }

    .location-chips-row {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .loc-chip {
        font-size: 13px;
        padding: 8px 15px;
    }

    .deal-card,
    .car-promo-banner,
    .post-earn-card {
        min-height: 240px;
        padding: 24px;
    }

    .deal-card {
        display: grid;
        grid-template-columns: 280px 1fr auto;
        gap: 22px;
        align-items: center;
    }

    .deal-card img {
        width: 100%;
        height: 190px;
        border-radius: 16px;
    }

    .deal-details h3 { font-size: 30px; }
    .deal-details p { font-size: 16px; }
    .deal-details .price { font-size: 30px; }
    .book-now-button { padding: 14px 26px; font-size: 15px; }

    .car-promo-banner {
        display: grid;
        grid-template-columns: 1fr 46%;
        align-items: center;
        gap: 20px;
    }

    .promo-content h3 { font-size: 36px; }
    .promo-content .promo-price { font-size: 20px; }
    .promo-img {
        position: static;
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 14px;
    }

    .post-earn-card {
        align-items: stretch;
    }

    .post-earn-icon i { font-size: 48px; }
    .post-earn-text h4 { font-size: 28px; }
    .post-earn-text p { font-size: 14px; }

    .faq-section {
        max-width: 100% !important;
        padding: 70px 32px !important;
    }

    .faq-section .section-header,
    .faq-section .accordion {
        max-width: 920px;
        margin-left: auto;
        margin-right: auto;
    }

    .site-footer {
        max-width: 100% !important;
        margin-top: 40px;
        border-radius: 28px 28px 0 0 !important;
        padding: 56px 32px 28px !important;
    }

    .site-footer > div:first-child {
        max-width: 1320px;
        margin: 0 auto 32px;
        display: grid !important;
        grid-template-columns: 320px 1fr;
        gap: 40px;
    }

    .site-footer .footer-links-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 28px !important;
    }

    .site-footer .footer-bottom {
        max-width: 1320px;
        margin: 0 auto;
        gap: 20px;
    }

    .bottom-navigation {
        display: none;
    }

    .whatsapp-float-button {
        bottom: 26px;
    }
}

@media (min-width: 1024px) {
    .hero-text-block {
        padding-bottom: 2rem;
    }
}

/* Final desktop override guard (kept at file end for cascade priority) */
@media screen and (min-width: 900px) {
    .mobile-container {
        max-width: 100%;
        width: 100%;
    }
}

/* Pricing Model Section Styles */
.pricing-model-section {
    padding: 24px 16px;
    background: #f8fafc;
    border-radius: 20px;
    margin: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pricing-header {
    text-align: center;
    margin-bottom: 24px;
}

.pricing-badge {
    background: #e0f2fe;
    color: #0369a1;
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
    margin-bottom: 8px;
}

.pricing-header h2 {
    font-family: 'Sora', sans-serif;
    font-size: 22px;
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 6px;
}

.pricing-header p {
    font-size: 13px;
    color: #64748b;
    line-height: 1.4;
    max-width: 500px;
    margin: 0 auto;
}

.pricing-cards-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.01);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.pricing-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
}

.red-glow {
    background: #fef2f2;
    color: #ef4444;
}

.green-glow {
    background: #f0fdf4;
    color: #22c55e;
}

.blue-glow {
    background: #f0f9ff;
    color: #0ea5e9;
}

.pricing-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.pricing-card-content h3 {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    font-family: 'Sora', sans-serif;
}

.pricing-card-content p {
    font-size: 12.5px;
    color: #475569;
    line-height: 1.5;
    margin: 0;
}

.card-detail {
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 4px;
}

/* Desktop styles for Pricing Model Section */
@media screen and (min-width: 900px) {
    .pricing-model-section {
        max-width: 1320px;
        margin: 30px auto;
        padding: 40px 32px;
    }
    
    .pricing-header h2 {
        font-size: 32px;
    }
    
    .pricing-header p {
        font-size: 15px;
    }
    
    .pricing-cards-container {
        flex-direction: row;
        gap: 24px;
    }
    
    .pricing-card {
        flex: 1;
        flex-direction: column;
        padding: 24px;
        gap: 16px;
    }
    
    .pricing-card-icon {
        width: 52px;
        height: 52px;
        font-size: 22px;
    }
}

/* Unlock Contact Button & Auth Modal Styles */
.unlock-number-btn {
    background: #0ea5e9;
    color: #ffffff;
    border: none;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    width: 100%;
    margin-top: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.15);
    transition: background 0.2s ease, transform 0.1s ease;
}

.unlock-number-btn:hover {
    background: #0284c7;
}

.unlock-number-btn:active {
    transform: scale(0.98);
}

.unlock-number-btn i {
    font-size: 11px;
}

.auth-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
    z-index: 1500;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.auth-modal-card {
    background: #ffffff;
    width: 100%;
    max-width: 340px;
    border-radius: 24px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    border: 1px solid #f1f5f9;
    animation: authModalSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.auth-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.auth-modal-header h3 {
    font-family: 'Sora', sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
}

.auth-close-btn {
    background: #f1f5f9;
    border: none;
    color: #64748b;
    font-size: 18px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.auth-close-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.auth-desc {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 16px;
}

.auth-input-group {
    position: relative;
    margin-bottom: 16px;
}

.auth-input-group i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 14px;
}

.auth-input-group input {
    width: 100%;
    padding: 12px 14px 12px 40px;
    border-radius: 12px;
    border: 1.5px solid #cbd5e1;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.auth-input-group input:focus {
    border-color: #0ea5e9;
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.12);
}

.auth-primary-btn {
    background: #0f172a;
    color: #ffffff;
    border: none;
    padding: 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    width: 100%;
    cursor: pointer;
    transition: background 0.2s;
}

.auth-primary-btn:hover {
    background: #1e293b;
}

.auth-secondary-btn {
    background: #ffffff;
    color: #475569;
    border: 1.5px solid #e2e8f0;
    padding: 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
    width: 100%;
    margin-top: 10px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background 0.2s, border-color 0.2s;
}

.auth-secondary-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.auth-resend-container {
    display: flex;
    justify-content: flex-end;
    margin-top: -10px;
    margin-bottom: 16px;
}

.auth-link-btn {
    background: none;
    border: none;
    color: #0ea5e9;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    padding: 0;
    text-decoration: underline;
}

#otpTimer {
    font-size: 12px;
    color: #94a3b8;
}

.auth-status-msg {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 12px;
    text-align: center;
    box-sizing: border-box;
    line-height: 1.4;
}

.auth-status-msg.success {
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

.auth-status-msg.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}


/* Mobile Drawer Login/Logout Styles */
.drawer-welcome {
    transition: background 0.2s ease;
}
.drawer-welcome:active {
    background-color: rgba(255, 255, 255, 0.15) !important;
}
.drawer-location {
    font-size: 12px;
    font-weight: 500;
}


/* LinkedIn-Style Dashboard CSS */
.dashboard-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 20px;
    margin-top: 20px;
}

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

.linkedin-profile-card {
    background: rgba(15, 23, 42, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.profile-card-banner {
    height: 80px;
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
}

.profile-card-avatar {
    width: 85px;
    height: 85px;
    border-radius: 50%;
    border: 4px solid #0f172a;
    background: #1e293b url('https://cdn-icons-png.flaticon.com/512/3135/3135715.png') no-repeat center/cover;
    margin: -45px auto 10px auto;
    position: relative;
    z-index: 2;
}

.profile-card-info {
    text-align: center;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.profile-card-info h3 {
    margin: 0;
    font-size: 18px;
    color: #fff;
    font-weight: 700;
}

.profile-card-info p.profile-purpose {
    margin: 4px 0 0 0;
    font-size: 13px;
    color: #0ea5e9;
    font-weight: 600;
}

.profile-card-info p.profile-contact {
    margin: 4px 0 0 0;
    font-size: 12px;
    color: rgba(255,255,255,0.5);
}

.profile-card-stats {
    padding: 20px;
}

.stat-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
}

.stat-row strong {
    color: #0ea5e9;
    font-size: 18px;
}

.buy-tokens-btn {
    width: 100%;
    background: #0ea5e9;
    color: #fff;
    border: none;
    padding: 10px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.buy-tokens-btn:hover {
    background: #0284c7;
    transform: translateY(-2px);
}

.dashboard-main-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.dashboard-tabs {
    display: flex;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
    overflow-x: auto;
}

.dash-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255,255,255,0.6);
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    border-radius: 6px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-tab-btn.active, .dash-tab-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.08);
}

.dash-tab-content {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    min-height: 300px;
}

.dash-tab-content h3 {
    margin-top: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.dashboard-listings-grid, .dashboard-leads-grid, .dashboard-agreements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.empty-state-text {
    grid-column: 1 / -1;
    text-align: center;
    color: rgba(255,255,255,0.4);
    padding: 40px 20px;
    font-size: 14px;
}

.post-deal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.8);
}

.form-group input, .form-group select {
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    background: rgba(15,23,42,0.6);
    color: #fff;
    outline: none;
    font-size: 14px;
}

.form-group input:focus, .form-group select:focus {
    border-color: #0ea5e9;
}

.post-deal-submit-btn {
    background: #0ea5e9;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    font-size: 15px;
    transition: background 0.2s;
    margin-top: 10px;
}

.post-deal-submit-btn:hover {
    background: #0284c7;
}

.dash-card {
    background: rgba(30, 41, 59, 0.7);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.dash-card img {
    height: 140px;
    object-fit: cover;
    width: 100%;
}

.dash-card-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex-grow: 1;
}

.dash-card h4 {
    margin: 0;
    font-size: 15px;
    color: #fff;
}

.dash-card p {
    margin: 0;
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.dash-card-metrics {
    display: flex;
    justify-content: space-between;
    background: rgba(15,23,42,0.4);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

.dash-card-action-btn {
    background: #0ea5e9;
    color: #fff;
    border: none;
    padding: 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
    margin-top: 5px;
    text-align: center;
    text-decoration: none;
}

.dash-card-action-btn.secondary {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
}

.dash-card-action-btn.secondary:hover {
    background: rgba(255,255,255,0.15);
}

.dash-card-action-btn:hover {
    filter: brightness(1.1);
}
