/* ==========================================================================
   CSS STYLING SYSTEM - PH DESIGN BLACK & CHAMPAGNE GOLD (VITE ALIGNED)
   ========================================================================== */

/* --- CORE DESIGN SYSTEM VARIABLES --- */
:root {
    --bg-dark: #080809;
    --bg-card: rgba(15, 15, 17, 0.85);
    --bg-glass: rgba(18, 18, 20, 0.6);
    --gold-50: #FFF9E6;
    --gold-100: #FAE6AC;
    --gold-200: #ECC971;
    --gold-300: #E5B33A;
    --gold-400: #C59B27;
    --gold-500: #9C7216;
    --gold-border: rgba(236, 201, 113, 0.18);
    --gold-glow: rgba(236, 201, 113, 0.15);
    --text-white: #F3F4F6;
    --text-muted: #9CA3AF;
    --text-light: #E5E7EB;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* --- BASE STYLES AND RESETS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Scrollbar customizations */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: #0C0C0E;
}
::-webkit-scrollbar-thumb {
    background: var(--gold-400);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-200);
}

/* Ambient Radial Glow and Grid Backdrop */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 50% 10%, rgba(236, 201, 113, 0.08) 0%, transparent 60%),
        radial-gradient(circle at 10% 70%, rgba(156, 114, 22, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(236, 201, 113, 0.03) 0%, transparent 40%),
        radial-gradient(rgba(18, 17, 21, 0.45) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 100% 100%, 16px 16px;
    z-index: -2;
    pointer-events: none;
}

/* Dynamic floating canvas particles layer */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Core Container */
.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   HEADER DESIGN
   ========================================================================== */
.main-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
    opacity: 0;
    transform: translateY(-20px);
    animation: fadeInHeader 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInHeader {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Luxurious Logo */
.logo-container {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.logo-container:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 0 10px rgba(236, 201, 113, 0.35));
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    letter-spacing: 0.25em;
}

.logo-ph {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--gold-100) 0%, var(--gold-200) 50%, var(--gold-400) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-design {
    font-size: 1.05rem;
    font-weight: 300;
    letter-spacing: 0.4em;
    color: var(--text-muted);
    text-transform: uppercase;
}

.logo-underline {
    width: 48px;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, var(--gold-200), transparent);
    margin-top: 4px;
}

/* Main title exactly like image */
.main-title {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FFF2CC 0%, var(--gold-200) 50%, #A8811F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
    margin-bottom: 12px;
}

/* Subtitle and split lines */
.subtitle-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    max-width: 800px;
    width: 100%;
}

.sub-line {
    flex-grow: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 201, 113, 0.25), transparent);
    max-width: 60px;
}

.subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.8px;
    line-height: 1.5;
    font-style: italic;
}

.header-divider {
    width: 64px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-100), var(--gold-400));
    margin-top: 14px;
    border-radius: 2px;
}

/* ==========================================================================
   TAB VIEW SWITCHER BUTTONS
   ========================================================================== */
