/* Dark Mode Variables */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #fafafa;
    --bg-card: #fafafa;
    --bg-gradient-start: #f5f5f5;
    --bg-gradient-end: #ffffff;
    --border-color: #f0f0f0;
    --border-light: #e5e5e5;
    --text-primary: #404742;
    --text-secondary: #666;
    --text-muted: #999;
    --button-bg: #1a1a1a;
    --button-text: #ffffff;
    --button-hover: #2a2a2a;
    --nav-bg: rgba(250, 250, 250, 0.8);
    --shadow: rgba(0, 0, 0, 0.08);
    --input-bg: #ffffff;
    --input-focus-bg: #ffffff;
    --input-border: #e5e5e5;
    --input-focus-border: #1a1a1a;
    --select-arrow: #666;
    --thumb: 18px;
}

[data-theme="dark"] {
    --bg-primary: #0a0a0a;
    --bg-secondary: #141414;
    --bg-card: #1a1a1a;
    --bg-gradient-start: #000000;
    --bg-gradient-end: #0a0a0a;
    --border-color: #2a2a2a;
    --border-light: #333;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #666;
    --button-bg: #ffffff;
    --button-text: #0a0a0a;
    --button-hover: #e5e5e5;
    --nav-bg: rgba(20, 20, 20, 0.8);
    --shadow: rgba(0, 0, 0, 0.4);
    --input-bg: #1a1a1a;
    --input-focus-bg: #242424;
    --input-border: #333;
    --input-focus-border: #ffffff;
    --select-arrow: #b0b0b0;
}

html {
  scroll-behavior: smooth;
}

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

/* Remove blue touch highlight on mobile */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Allow text selection for inputs and content areas */
input,
textarea,
[contenteditable],
p,
h1, h2, h3, h4, h5, h6,
span,
a,
li {
    -webkit-user-select: text;
    -khtml-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

body {
    font-family: "Outfit", sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    min-height: 100vh;
    font-size: 16px;
    transition: background 0.3s ease, color 0.3s ease;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

nav {
    border-bottom: 1px solid var(--border-light);
    background: var(--nav-bg);

    position: sticky;
    top: 0;
    z-index: 1000;
    isolation: isolate;
    pointer-events: auto;

    backdrop-filter: blur(60px) saturate(200%);
    -webkit-backdrop-filter: blur(60px) saturate(200%);
}


.nav-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 115px;
    width: auto;
}

.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

/* Dark mode logo switch */
[data-theme="dark"] .logo-light {
    display: none;
}

[data-theme="dark"] .logo-dark {
    display: block;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    transition: color 0.2s ease, background-color 0.2s ease;
    padding: 6px 10px;
    border-radius: 8px;
}

.nav-links a.active {
    color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.06);
}

.nav-links a:hover {
    color: var(--text-primary);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-primary);
    transition: color 0.3s ease;
    position: relative;
    z-index: 1001;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 32px 20px;
    text-align: center;
}

h1 {
    font-size: 48px;
    font-weight: bold;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 20px;
    transition: color 0.3s ease;
    position: relative;
    text-transform: capitalize;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    line-height: 1.5;
    font-weight: 400;
    transition: color 0.3s ease;
}

/* Main Form Section */
.form-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px 80px;
}

.form-card {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    padding: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 32px;
    letter-spacing: -0.02em;
    transition: color 0.3s ease;
    margin-top: 10px;
}

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

label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    transition: color 0.3s ease;
}

input[type="email"],
input[type="number"],
input[type="text"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--input-border);
    border-radius: 10px;
    font-size: 15px;
    background: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.2s ease;
    font-family: inherit;
}

input[type="email"]:focus,
input[type="number"]:focus,
input[type="text"]:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--input-focus-border);
    background: var(--input-focus-bg);
}

input::placeholder,
textarea::placeholder {
    color: var(--text-muted);
}

select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23666' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

[data-theme="dark"] select {
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23b0b0b0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

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

.budget-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.checkbox-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-top: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    margin-right: 10px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--button-bg);
}

.checkbox-item label {
    margin-bottom: 0;
    font-weight: 400;
    cursor: pointer;
    font-size: 15px;
}

