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

:root {
    /* Colors */
    --primary-orange: #FF6B35;
    --cyan-blue: #00BCD4;
    --dark-bg: #2b2b2b;
    --darker-bg: #1a1a1a;
    --light-text: #ffffff;
    --gray-text: #95989A;
    --blue: #4A90E2;
    --green: #7ED321;
    --yellow: #F5A623;
    --orange: #FF6B35;

    /* Spacing */
    --container-width: 1200px;
    --section-padding: 120px 0;

    /* Typography */
    --font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px; /* Offset for fixed navbar */
}

body {
    font-family: var(--font-family);
    background-color: var(--darker-bg);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================
   Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    text-decoration: none;
}

.logo-image {
    height: 40px;
    width: auto;
    transition: transform 0.3s ease;
}

.logo:hover .logo-image {
    transform: scale(1.05);
}

.logo-text {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.logo-text .iq {
    color: var(--cyan-blue);
}

.logo-text .optz {
    color: var(--light-text);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
    align-items: center;
}

.nav-menu a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 15px;
}

.nav-menu a:hover {
    color: var(--primary-orange);
}

.nav-menu a.active {
    color: var(--primary-orange);
    position: relative;
}

.nav-menu a.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-orange);
    border-radius: 2px;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light-text);
    transition: all 0.3s ease;
}

/* ==========================================
   Buttons
   ========================================== */
.btn-primary, .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-orange), #ff8555);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--light-text);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.btn-large {
    padding: 16px 40px;
    font-size: 17px;
}

.btn-primary-small {
    padding: 10px 24px;
    background: linear-gradient(135deg, var(--primary-orange), #ff8555);
    color: white;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-primary-small:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

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

/* ==========================================
   Hero Section
   ========================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 120px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(74, 144, 226, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeInUp 0.8s ease;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-badge-bottom {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 600;
    margin-top: 24px;
    margin-bottom: 32px;
}

.hero-title {
    font-size: 40px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    margin-top: 0;
}

.title-line {
    display: inline-block;
    white-space: nowrap;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-orange), #ff8555);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 17px;
    color: var(--gray-text);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    padding: 32px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-orange);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-text);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Visual/Mockup */
.hero-visual {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.app-mockup {
    perspective: 1000px;
}

.mockup-window {
    background: var(--dark-bg);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    overflow: hidden;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.mockup-window:hover {
    transform: rotateY(0deg) rotateX(0deg);
}

.mockup-header {
    display: flex;
    align-items: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mockup-dots {
    display: flex;
    gap: 6px;
    margin-right: auto;
}

.mockup-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
}

.mockup-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-text);
}

.mockup-content {
    display: flex;
    height: 400px;
}

.mockup-sidebar {
    width: 60px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-item {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.sidebar-item.active {
    background: var(--primary-orange);
}

.mockup-main {
    flex: 1;
    padding: 30px;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.mini-card {
    height: 180px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: pulse 3s ease infinite;
}

.mini-card.blue {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.2), rgba(74, 144, 226, 0.05));
    border-color: rgba(74, 144, 226, 0.3);
}

.mini-card.green {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.2), rgba(126, 211, 33, 0.05));
    border-color: rgba(126, 211, 33, 0.3);
}

.mini-card.yellow {
    background: linear-gradient(135deg, rgba(245, 166, 35, 0.2), rgba(245, 166, 35, 0.05));
    border-color: rgba(245, 166, 35, 0.3);
}

.mini-card.orange {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.2), rgba(255, 107, 53, 0.05));
    border-color: rgba(255, 107, 53, 0.3);
}

/* ==========================================
   Section Base Styles
   ========================================== */
.section {
    padding: var(--section-padding);
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 80px;
}

.section-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 20px;
    color: var(--primary-orange);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-description {
    font-size: 18px;
    color: var(--gray-text);
    line-height: 1.6;
}

/* ==========================================
   Features Section
   ========================================== */
.features {
    background: var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* Full-width decorative background */
.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(0, 188, 212, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

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

.feature-card {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    padding: 16px;
    transition: all 0.3s ease;
}

.feature-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
}

/* Icon Color Variants */
.icon-blue {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.15), rgba(74, 144, 226, 0.05));
    border: 1px solid rgba(74, 144, 226, 0.3);
}

.icon-green {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.15), rgba(126, 211, 33, 0.05));
    border: 1px solid rgba(126, 211, 33, 0.3);
}

.icon-purple {
    background: linear-gradient(135deg, rgba(155, 89, 182, 0.15), rgba(155, 89, 182, 0.05));
    border: 1px solid rgba(155, 89, 182, 0.3);
}

.icon-orange {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15), rgba(255, 107, 53, 0.05));
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.icon-cyan {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.15), rgba(0, 188, 212, 0.05));
    border: 1px solid rgba(0, 188, 212, 0.3);
}

.icon-red {
    background: linear-gradient(135deg, rgba(231, 76, 60, 0.15), rgba(231, 76, 60, 0.05));
    border: 1px solid rgba(231, 76, 60, 0.3);
}

.feature-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-description {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 15px;
}

/* ==========================================
   How It Works Section - Card System Demo
   ========================================== */

/* App Demo Container - Split Layout */
.app-demo-container {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 30px;
    margin: 60px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 480px;
}

/* Card Panel (Left Side) */
.demo-card-panel {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    overflow-y: auto;
    max-height: 700px;
}

.panel-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--white);
    margin-bottom: 6px;
}

.panel-icon {
    width: 20px;
    height: 20px;
}