.tab-switcher {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(18, 18, 20, 0.9);
    border: 1px solid #1c1c1f;
    padding: 4px;
    border-radius: 12px;
    margin-top: 35px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    max-width: 440px;
    width: 100%;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

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

.tab-btn.active {
    background-color: var(--gold-200);
    color: #0A0A0B;
    box-shadow: 0 4px 15px rgba(236, 201, 113, 0.25);
}

.tab-icon {
    width: 15px;
    height: 15px;
}

/* Dynamic View Swappings */
.view-content {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.view-content.active {
    display: block;
    opacity: 1;
}

/* ==========================================================================
   VIEW 1: FLOWCHART SECTION
   ========================================================================== */
.flowchart-section {
    position: relative;
    margin-top: 30px;
    margin-bottom: 50px;
}

/* SVG CONNECTORS OVERLAY */
.connectors-svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.connector-line {
    stroke: url(#connector-grad);
    stroke-width: 2.2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 2.5px rgba(236, 201, 113, 0.25));
    stroke-dasharray: 6 12;
    animation: flow-pulse-neon 18s linear infinite;
}

@keyframes flow-pulse-neon {
    to {
        stroke-dashoffset: -360;
    }
}

/* FLOWCHART GRID LAYOUT (DESKTOP) */
.flowchart-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-row-gap: 40px;
    grid-column-gap: 80px;
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    padding: 30px 0;
}

/* --- STUNNING GLASS PROCESS CARDS (REACT MATCHING) --- */
.flow-card {
    background: rgba(10, 10, 12, 0.8); /* bg-neutral-950/80 */
    backdrop-filter: blur(16px);
    border: 1px solid rgba(197, 155, 39, 0.35); /* border-gold-400/35 */
    border-radius: 12px; /* rounded-xl */
    padding: 16px 24px; /* px-6 py-4 */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px; /* gap-6 is 24px */
    position: relative;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.3); /* shadow-xl */
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

.flow-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Interactive card spotlight glow overlay */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(236, 201, 113, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.flow-card:hover .card-glow {
    opacity: 1;
}

.flow-card:hover {
    border-color: var(--gold-200); /* hover:border-gold-300 */
    transform: translateY(-2px) scale(1.02); /* whileHover={{ scale: 1.02, translateY: -2 }} */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Card Size variations */
.wide-card {
    grid-column: 1 / span 2;
    justify-self: center;
    width: 100%;
    max-width: 680px; /* max-w-2xl */
}

.half-card {
    width: 100%;
    max-width: 380px; /* w-[380px] */
    padding: 16px 20px; /* px-5 py-4 */
    gap: 16px; /* gap-4 */
}

.left-branch {
    grid-column: 1;
    justify-self: end;
}

.right-branch {
    grid-column: 2;
    justify-self: start;
}

/* Step badges numbers (React matched) */
.step-badge {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 50%;
    border: 1px solid var(--gold-400); /* border-gold-400 */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gold-200); /* text-gold-200 */
    transition: var(--transition-smooth);
    z-index: 2;
    flex-shrink: 0;
    user-select: none;
}

.half-card .step-badge {
    width: 40px; /* w-10 is 40px */
    height: 40px;
    min-width: 40px;
    font-size: 1rem;
}

/* Card Icons Box (Far Right - React matched - enlarged) */
.card-icon {
    background-color: #171717; /* bg-neutral-900 */
    border: 1px solid #262626; /* border-neutral-800 */
    border-radius: 12px; /* rounded-xl */
    padding: 6px; 
    width: 64px; /* Enlarged to 64px on desktop! */
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    transition: var(--transition-smooth);
}

.half-card .card-icon {
    border-color: #1f1f23; /* border-neutral-850 is roughly #1f1f23 */
    width: 56px; /* Enlarged for half-cards on desktop! */
    height: 56px;
    border-radius: 10px;
    padding: 5px;
}

.card-icon svg {
    width: 100%;
    height: 100%;
    transition: var(--transition-smooth);
}

.flow-card:hover .card-icon svg {
    transform: scale(1.05);
}

/* Inline SVG custom styles */
.svg-stroke {
    stroke: url(#gold-grad);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.svg-stroke-filled {
    stroke: url(#gold-grad);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: rgba(236, 201, 113, 0.08);
}

.svg-fill {
    fill: url(#gold-grad);
}

.svg-fill-dark {
    fill: var(--bg-dark);
}

.svg-text {
    fill: url(#gold-grad);
    font-family: var(--font-body);
}

/* Card Texts (React matched) */
.card-content {
    flex-grow: 1;
    z-index: 2;
    text-align: left;
}

.card-content h3 {
    font-family: var(--font-heading);
    font-size: 1.125rem; /* text-lg */
    font-weight: 700;
    color: var(--gold-200); /* text-gold-200 */
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.half-card .card-content h3 {
    font-size: 0.875rem; /* text-sm */
}

.flow-card:hover .card-content h3 {
    color: var(--gold-100);
}

.card-content p {
    font-size: 0.75rem; /* text-xs */
    color: var(--text-muted); /* text-neutral-400 */
    line-height: 1.5;
    font-weight: 400;
}

.half-card .card-content p {
    font-size: 0.68rem; /* text-[11px] */
}

/* Action hint on hover */
.action-hint {
    font-size: 0.7rem;
    color: var(--gold-200);
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateX(-8px);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
    z-index: 2;
    font-weight: 600;
}

.flow-card:hover .action-hint {
    opacity: 1;
    transform: translateX(0);
}

.arrow-right {
    transition: transform 0.3s ease;
}

.flow-card:hover .arrow-right {
    transform: translateX(3px);
}

/* ==========================================================================
   DECISION SHAPE (MIDDLE PILL HEXAGON)
   ========================================================================== */
.decision-container {
    grid-column: 1 / span 2;
    justify-self: center;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: var(--transition-smooth);
}

.decision-container.visible {
    opacity: 1;
    transform: translateY(0);
}

.decision-box {
    background: rgba(18, 18, 20, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid var(--gold-300);
    padding: 12px 35px;
    position: relative;
    border-radius: 16px;
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.6),
        0 0 25px rgba(236, 201, 113, 0.15);
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: default;
    transition: var(--transition-smooth);
}

/* Small elegant gold brackets on corners */

.decision-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(236, 201, 113, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.decision-icon {
    width: 26px;
    height: 26px;
}

.decision-icon svg {
    width: 100%;
    height: 100%;
}

.decision-text-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.decision-text {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold-200);
}

.decision-sub {
    font-size: 0.68rem;
    color: var(--text-muted);
    font-weight: 400;
    letter-spacing: 0.5px;
    margin-top: 1px;
}

.mobile-tip {
    text-align: center;
    font-size: 0.72rem;
    font-style: italic;
    color: var(--text-muted);
    opacity: 0.6;
    margin: 25px auto 10px auto;
    width: 100%;
    display: block;
}

/* ==========================================================================
   VIEW 2: BUDGET CALCULATOR VIEWPORT
   ========================================================================== */
.budget-calculator-container {
    max-width: 960px;
    margin: 15px auto 40px auto;
    background: rgba(10, 10, 12, 0.95);
    border: 1px solid rgba(236, 201, 113, 0.25);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 
        0 25px 60px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(236, 201, 113, 0.15);
    backdrop-filter: blur(12px);
}

.calc-header-tag {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #0A0A0C;
    border: 1px solid var(--gold-400);
    padding: 6px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-200);
    white-space: nowrap;
}

.tag-icon {
    width: 14px;
    height: 14px;
    color: var(--gold-200);
}

.calc-layout-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-top: 15px;
}

/* Parameter panel */
.calc-inputs-panel {
    grid-column: 1 / span 7;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.panel-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--gold-200);
    display: flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.panel-bar {
    width: 5px;
    height: 22px;
    background-color: var(--gold-400);
    border-radius: 4px;
    display: inline-block;
}

.panel-header p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 4px;
    line-height: 1.4;
}

.parameter-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.param-group {
    display: flex;
    flex-direction: column;
}

.param-label {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gold-100);
    margin-bottom: 8px;
}

/* 1. Project Type Selector buttons */
.project-types-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
}

.type-btn {
    background: rgba(18, 18, 20, 0.6);
    border: 2px solid #1a1a1c;
    border-radius: 10px;
    padding: 10px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-svg {
    width: 20px;
    height: 20px;
    margin-bottom: 6px;
    color: var(--gold-200);
    transition: var(--transition-smooth);
}

.btn-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-white);
}

.btn-desc {
    font-size: 0.58rem;
    color: var(--text-muted);
    margin-top: 2px;
    line-height: 1.1;
}

.type-btn.active {
    background: rgba(236, 201, 113, 0.05);
    border-color: var(--gold-200);
}

.type-btn.active .btn-title {
    color: var(--gold-200);
}

.type-btn.active .btn-svg {
    transform: scale(1.1);
}

/* Range slider container */
.slider-bg-box {
    background: rgba(18, 18, 20, 0.3);
    border: 1px solid #161618;
    padding: 16px;
    border-radius: 12px;
}

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

.slider-display-value {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--gold-200);
    letter-spacing: 0.5px;
}