/* ==============================
   Feature Selection Cards
   ============================== */

.feature-card-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 12px;
}

.feature-card {
    cursor: pointer;
}

/* Hide checkbox */
.feature-card input[type="checkbox"] {
    display: none;
}

/* Base card style */
.card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    background-color: var(--bg-primary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: all 0.2s ease;
}

/* Hover */
.feature-card:hover .card-content {
    border-color: var(--button-bg);
}

/* ==============================
   SELECTED — LIGHT MODE
   Black background + white text
   ============================== */

.feature-card input[type="checkbox"]:checked + .card-content {
    background-color: #000000ce;
    border-color: var(--button-bg);
    color: #ffffff;
}

/* ==============================
   DARK MODE BASE
   ============================== */

[data-theme="dark"] .card-content {
    background-color: #121212;
    border-color: #2a2a2a;
    color: #bdbdbd;
}

/* ==============================
   SELECTED — DARK MODE
   White background + black text
   ============================== */

[data-theme="dark"]
.feature-card input[type="checkbox"]:checked + .card-content {
    background-color: #ffffffdf;
    border-color: #ffffff;
    color: #000000;
}

/* ==============================
   Accessibility
   ============================== */

.feature-card input[type="checkbox"]:focus + .card-content {
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.15);
}

/* ==============================
   Mobile
   ============================== */

@media (max-width: 480px) {
    .feature-card-group {
        grid-template-columns: 1fr;
    }
}


.submit-btn {
    width: 100%;
    padding: 16px;
    background: var(--button-bg);
    color: var(--button-text);
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 12px;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 5;
}

#preferencesForm {
    position: relative;
    z-index: 1;
}

.submit-btn:hover {
    background: var(--button-hover);
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
    opacity: 0.5;
}

.error {
    color: #dc2626;
    font-size: 13px;
    margin-top: 8px;
    display: none;
    font-weight: 500;
}

.error.show {
    display: block;
}

.success-message {
    display: none;
    text-align: center;
    padding: 60px 20px;
}

.success-message.show {
    display: block;
}

.success-icon {
    width: 56px;
    height: 56px;
    background: var(--button-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 28px;
    color: var(--button-text);
    transition: all 0.3s ease;
}

.success-message h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.success-message p {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

/* Footer - Always Dark Theme */
footer {
    border-top: 1px solid #2a2a2a;
    padding: 60px 32px;
    margin-top: 100px;
    background: #141414;
    transition: all 0.3s ease;
}

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

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
    align-items: start;
}

/* ABOUT */
.footer-about p {
    color: #b0b0b0;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.6;
    transition: color 0.3s ease;
}

.footer-contact {
    color: #ffffff;
    font-weight: 500;
    font-size: 15px;
    transition: color 0.3s ease;
}

/* LEGAL */
.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links a {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.2s ease;
}

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

/* CONNECT US ON (FIXED) */
/* CONNECT US ON */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-icons h4 {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ICON ROW */
.social-row {
    display: flex;
    gap: 12px;
    margin-top: 5px;
}

.social-row a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #1c1c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 15px;
    transition: all 0.25s ease;
    text-decoration: none;
}

.social-row a:hover {
    background: #242424;
    color: #ffffff;
    transform: translateY(-2px);
}

/* FOOTER BOTTOM */
.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #2a2a2a;
    color: #666;
    font-size: 14px;
    transition: all 0.3s ease;
}


/* Page Containers */
.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 45px 32px 45px;
    position: relative;
    z-index: 1;
}

.page-container h1 {
    font-size: 42px;
    margin-bottom: 24px;
    text-align: center;
}

.page-container h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 20px;
}

.page-container p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
    transition: color 0.3s ease;
    text-align: left;
}

.page-container ul {
    color: var(--text-secondary);
    margin-bottom: 20px;
    padding-left: 24px;
    line-height: 1.8;
}

.page-container ul li {
    transition: color 0.3s ease;
}

/* How It Works */
.steps {
    margin-top: 60px;
}

.step {
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 32px;
    margin-bottom: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
}

.step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: var(--button-bg);
    color: var(--button-text);
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.step h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.step p {
    margin: 0;
}

