/**
 * Vertali Group - Main Stylesheet
 * Corporate Luxury Theme
 */

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    /* Primary Colors - Matching Logo Blue/Cyan */
    --primary-blue: #1E3A8A;
    --primary-cyan: #06B6D4;
    --accent-blue: #3B82F6;
    --accent-cyan: #22D3EE;
    --accent-light: #67E8F9;
    
    /* Dark Luxury Palette */
    --bg-primary: #0A0F1E;
    --bg-secondary: #111827;
    --bg-tertiary: #1E293B;
    --bg-card: rgba(30, 41, 59, 0.6);
    
    /* Text Colors */
    --text-primary: #F8FAFC;
    --text-secondary: #CBD5E1;
    --text-muted: #94A3B8;
    --text-subtle: #64748B;
    
    /* Borders & Effects */
    --border-color: rgba(148, 163, 184, 0.15);
    --glass-bg: rgba(17, 24, 39, 0.7);
    --glass-border: rgba(255, 255, 255, 0.08);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-cyan) 100%);
    --gradient-accent: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-cyan) 100%);
    --gradient-dark: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(6, 182, 212, 0.15);
    
    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

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

ul, ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-accent);
    color: var(--bg-primary);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(6, 182, 212, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    border-color: var(--accent-cyan);
    color: var(--accent-cyan);
    background: rgba(6, 182, 212, 0.05);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-normal);
}

.header.scrolled {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 0;
}

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

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

.logo img {
    height: 45px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    white-space: nowrap;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-accent);
    transition: var(--transition-normal);
}

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

.nav-links a:hover::after,
.nav-links li.active a::after {
    width: 100%;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-normal);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-primary);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

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

.mobile-nav .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.mobile-nav-links a {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.mobile-nav-links a i {
    margin-right: 0.5rem;
    color: var(--accent-cyan);
}

.mobile-cta {
    margin-top: 1rem;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding: 8rem 0 6rem;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 20%, rgba(30, 58, 138, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 80%, rgba(6, 182, 212, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 50%, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(59, 130, 246, 0.2));
    top: -10%;
    left: -10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.3), rgba(34, 211, 238, 0.15));
    bottom: -5%;
    right: -5%;
    animation-delay: -5s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(6, 182, 212, 0.15));
    top: 40%;
    right: 20%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(20px, 10px) scale(1.02); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 900px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(6, 182, 212, 0.1);
    border: 1px solid rgba(6, 182, 212, 0.2);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent-cyan);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out 0.1s both;
}

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.3s both;
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-color);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

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

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-subtle);
    margin-top: 0.25rem;
}

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

/* ============================================
   SECTIONS GENERAL
   ============================================ */
.section {
    padding: 7rem 0;
    position: relative;
}

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

.section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.about-feature i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 182, 212, 0.1);
    border-radius: 10px;
    color: var(--accent-cyan);
    font-size: 1.1rem;
    flex-shrink: 0;
}

.about-feature h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.about-feature p {
    font-size: 0.9rem;
    margin: 0;
}

.about-visual {
    position: relative;
}

.about-visual-main {
    background: var(--gradient-primary);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.about-visual-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 100px;
    opacity: 0.5;
}

.about-visual-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.about-visual-content h4 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-visual-content p {
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
}

.about-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.about-stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.about-stat-card .number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    display: block;
}

.about-stat-card .label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 2.5rem;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glow);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 1.5rem;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--accent-cyan);
}

.service-link:hover {
    gap: 0.75rem;
}

/* ============================================
   TALENTS SECTION
   ============================================ */
.talents {
    background: var(--bg-secondary);
}

.talents-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.talent-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 3/4;
    cursor: pointer;
}

.talent-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.talent-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(10, 15, 30, 0.95) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: var(--transition-normal);
}

.talent-card:hover .talent-overlay {
    opacity: 1;
}

.talent-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.25rem;
}

.talent-role {
    font-size: 0.9rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.talent-stats {
    display: flex;
    gap: 1rem;
}

.talent-stat {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.talent-stat i {
    color: var(--accent-cyan);
}

.view-all-talents {
    text-align: center;
    margin-top: 3rem;
}

/* ============================================
   HOUSES SECTION
   ============================================ */
.houses-section {
    background: var(--bg-secondary);
}

.houses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.house-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.house-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glow);
}

.house-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.house-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.house-card:hover .house-image img {
    transform: scale(1.1);
}