.gold-range-slider {
    width: 100%;
    height: 6px;
    background: #1e1e22;
    border-radius: 6px;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.gold-range-slider::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold-200);
    border: 1px solid #080809;
    box-shadow: 0 0 6px var(--gold-200);
    transition: transform 0.2s ease;
}

.gold-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.65rem;
    color: #6B7280;
    font-family: monospace;
    margin-top: 5px;
}

/* Floor levels row selection */
.floors-row {
    display: flex;
    gap: 8px;
}

.floor-btn {
    flex: 1;
    padding: 8px 0;
    background: rgba(18, 18, 20, 0.4);
    border: 1px solid #1c1c1f;
    border-radius: 8px;
    color: var(--text-muted);
    font-family: monospace;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.floor-btn:hover {
    border-color: #3f3f46;
}

.floor-btn.active {
    background-color: var(--gold-200);
    color: #0A0A0B;
    border-color: var(--gold-200);
}

/* Quality Packages selection */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pkg-btn {
    background: rgba(18, 18, 20, 0.2);
    border: 1px solid #1c1c1f;
    border-radius: 10px;
    padding: 12px;
    text-align: left;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

.pkg-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 2px;
}

.pkg-desc {
    font-size: 0.58rem;
    color: var(--text-muted);
    line-height: 1.2;
}

.pkg-btn:hover {
    border-color: #3f3f46;
}

.pkg-btn.active {
    background: rgba(18, 18, 20, 0.5);
    border-color: var(--gold-200);
}

.pkg-btn.active .pkg-title {
    color: var(--gold-200);
}

/* Results panel card (Right Column) */
.calc-results-panel {
    grid-column: 8 / span 5;
    background: #0C0C0E;
    border: 1px solid #1e1e22;
    border-radius: 14px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.results-glowing-glow {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(236, 201, 113, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.results-mono-tag {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 750;
    color: var(--gold-200);
    display: block;
    margin-bottom: 12px;
}

/* Luxury Class Header & Stars */
.luxury-class-header {
    border-bottom: 1px solid #1c1c1f;
    padding-bottom: 14px;
    margin-bottom: 16px;
    text-align: left;
}

.total-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.luxury-class-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #FFE093 0%, #ECC971 50%, #C59B27 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    text-shadow: 0 0 15px rgba(236, 201, 113, 0.25);
    margin-bottom: 6px;
    line-height: 1.2;
}

.luxury-stars-row {
    display: flex;
    gap: 4px;
}

.star-rating {
    color: var(--gold-200);
    font-size: 0.85rem;
    letter-spacing: 3px;
    text-shadow: 0 0 8px rgba(236, 201, 113, 0.6);
}

/* Luxury Dynamic Progress Bar */
.luxury-progress-block {
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.luxury-progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.progress-label {
    font-size: 0.68rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.progress-percentage {
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--gold-200);
    text-shadow: 0 0 6px rgba(236, 201, 113, 0.4);
}

.luxury-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(18, 18, 20, 0.8);
    border: 1px solid rgba(236, 201, 113, 0.15);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.5);
}

.luxury-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-400) 0%, var(--gold-200) 50%, var(--gold-100) 100%);
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(236, 201, 113, 0.5);
    transition: width 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
}