/* Contact Form */
.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 48px;
    margin-top: 40px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px var(--shadow);
    pointer-events: auto;
}

/* Theme Toggle Container with Labels */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    /* transition: color 0.1s ease; */
    user-select: none;
}

.theme-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Theme Toggle Container with Labels */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    user-select: none;
}

.theme-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Theme Toggle Container with Labels */
.theme-toggle-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.theme-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.3s ease;
    user-select: none;
}

.theme-label.active {
    color: var(--text-primary);
    font-weight: 600;
}

/* Theme Toggle - Premium Style */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 20px;
    width: 56px;
    height: 32px;
    display: flex;
    align-items: center;
    padding: 3px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    box-shadow: inset 0 2px 4px var(--shadow);
}

.theme-toggle:hover {
    border-color: var(--border-color);
    box-shadow: inset 0 2px 4px var(--shadow), 0 2px 8px var(--shadow);
}

.theme-slider {
    width: 24px;
    height: 24px;
    background: var(--button-bg);
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Sun icon (light mode) - SVG style */
.theme-slider::before {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: var(--button-text);
    transition: all 0.3s ease;
}

/* Sun rays */
.theme-slider::after {
    content: '';
    position: absolute;
    width: 11px;
    height: 11px;
    border-radius: 50%;
    box-shadow: 
        0 -5px 0 -3px var(--button-text),
        5px 0 0 -3px var(--button-text),
        0 5px 0 -3px var(--button-text),
        -5px 0 0 -3px var(--button-text),
        3.5px -3.5px 0 -3px var(--button-text),
        3.5px 3.5px 0 -3px var(--button-text),
        -3.5px 3.5px 0 -3px var(--button-text),
        -3.5px -3.5px 0 -3px var(--button-text);
    transition: all 0.3s ease;
}

/* When dark mode is active */
[data-theme="dark"] .theme-slider {
    transform: translateX(24px);
}

/* Moon icon (dark mode) - hide sun rays */
[data-theme="dark"] .theme-slider::after {
    opacity: 0;
    transform: scale(0);
}

/* Moon crescent - proper crescent shape */
[data-theme="dark"] .theme-slider::before {
    content: '🌙';
    font-size: 15px;
    width: auto;
    height: auto;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transform: rotate(0deg);
    filter: grayscale(1) brightness(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .nav-links.open {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 72px;
        z-index: 999;
        left: 0;
        right: 0;
        background: var(--bg-card);
        border-bottom: 1px solid var(--border-color);
        padding: 24px 32px;
        gap: 20px;
        box-shadow: 0 4px 20px var(--shadow);
    }

    h1 {
        font-size: 22px;
        margin-bottom: 10px;
    }

    h2 {
        font-size: 18px;
        margin-top: 10px;
    }

    .hero {
        padding: 30px 24px 0px;
    }

    .hero-subtitle {
        font-size: 12px;
    }

    .form-section {
        padding: 0 24px 60px;
    }

    .form-card {
        padding: 10px 24px;
    }

    .budget-inputs,
    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-container {
        padding: 60px 24px;
    }

    .page-container h1 {
        font-size: 32px;
    }

    .contact-form {
        padding: 32px 24px;
    }

    .theme-toggle-container {
        position: absolute;
        right: 80px;
        gap: 8px;
    }
    
    .theme-label {
        font-size: 12px;
    }
    
    .theme-toggle {
        width: 48px;
        height: 28px;
    }
    
    .theme-slider {
        width: 20px;
        height: 20px;
    }
    
    /* Smaller moon in mobile */
    [data-theme="dark"] .theme-slider::before {
        font-size: 12px;
    }
    
    [data-theme="dark"] .theme-slider {
        transform: translateX(20px);
    }

    .faq-section {
        margin: 60px auto;
        padding: 0 24px 60px;
    }

    .faq-container h2 {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .faq-question {
        padding: 20px 20px;
    }

    .faq-question h4 {
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 14px;
    }

    .nav-container {
        justify-content: flex-start !important;
    }

    .logo {
        margin-right: auto;
        padding-left: 10px;
    }

    .logo-light,
    .logo-dark {
        height: 34px;
        width: auto;
    }
}

@media (max-width: 480px) {
    .nav-container {
        justify-content: flex-left !important;
        padding-left: 1px;
    }

    .logo {
        display: flex;
        align-items: center;
        margin-right: auto;
    }

    .logo-light,
    .logo-dark {
        height: 95px;
        width: auto;
    }
}


/* FAQ Section */
.faq-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 32px 80px;
}

.faq-container h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    margin-bottom: 48px;
    text-align: center;
}

.faq-item {
    background: #f8f8f8;  /* Light gray in light mode */
    border: 1px solid #e8e8e8;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

[data-theme="dark"] .faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
}

.faq-item:hover {
    border-color: #d0d0d0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .faq-item:hover {
    border-color: var(--border-light);
    box-shadow: 0 2px 12px var(--shadow);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f0f0f0;
}

[data-theme="dark"] .faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question h4 {
    font-size: 17px;
    font-weight: 600;
    color: #2a2a2a;  /* Darker text in light mode */
    letter-spacing: -0.01em;
    margin: 0;
    padding-right: 20px;
    line-height: 1.5;
}

[data-theme="dark"] .faq-question h4 {
    color: var(--text-primary);
}

.faq-icon {
    font-size: 20px;
    color: #4a4a4a;  /* Darker icon in light mode */
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

[data-theme="dark"] .faq-icon {
    color: var(--text-secondary);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 28px 24px;
    margin: 0;
    color: #555; 
    font-size: 15px;
    line-height: 1.7;
}

[data-theme="dark"] .faq-answer p {
    color: var(--text-secondary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .faq-section {
        margin: 60px auto;
        padding: 0 24px 60px;
    }

    .faq-container h2 {
        font-size: 26px;
        margin-bottom: 32px;
    }

    .faq-question {
        padding: 20px 20px;
    }

    .faq-question h4 {
        font-size: 16px;
    }

    .faq-answer p {
        padding: 0 20px 20px;
        font-size: 14px;
    }
}


@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

#progressContainer {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin: 20px 0;
}

.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.success-icon {
    width: 60px;
    height: 60px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: white;
    font-weight: bold;
}

.success-message h3 {
    color: #2c3e50;
    margin-bottom: 12px;
    font-size: 24px;
}

.success-message p {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}


.other-feature-card {
    display: flex;
    height: 52px;
    align-items: center;
    padding: 14px 18px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    cursor: text;
}

.other-feature-card input[type="text"] {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    background: transparent;
    color: #111827;
}

.other-feature-card .card-content {
    margin-left: 10px;
    color: #6b7280;
    white-space: nowrap;
}


.radio-group {
    display: flex;
    gap: 20px;
    margin-bottom: 10px;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
    cursor: pointer;
}

.date-input {
    margin-top: 8px;
    padding: 10px 12px;
    font-size: 16px;
    border-radius: 6px;
    border: 1px solid #ccc;
    width: 100%;
}


.range-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.range-value {
    background: #374151;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.range-slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.slider-track {
    position: relative;
    height: 6px;
    background: #d1d5db;
    border-radius: 6px;
    margin: 40px 0 10px 0;
}

.slider-range {
    position: absolute;
    height: 100%;
    background: #10b981;
    border-radius: 6px;
}

.slider-inputs {
    position: relative;
    top: -15px;
}

input[type="range"] {
    -webkit-appearance: none;
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    border-radius: 6px;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #10b981;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #ef4444;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    border: none;
}

.rent-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 12px;
}

.rent-ticks span {
    font-size: 12px;
    color: #6b7280;
}

.budget-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    display: none;
}