.house-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--gradient-accent);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.house-content {
    padding: 1.5rem;
}

.house-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.house-location {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.house-location i {
    color: var(--accent-cyan);
}

.house-specs {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.house-specs span {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.house-specs i {
    color: var(--text-subtle);
}

.house-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.feature-tag {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    font-size: 0.8rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    border: 1px solid rgba(6, 182, 212, 0.2);
}

.house-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.house-footer .capacity {
    font-size: 0.9rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.house-footer .capacity i {
    color: var(--accent-cyan);
}

/* ============================================
   WHY CHOOSE US SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    transition: var(--transition-normal);
}

.feature-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    background: rgba(6, 182, 212, 0.05);
}

.feature-number {
    width: 50px;
    height: 50px;
    background: var(--gradient-accent);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.feature-content h3 {
    font-size: 1.15rem;
    margin-bottom: 0.5rem;
}

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

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 80px;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    color: white;
}

.cta h2 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}

.cta p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    margin-bottom: 2rem;
}

.cta .btn-primary {
    background: white;
    color: var(--primary-blue);
}

.cta .btn-primary:hover {
    background: var(--bg-primary);
    color: white;
}

/* ============================================
   PAGE HERO
   ============================================ */
.page-hero {
    position: relative;
    padding: 10rem 0 6rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--bg-primary) 100%);
    overflow: hidden;
}

.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.05)" stroke-width="0.5"/></svg>');
    background-size: 60px;
}

.page-hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.page-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   HOUSES PAGE STYLES
   ============================================ */
.houses-stats {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.stat-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.stat-box:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
}

.stat-box i {
    font-size: 2rem;
    color: var(--accent-cyan);
    margin-bottom: 1rem;
}

.stat-box .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.stat-box .label {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.all-houses {
    background: var(--bg-primary);
}

.houses-grid-lg {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.house-card-lg {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.house-card-lg:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
    box-shadow: var(--shadow-glow);
}

.house-card-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.house-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

.house-card-lg:hover .house-card-image img {
    transform: scale(1.05);
}

.house-status {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: #22C55E;
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.house-card-content {
    padding: 1.5rem;
}

.house-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.house-card-header h3 {
    font-size: 1.35rem;
}

.state-badge {
    background: var(--gradient-accent);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
}

.house-address {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.house-address i {
    color: var(--accent-cyan);
}

.house-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.25rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.detail-item i {
    color: var(--accent-cyan);
    width: 20px;
}

.house-amenities {
    margin-bottom: 1.5rem;
}

.house-amenities h4 {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    color: var(--text-muted);
}

.amenities-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.amenity-tag {
    background: rgba(6, 182, 212, 0.1);
    color: var(--accent-cyan);
    font-size: 0.85rem;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    border: 1px solid rgba(6, 182, 212, 0.2);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.amenity-tag i {
    font-size: 0.75rem;
}

.house-card-footer {
    display: flex;
    gap: 1rem;
}

.house-card-footer .btn {
    flex: 1;
    justify-content: center;
}

/* Benefits Section */
.benefits {
    background: var(--bg-secondary);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.benefit-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateY(-5px);
    border-color: rgba(6, 182, 212, 0.3);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-accent);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin: 0 auto 1.25rem;
}

.benefit-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
}

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

/* CTA Box */
.cta-alt {
    background: var(--bg-primary);
}

.cta-box {
    background: var(--gradient-primary);
    border-radius: 24px;
    padding: 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="0.5"/></svg>');
    background-size: 80px;
}

.cta-box-content {
    position: relative;
    z-index: 1;
}

.cta-box h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.cta-box-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-box-buttons .btn-primary {
    background: white;
    color: var(--primary-blue);
}

.cta-box-buttons .btn-primary:hover {
    background: var(--bg-primary);
    color: white;
}

.cta-box-buttons .btn-outline {
    border-color: rgba(255, 255, 255, 0.4);
    color: white;
}

.cta-box-buttons .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
}

.cta-box-stats {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.cta-stat {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
}

.cta-stat .number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
}

.cta-stat .label {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 5rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    font-size: 0.95rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-normal);
}

.footer-social a:hover {
    background: var(--accent-cyan);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-links h4 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-subtle);
    font-size: 0.9rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: var(--text-subtle);
    font-size: 0.9rem;
}