.luxury-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(255,255,255,0) 0%,
        rgba(255,255,255,0.15) 50%,
        rgba(255,255,255,0) 100%
    );
    animation: luxury-shine 2s infinite linear;
}

@keyframes luxury-shine {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Qualitative Specs List */
.value-spec-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 12px;
}

.value-spec-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 6px 0;
    text-align: left;
}

.spec-bullet {
    color: var(--gold-200);
    font-size: 0.75rem;
    text-shadow: 0 0 4px rgba(236, 201, 113, 0.4);
    margin-top: 1px;
    flex-shrink: 0;
}

.spec-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
    align-items: flex-start;
}

.spec-title {
    font-size: 0.68rem;
    color: var(--text-muted);
    line-height: 1.3;
}

.spec-status {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-white);
}

.spec-status.green-status {
    color: #10B981;
    text-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.special-perk-box {
    background: rgba(18, 18, 20, 0.8);
    border: 1px solid #1f1f23;
    padding: 10px 12px;
    border-radius: 8px;
    margin-top: 20px;
}

.perk-light {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--gold-200);
    display: block;
    margin-bottom: 2px;
}

.special-perk-box p {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.3;
}

/* Booking Compact form inside right panel bottom */
.results-bottom-block {
    margin-top: 24px;
    border-top: 1px solid #1c1c1f;
    padding-top: 20px;
}