.budget-error.show {
    display: block;
}

.commute-values {
    display: flex;
    justify-content: space-between;
    margin-bottom: 16px;
}

.commute-value {
    background: #374151;
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
}

.commute-slider-container {
    position: relative;
    width: 100%;
    margin-bottom: 12px;
}

.commute-track {
    position: relative;
    height: 6px;
    background: #d1d5db;
    border-radius: 6px;
    margin: 10px 0 10px 0;
}

.commute-range {
    position: absolute;
    height: 100%;
    background: #10b981;
    border-radius: 6px;
}

.commute-inputs {
    position: relative;
    top: -15px;
}

.commute-inputs input[type="range"] {
    -webkit-appearance: none;
    position: absolute;
    width: 100%;
    height: 6px;
    background: transparent;
    pointer-events: none;
    border-radius: 6px;
}

.commute-inputs input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #10b981;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.commute-inputs input[type="range"]::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: white;
    border: 3px solid #ef4444;
    cursor: pointer;
    pointer-events: all;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.commute-ticks {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    padding: 0 12px;
}

.commute-ticks span {
    font-size: 12px;
    color: #6b7280;
}




/* Custom Dropdown */
/* Custom Dropdown */
.custom-select {
    position: relative;
    width: 100%;
}

.custom-select-trigger {
    width: 100%;
    padding: 14px 16px;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 15px;
    color: var(--text-primary);
    transition: all 0.2s;
}