.panel-subtitle {
    font-size: 12px;
    color: var(--primary-orange);
    font-weight: 600;
}

/* Card Groups */
.card-group {
    margin-bottom: 20px;
}

.group-header {
    font-size: 11px;
    font-weight: 700;
    color: #9CA3AF;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Add spacing between apartment groups */
.group-header:not(:first-of-type) {
    margin-top: 24px;
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

/* Room Cards */
.room-card {
    padding: 12px;
    background: rgba(58, 63, 82, 0.7);
    border-radius: 10px;
    border: 1.5px solid #505570;
    transition: all 0.3s ease;
    cursor: pointer;
}

.room-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.room-card.available {
    border-color: #505570;
}

.room-card.available:hover {
    border-color: #7aa2f7;
}

.room-card.placed {
    background: rgba(42, 47, 66, 0.8);
    cursor: default;
}

.room-card.blue-status {
    border-color: #3B82F6;
}

.room-card.yellow-status {
    border-color: #FBBF24;
}

.room-card.orange-status {
    border-color: #F97316;
}

.room-card.green-status {
    border-color: #10B981;
}

.card-row-1 {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
}

.room-icon {
    width: 18px;
    height: 18px;
    filter: brightness(0) saturate(100%) invert(77%) sepia(77%) saturate(541%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

.room-name {
    font-weight: 700;
    font-size: 13px;
    color: white;
    flex: 1;
}

.card-actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.status-pin {
    width: 14px;
    height: 14px;
}

.status-pin.blue-filter {
    filter: brightness(0) saturate(100%) invert(46%) sepia(99%) saturate(1824%) hue-rotate(201deg) brightness(99%) contrast(93%);
}

.status-pin.yellow-filter {
    filter: brightness(0) saturate(100%) invert(84%) sepia(35%) saturate(1566%) hue-rotate(343deg) brightness(103%) contrast(96%);
}

.status-pin.orange-filter {
    filter: brightness(0) saturate(100%) invert(56%) sepia(79%) saturate(2621%) hue-rotate(346deg) brightness(101%) contrast(95%);
}

.status-pin.green-filter {
    filter: brightness(0) saturate(100%) invert(64%) sepia(45%) saturate(1686%) hue-rotate(117deg) brightness(95%) contrast(87%);
}

.complete-check {
    font-size: 12px;
    color: #10B981;
    font-weight: bold;
}

.drag-hint {
    font-size: 14px;
    color: #7a81a8;
    opacity: 0.5;
}

.card-row-2 {
    font-size: 9px;
    color: #7a81a8;
    margin-bottom: 6px;
}

.card-row-3 {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
}

.tile-type {
    font-weight: 600;
    color: #7aa2f7;
}

.separator {
    color: #505570;
}

.area {
    color: #9aa5ce;
}

/* Floor Plan (Right Side) */
.demo-floor-plan {
    background: rgba(30, 30, 30, 0.8);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.floorplan-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.floorplan-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--white);
}

.floorplan-icon {
    width: 18px;
    height: 18px;
}

.floorplan-mode {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--primary-orange);
    padding: 6px 12px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.mode-icon {
    width: 14px;
    height: 14px;
}

.floorplan-canvas {
    flex: 1;
    position: relative;
    background: linear-gradient(135deg, rgba(40, 40, 50, 0.4) 0%, rgba(30, 30, 40, 0.6) 100%);
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

/* Architectural Floor Plan Drawing */
.floorplan-drawing {
    position: absolute;
    width: 100%;
    height: 100%;
    inset: 0;
    opacity: 0.9;
}

.apartment-unit {
    transition: opacity 0.3s ease;
}

.apartment-unit:hover {
    opacity: 1;
}

/* Placed Pins */
.floor-pin {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    animation: pinDrop 0.5s ease;
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 10;
}

.floor-pin:hover {
    transform: scale(1.2);
    z-index: 100;
}

@keyframes pinDrop {
    0% {
        transform: translateY(-20px) scale(0);
        opacity: 0;
    }
    50% {
        transform: translateY(5px) scale(1.1);
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.pin-marker {
    width: 28px;
    height: 28px;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.6));
}

/* Color-coded pin filters matching workflow status */
.floor-pin.blue-pin .pin-marker {
    filter: brightness(0) saturate(100%) invert(46%) sepia(99%) saturate(1824%) hue-rotate(201deg) brightness(99%) contrast(93%) drop-shadow(0 3px 10px rgba(59, 130, 246, 0.6));
}

.floor-pin.yellow-pin .pin-marker {
    filter: brightness(0) saturate(100%) invert(84%) sepia(35%) saturate(1566%) hue-rotate(343deg) brightness(103%) contrast(96%) drop-shadow(0 3px 10px rgba(251, 191, 36, 0.6));
}

.floor-pin.orange-pin .pin-marker {
    filter: brightness(0) saturate(100%) invert(56%) sepia(79%) saturate(2621%) hue-rotate(346deg) brightness(101%) contrast(95%) drop-shadow(0 3px 10px rgba(249, 115, 22, 0.6));
}

.floor-pin.green-pin .pin-marker {
    filter: brightness(0) saturate(100%) invert(64%) sepia(45%) saturate(1686%) hue-rotate(117deg) brightness(95%) contrast(87%) drop-shadow(0 3px 10px rgba(16, 185, 129, 0.6));
}

.pin-label {
    font-size: 10px;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    padding: 4px 10px;
    border-radius: 6px;
    white-space: nowrap;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Color-coded pin label backgrounds */
.floor-pin.blue-pin .pin-label {
    background: rgba(59, 130, 246, 0.8);
    border-color: #3B82F6;
}

.floor-pin.yellow-pin .pin-label {
    background: rgba(251, 191, 36, 0.8);
    border-color: #FBBF24;
    color: #1a1a1a;
}

.floor-pin.orange-pin .pin-label {
    background: rgba(249, 115, 22, 0.8);
    border-color: #F97316;
}

.floor-pin.green-pin .pin-label {
    background: rgba(16, 185, 129, 0.8);
    border-color: #10B981;
}

.complete-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: #10B981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: white;
    font-weight: bold;
    border: 2px solid rgba(0, 0, 0, 0.8);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Drag Indicator */
.drag-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.3;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 0.6; transform: translate(-50%, -50%) scale(1.05); }
}

.drag-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
}

.drag-arrow span {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
}

/* Workflow Legend */
.workflow-legend {
    margin: 60px 0;
    padding: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.legend-title {
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--white);
}

.legend-items {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.legend-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    min-width: 140px;
}

.legend-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
}

.legend-badge {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 2px solid;
}

.legend-badge.blue-badge {
    background: rgba(59, 130, 246, 0.1);
    border-color: #3B82F6;
}

.legend-badge.yellow-badge {
    background: rgba(251, 191, 36, 0.1);
    border-color: #FBBF24;
}

.legend-badge.orange-badge {
    background: rgba(249, 115, 22, 0.1);
    border-color: #F97316;
}

.legend-badge.green-badge {
    background: rgba(16, 185, 129, 0.1);
    border-color: #10B981;
}

.legend-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* Golden color filter for workflow icons */
.workflow-icon {
    filter: brightness(0) saturate(100%) invert(77%) sepia(77%) saturate(541%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

.legend-info {
    text-align: center;
}

.legend-stage {
    font-weight: 700;
    font-size: 14px;
    color: var(--white);
    margin-bottom: 4px;
}

.legend-desc {
    font-size: 11px;
    color: var(--gray-text);
}

.legend-arrow {
    font-size: 24px;
    color: var(--primary-orange);
    opacity: 0.6;
}

/* Workflow Features */
.workflow-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 40px;
}

.workflow-feature-card {
    display: flex;
    gap: 20px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.workflow-feature-card:hover {
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-5px);
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    color: white;
    flex-shrink: 0;
}

.feature-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--white);
}