.booking-compact-form {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.booking-inputs-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.booking-input {
    background: rgba(10, 10, 12, 0.8);
    border: 1px solid #1e1e22;
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    outline: none;
    transition: var(--transition-smooth);
}

.booking-input:focus {
    border-color: var(--gold-200);
}

.booking-submit-btn {
    background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 100%);
    border: none;
    border-radius: 8px;
    padding: 10px;
    color: #0A0A0C;
    font-family: var(--font-body);
    font-weight: 750;
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    box-shadow: 0 4px 15px rgba(236, 201, 113, 0.1);
}

.booking-submit-btn:hover {
    box-shadow: 0 6px 20px rgba(236, 201, 113, 0.2);
    transform: translateY(-1px);
}

.btn-arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.2s ease;
}

.booking-submit-btn:hover .btn-arrow {
    transform: translateX(3px);
}

/* Success Ticket */
.booking-success-box {
    background: rgba(236, 201, 113, 0.05);
    border: 1px dashed rgba(236, 201, 113, 0.35);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    display: none; /* JS will toggle */
}

.success-icon {
    width: 32px;
    height: 32px;
    color: var(--gold-200);
    margin: 0 auto 8px auto;
}

.booking-success-box h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--gold-200);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.booking-success-box p {
    font-size: 0.68rem;
    color: var(--text-light);
    line-height: 1.4;
}

.btn-recalculate {
    background: transparent;
    border: none;
    color: var(--gold-200);
    text-decoration: underline;
    font-size: 0.65rem;
    font-weight: 600;
    cursor: pointer;
    margin-top: 8px;
}

.hotline-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    font-size: 0.6rem;
    color: var(--text-muted);
}

.hotline-phone-icon {
    width: 11px;
    height: 11px;
    color: var(--gold-200);
}

/* ==========================================================================
   DECORATIVE STAR SECTION BREAK LINE
   ========================================================================== */
.star-section-divider {
    position: relative;
    height: 40px;
    margin-top: 50px;
    margin-bottom: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-dashed-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold-border) 0, var(--gold-border) 4px, transparent 4px, transparent 8px);
}

.divider-center-star {
    position: relative;
    z-index: 1;
    background-color: #08080900;
    /* background-color: var(--bg-dark); */
    padding: 0 16px;
}

.star-sparkle {
    color: var(--gold-200);
    font-size: 1.1rem;
    text-shadow: 0 0 6px var(--gold-200);
    animation: animate-star-glow 2.5s ease-in-out infinite;
    display: block;
}

@keyframes animate-star-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(0.95);
    }
    50% {
        opacity: 1;
        transform: scale(1.1);
    }
}

/* ==========================================================================
   CAM KẾT THỰC THI SECTION
   ========================================================================== */
.promises-section {
    max-width: 960px;
    margin: 0 auto 60px auto;
    background: linear-gradient(to bottom, rgba(10,10,12,0.6) 0%, rgba(10,10,12,0.95) 100%);
    border: 1px solid #141416;
    border-radius: 20px;
    padding: 30px;
}

.promises-header {
    text-align: center;
    margin-bottom: 30px;
}

.promises-mono {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
    font-weight: 750;
    color: var(--gold-200);
    font-family: monospace;
    display: block;
    margin-bottom: 2px;
}

.promises-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    color: var(--text-white);
}

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

.promise-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px;
    transition: var(--transition-smooth);
}

.promise-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 1px solid var(--gold-border);
    background: rgba(18, 18, 20, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.promise-circle svg {
    width: 48px;
    height: 48px;
}

/* Hover Promise states */
.promise-item:hover {
    transform: translateY(-4px);
}

.promise-item:hover .promise-circle {
    border-color: rgba(236, 201, 113, 0.35);
    background: rgba(236, 201, 113, 0.03);
    box-shadow: 
        0 10px 25px rgba(0, 0, 0, 0.5),
        0 0 15px rgba(236, 201, 113, 0.2);
}

.promise-item h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--gold-200);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.promise-item p {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.4;
    max-width: 190px;
}

