/* ============================================
   JIGO Tenant - Dark Theme (Firstbase.io Inspired)
   ============================================ */

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    /* Gradient accent colors */
    --gradient-start: #F5A623;
    --gradient-end: #FFCA28;
    --gradient: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);

    /* Dark theme colors */
    --black: #000000;
    --gray-950: #050505;
    --gray-900: #0a0a0a;
    --gray-850: #111111;
    --gray-800: #1a1a1a;
    --gray-750: #222222;
    --gray-700: #2d2d2d;
    --gray-600: #4a4a4a;
    --gray-500: #6b6b6b;
    --gray-400: #9a9a9a;
    --gray-300: #c4c4c4;
    --gray-200: #e5e5e5;
    --gray-100: #f5f5f5;
    --white: #ffffff;

    --success: #10b981;

    /* Dark theme shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow: 0 1px 3px rgba(0, 0, 0, 0.4), 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4), 0 2px 4px -1px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.5), 0 10px 10px -5px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 60px rgba(245, 166, 35, 0.3);

    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-2xl: 24px;
    --radius-full: 9999px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-200);
    background: var(--gray-900);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--gray-300);
    text-decoration: none;
    transition: all 0.2s ease;
}

a:hover {
    color: var(--white);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--gradient-start);
    outline-offset: 2px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 120px 0;
}

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

.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gradient-start);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    max-width: 560px;
    margin: 0 auto;
    font-weight: 400;
}

/* Gradient text animation */
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    background-size: 200% 200%;
}

/* Rotating text animation */
.rotating-text {
    display: inline-block;
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(10, 10, 10, 0.95);
    box-shadow: var(--shadow-md);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
    text-decoration: none;
}

.nav-logo:hover {
    color: var(--white);
}

.nav-logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    object-fit: contain;
}

.logo-icon {
    width: 32px;
    height: 32px;
    border-radius: var(--radius);
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-400);
    transition: color 0.2s ease;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
}

.nav-dropdown-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 280px;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 8px 0;
    margin-top: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-lg);
}

.nav-dropdown:hover .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
}

.nav-dropdown-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 20px;
    color: var(--gray-300);
    transition: all 0.2s ease;
}

.nav-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.dropdown-item-title {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--white);
}

.dropdown-item-subtitle {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-500);
}

.nav-dropdown-item:hover .dropdown-item-subtitle {
    color: var(--gray-400);
}

.flag-icon {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    margin-right: 8px;
    vertical-align: middle;
}

.nav-link:hover {
    color: var(--white);
}

.nav-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--gray-900) !important;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.9375rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nav-cta:hover {
    background: var(--gray-100);
    transform: translateY(-1px);
}

.nav-cta svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}

.nav-cta:hover svg {
    transform: translateX(2px);
}

.nav-mobile-toggle {
    display: none;
    background: none;
    padding: 8px;
}

.nav-mobile-toggle svg {
    width: 24px;
    height: 24px;
    color: var(--white);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    background: var(--gray-900);
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(245, 166, 35, 0.25) 0%, rgba(255, 202, 40, 0.15) 30%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: glowMove 12s ease-in-out infinite;
}

@keyframes glowMove {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    25% {
        transform: translate(-40%, -55%) scale(1.1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-55%, -45%) scale(1.15);
        opacity: 0.7;
    }
    75% {
        transform: translate(-45%, -50%) scale(1.05);
        opacity: 0.9;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px 20px;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 32px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--gradient);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-400);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
}

/* Hero Form */
.hero-form {
    max-width: 720px;
    margin: 0 auto 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.hero-input-group {
    width: 100%;
    display: flex;
    align-items: center;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 6px 6px 6px 20px;
    transition: all 0.2s ease;
}

.hero-input-group:focus-within {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glow);
}

.input-icon {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    flex-shrink: 0;
}

.hero-input {
    flex: 1;
    border: none;
    padding: 16px 16px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    min-width: 0;
}

.hero-input::placeholder {
    color: var(--gray-500);
}

.hero-input:focus {
    outline: none;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.hero-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.hero-btn:hover svg {
    transform: translateX(2px);
}

/* Hero Meta */
.hero-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--gray-400);
}

.meta-item svg {
    width: 16px;
    height: 16px;
    color: var(--success);
}

/* ============================================
   LOGOS SECTION
   ============================================ */
.logos-section {
    padding: 60px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    background: var(--gray-900);
    overflow: hidden;
}

.logos-label {
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 32px;
}