.feature-content p {
    color: var(--gray-text);
    line-height: 1.6;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 968px) {
    .app-demo-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .demo-card-panel {
        max-height: 400px;
    }

    .demo-floor-plan {
        min-height: 500px;
    }

    .workflow-legend {
        padding: 24px;
    }

    .legend-items {
        gap: 16px;
    }

    .legend-arrow {
        display: none;
    }

    .workflow-features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .app-demo-container {
        padding: 16px;
    }

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

    .floorplan-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .workflow-feature-card {
        flex-direction: column;
        padding: 24px;
    }

    .feature-number {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

/* ==========================================
   Optimization & Output Generation Section
   ========================================== */

.optimization-section {
    margin-top: 80px;
}

/* Optimization Benefits Grid */
.optimization-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin: 60px 0;
}

.benefit-highlight {
    padding: 40px 32px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-highlight:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: 0 12px 40px rgba(255, 107, 53, 0.2);
}

.benefit-highlight .highlight-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    padding: 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-highlight .highlight-icon img {
    width: 100%;
    height: 100%;
    filter: brightness(0) saturate(100%) invert(59%) sepia(56%) saturate(3529%) hue-rotate(343deg) brightness(101%) contrast(101%);
}

.benefit-highlight h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--white);
}

.benefit-highlight p {
    color: var(--gray-text);
    font-size: 15px;
    line-height: 1.7;
}

/* Tile Plot Visualization */
.tile-plot-visualization {
    margin: 80px 0;
    text-align: center;
}

.viz-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.viz-subtitle {
    font-size: 16px;
    color: var(--gray-text);
    margin-bottom: 40px;
}

.plot-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.plot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.plot-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.plot-stats {
    display: flex;
    gap: 12px;
    align-items: center;
}

.stat-item {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-orange);
}

.stat-divider {
    color: rgba(255, 255, 255, 0.3);
}

