/* ===== CSS VARIABLES ===== */
:root {
    --primary-color: #0ea5e9; /* Light blue */
    --primary-dark: #0284c7;
    --primary-light: #e0f2fe;
    --accent-color: #10b981; /* Emerald green */
    
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --text-light: #f9fafb;
    
    --bg-main: #ffffff;
    --bg-soft: #f3f4f6;
    --bg-card: #ffffff;
    
    --border-color: #e5e7eb;
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition: all 0.3s ease;
}

/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    background-color: var(--bg-soft);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

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

.section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.grid {
    display: grid;
    gap: 30px;
}

/* ===== BUTTONS ===== */
.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    transition: var(--transition);
}

.header.scrolled .header-inner {
    height: 65px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo span b {
    color: var(--text-main);
}

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

.nav-links a:not(.btn-primary) {
    font-weight: 500;
    color: var(--text-main);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* ===== HERO SECTION ===== */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
    margin-top: 0;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    color: white;
}

.badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-content h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -1px;
}

.text-gradient {
    background: linear-gradient(to right, #60a5fa, #34d399); /* Blue to Green gradient */
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p.highlight-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    color: #f3f4f6;
    margin-bottom: 40px;
    max-width: 700px;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.hero-trust-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.95rem;
    font-weight: 500;
}

.trust-badge i {
    color: var(--accent-color);
}

.hero-action-box {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 25px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 600px;
}

.hero-quick-form {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.hero-quick-form input {
    flex: 1;
    padding: 15px 20px;
    border-radius: var(--radius-md);
    border: none;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.hero-quick-form input:focus {
    box-shadow: 0 0 0 3px rgba(255,255,255,0.4);
}

.hero-quick-form .btn-primary {
    padding: 15px 30px;
    font-size: 1rem;
    white-space: nowrap;
}

.hero-secondary-action {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.btn-text {
    color: white;
    font-weight: 600;
    text-decoration: underline;
    transition: var(--transition);
}

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

.hero-social-proof {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ===== PROJECTS ===== */
.projects-section {
    background: var(--bg-soft);
}

.projects-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.project-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-img-wrapper {
    position: relative;
    height: 240px;
    overflow: hidden;
}

.project-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-img-wrapper img {
    transform: scale(1.05);
}

.status-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.project-info {
    padding: 25px;
}

.project-location {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 10px;
}

.project-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.project-meta {
    display: flex;
    justify-content: space-between;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 15px;
}

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

.meta-value {
    display: block;
    font-weight: 700;
    color: var(--primary-color);
}

.meta-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.project-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 15px;
}

/* ===== GUIDE SECTION ===== */
.guide-section {
    background: white;
}

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

.guide-card {
    background: var(--bg-soft);
    padding: 40px 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    transition: var(--transition);
}

.guide-card:hover {
    background: var(--primary-light);
    transform: translateY(-5px);
}

.icon-wrapper {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
    color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.guide-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.guide-card p {
    color: var(--text-muted);
}

/* ===== CRITERIA SECTION ===== */
.criteria-section {
    background: var(--bg-soft);
    padding-top: 0;
}

.criteria-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.criteria-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.criteria-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px dashed var(--border-color);
}

.criteria-header i {
    font-size: 1.5rem;
    color: var(--primary-color);
    background: var(--primary-light);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.criteria-header h3 {
    font-size: 1.2rem;
    color: var(--text-main);
}

.sub-group {
    margin-bottom: 25px;
}

.sub-group h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--text-muted);
    font-size: 1rem;
}

.check-list li {
    margin-bottom: 12px;
}

.check-list label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: var(--transition);
}

.check-list label:hover {
    color: var(--primary-color);
}

.check-list input[type="checkbox"] {
    appearance: none;
    background-color: #fff;
    margin: 0;
    font: inherit;
    color: currentColor;
    width: 1.15em;
    height: 1.15em;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: grid;
    place-content: center;
    margin-top: 3px;
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}

.check-list input[type="checkbox"]::before {
    content: "";
    width: 0.65em;
    height: 0.65em;
    transform: scale(0);
    transition: 120ms transform ease-in-out;
    box-shadow: inset 1em 1em white;
    background-color: white;
    transform-origin: center;
    clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.check-list input[type="checkbox"]:checked {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
}

.check-list input[type="checkbox"]:checked::before {
    transform: scale(1);
}

/* ===== SPECIAL POLICY SECTION ===== */
.special-policy-section {
    background: white;
    padding-top: 0;
}

.policy-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    background: var(--primary-light);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.policy-content {
    padding: 50px;
}

.badge-accent {
    background: var(--accent-color);
    color: white;
    border: none;
    margin-bottom: 20px;
}

.policy-content h2 {
    font-size: 2.2rem;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.policy-content > p {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 30px;
}

.policy-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 40px;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: white;
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.step-icon {
    background: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 5px;
}

.step p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.download-box {
    background: white;
    padding: 25px;
    border-radius: var(--radius-md);
    border-left: 5px solid var(--accent-color);
}

.download-box h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

.download-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-soft);
    padding: 10px 15px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.dl-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.policy-image {
    position: relative;
}

.policy-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
    background: var(--primary-dark);
    color: white;
    position: relative;
    overflow: hidden;
}

.contact-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: white;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.contact-info {
    background: var(--primary-color);
    padding: 50px;
    color: white;
}

.contact-info h2 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.contact-info p {
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.contact-list i {
    font-size: 1.2rem;
    opacity: 0.8;
}

.contact-form {
    padding: 50px;
    color: var(--text-main);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-muted);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-notice {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 15px;
}

/* ===== INTERIOR SECTION ===== */
.interior-section {
    background: white;
}

.interior-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: 250px 250px;
    gap: 20px;
    margin-bottom: 30px;
}

.interior-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.interior-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-3px);
}