.logos-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logos-scroll-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    width: max-content;
    animation: scrollLogos 40s linear infinite;
}

.logos-scroll-track:hover {
    animation-play-state: paused;
}

@keyframes scrollLogos {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.logo-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.client-logo {
    height: 40px;
    max-width: 150px;
    width: auto;
    object-fit: contain;
    /* Invert colors: white bg becomes black, dark logo becomes white */
    filter: invert(1) grayscale(1) contrast(1.2);
    mix-blend-mode: screen;
    opacity: 0.6;
    transition: all 0.3s ease;
}

/* For logos that already have dark/black backgrounds - don't invert */
.client-logo.logo-dark-bg {
    filter: grayscale(1) brightness(1.5) contrast(1.2);
    mix-blend-mode: screen;
}

.logo-item:hover .client-logo {
    opacity: 1;
}

/* ============================================
   HOW IT WORKS (STEPS)
   ============================================ */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.step-card {
    text-align: left;
    padding: 32px;
    background: var(--gray-850);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all 0.3s ease;
}

.step-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.step-number {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--gradient-start);
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}

.step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.step-desc {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   FEATURES GRID
   ============================================ */
.features-section {
    background: var(--gray-850);
}

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

.feature-card {
    padding: 32px;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    transition: all 0.2s ease;
}

.feature-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-large {
    grid-column: span 1;
    grid-row: span 2;
    display: flex;
    flex-direction: column;
}

.feature-large .feature-desc {
    flex: 1;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(245, 166, 35, 0.1);
    border: 1px solid rgba(245, 166, 35, 0.2);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    color: var(--gradient-start);
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-desc {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.6;
}

/* ============================================
   CITIES SECTION
   ============================================ */
.cities-section {
    background: var(--gray-900);
}

.cities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.city-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: var(--gray-850);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    color: var(--gray-300);
    transition: all 0.2s ease;
}

.city-card:hover {
    border-color: var(--gradient-start);
    background: rgba(245, 166, 35, 0.05);
    color: var(--white);
}

.city-name {
    font-size: 1rem;
    font-weight: 500;
}

.city-card svg {
    width: 18px;
    height: 18px;
    opacity: 0;
    transform: translateX(-4px);
    transition: all 0.2s ease;
    color: var(--gradient-start);
}

.city-card:hover svg {
    opacity: 1;
    transform: translateX(0);
}

/* ============================================
   RENEWALS BANNER
   ============================================ */
.renewals-banner {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.1) 0%, rgba(255, 202, 40, 0.1) 100%);
    border-top: 1px solid rgba(245, 166, 35, 0.2);
    border-bottom: 1px solid rgba(245, 166, 35, 0.2);
    padding: 80px 0;
}

.renewals-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.renewals-text {
    max-width: 600px;
}

.renewals-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gradient-start);
    margin-bottom: 12px;
}

.renewals-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.renewals-desc {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.6;
}

.renewals-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--white);
    color: var(--gray-900) !important;
    padding: 16px 32px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.renewals-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.renewals-btn svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.renewals-btn:hover svg {
    transform: translateX(3px);
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials-section {
    background: var(--gray-850);
}

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

.testimonial-card {
    background: var(--gray-800);
    padding: 32px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
}

.testimonial-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 16px;
    height: 16px;
    color: var(--gradient-end);
}

.testimonial-quote {
    font-size: 1rem;
    color: var(--gray-300);
    line-height: 1.7;
    margin-bottom: 28px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--white);
    font-size: 0.875rem;
}

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

.author-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--white);
}

.author-role {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-section {
    background: var(--gray-900);
}

.faq-grid {
    max-width: 720px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 28px 0;
    background: none;
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--white);
    text-align: left;
    transition: color 0.2s ease;
    gap: 16px;
}

.faq-question span {
    flex: 1;
}

.faq-question:hover {
    color: var(--gradient-start);
}