.tile-grid-plot {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.room-section {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    padding: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.room-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    margin-bottom: 16px;
    padding: 8px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
}

.tile-row {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.tile {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tile:hover {
    transform: scale(1.1);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.match-label {
    font-size: 9px;
    font-weight: 700;
    color: rgba(0, 0, 0, 0.8);
    background: rgba(255, 255, 255, 0.9);
    padding: 2px 6px;
    border-radius: 4px;
}

.tile.full-tile {
    background: #9ece6a;
}

.tile.start-tile {
    background: #f7768e;
}

.tile.same-apt-match {
    background: #ff6b6b;
}

.tile.same-apt-match.color-1 { background: #ff6b6b; }
.tile.same-apt-match.color-2 { background: #4ecdc4; }
.tile.same-apt-match.color-3 { background: #45b7d1; }
.tile.same-apt-match.color-4 { background: #f9ca24; }
.tile.same-apt-match.color-5 { background: #6c5ce7; }
.tile.same-apt-match.color-6 { background: #fd79a8; }
.tile.same-apt-match.color-7 { background: #00b894; }

.tile.other-apt-match {
    background: #7aa2f7;
}

.tile.inventory-match {
    background: #808080;
}

.tile.unmatched-tile {
    background: #d3d3d3;
}

.plot-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-color {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.legend-item span {
    font-size: 13px;
    color: var(--light-gray);
}

/* Cutlist Table Visualization */
.cutlist-visualization {
    margin: 80px 0;
    text-align: center;
}

.cutlist-table-container {
    overflow-x: auto;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cutlist-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.cutlist-table thead {
    background: rgba(255, 107, 53, 0.2);
}

.cutlist-table th {
    padding: 12px 16px;
    text-align: left;
    font-weight: 700;
    color: var(--white);
    border-bottom: 2px solid rgba(255, 107, 53, 0.5);
    white-space: nowrap;
}

.cutlist-table td {
    padding: 12px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--light-gray);
}

.match-row {
    transition: all 0.3s ease;
}

.match-row:hover {
    background: rgba(255, 107, 53, 0.1);
}

.match-row.same-apt {
    background: rgba(16, 185, 129, 0.15);
}

.match-row.other-apt {
    background: rgba(122, 162, 247, 0.15);
}

.match-row.inventory {
    background: rgba(128, 128, 128, 0.15);
}

.match-row.unmatched {
    background: rgba(211, 211, 211, 0.08);
}

.highlight-red {
    background: rgba(247, 118, 142, 0.3);
    color: #f7768e;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.highlight-green {
    background: rgba(16, 185, 129, 0.3);
    color: #10B981;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.highlight-yellow {
    background: rgba(251, 191, 36, 0.3);
    color: #FBBF24;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

.highlight-blue {
    background: rgba(122, 162, 247, 0.3);
    color: #7aa2f7;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 6px;
}

/* Results Dashboard */
.results-dashboard {
    margin: 50px 0;
}

.dashboard-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
    color: var(--white);
}

.dashboard-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 30px;
    font-style: italic;
}

/* Results with Insights Layout */
.results-with-insights {
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 24px;
    align-items: start;
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 24px;
}

.results-comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.results-comparison-table thead {
    background: rgba(255, 107, 53, 0.15);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.results-comparison-table th {
    padding: 16px;
    text-align: left;
    font-weight: 700;
    color: var(--white);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.results-comparison-table tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.results-comparison-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.results-comparison-table tbody tr.highlight-row {
    background: rgba(255, 107, 53, 0.1);
    border-top: 2px solid rgba(255, 107, 53, 0.3);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.results-comparison-table td {
    padding: 14px 16px;
}

.metric-name {
    color: var(--gray-text);
    font-weight: 500;
}

.before-value {
    color: #f7768e;
    font-weight: 600;
    font-size: 15px;
}

.after-value {
    color: #10B981;
    font-weight: 600;
    font-size: 15px;
}

.improvement-value {
    font-weight: 700;
    font-size: 14px;
}

.improvement-value.positive {
    color: #10B981;
}

.highlight-row .before-value,
.highlight-row .after-value,
.highlight-row .improvement-value {
    font-size: 16px;
}

/* Insights Vertical */
.insights-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.insight-card-vertical {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    padding: 16px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.insight-card-vertical:hover {
    transform: translateX(-3px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.4);
}

.insight-card-vertical .insight-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.insight-icon img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.insight-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.insight-card-vertical .insight-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.insight-card-vertical .insight-label {
    font-size: 11px;
    color: var(--gray-text);
    font-weight: 600;
}

/* ROI Statement Compact */
.roi-statement-compact {
    margin-top: 30px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    text-align: center;
}

.roi-statement-compact h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 12px;
}

.roi-statement-compact p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.roi-statement-compact strong {
    color: #10B981;
    font-weight: 700;
}

/* Export Section */
.export-section {
    margin: 80px 0;
}

.export-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--white);
}

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

.export-option {
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
}

.export-option:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.1);
}

.export-icon-wrap {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 107, 53, 0.3);
}

.export-ico {
    width: 30px;
    height: 30px;
    filter: brightness(0) saturate(100%) invert(77%) sepia(77%) saturate(541%) hue-rotate(359deg) brightness(103%) contrast(104%);
}

.export-option h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--white);
}

.export-option p {
    font-size: 14px;
    color: var(--gray-text);
    line-height: 1.6;
    margin-bottom: 16px;
}

.export-formats {
    padding: 8px 16px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-orange);
    display: inline-block;
}

/* Responsive Design */
@media (max-width: 968px) {
    .priority-system {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .before-after {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .arrow-transform {
        order: 2;
    }

    .result-column.before {
        order: 1;
    }

    .result-column.after {
        order: 3;
    }

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

@media (max-width: 576px) {
    .optimization-section {
        margin-top: 40px;
    }

    .priority-example {
        flex-direction: column;
        gap: 8px;
    }

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

    .before-after {
        padding: 20px;
    }

    .result-column {
        padding: 20px;
    }
}

/* ==========================================
   Use Cases Section
   ========================================== */
.use-cases {
    background: var(--dark-bg);
}

.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.use-case-card {
    padding: 40px 32px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(255, 107, 53, 0.02));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 107, 53, 0.2);
}

.use-case-icon {
    width: 72px;
    height: 72px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.use-case-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.use-case-card:hover .use-case-icon img {
    transform: scale(1.1) rotate(5deg);
    filter: brightness(1.2);
}

.use-case-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.use-case-description {
    color: var(--gray-text);
    margin-bottom: 24px;
    line-height: 1.6;
}

.use-case-features {
    list-style: none;
}

.use-case-features li {
    padding: 8px 0;
    color: var(--light-text);
    font-size: 14px;
}

.use-case-features li:before {
    content: "✓ ";
    color: var(--green);
    font-weight: bold;
    margin-right: 8px;
}

/* ==========================================
   Benefits Section
   ========================================== */
.benefits-tabs {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
}

.tab-buttons {
    display: flex;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tab-button {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 20px;
    background: transparent;
    border: none;
    color: var(--gray-text);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--light-text);
}

.tab-button.active {
    background: rgba(255, 107, 53, 0.1);
    color: var(--primary-orange);
    border-bottom: 2px solid var(--primary-orange);
}

.tab-icon {
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.tab-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.tab-button:hover .tab-icon img,
.tab-button.active .tab-icon img {
    opacity: 1;
    transform: scale(1.1);
}

.tab-button:hover .tab-icon,
.tab-button.active .tab-icon {
    transform: scale(1.1);
}

.tab-content-container {
    position: relative;
    min-height: 400px;
}

.tab-content {
    display: none;
    padding: 60px 40px;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

.benefits-layout {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
}

.benefits-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.benefit-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.benefit-icon {
    width: 32px;
    height: 32px;
    background: var(--green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    flex-shrink: 0;
}

.benefit-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.benefit-text h4 {
    font-size: 20px;
    margin-bottom: 6px;
}

.benefit-text p {
    color: var(--gray-text);
    font-size: 15px;
}

.benefits-visual {
    display: flex;
    justify-content: center;
}

.visual-card {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 30px;
}

.visual-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 24px;
    color: var(--gray-text);
}

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

.stat-box {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 8px;
    padding: 24px;
    text-align: center;
}

.stat-box.green {
    background: rgba(126, 211, 33, 0.1);
    border-color: rgba(126, 211, 33, 0.3);
}

.stat-box.orange {
    background: rgba(255, 107, 53, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.stat-box.blue {
    background: rgba(74, 144, 226, 0.1);
    border-color: rgba(74, 144, 226, 0.3);
}

.stat-box.yellow {
    background: rgba(245, 166, 35, 0.1);
    border-color: rgba(245, 166, 35, 0.3);
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--light-text);
    margin-bottom: 4px;
}

.stat-name {
    font-size: 13px;
    color: var(--gray-text);
}

/* ==========================================
   Testimonials Section
   ========================================== */
.testimonials {
    padding: 100px 0;
    background: var(--darker-bg);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(0, 188, 212, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.testimonials-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-top: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 16px;
    padding: 40px;
    display: flex;
    gap: 40px;
    align-items: center;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 32px rgba(255, 107, 53, 0.3);
    border-color: var(--primary-orange);
}

.testimonial-reverse {
    flex-direction: row-reverse;
}

.testimonial-image {
    flex-shrink: 0;
}

.testimonial-content {
    flex: 1;
}

.author-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-quote {
    font-size: 60px;
    font-weight: 700;
    color: rgba(255, 107, 53, 0.2);
    line-height: 0.5;
    margin-bottom: 16px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin: 20px 0;
    font-style: italic;
}

.testimonial-author {
    margin-top: 20px;
}

.author-info {
    text-align: left;
}

.author-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--light-text);
    margin-bottom: 4px;
}

.author-company {
    font-size: 14px;
    color: var(--gray-text);
}

/* ==========================================
   CTA Section
   ========================================== */
.cta-section {
    background:
        linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 107, 53, 0.05)),
        var(--dark-bg);
    position: relative;
    overflow: hidden;
}

/* Full-width decorative accent line */
.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-orange), transparent);
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(255, 107, 53, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(0, 188, 212, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

.cta-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.cta-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-description {
    font-size: 18px;
    color: var(--gray-text);
    margin-bottom: 32px;
    line-height: 1.6;
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: var(--light-text);
}

/* Simplified CTA Box */
.cta-simple-box {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 60px 40px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
}

.cta-features-inline {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-buttons-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons-group .btn-large {
    min-width: 200px;
}

.cta-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.form-description {
    color: var(--gray-text);
    margin-bottom: 32px;
    font-size: 15px;
}

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

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 15px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(0, 0, 0, 0.4);
}

.form-group select {
    cursor: pointer;
}

.form-note {
    text-align: center;
    color: var(--gray-text);
    font-size: 13px;
    margin-top: 16px;
}

.form-note a {
    color: var(--primary-orange);
    text-decoration: none;
}

.form-note a:hover {
    text-decoration: underline;
}

.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--light-text);
    font-size: 15px;
    font-family: var(--font-family);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 100px;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: rgba(0, 0, 0, 0.4);
}

/* Compact Contact Methods */
.contact-methods-compact {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.contact-method-compact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contact-icon-compact {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 8px;
    color: var(--primary-orange);
    flex-shrink: 0;
}

.contact-method-compact a,
.contact-method-compact span {
    color: var(--light-text);
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
}

.contact-method-compact a:hover {
    color: var(--primary-orange);
}

/* Form Feedback Messages */
.form-feedback {
    text-align: center;
    padding: 48px 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

.form-feedback svg {
    margin: 0 auto 20px;
}

.form-feedback h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--light-text);
}

.form-feedback p {
    font-size: 16px;
    color: var(--gray-text);
    line-height: 1.6;
}

.form-success {
    border: 2px solid #7ED321;
}

.form-success h3 {
    color: #7ED321;
}

.form-error {
    border: 2px solid #f7768e;
}

.form-error h3 {
    color: #f7768e;
}

.form-error a {
    color: var(--primary-orange);
    text-decoration: none;
}

.form-error a:hover {
    text-decoration: underline;
}

/* ==========================================
   Footer
   ========================================== */
.footer {
    background: var(--darker-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo-image {
    height: 35px;
    width: auto;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1;
}

.footer-logo-text .iq {
    color: var(--cyan-blue);
}

.footer-logo-text .optz {
    color: var(--light-text);
}

.footer-description {
    color: var(--gray-text);
    font-size: 14px;
    line-height: 1.6;
}

.footer-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer-links a {
    color: var(--gray-text);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--gray-text);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--gray-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

/* ==========================================
   Animations
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.8;
    }
}

[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .hero-title {
        font-size: 36px;
        line-height: 1.2;
    }

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

    .benefits-layout {
        grid-template-columns: 1fr;
    }

    .cta-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }

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

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--darker-bg);
        flex-direction: column;
        padding: 40px 20px;
        transition: left 0.3s ease;
        gap: 20px;
        align-items: flex-start;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.25;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-cta {
        flex-direction: column;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 20px;
    }

    .section-title {
        font-size: 36px;
    }

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

    .use-cases-grid {
        grid-template-columns: 1fr;
    }

    .tab-buttons {
        flex-direction: column;
    }

    .tab-button {
        justify-content: flex-start;
        padding: 20px;
    }

    .benefits-layout {
        grid-template-columns: 1fr;
    }

    .benefits-visual {
        order: -1;
    }

    .testimonial-card {
        flex-direction: column;
        gap: 24px;
        padding: 32px 24px;
    }

    .testimonial-image {
        text-align: center;
    }

    .author-avatar {
        width: 100px;
        height: 100px;
    }

    .testimonial-quote {
        font-size: 50px;
    }

    .author-info {
        text-align: center;
    }

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

    .cta-simple-box {
        padding: 40px 24px;
    }

    .cta-features-inline {
        flex-direction: column;
        gap: 16px;
    }

    .contact-methods-compact {
        padding: 20px;
    }

    .contact-icon-compact {
        width: 36px;
        height: 36px;
    }

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 22px;
        line-height: 1.25;
    }

    .title-line {
        white-space: normal;
    }

    .section-title {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-simple-box {
        padding: 32px 20px;
    }

    .cta-simple-box .cta-title {
        font-size: 28px;
    }

    .cta-buttons-group {
        flex-direction: column;
    }

    .cta-buttons-group .btn-large {
        width: 100%;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 15px;
    }

    .mockup-content {
        height: 300px;
    }

    .visual-stats {
        grid-template-columns: 1fr;
    }

    .testimonial-card {
        padding: 24px 16px;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    .testimonial-quote {
        font-size: 40px;
    }

    .testimonial-text {
        font-size: 15px;
    }
}

/* ==========================================
   Workflow Slider
   ========================================== */
.workflow-slider {
    position: relative;
    margin: 60px 0;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.slider-slide.active {
    opacity: 1;
}

/* Slider Navigation Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.slider-arrow:hover {
    background: rgba(255, 107, 53, 1);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.6);
}

.slider-prev {
    left: -60px;
}

.slider-next {
    right: -60px;
}

/* Slider Indicators */
.slider-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: var(--primary);
    width: 32px;
    border-radius: 6px;
}

.slider-dot:hover {
    background: rgba(255, 107, 53, 0.6);
}

/* Slide 2: Outputs Demo Container */
.outputs-demo-container {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Left Panel: Compact Cards */
.demo-cards-compact {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.compact-panel-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-icon-small {
    width: 20px;
    height: 20px;
    filter: brightness(0) saturate(100%) invert(56%) sepia(79%) saturate(2621%) hue-rotate(346deg) brightness(101%) contrast(95%);
}

.compact-panel-header span {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.apartment-group-compact {
    margin-bottom: 20px;
}

.apt-label-compact {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    padding: 4px 8px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 4px;
    display: inline-block;
}

.room-card-mini {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.room-card-mini.placed {
    border-left-width: 3px;
}

.room-card-mini.blue {
    border-left-color: #3B82F6;
}

.room-card-mini.yellow {
    border-left-color: #FBBF24;
}

.room-card-mini.orange {
    border-left-color: #F97316;
}

.room-card-mini.green {
    border-left-color: #10B981;
}

.room-icon-mini {
    font-size: 16px;
}

.room-name-mini {
    font-size: 12px;
    font-weight: 700;
    color: var(--white);
    flex: 1;
}

.tile-code-mini {
    font-size: 9px;
    color: var(--gray-text);
    font-family: 'Courier New', monospace;
}

.mini-checkmark {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #10B981;
    color: white;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

/* Right Panel: Outputs */
.demo-outputs-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    flex: 1;
}

/* Compact Tile Plot */
.compact-tile-plot {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 400px;
}

/* Plot Image Container */
.plot-image-container {
    width: 100%;
    margin: 0 auto;
}

.optimization-plot-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: block;
}

.plot-header-compact {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.plot-title-small {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

.plot-stats-small {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--gray-text);
}

.tile-grid-compact {
    display: flex;
    gap: 20px;
    margin-bottom: 16px;
}

.room-tiles-compact {
    flex: 1;
}

.room-label-compact {
    font-size: 11px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
    text-align: center;
}

.tiles-row-compact {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
}

.tile-mini {
    width: 32px;
    height: 32px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
}

.tile-mini:hover {
    transform: scale(1.15);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

/* Tile Colors (reused) */
.tile-mini.full-tile {
    background: #9ece6a;
}

.tile-mini.same-apt-match {
    background: #ff6b6b;
}

.tile-mini.same-apt-match.color-1 {
    background: #ff6b6b;
}

.tile-mini.same-apt-match.color-2 {
    background: #4ecdc4;
}

.tile-mini.same-apt-match.color-3 {
    background: #45b7d1;
}

.tile-mini.same-apt-match.color-4 {
    background: #f9ca24;
}

.tile-mini.same-apt-match.color-5 {
    background: #6c5ce7;
}

.tile-mini.same-apt-match.color-6 {
    background: #fd79a8;
}

.tile-mini.same-apt-match.color-7 {
    background: #00b894;
}

.tile-mini.other-apt-match {
    background: #7aa2f7;
}

.tile-mini.inventory-match {
    background: #808080;
}

.tile-mini.unmatched-tile {
    background: #d3d3d3;
}

/* Compact Legend */
.legend-compact {
    display: none;  /* Hidden as per user request */
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10px;
    color: var(--gray-text);
}

.legend-color-mini {
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Compact Cutlist */
.compact-cutlist {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cutlist-header-compact {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.cutlist-header-compact span {
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
}

/* Cutlist Image Container */
.cutlist-image-container {
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cutlist-export-img {
    width: 100%;
    height: auto;
    display: block;
}

.cutlist-scroll {
    overflow-x: auto;
    max-height: 250px;
    overflow-y: auto;
}

.cutlist-table-compact {
    width: 100%;
    border-collapse: collapse;
    font-size: 11px;
}

.cutlist-table-compact thead {
    background: rgba(255, 107, 53, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

.cutlist-table-compact th {
    padding: 8px 10px;
    text-align: left;
    font-weight: 700;
    color: var(--white);
    border-bottom: 2px solid rgba(255, 107, 53, 0.5);
    white-space: nowrap;
    font-size: 10px;
}

.cutlist-table-compact td {
    padding: 6px 10px;
    color: var(--gray-text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cutlist-table-compact tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

/* Responsive Slider */
@media (max-width: 1200px) {
    .slider-prev {
        left: 10px;
    }

    .slider-next {
        right: 10px;
    }

    .outputs-demo-container {
        grid-template-columns: 1fr;
    }

    .demo-cards-compact {
        max-width: 300px;
        margin: 0 auto;
    }
}

/* Apartment Section Label */
.apt-section-label {
    font-size: 12px;
    font-weight: 700;
    color: #a9b1d6;
    margin: 20px 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Room Cards Grid */
.room-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

/* Room Card Mini */
.room-card-mini {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    padding: 10px;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.room-card-mini.blue-border {
    border-color: #3B82F6;
}

.room-card-mini.yellow-border {
    border-color: #FBBF24;
}

.room-card-mini.orange-border {
    border-color: #FF6B35;
}

.room-card-mini.green-border {
    border-color: #10B981;
}

.room-card-mini.no-border {
    border-color: rgba(255, 255, 255, 0.1);
}

.room-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}

.room-pin-icon {
    width: 14px;
    height: 14px;
}

.room-pin-icon.blue-pin-mini {
    filter: brightness(0) saturate(100%) invert(46%) sepia(99%) saturate(1824%) hue-rotate(201deg) brightness(99%) contrast(93%);
}

.room-pin-icon.yellow-pin-mini {
    filter: brightness(0) saturate(100%) invert(79%) sepia(88%) saturate(441%) hue-rotate(358deg) brightness(103%) contrast(96%);
}

.room-pin-icon.orange-pin-mini {
    filter: brightness(0) saturate(100%) invert(59%) sepia(56%) saturate(3529%) hue-rotate(343deg) brightness(101%) contrast(101%);
}

.room-pin-icon.green-pin-mini {
    filter: brightness(0) saturate(100%) invert(65%) sepia(59%) saturate(537%) hue-rotate(95deg) brightness(92%) contrast(90%);
}

.room-name-mini {
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
}

.drag-dots {
    font-size: 10px;
    color: #a9b1d6;
}

.check-icon {
    margin-left: auto;
    color: #10B981;
    font-weight: 700;
}

.room-plot-info {
    font-size: 10px;
    color: #7aa2f7;
    margin-bottom: 4px;
}

.room-tile-info {
    font-size: 10px;
    color: #c0caf5;
    margin-bottom: 4px;
}

.room-area-info {
    font-size: 11px;
    font-weight: 700;
    color: var(--white);
}

/* Benefits Category Headings */
.benefits-category {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.2);
}

.benefits-category:first-child {
    margin-top: 0;
}

/* Vertical Stats Layout */
.visual-stats-vertical {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 20px;
}

.visual-stats-vertical .stat-box {
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.visual-stats-vertical .stat-box:hover {
    transform: translateX(5px);
}

.visual-stats-vertical .stat-box.green {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.visual-stats-vertical .stat-box.blue {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.visual-stats-vertical .stat-box.orange {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
}

.visual-stats-vertical .stat-box.yellow {
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.visual-stats-vertical .stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.visual-stats-vertical .stat-name {
    font-size: 13px;
    color: var(--gray-text);
    font-weight: 600;
}

/* ==========================================
   Proven Results Section
   ========================================== */
.proven-results {
    background: rgba(0, 0, 0, 0.2);
}

.results-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
    margin: 60px 0;
}

.results-column {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.results-column-header {
    padding: 30px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.results-column-header.before {
    background: rgba(247, 118, 142, 0.1);
    border-bottom-color: rgba(247, 118, 142, 0.3);
}

.results-column-header.after {
    background: rgba(16, 185, 129, 0.1);
    border-bottom-color: rgba(16, 185, 129, 0.3);
}

.header-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.results-column-header h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
}

.results-column-header p {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 600;
}

.results-stats {
    padding: 30px;
}

.result-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.result-stat:last-child {
    border-bottom: none;
}

.result-stat.critical {
    background: rgba(247, 118, 142, 0.05);
    padding: 16px 20px;
    margin: 0 -20px;
    border-radius: 8px;
}

.result-stat.success {
    background: rgba(16, 185, 129, 0.05);
    padding: 16px 20px;
    margin: 0 -20px;
    border-radius: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 600;
}

.stat-number {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
}

.stat-number.bad {
    color: #f7768e;
}

.stat-number.good {
    color: #10B981;
}

.stat-percent {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 600;
}

/* Transform Arrow */
.transform-arrow-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.arrow-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border: 2px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
}

.arrow-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(56%) sepia(79%) saturate(2621%) hue-rotate(346deg) brightness(101%) contrast(95%);
}

.arrow-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    line-height: 1.4;
}

.arrow-line {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
}

/* Savings Highlights */
.savings-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 60px 0;
}

.savings-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 16px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.savings-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

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

.savings-content {
    flex: 1;
}

.savings-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.savings-label {
    font-size: 13px;
    color: var(--gray-text);
    font-weight: 600;
}

/* ROI Statement */
.roi-statement {
    background: linear-gradient(135deg, rgba(126, 211, 33, 0.1) 0%, rgba(16, 185, 129, 0.1) 100%);
    border: 1px solid rgba(126, 211, 33, 0.3);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
    margin-top: 60px;
}

.roi-badge {
    display: inline-block;
    background: rgba(126, 211, 33, 0.2);
    color: #7ED321;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 20px;
}

.roi-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
}

.roi-description {
    font-size: 16px;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.roi-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.roi-stat {
    background: rgba(0, 0, 0, 0.3);
    padding: 24px;
    border-radius: 12px;
    border: 1px solid rgba(126, 211, 33, 0.2);
}

.roi-stat-value {
    font-size: 36px;
    font-weight: 700;
    color: #7ED321;
    margin-bottom: 8px;
}

.roi-stat-label {
    font-size: 14px;
    color: var(--gray-text);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 1024px) {
    .results-comparison {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .transform-arrow-vertical {
        flex-direction: row;
    }

    .arrow-line {
        transform: rotate(90deg);
    }

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

    .roi-stats {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .savings-highlights {
        grid-template-columns: 1fr;
    }
}

/* Apartment Info Mini Cards */
.apt-info-mini {
    margin-top: 12px;
}

.apt-meta-mini {
    font-size: 11px;
    color: var(--gray-text);
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.apt-stats-mini {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.stat-mini {
    background: rgba(255, 255, 255, 0.02);
    padding: 8px 6px;
    border-radius: 6px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-mini.success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.stat-mini-value {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 2px;
}

.stat-mini.success .stat-mini-value {
    color: #10B981;
}

.stat-mini-label {
    display: block;
    font-size: 9px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rooms-mini {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.room-tag-mini {
    background: rgba(122, 162, 247, 0.2);
    color: #7aa2f7;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    border: 1px solid rgba(122, 162, 247, 0.3);
}

/* Group Badge Mini */
.group-badge-mini {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 10px;
    color: #1a1a1a;
}

.group-badge-mini.g1 {
    background: #ff6b6b;
}

.group-badge-mini.g2 {
    background: #4ecdc4;
}

.group-badge-mini.g3 {
    background: #9ece6a;
}

/* Compact Plot Canvas */
.compact-plot-canvas {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #1a1b26;
    margin-bottom: 20px;
    display: block;
}

/* Priority Stats */
.priority-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 20px 0;
    padding: 16px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.priority-stat-item {
    text-align: center;
}

.priority-stat-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.priority-stat-label {
    font-size: 10px;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Room tag enhancements */
.room-tag.br {
    background: rgba(59, 130, 246, 0.2);
    border-color: #3B82F6;
    color: #3B82F6;
}

.room-tag.lvr {
    background: rgba(251, 191, 36, 0.2);
    border-color: #FBBF24;
    color: #FBBF24;
}

.room-tag.apt {
    background: rgba(122, 162, 247, 0.2);
    border-color: #7aa2f7;
    color: #7aa2f7;
}

.room-tag.inv {
    background: rgba(128, 128, 128, 0.2);
    border-color: #808080;
    color: #c0c0c0;
}

/* Dashboard Enhancements */
.dashboard-subtitle {
    text-align: center;
    font-size: 14px;
    color: var(--gray-text);
    margin-bottom: 30px;
    font-style: italic;
}

.stat-row.critical {
    background: rgba(247, 118, 142, 0.1);
    padding: 12px;
    margin: 8px -12px;
    border-radius: 6px;
    border-left: 3px solid #f7768e;
}

.stat-row.success {
    background: rgba(16, 185, 129, 0.1);
    padding: 12px;
    margin: 8px -12px;
    border-radius: 6px;
    border-left: 3px solid #10B981;
}

.stat-value.large {
    font-size: 24px;
    font-weight: 700;
}

/* Optimization Insights */
.optimization-insights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid rgba(255, 107, 53, 0.2);
}

.insight-card {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1) 0%, rgba(255, 107, 53, 0.05) 100%);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.insight-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.4);
}

.insight-icon {
    font-size: 28px;
    margin-bottom: 8px;
}

.insight-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.insight-label {
    font-size: 12px;
    color: var(--gray-text);
    font-weight: 600;
}

@media (max-width: 1024px) {
    .optimization-insights {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .optimization-insights {
        grid-template-columns: 1fr;
    }
}