.interior-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.interior-item:hover img {
    transform: scale(1.05);
}

.interior-item.large {
    grid-row: span 2;
}

.disclaimer-box {
    background: var(--primary-light);
    border-left: 5px solid var(--primary-color);
    padding: 30px;
    border-radius: var(--radius-md);
    margin-top: 30px;
}

.disclaimer-box h4 {
    color: var(--primary-dark);
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.disclaimer-box h4 i {
    color: #f59e0b;
}

.disclaimer-box p {
    color: var(--text-main);
    margin-bottom: 10px;
    font-size: 1rem;
    line-height: 1.6;
}

.mt-3 {
    margin-top: 20px;
}

/* ===== FINANCIAL SECTION ===== */
.financial-section {
    background: white;
}

.financial-box {
    display: grid;
    grid-template-columns: 3fr 2fr;
    gap: 40px;
    align-items: center;
}

.fin-compare {
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.fin-vs {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--text-main);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.2rem;
    z-index: 2;
    border: 4px solid white;
}

.fin-card {
    flex: 1;
    padding: 30px;
    border-radius: var(--radius-xl);
    text-align: center;
    position: relative;
}

.fin-card.rent {
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
}

.fin-card.buy {
    background: var(--primary-light);
    border: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.badge-hot {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #ef4444;
    color: white;
    padding: 4px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.fin-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.fin-card.rent .fin-icon { color: var(--text-muted); }
.fin-card.buy .fin-icon { color: var(--primary-color); }

.fin-amount {
    font-size: 2rem;
    font-weight: 800;
    margin: 15px 0;
}

.fin-card.rent .fin-amount { color: var(--text-main); }
.fin-card.buy .fin-amount { color: var(--primary-dark); }

.fin-amount span {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-muted);
}

.fin-list {
    text-align: left;
    margin-top: 20px;
}

.fin-list li {
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.fin-card.rent .fin-list li i { color: #ef4444; margin-right: 8px; }
.fin-card.buy .fin-list li i { color: var(--accent-color); margin-right: 8px; }

.fin-details {
    background: var(--bg-soft);
    padding: 35px;
    border-radius: var(--radius-xl);
}

.fin-details h3 {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--text-main);
}

.math-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dashed var(--border-color);
}

.math-row span {
    color: var(--text-muted);
}

.math-row strong {
    color: var(--text-main);
}

.highlight-row {
    margin-top: 10px;
    padding: 15px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    border: none;
}

.highlight-row strong {
    color: var(--primary-dark);
    font-size: 1.2rem;
}

/* ===== PROCESS SECTION ===== */
.process-section {
    background: var(--bg-soft);
}

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

.process-step {
    background: white;
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary-light);
    opacity: 0.5;
    z-index: 0;
}

.step-icon-large {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.process-step h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.process-step p {
    color: var(--text-muted);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--text-main);
    color: white;
    padding: 30px 0;
}

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

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-box {
        grid-template-columns: 1fr;
    }
    
    .policy-card {
        grid-template-columns: 1fr;
    }
    .policy-image {
        height: 300px;
    }
    
    .financial-box {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-quick-form {
        flex-direction: column;
    }
    
    .hero-quick-form .btn-primary {
        width: 100%;
        justify-content: center;
    }
    
    .guide-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .contact-info, .contact-form {
        padding: 30px;
    }
    
    .fin-compare {
        flex-direction: column;
    }
    
    .fin-vs {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
}