/* Divider vertical rails like the React app between columns */
.promise-item:not(:first-child) {
    position: relative;
}

@media (min-width: 901px) {
    .promise-item:not(:first-child)::before {
        content: "";
        position: absolute;
        left: -8px;
        top: 20px;
        bottom: 20px;
        width: 1px;
        background-color: #1a1a1c;
    }
}

/* ==========================================================================
   FOOTER AREA
   ========================================================================== */
.main-footer {
    border-top: 1px solid #141416;
    padding-top: 20px;
    margin-top: 40px;
}

.footer-layout {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.65rem;
    color: var(--text-muted);
}

.hotline-link {
    color: var(--gold-200);
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.footer-phone-icon {
    width: 10px;
    height: 10px;
}

/* ==========================================================================
   SPLIT SCREEN PREMIUM MODAL SYSTEM
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(16px);
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-box {
    width: 92%;
    max-width: 860px;
    background: linear-gradient(to bottom, #111113 0%, #080809 100%);
    border: 1px solid rgba(236, 201, 113, 0.25);
    box-shadow: 
        0 25px 65px rgba(0, 0, 0, 0.8),
        0 0 35px rgba(236, 201, 113, 0.15);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: row;
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

/* --- LEFT PANEL: IMAGE AND CAROUSEL --- */
.modal-left-panel {
    width: 42%;
    background-color: #040405;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    border-right: 1px solid #161618;
}

.active-slide-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.modal-gallery-img {
    width: 100%;
    height: 100%;
    object-cover: cover;
    object-position: center;
    opacity: 0.8;
    transition: transform 4s ease;
}

.modal-gallery-img:hover {
    transform: scale(1.05);
}

.gallery-shadow-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #080809 0%, rgba(8, 8, 9, 0.3) 60%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 2;
}

.modal-gallery-header {
    position: relative;
    z-index: 3;
    padding: 16px;
}

.modal-badge-tag {
    background: rgba(18, 18, 20, 0.9);
    border: 1px solid var(--gold-200);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: var(--gold-200);
    font-family: monospace;
}

.modal-gallery-pagination {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
    margin-bottom: 4px;
}

.modal-gallery-pagination .dot-btn {
    appearance: none;
    width: 7px !important;
    height: 7px !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 7px;
    max-height: 7px;
    flex: 0 0 auto;
    padding: 0 !important;
    background: #4B5563;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    font-size: 0;
    line-height: 0;
    transition: var(--transition-smooth);
}

.modal-gallery-pagination .dot-btn:hover {
    background: #9CA3AF;
}

.modal-gallery-pagination .dot-btn.active {
    background: var(--gold-200);
    width: 20px !important;
    max-width: 20px;
    height: 7px !important;
    border-radius: 5px;
}