.footer-bottom-links a:hover {
    color: var(--accent-cyan);
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-accent);
    border: none;
    color: var(--bg-primary);
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .nav {
        gap: 1.5rem;
    }
    
    .nav-links {
        gap: 1.25rem;
    }
    
    .nav-links a {
        font-size: 0.85rem;
    }
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Houses Page */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .houses-grid-lg {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-box {
        grid-template-columns: 1fr;
        padding: 3rem;
    }
    
    .cta-box-stats {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav .btn {
        display: none;
    }

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

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

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

    .services-grid,
    .houses-grid,
    .talents-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .section {
        padding: 4rem 0;
    }
    
    /* Houses Page Mobile */
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .stat-box {
        padding: 1.5rem;
    }
    
    .stat-box .number {
        font-size: 2rem;
    }
    
    .house-card-image {
        height: 200px;
    }
    
    .house-details {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2rem;
    }
    
    .cta-box-buttons {
        flex-direction: column;
    }
    
    .cta-box-stats {
        flex-direction: column;
    }
}


/* ============================================
   LEGAL PAGES STYLES
   ============================================ */

/* Legal Page Container */
.legal-page {
    padding: 8rem 0 5rem;
    background: var(--bg-primary);
    min-height: 100vh;
}

.legal-page .container {
    max-width: 900px;
}

.legal-page-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.legal-page-header h1 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    margin-bottom: 1rem;
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.legal-page-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Legal Date - Last Updated */
.legal-date {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
}

.legal-date i {
    color: var(--accent-cyan);
}

/* Legal Table of Contents */
.legal-toc {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
    position: sticky;
    top: 100px;
    z-index: 10;
}

.legal-toc-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-toc-title i {
    color: var(--accent-cyan);
}

.legal-toc ol {
    list-style: none;
    counter-reset: toc-counter;
}

.legal-toc li {
    counter-increment: toc-counter;
    margin-bottom: 0.5rem;
}

.legal-toc li::before {
    content: counter(toc-counter) ". ";
    color: var(--accent-cyan);
    font-weight: 600;
}

.legal-toc a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
    display: inline-block;
    padding: 0.25rem 0;
}

.legal-toc a:hover {
    color: var(--accent-cyan);
    transform: translateX(5px);
}

/* Legal Content Wrapper */
.legal-content {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.9;
}

.legal-content > * + * {
    margin-top: 1.5rem;
}

/* Legal Sections */
.legal-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 120px;
}

.legal-section:last-child {
    border-bottom: none;
}

/* Numbered Headings */
.legal-content h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin: 2.5rem 0 1.25rem;
    counter-increment: legal-section;
    display: flex;
    align-items: baseline;
    gap: 0.75rem;
}

.legal-content h2::before {
    content: counter(legal-section) ".";
    color: var(--accent-cyan);
    font-weight: 700;
    min-width: 2rem;
}

.legal-content h3 {
    font-size: 1.25rem;
    color: var(--text-primary);
    margin: 2rem 0 1rem;
}

.legal-content h4 {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 1.5rem 0 0.75rem;
}

