/* ----------------------------------------------------
   しまんと不動産 Modern Design System
   Color Theme: Shimanto Blue & Nature Green
---------------------------------------------------- */
:root {
    --primary: #0A66C2;
    --primary-hover: #084E96;
    --primary-light: #EBF4FE;
    
    --secondary: #2E7D32;
    --secondary-hover: #1B5E20;
    --secondary-light: #E8F5E9;
    
    --accent: #F59E0B;
    --accent-hover: #D97706;
    
    --dark: #0F172A;
    --dark-muted: #334155;
    --gray-light: #F8FAFC;
    --gray-border: #E2E8F0;
    --gray-text: #64748B;
    
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 16px 40px rgba(15, 23, 42, 0.12);
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 9999px;
    
    --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-num: 'Plus Jakarta Sans', var(--font-sans);
}

/* Reset & Base */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-sans);
    color: var(--dark-muted);
    background-color: var(--gray-light);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 70px; /* Space for mobile sticky CTA */
}

@media (min-width: 992px) {
    body {
        padding-bottom: 0;
    }
}

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

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

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

button, select, input {
    font-family: inherit;
}

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

/* Typography Helpers */
.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-muted { color: var(--gray-text); }
.mt-auto { margin-top: auto; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 16px; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}
.btn-primary:hover {
    background-color: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--dark);
}
.btn-accent:hover {
    background-color: var(--accent-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
}

.btn-line {
    background-color: #06C755;
    color: var(--white);
}
.btn-line:hover {
    background-color: #05B34C;
    color: var(--white);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.btn-phone {
    background-color: var(--secondary);
    color: var(--white);
}
.btn-phone:hover {
    background-color: var(--secondary-hover);
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}
.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
}

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

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.75rem;
    font-weight: 700;
}

.badge-accent {
    background-color: #FEF3C7;
    color: #B45309;
}

.badge-rent {
    background-color: #E0F2FE;
    color: #0369A1;
}

.badge-buy {
    background-color: #DCFCE7;
    color: #15803D;
}

.badge-land {
    background-color: #FEF9C3;
    color: #A16207;
}

/* Header Navbar */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-border);
    transition: all 0.3s ease;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tagline {
    font-size: 0.7rem;
    color: var(--gray-text);
}

.desktop-nav {
    display: none;
    gap: 28px;
}

@media (min-width: 992px) {
    .desktop-nav {
        display: flex;
    }
}

.nav-link {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--dark-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

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

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

.icon-btn {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--gray-border);
    background: var(--white);
    cursor: pointer;
    font-size: 1.2rem;
    color: var(--dark-muted);
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-btn .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: #EF4444;
    color: var(--white);
    font-size: 0.65rem;
    padding: 2px 6px;
}

.header-actions .btn-sm {
    display: none;
}

@media (min-width: 768px) {
    .header-actions .btn-sm {
        display: inline-flex;
    }
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.8rem;
    color: var(--dark);
    cursor: pointer;
    display: flex;
}

@media (min-width: 992px) {
    .mobile-toggle {
        display: none;
    }
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.mobile-drawer.active {
    visibility: visible;
    opacity: 1;
}

.drawer-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.6);
}

.drawer-content {
    position: absolute;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--white);
    display: flex;
    flex-direction: column;
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-drawer.active .drawer-content {
    right: 0;
}

.drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--gray-border);
}

.drawer-title {
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--dark);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.drawer-body {
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.drawer-item {
    font-weight: 700;
    color: var(--dark-muted);
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.drawer-contacts {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.drawer-footer {
    margin-top: auto;
    border-top: 1px solid var(--gray-border);
    padding-top: 16px;
}

.sub-group-title {
    font-size: 0.75rem;
    color: var(--gray-text);
    margin-bottom: 8px;
    font-weight: 700;
}

.group-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.group-links a {
    font-size: 0.85rem;
    color: var(--dark-muted);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 580px;
    padding: 60px 0 80px;
    display: flex;
    align-items: center;
}

.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.85);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 100%);
}

.hero-container {
    position: relative;
    z-index: 10;
    color: var(--white);
}

.hero-text-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.hero-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

.hero-subtitle {
    font-size: 1.05rem;
    max-width: 680px;
    margin-bottom: 32px;
    opacity: 0.95;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

/* Search Card Component */
.search-card-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    color: var(--dark-muted);
}

.search-tabs {
    display: flex;
    background: var(--gray-light);
    border-bottom: 1px solid var(--gray-border);
    overflow-x: auto;
}

.search-tab {
    flex: 1;
    min-width: 130px;
    padding: 16px 12px;
    background: none;
    border: none;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gray-text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border-bottom: 3px solid transparent;
}

.search-tab:hover {
    color: var(--primary);
}

.search-tab.active {
    background: var(--white);
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.search-form-body {
    padding: 24px;
}

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

@media (min-width: 768px) {
    .form-grid {
        grid-template-columns: repeat(3, 1fr) auto;
        align-items: end;
    }
}

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

.form-group label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--dark-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.form-control {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    border: 1px solid var(--gray-border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    background-color: var(--white);
    color: var(--dark);
    transition: border-color 0.2s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 102, 194, 0.15);
}

.extra-filter-row {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-border);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.filter-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--gray-text);
}

.chip-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gray-light);
    border: 1px solid var(--gray-border);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    transition: all 0.2s ease;
}

.chip-checkbox:hover {
    border-color: var(--primary);
}

.chip-checkbox input:checked + span,
.chip-checkbox:has(input:checked) {
    background: var(--primary-light);
    border-color: var(--primary);
    color: var(--primary);
    font-weight: 700;
}