.modal-gallery-footer-tag {
    position: relative;
    z-index: 3;
    display: block;
    font-size: 0.58rem;
    color: var(--text-muted);
    font-family: monospace;
    text-align: center;
    padding: 12px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.modal-gallery-footer-tag:hover {
    color: var(--gold-200);
}

/* --- RIGHT PANEL: DELIVERABLES & DETAIL TEXT --- */
.modal-right-panel {
    width: 58%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: rgba(18, 18, 20, 0.7);
    border: 1px solid #1c1c1f;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px;
    max-height: 28px;
    aspect-ratio: 1 / 1;
    padding: 0 !important;
    flex: 0 0 28px;
    border-radius: 50%;
    color: var(--text-muted);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    z-index: 20;
    line-height: 1;
}

.modal-close:hover {
    color: var(--gold-200);
    border-color: rgba(236, 201, 113, 0.4);
    transform: rotate(90deg);
}

.modal-right-content {
    padding: 24px;
    max-height: 480px;
    overflow-y: auto;
}

/* Custom scroll bar inside modal right panel */
.modal-right-content::-webkit-scrollbar {
    width: 5px;
}
.modal-right-content::-webkit-scrollbar-track {
    background: transparent;
}
.modal-right-content::-webkit-scrollbar-thumb {
    background: #1f1f23;
    border-radius: 3px;
}

.modal-category-bar {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.bullet-gold {
    width: 8px;
    height: 8px;
    background-color: var(--gold-300);
    border-radius: 50%;
    display: inline-block;
}

.category-text {
    font-size: 0.62rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 750;
    color: var(--gold-200);
}

.modal-step-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.modal-description-box {
    margin-bottom: 20px;
}

.modal-description-text {
    font-size: 0.72rem;
    line-height: 1.5;
    color: var(--text-light);
    border-left: 2px solid var(--gold-200);
    padding-left: 12px;
}

/* Timeline with icon */
.modal-timeline-box {
    background: rgba(18, 18, 20, 0.5);
    border: 1px solid #1a1a1c;
    padding: 10px 14px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.timeline-calendar-icon {
    width: 18px;
    height: 18px;
    color: var(--gold-200);
}

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

.timeline-label {
    font-size: 0.58rem;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.timeline-value {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gold-200);
    font-family: monospace;
    margin-top: 1px;
}

/* Deliverables checklists */
.modal-deliverables-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.deliverables-header-title {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-100);
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.deliv-icon {
    width: 14px;
    height: 14px;
    color: var(--gold-200);
}

.deliverables-check-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
}

.deliv-item {
    background: #0E0E10;
    border: 1px solid #141416;
    border-radius: 6px;
    padding: 8px 10px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--text-light);
    line-height: 1.3;
}

.deliv-check-icon {
    width: 14px;
    height: 14px;
    color: var(--gold-200);
    flex-shrink: 0;
    margin-top: 1px;
}

/* Modal Bottom Pagination & QC Banner */
.modal-right-footer {
    border-top: 1px solid #161618;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-nav-buttons {
    display: flex;
    gap: 6px;
}

.modal-nav-btn {
    background: rgba(18, 18, 20, 0.9);
    border: 1px solid #1a1a1c;
    padding: 6px 12px;
    border-radius: 6px;
    color: var(--text-muted);
    font-family: var(--font-body);
    font-size: 0.68rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 4px;
}

.modal-nav-btn:hover:not(:disabled) {
    border-color: rgba(236, 201, 113, 0.4);
    color: var(--text-white);
}

.modal-nav-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.nav-chevron-icon {
    width: 12px;
    height: 12px;
}

.modal-studio-qc-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.58rem;
    color: var(--text-muted);
    font-family: monospace;
}

.qc-award-icon {
    width: 12px;
    height: 12px;
    color: var(--gold-200);
}

/* ==========================================================================
   MODAL CUSTOM INTERACTIVE ZONES
   ========================================================================== */
.modal-custom-interactive-zone {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px dashed rgba(236, 201, 113, 0.2);
}

.modal-custom-interactive-zone h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    color: var(--gold-200);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Custom Contact Form */
.modal-contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

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

.modal-form-group label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
}

.modal-form-group input,
.modal-form-group select,
.modal-form-group textarea {
    background: #0E0E10;
    border: 1px solid #1c1c1f;
    border-radius: 6px;
    padding: 8px 10px;
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 0.72rem;
    transition: var(--transition-smooth);
}

.modal-form-group input:focus,
.modal-form-group select:focus,
.modal-form-group textarea:focus {
    outline: none;
    border-color: var(--gold-200);
}

.modal-btn-gold {
    background: linear-gradient(135deg, var(--gold-200) 0%, var(--gold-400) 100%);
    border: none;
    border-radius: 6px;
    padding: 10px;
    color: #0A0A0C;
    font-family: var(--font-body);
    font-weight: 750;
    font-size: 0.7rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    align-self: flex-start;
    padding: 8px 20px;
}

.modal-btn-gold:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(236, 201, 113, 0.2);
}

/* Before/After Drag Slider (Step 4A) */
.modal-slider-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    user-select: none;
    border: 1px solid var(--gold-border);
}

.modal-slider-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.modal-slider-before {
    z-index: 2;
    width: 50%;
}