.faq-question svg {
    width: 20px;
    height: 20px;
    color: var(--gray-500);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-item.open .faq-question svg {
    transform: rotate(180deg);
    color: var(--gradient-start);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 28px;
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
}

/* ============================================
   FINAL CTA SECTION
   ============================================ */
.final-cta {
    background: var(--gray-850);
    padding: 120px 0;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.75rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.cta-form {
    max-width: 520px;
    margin: 0 auto;
}

.cta-input-group {
    display: flex;
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 6px;
}

.cta-input-group input {
    flex: 1;
    border: none;
    padding: 16px 20px;
    font-size: 1rem;
    color: var(--white);
    background: transparent;
    min-width: 0;
}

.cta-input-group input::placeholder {
    color: var(--gray-500);
}

.cta-input-group input:focus {
    outline: none;
}

.cta-input-group button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 14px 24px;
    border-radius: var(--radius-lg);
    font-size: 0.9375rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.cta-input-group button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.cta-input-group button svg {
    width: 18px;
    height: 18px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--black);
    padding: 64px 0 40px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-links {
    display: flex;
    gap: 80px;
}

.footer-col h4 {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 12px;
}

.footer-col a {
    font-size: 0.9375rem;
    color: var(--gray-500);
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 40px;
}

.footer-legal {
    font-size: 0.8125rem;
    color: var(--gray-600);
    line-height: 1.7;
    max-width: 720px;
}

.footer-legal-links {
    margin-top: 16px;
    font-size: 0.9375rem;
}

.footer-legal-links a {
    color: var(--gray-400);
}

.footer-legal-links a:hover {
    color: var(--white);
}

.footer-copyright {
    margin-top: 12px;
    font-size: 0.8125rem;
    color: var(--gray-600);
}

/* ============================================
   MODAL
   ============================================ */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    padding: 24px;
    backdrop-filter: blur(8px);
}

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

.modal {
    background: var(--gray-800);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.95) translateY(10px);
    transition: transform 0.3s ease;
}

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

.modal-header {
    padding: 28px 28px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    letter-spacing: -0.02em;
}

.modal-close {
    background: none;
    padding: 8px;
    color: var(--gray-500);
    transition: all 0.2s ease;
    border-radius: var(--radius);
}

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

.modal-close svg {
    width: 24px;
    height: 24px;
}

.modal-body {
    padding: 28px;
}

.modal-body > p {
    font-size: 0.9375rem;
    color: var(--gray-400);
    margin-bottom: 28px;
}

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

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-300);
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--white);
    background: var(--gray-900);
    transition: all 0.2s ease;
    font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-500);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 3px rgba(245, 166, 35, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input[readonly] {
    background: var(--gray-850);
    color: var(--gray-400);
}

.modal-submit {
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--gradient);
    color: var(--white);
    padding: 16px 24px;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.modal-submit svg {
    width: 18px;
    height: 18px;
}

/* Success state */
.modal-success {
    text-align: center;
    padding: 48px 28px;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon svg {
    width: 40px;
    height: 40px;
    color: var(--success);
}

.modal-success h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.modal-success p {
    color: var(--gray-400);
    margin-bottom: 0;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1024px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cities-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-links {
        gap: 48px;
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .section {
        padding: 80px 0;
    }

    .section-title {
        font-size: 2rem;
    }

    .section-subtitle {
        font-size: 1rem;
    }

    /* Navigation */
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--gray-900);
        flex-direction: column;
        padding: 24px;
        gap: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-mobile-toggle {
        display: block;
    }

    /* Hero */
    .hero {
        min-height: auto;
        padding-top: 72px;
    }

    .hero-content {
        padding: 60px 16px 80px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 1.0625rem;
        margin-bottom: 32px;
    }

    .hero-input-group {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

    .input-icon {
        display: none;
    }

    .hero-input {
        padding: 14px 16px;
        text-align: center;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .hero-meta {
        gap: 20px;
    }

    .meta-item {
        font-size: 0.8125rem;
    }

    /* Steps */
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }

    /* Cities */
    .cities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .city-card {
        padding: 16px 20px;
    }

    /* Renewals */
    .renewals-banner {
        padding: 60px 0;
    }

    .renewals-content {
        flex-direction: column;
        text-align: center;
    }

    .renewals-title {
        font-size: 1.75rem;
    }

    /* Testimonials */
    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* FAQ */
    .faq-question {
        font-size: 1rem;
        padding: 24px 0;
    }

    /* Final CTA */
    .final-cta {
        padding: 80px 0;
    }

    .cta-title {
        font-size: 2rem;
    }

    .cta-input-group {
        flex-direction: column;
        padding: 12px;
        gap: 12px;
    }

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

    .cta-input-group button {
        width: 100%;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

    .footer-brand {
        max-width: 100%;
    }

    .footer-links {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-badge {
        font-size: 0.8125rem;
        padding: 8px 16px;
    }

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

    .section-title {
        font-size: 1.75rem;
    }

    .cta-title {
        font-size: 1.75rem;
    }
}