/* Subsection Lists (a, b, c) */
.legal-content ol.legal-subsections,
.legal-content ol[type="a"] {
    list-style: none;
    counter-reset: subsection;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-content ol.legal-subsections > li,
.legal-content ol[type="a"] > li {
    counter-increment: subsection;
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.legal-content ol.legal-subsections > li::before,
.legal-content ol[type="a"] > li::before {
    content: counter(subsection, lower-alpha) ".";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Numbered Lists */
.legal-content ol.legal-numbered {
    list-style: none;
    counter-reset: numbered-list;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-content ol.legal-numbered > li {
    counter-increment: numbered-list;
    padding-left: 2.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.legal-content ol.legal-numbered > li::before {
    content: counter(numbered-list) ".";
    position: absolute;
    left: 0;
    color: var(--accent-cyan);
    font-weight: 600;
}

/* Definition Lists */
.legal-content dl {
    margin: 1.5rem 0;
}

.legal-content dt {
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-cyan);
}

.legal-content dd {
    margin-left: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Regular Lists */
.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin: 1rem 0;
}

.legal-content ul > li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.legal-content ul > li::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0.75rem;
    width: 6px;
    height: 6px;
    background: var(--gradient-accent);
    border-radius: 50%;
}

/* Nested Lists */
.legal-content li > ul,
.legal-content li > ol {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

/* Cookie Table */
.cookie-table-wrapper {
    overflow-x: auto;
    margin: 1.5rem 0;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    background: var(--bg-card);
}

.cookie-table thead {
    background: var(--bg-tertiary);
}

.cookie-table th {
    padding: 1rem 1.25rem;
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 2px solid var(--border-color);
    white-space: nowrap;
}

.cookie-table td {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: top;
}

.cookie-table tbody tr:nth-child(even) {
    background: rgba(6, 182, 212, 0.03);
}

.cookie-table tbody tr:hover {
    background: rgba(6, 182, 212, 0.08);
}

.cookie-table tbody tr:last-child td {
    border-bottom: none;
}

/* Cookie Type Badges */
.cookie-type {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cookie-type.necessary {
    background: rgba(34, 197, 94, 0.15);
    color: #22C55E;
}

.cookie-type.analytics {
    background: rgba(59, 130, 246, 0.15);
    color: #3B82F6;
}

.cookie-type.marketing {
    background: rgba(168, 85, 247, 0.15);
    color: #A855F7;
}

.cookie-type.preferences {
    background: rgba(245, 158, 11, 0.15);
    color: #F59E0B;
}

/* Contact Info Block */
.legal-contact {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
}

.legal-contact h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    margin-top: 0;
    color: var(--text-primary);
}

.legal-contact p {
    margin-bottom: 0.5rem;
    color: var(--text-muted);
}

.legal-contact strong {
    color: var(--text-secondary);
}

/* Legal Page Footer */
.legal-footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.legal-footer p {
    color: var(--text-subtle);
    font-size: 0.9rem;
}

.legal-footer a {
    color: var(--accent-cyan);
}

.legal-footer a:hover {
    text-decoration: underline;
}

/* Inline TOC (Alternative to sticky) */
.legal-toc-inline {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 3rem;
}

.legal-toc-inline ol {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0.5rem 2rem;
}

/* Highlight Box */
.legal-highlight {
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
    border-left: 4px solid var(--accent-cyan);
    border-radius: 0 12px 12px 0;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-highlight p {
    margin: 0;
    color: var(--text-secondary);
}

.legal-highlight p + p {
    margin-top: 0.75rem;
}

/* Notice Box */
.legal-notice {
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin: 1.5rem 0;
}

.legal-notice-title {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.legal-notice-title i {
    color: var(--accent-cyan);
}

/* Responsive Styles for Legal Pages */
@media (max-width: 768px) {
    .legal-page {
        padding: 6rem 0 3rem;
    }
    
    .legal-toc {
        position: static;
        padding: 1.25rem;
        margin-bottom: 2rem;
    }
    
    .legal-toc-inline ol {
        grid-template-columns: 1fr;
    }
    
    .legal-content {
        font-size: 1rem;
    }
    
    .legal-content h2 {
        font-size: 1.35rem;
    }
    
    .legal-content h3 {
        font-size: 1.15rem;
    }
    
    .cookie-table-wrapper {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }
    
    .cookie-table th,
    .cookie-table td {
        padding: 0.875rem 1rem;
        font-size: 0.9rem;
    }
    
    .legal-contact {
        padding: 1.25rem;
    }
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .back-to-top,
    .legal-toc,
    .mobile-menu-btn {
        display: none !important;
    }
    
    .legal-page {
        padding: 2rem 0;
        background: white;
        color: black;
    }
    
    .legal-content {
        color: black;
        font-size: 11pt;
        line-height: 1.6;
    }
    
    .legal-content h2,
    .legal-content h3,
    .legal-content h4 {
        color: black;
        page-break-after: avoid;
    }
    
    .legal-content h2 {
        font-size: 14pt;
        margin-top: 1.5rem;
    }
    
    .legal-content h3 {
        font-size: 12pt;
    }
    
    .legal-section {
        page-break-inside: avoid;
        border-bottom: 1px solid #ccc;
    }
    
    .cookie-table {
        font-size: 9pt;
        page-break-inside: auto;
    }
    
    .cookie-table thead {
        display: table-header-group;
    }
    
    .cookie-table tr {
        page-break-inside: avoid;
    }
    
    .legal-contact {
        background: #f5f5f5;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
    
    .legal-highlight {
        background: #f0f9ff;
        border-left: 3px solid #0ea5e9;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #666;
    }
    
    /* Avoid breaking lists */
    ul, ol {
        page-break-inside: avoid;
    }
    
    li {
        page-break-inside: avoid;
    }
}