.modal-slider-after {
    z-index: 1;
}

.modal-slider-bar {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background-color: var(--gold-200);
    z-index: 3;
    cursor: ew-resize;
    box-shadow: 0 0 10px var(--gold-200);
}

.modal-slider-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #0A0A0C;
    border: 2px solid var(--gold-200);
    z-index: 4;
    cursor: ew-resize;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-200);
    font-size: 0.95rem;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

.modal-slider-label {
    position: absolute;
    bottom: 10px;
    background: rgba(0, 0, 0, 0.75);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.6rem;
    color: var(--text-white);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.modal-label-before {
    left: 10px;
    border-left: 2.5px solid #EF4444;
}

.modal-label-after {
    right: 10px;
    border-right: 2.5px solid #10B981;
}

/* ==========================================================================
   RESPONSIVE LAYOUT TIMELINE (MOBILE)
   ========================================================================== */
@media (max-width: 900px) {
    .app-container {
        padding: 20px 10px;
    }

    .main-title {
        font-size: 1.6rem;
    }

    .subtitle-container {
        padding: 0 10px;
    }
    
    .subtitle {
        font-size: 0.75rem;
    }

    .sub-line {
        display: none;
    }

    .tab-switcher {
        margin-top: 25px;
    }

    /* HIDE DYNAMIC PATHS */
    .connectors-svg {
        display: none;
    }

    /* FLOWCHART GRID TO SINGLE COLUMN TIMELINE */
    .flowchart-grid {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 35px;
        padding-left: 20px;
        position: relative;
    }

    /* Mobile vertical center axis timeline */
    .flowchart-grid::before {
        content: "";
        position: absolute;
        top: 0;
        bottom: 0;
        left: 20px;
        width: 1.5px;
        background: linear-gradient(to bottom, transparent, var(--gold-200) 10%, var(--gold-200) 90%, transparent);
        z-index: 0;
    }

    .flow-card {
        max-width: 100% !important;
        width: calc(100% - 20px);
        margin-left: 20px;
        opacity: 1 !important;
        transform: none !important;
        gap: 14px;
        padding: 16px 20px;
    }

    .decision-container {
        max-width: 100% !important;
        width: calc(100% - 20px);
        margin-left: 20px;
        opacity: 1 !important;
        transform: none !important;
    }

    .decision-box {
        justify-content: center;
        padding: 10px 15px;
        border-radius: 12px;
    }



    .step-badge {
        position: absolute;
        left: -42px;
        top: calc(50% - 21px);
        width: 42px;
        height: 42px;
        min-width: 42px;
        font-size: 0.85rem;
    }

    .card-icon {
        width: 44px;
        height: 44px;
    }

    .card-content h3 {
        font-size: 0.9rem;
    }

    .card-content p {
        font-size: 0.7rem;
    }

    .action-hint {
        display: none;
    }

    .mobile-tip {
        display: block;
        background: transparent;
        border: none;
        padding: 0;
        margin: 20px auto 0 auto;
        font-size: 0.68rem;
        color: var(--text-muted);
        opacity: 0.6;
        font-style: italic;
        font-weight: 400;
        max-width: 100%;
        margin-left: 0;
    }

    /* Calculator View modifications */
    .calc-layout-grid {
        display: flex;
        flex-direction: column;
    }

    .calc-inputs-panel {
        width: 100%;
    }

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

    .calc-results-panel {
        width: 100%;
        min-height: auto;
    }

    /* Promises section modifications */
    .promises-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .promise-item p {
        max-width: 100%;
    }

    /* Split screen Modal mobile modifications */
    .modal-box {
        flex-direction: column;
        max-height: 90vh;
    }

    .modal-left-panel {
        width: 100%;
        height: 180px;
        min-height: 180px;
        border-right: none;
        border-bottom: 1px solid #161618;
    }

    .modal-right-panel {
        width: 100%;
        max-height: calc(90vh - 180px);
    }

    .modal-right-content {
        max-height: 100%;
        padding: 20px;
    }

    .modal-right-footer {
        padding: 12px 20px;
    }
}

@media (max-width: 540px) {
    .promises-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-layout {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}