/* Sections Base */
.section {
    padding: 60px 0;
}

.section-header {
    margin-bottom: 40px;
}

.sub-heading {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 6px;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--dark);
    line-height: 1.3;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.2rem;
    }
}

/* Category Grid Shortcuts */
.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

@media (min-width: 992px) {
    .category-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 24px;
    }
}

.cat-card {
    background: var(--white);
    padding: 24px 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.cat-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 16px;
}

.bg-emerald { background: #ECFDF5; color: #10B981; }
.bg-blue { background: #EFF6FF; color: #3B82F6; }
.bg-amber { background: #FFFBEB; color: #F59E0B; }
.bg-purple { background: #F3E8FF; color: #A855F7; }

.cat-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 4px;
}

.cat-card p {
    font-size: 0.8rem;
    color: var(--gray-text);
    margin-bottom: 16px;
}

.cat-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Property Listings */
.flex-header {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

@media (min-width: 768px) {
    .flex-header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
    }
}

.sort-controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.total-count-badge {
    font-size: 0.9rem;
    color: var(--dark-muted);
}

.property-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .property-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .property-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Property Card */
.property-card {
    background: var(--white);
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.property-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
}

.p-thumb {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.p-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.property-card:hover .p-thumb img {
    transform: scale(1.05);
}

.p-badge-type {
    position: absolute;
    top: 12px;
    left: 12px;
}

.p-fav-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(4px);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #94A3B8;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.p-fav-btn.active {
    color: #EF4444;
    background: var(--white);
}

.p-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.p-title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
    line-height: 1.35;
}

.p-price-row {
    margin-bottom: 12px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.p-price {
    font-family: var(--font-num);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.p-price-unit {
    font-size: 0.9rem;
    font-weight: 700;
}

.p-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    padding: 12px 0;
    border-top: 1px dashed var(--gray-border);
    border-bottom: 1px dashed var(--gray-border);
    margin-bottom: 16px;
    font-size: 0.825rem;
}

.p-spec-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--dark-muted);
}

.p-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.p-tag {
    font-size: 0.7rem;
    background: var(--gray-light);
    color: var(--gray-text);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
}

.p-footer {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

/* Migration Section */
.migration-banner {
    background: linear-gradient(135deg, #064E3B 0%, #047857 100%);
    border-radius: var(--radius-lg);
    color: var(--white);
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .migration-banner {
        grid-template-columns: 1.2fr 0.8fr;
    }
}

.migration-content {
    padding: 40px 30px;
}

@media (min-width: 768px) {
    .migration-content {
        padding: 50px;
    }
}

.migration-content h2 {
    font-size: 1.8rem;
    font-weight: 900;
    margin: 16px 0;
    line-height: 1.3;
}

.migration-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 24px 0;
}

.m-feat {
    display: flex;
    gap: 12px;
}

.m-feat i {
    font-size: 1.5rem;
    color: #A7F3D0;
}

.m-feat h4 {
    font-size: 0.95rem;
    font-weight: 700;
}

.m-feat p {
    font-size: 0.8rem;
    opacity: 0.85;
}

.migration-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.migration-image {
    position: relative;
    min-height: 300px;
}

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

/* Owner Section */
.owner-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .owner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.owner-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--gray-border);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    text-align: center;
}

.owner-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-pill);
    background: var(--primary-light);
    color: var(--primary);
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.owner-card h3 {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.owner-card p {
    font-size: 0.9rem;
    color: var(--gray-text);
    margin-bottom: 24px;
}

/* About Company */
.about-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 40px 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-border);
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .about-card {
        grid-template-columns: 1fr 1fr;
    }
}

.company-specs {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.spec-item {
    font-size: 0.9rem;
    display: flex;
    gap: 12px;
}

.spec-label {
    font-weight: 700;
    width: 90px;
    color: var(--dark);
}

.mock-map {
    width: 100%;
    height: 100%;
    min-height: 260px;
    background: #E2E8F0;
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--dark-muted);
    font-weight: 700;
}

.map-icon {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 8px;
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 60px 0 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-bottom: 40px;
}

@media (min-width: 768px) {
    .footer-container {
        grid-template-columns: 2fr 1fr 1.5fr;
    }
}

.footer-desc {
    font-size: 0.85rem;
    color: #94A3B8;
    margin-top: 16px;
    max-width: 400px;
}

.footer-links h4,
.footer-group-info h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.footer-links ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: #94A3B8;
    font-size: 0.9rem;
}

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

.group-btn-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.group-btn {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.group-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    font-size: 0.8rem;
    color: #64748B;
}

/* Mobile Sticky CTA Bar */
.mobile-sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: var(--white);
    border-top: 1px solid var(--gray-border);
    z-index: 999;
    display: flex;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.08);
}

@media (min-width: 992px) {
    .mobile-sticky-bar {
        display: none;
    }
}

.sticky-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--white);
}

.sticky-btn i {
    font-size: 1.2rem;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

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

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.7);
}

.modal-dialog {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

.modal-lg {
    max-width: 800px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--gray-border);
}

.modal-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--dark);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-text);
}

.modal-body {
    padding: 24px;
}

/* Simulator Output Box */
.sim-result-box {
    margin-top: 20px;
    padding: 20px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    text-align: center;
    border: 1px solid rgba(10, 102, 194, 0.2);
}

.sim-price-val {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary);
    margin: 8px 0;
}

.sim-note {
    font-size: 0.75rem;
    color: var(--gray-text);
}