.custom-select-trigger:hover {
    border-color: var(--input-focus-border);
}

.custom-select-trigger svg {
    width: 12px;
    height: 8px;
    transition: transform 0.2s;
    color: var(--text-secondary);
}

.custom-select.open .custom-select-trigger svg {
    transform: rotate(180deg);
}

.custom-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    display: none;
    box-shadow: 0 4px 12px var(--shadow);
}

.custom-select.open .custom-options {
    display: block;
}

.custom-option {
    padding: 12px 16px;
    cursor: pointer;
    color: var(--text-primary);
    transition: background 0.15s;
}

.custom-option:hover {
    background: var(--bg-secondary);
}

.custom-option.selected {
    background: var(--button-bg);
    color: var(--button-text);
}

/* ========================================
   SUCCESS PAGE - PREMIUM STYLES
   ======================================== */

.success-hero {
    padding: 35px 32px 35px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
}

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

.success-checkmark {
    width: 80px;
    height: 80px;
    margin: 0 auto 32px;
    color: #10b981;
    animation: scaleIn 0.5s ease-out;
}

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

.success-title {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    line-height: 1.2;
}

.success-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.6;
}

.success-content {
    padding: 0 32px 100px;
}

.success-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 48px;
    box-shadow: 0 4px 24px var(--shadow);
}

.success-description {
    font-size: 18px;
    color: var(--text-primary);
    line-height: 1.7;
    text-align: center;
    margin-bottom: 48px;
}

.success-description strong {
    color: var(--text-primary);
    font-weight: 600;
}

.success-timeline {
    margin-bottom: 40px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px var(--shadow);
    border-color: var(--border-color);
}

.timeline-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #10b981;
    color: var(--button-text);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timeline-content h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}

.timeline-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.success-email-card {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 28px;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border: 2px solid var(--border-color);
    border-radius: 16px;
    margin-bottom: 40px;
}

.email-icon {
    font-size: 48px;
    flex-shrink: 0;
}

.email-content h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.email-content p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.success-support {
    text-align: center;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
}

.support-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.support-description {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.support-description a {
    color: var(--button-bg);
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}

.support-description a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .success-hero {
        padding: 60px 24px 40px;
    }

    .success-title {
        font-size: 32px;
    }

    .success-subtitle {
        font-size: 16px;
    }

    .success-content {
        padding: 0 24px 60px;
    }

    .success-main-card {
        padding: 32px 24px;
        border-radius: 16px;
    }

    .success-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .timeline-icon {
        width: 40px;
        height: 40px;
    }

    .timeline-content h3 {
        font-size: 16px;
    }

    .timeline-content p {
        font-size: 14px;
    }

    .success-email-card {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 24px;
    }

    .email-icon {
        font-size: 40px;
    }

    .email-content h4 {
        font-size: 18px;
    }

    .email-content p {
        font-size: 14px;
    }

    .support-title {
        font-size: 16px;
    }

    .support-description {
        font-size: 14px;
    }
}


/* Premium Loader Overlay */
.loader-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.loader-overlay.active {
    display: flex;
}

.loader-content {
    text-align: center;
    color: white;
}

.spinner {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.loader-content p {
    font-size: 14px;
    opacity: 0.8;
}
