/* ==========================================================================
   LIQUID GLASS V2.0 DESIGN SYSTEM - OSADA ZACISZE KONOPNE
   ========================================================================== */

/* --- Design Tokens & Variables --- */
:root {
    --bg-dark: #0b0a08; /* Deepened warm charcoal with rich sand-beige undertone */
    --bg-dark-accent: #13110e; /* Luxurious dark chocolate-sand base */
    --primary: #10b981;
    --primary-rgb: 16, 185, 129;
    --primary-dark: #059669;
    --accent: #fbbf24;
    --accent-rgb: 251, 191, 36;
    --accent-dark: #d97706;
    --text-light: #fbfaf8; /* Premium warm linen white for extreme reading comfort */
    --text-muted: #dcd3c1; /* Softened luxurious sand-beige description color */
    --text-dark: #111827;
    
    /* Premium Warm Beige Accents (Synthesized from Infographic Sandy Base) */
    --beige: #f3edd7; /* Enriched warm golden beige */
    --beige-rgb: 243, 237, 215;
    --beige-light: #fdfcf9; /* Radiant warm silk beige */
    --beige-dark: #c4b598; /* Smoked clay sand accent */
    --beige-glow: rgba(243, 237, 215, 0.42);
    
    /* Premium Glassmorphism Specs - Deepened Warm Champagne Glass Elements */
    --glass-bg: rgba(45, 39, 31, 0.66); /* Rich semi-translucent luxurious warm sand-beige glass background */
    --glass-card-bg: rgba(58, 49, 39, 0.48); /* Luxury warm smoked sand-beige sub-widget glass card */
    --glass-input-bg: rgba(255, 255, 255, 0.02);
    --glass-border: rgba(243, 237, 215, 0.15); /* Warm sand-beige outer outline */
    --glass-border-light: rgba(245, 230, 200, 0.34); /* Premium warm gold-champagne reflective edge highlight */
    --glass-shadow: 0 25px 65px -15px rgba(0, 0, 0, 0.68);
    --glass-inner-shadow: 
        inset 0 1px 0px 0px rgba(255, 245, 225, 0.35), /* crisp bright golden top specular edge highlight */
        inset 0 10px 30px rgba(243, 237, 215, 0.08),  /* warm inner ambient glow */
        inset 0 -1px 0px 0px rgba(255, 255, 255, 0.05); /* soft bottom refraction */
    
    /* Typography */
    --font-headings: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.25s ease;
}

/* --- Reset & Base Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

body {
    background-color: var(--bg-dark);
    font-family: var(--font-body);
    color: var(--text-light);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Custom Premium Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: rgba(232, 226, 213, 0.15); /* Elegant warm beige glass scrollbar */
    border-radius: 5px;
    border: 2px solid var(--bg-dark);
    transition: var(--transition-fast);
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 226, 213, 0.35);
}

/* --- Atmospheric Ambient Layer --- */
.blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    opacity: 0.22;
    will-change: transform, left, top;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(249, 246, 240, 0.35) 0%, rgba(232, 226, 213, 0) 70%); /* Slow-pulsing warm champagne cloud */
    top: -10%;
    left: -10%;
    animation: floatBlob1 25s infinite alternate ease-in-out;
}

.blob-2 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(232, 226, 213, 0.5) 0%, rgba(188, 174, 149, 0) 75%); /* Massive organic warm sand-gold glow */
    bottom: -15%;
    right: -10%;
    animation: floatBlob2 30s infinite alternate ease-in-out;
}

.blob-3 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(167, 243, 208, 0.2) 0%, rgba(232, 226, 213, 0.05) 50%, rgba(0, 0, 0, 0) 70%); /* Soft olive-sand blend */
    top: 40%;
    left: 45%;
    animation: floatBlob3 20s infinite alternate ease-in-out;
}

@keyframes floatBlob1 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(120px, 80px) scale(1.1); }
    100% { transform: translate(-50px, 150px) scale(0.95); }
}

@keyframes floatBlob2 {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-150px, -100px) scale(1.15); }
    100% { transform: translate(50px, 50px) scale(0.9); }
}

@keyframes floatBlob3 {
    0% { transform: translate(0, 0) scale(0.9); }
    50% { transform: translate(60px, -70px) scale(1.1); }
    100% { transform: translate(-40px, 40px) scale(1); }
}

/* Fullscreen Blurred Render Layer with Premium Warm Sand-Beige Blended Overlay */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: linear-gradient(135deg, rgba(34, 30, 25, 0.72) 0%, rgba(12, 11, 9, 0.9) 100%), url('osada-render.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(8px) saturate(95%);
    z-index: 0;
    pointer-events: none;
    transform: scale(1.05); /* Avoid white edges from blur */
}

/* --- Layout Wrapper --- */
.main-wrapper {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    padding: 3.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem; /* beautiful spacing between floating glass panels! */
}

/* --- THE LIQUID GLASS BOARD --- */
.glass-board {
    width: 100%;
    max-width: 1240px;
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-top: 1.5px solid var(--glass-border-light);
    border-left: 1.5px solid var(--glass-border-light);
    box-shadow: var(--glass-shadow), var(--glass-inner-shadow);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-board:hover {
    box-shadow: 
        0 35px 80px -15px rgba(0, 0, 0, 0.72),
        0 0 50px -10px rgba(245, 230, 200, 0.28), /* Stunning warm champagne outer aura glow! */
        inset 0 1px 0px 0px rgba(255, 245, 225, 0.55), /* Intensified top specular highlights */
        inset 0 10px 30px rgba(243, 237, 215, 0.14);  /* Warm inner champagne bloom */
    border-color: rgba(245, 230, 200, 0.4);
}

/* Card specular sweep glare effect */
.glare-effect {
    position: absolute;
    top: -50%;
    left: -60%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        35deg,
        rgba(255, 255, 255, 0) 45%,
        rgba(255, 255, 255, 0.05) 50%,
        rgba(255, 255, 255, 0) 55%
    );
    pointer-events: none;
    z-index: 5;
    transform: rotate(0deg);
    animation: specularSweep 12s infinite ease-in-out;
}

@keyframes specularSweep {
    0% { transform: translate(-30%, -30%) rotate(0deg); }
    100% { transform: translate(30%, 30%) rotate(15deg); }
}

/* --- HEADER SECTION --- */
.glass-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.2rem 3rem;
    border-bottom: 1px solid var(--glass-border);
    position: relative;
    z-index: 6;
}

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

.logo-icon-wrapper {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border-light);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: inset 0 2px 5px rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.logo-svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 0 6px rgba(16, 185, 129, 0.4));
}

.logo-area:hover .logo-icon-wrapper {
    transform: rotate(10deg) scale(1.05);
    border-color: rgba(232, 226, 213, 0.5);
}

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

.logo-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    color: var(--text-light);
    line-height: 1;
}

.logo-subtitle {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.38em;
    color: var(--primary);
    margin-top: 0.2rem;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

/* Status Badge */
.status-badge {
    background: rgba(232, 226, 213, 0.06);
    border: 1px solid rgba(232, 226, 213, 0.35); /* strong glass edge light */
    border-radius: 100px;
    padding: 0.5rem 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25), /* top light reflection */
        inset 0 -3px 6px rgba(0, 0, 0, 0.15); /* bottom thickness shade */
    backdrop-filter: blur(10px);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--beige-dark);
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(232, 226, 213, 0.7);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(232, 226, 213, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(232, 226, 213, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(232, 226, 213, 0);
    }
}

.status-text {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    color: var(--beige-light);
}

/* --- HERO SECTION --- */
.hero-section {
    padding: 4.5rem 3rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
}

.hero-headline {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 3.5rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.8rem;
}

.highlight-text {
    background: linear-gradient(120deg, #10b981 0%, var(--beige) 60%, #10b981 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 6s linear infinite;
}

@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.hero-description {
    font-size: 1.15rem;
    line-height: 1.65;
    color: var(--text-muted);
    font-weight: 300;
}

/* Statistics Glass Widget */
.showcase-widget {
    background: rgba(38, 35, 30, 0.45); /* luxury warm smoked glass */
    border: 1px solid rgba(232, 226, 213, 0.2); /* warm sandy-smoke glass border */
    border-radius: 24px;
    padding: 2rem;
    box-shadow: 
        0 25px 55px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3), /* high specular crystal top highlight */
        inset 0 -8px 16px rgba(0, 0, 0, 0.3),     /* bottom shade */
        inset 0 8px 16px rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    transition: var(--transition-smooth);
}

.showcase-widget:hover {
    border-color: rgba(245, 230, 200, 0.35);
    box-shadow: 
        0 28px 60px -10px rgba(0, 0, 0, 0.55),
        0 0 25px -5px rgba(245, 230, 200, 0.15), /* sand-gold edge aura glow */
        inset 0 1px 0 0 rgba(255, 255, 255, 0.4),
        inset 0 -8px 16px rgba(0, 0, 0, 0.35);
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.widget-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.widget-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-light);
}

.widget-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.widget-item {
    display: flex;
    flex-direction: column;
}

.widget-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    color: var(--beige-dark);
    margin-bottom: 0.2rem;
}

.widget-val {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-light);
    line-height: 1.2;
}

.widget-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}

/* --- DETAILS SECTION (DOUBLE PANEL) --- */
.details-section {
    padding: 5rem 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.pitch-panel {
    display: flex;
    flex-direction: column;
}

.panel-tag {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    color: var(--beige-dark);
    margin-bottom: 0.8rem;
}

.panel-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.panel-lead {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    font-weight: 300;
}

/* Premium Accordion */
.spec-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: rgba(25, 23, 20, 0.32); /* warm dark obsidian sand */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 18px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.05),
        0 4px 10px rgba(0, 0, 0, 0.15);
}

.accordion-item:hover, .accordion-item.active {
    background: rgba(45, 41, 35, 0.48); /* thick organic clay glass plate */
    border-color: rgba(245, 230, 200, 0.38); /* glossy sand-beige reflective outer border */
    box-shadow: 
        0 15px 35px -10px rgba(0, 0, 0, 0.5),
        0 0 20px -5px rgba(245, 230, 200, 0.12), /* soft sand-gold outer aura glow! */
        inset 0 1px 0 0 rgba(255, 255, 255, 0.28), /* strong specular top highlight border */
        inset 0 -6px 12px rgba(0, 0, 0, 0.3),     /* bottom glass thickness shading */
        inset 0 6px 12px rgba(255, 255, 255, 0.04);
}

.accordion-trigger {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.accordion-num {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--beige-dark);
    margin-right: 1.2rem;
    opacity: 0.85;
}

.accordion-title {
    font-family: var(--font-headings);
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--text-light);
    flex-grow: 1;
}

.accordion-icon {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 150px;
    padding-bottom: 1.5rem;
}

.accordion-content p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
}

/* Glass Viewport Panel (Interactive Image Viewport) */
.viewport-panel {
    display: flex;
    justify-content: center;
    align-items: center;
}

.viewport-card {
    width: 100%;
    max-width: 480px;
    border-radius: 24px;
    background: rgba(38, 35, 30, 0.45);
    border: 1px solid rgba(232, 226, 213, 0.2);
    box-shadow: 
        0 25px 55px -10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.3),
        inset 0 -8px 16px rgba(0, 0, 0, 0.3);
    padding: 0.8rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
    backdrop-filter: blur(14px);
}

.viewport-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: rgba(245, 230, 200, 0.42); /* Enriched champagne edge */
    box-shadow: 
        0 40px 80px -10px rgba(0, 0, 0, 0.75),
        0 0 30px -5px rgba(245, 230, 200, 0.18), /* Gorgeous gold edge halo aura glow! */
        inset 0 1px 0 0 rgba(255, 255, 255, 0.45), /* Specular highlights */
        inset 0 -8px 16px rgba(0, 0, 0, 0.35);
}

.viewport-overlay-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(16, 185, 129, 0.15) 0%, rgba(0, 0, 0, 0) 60%);
    pointer-events: none;
    z-index: 2;
}

.viewport-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.6rem 1rem 1rem 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.window-dots {
    display: flex;
    gap: 0.4rem;
}

.window-dots span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    display: inline-block;
}

.window-dots span:nth-child(1) { background-color: #ef4444; }
.window-dots span:nth-child(2) { background-color: #f59e0b; }
.window-dots span:nth-child(3) { background-color: #10b981; }

.window-title {
    font-size: 0.75rem;
    font-family: monospace;
    color: var(--text-muted);
}

.viewport-image-container {
    width: 100%;
    aspect-ratio: 3/2;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    margin-top: 0.6rem;
    cursor: zoom-in;
}

.viewport-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

.viewport-image-container:hover .viewport-img {
    transform: scale(1.35);
}

.zoom-hint {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(10, 18, 14, 0.75);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    pointer-events: none;
    z-index: 3;
    opacity: 0.85;
    transition: var(--transition-fast);
}

.viewport-image-container:hover .zoom-hint {
    opacity: 0;
}

.zoom-hint span {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light);
}

/* --- 6 PILLARS SECTION --- */
.pillars-section {
    padding: 5.5rem 3rem;
}

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

.section-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 2.5rem;
    line-height: 1.2;
    margin-top: 0.8rem;
    margin-bottom: 1.2rem;
}

.section-subtitle {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-weight: 300;
}

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

.pillar-card {
    background: rgba(30, 27, 23, 0.35); /* luxury smoked warm sand-clay glass */
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 1px rgba(255, 255, 255, 0.08),
        0 10px 25px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, var(--pillar-glow) 0%, rgba(0, 0, 0, 0) 55%);
    opacity: 0;
    transition: var(--transition-smooth);
    z-index: 1;
    pointer-events: none;
}

.pillar-card:hover, .pillar-card:active {
    transform: translateY(-8px);
    background: rgba(46, 41, 34, 0.52);
    border-color: rgba(245, 230, 200, 0.38); /* glossy champagne-gold edge */
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.65), 
        0 0 25px -5px rgba(245, 230, 200, 0.15), /* sand-gold edge aura glow! */
        inset 0 1px 0 0 rgba(255, 255, 255, 0.35), /* high specular crystal top highlight */
        inset 0 -8px 16px rgba(0, 0, 0, 0.35),     /* heavy bottom glass shade */
        inset 0 8px 16px rgba(255, 255, 255, 0.08); /* inner reflection overlay */
}

.pillar-card:hover::before, .pillar-card:active::before {
    opacity: 0.15;
}

.pillar-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
    transition: var(--transition-smooth);
}

.pillar-card:hover .pillar-icon-box, .pillar-card:active .pillar-icon-box {
    background: var(--pillar-glow);
    border-color: transparent;
    color: var(--text-dark);
    box-shadow: 0 0 20px var(--pillar-glow);
}

.pillar-icon-box svg {
    width: 26px;
    height: 26px;
}

.pillar-title {
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 2;
}

.pillar-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    position: relative;
    z-index: 2;
}

/* --- CTA SECTION & COUNTDOWN --- */
.cta-section {
    padding: 5rem 3rem;
}

.cta-glass {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    position: relative;
    overflow: visible;
    box-shadow: none;
}

.cta-glow {
    position: absolute;
    top: -50%;
    right: -40%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 226, 213, 0.22) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta-subtitle {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: var(--beige);
    margin-bottom: 1rem;
}

.cta-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 2.8rem;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.cta-desc {
    font-size: 1.1rem;
    line-height: 1.65;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

/* Newsletter Premium Form */
.cta-form {
    display: flex;
    width: 100%;
    max-width: 620px;
    gap: 1rem;
    margin-bottom: 4rem;
}

.input-wrapper {
    position: relative;
    flex-grow: 1;
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: var(--transition-fast);
}

.glass-input {
    width: 100%;
    height: 60px;
    background: rgba(0, 0, 0, 0.25); /* dark obsidian glass hollow tube */
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    padding: 0 1.5rem 0 3.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-light);
    outline: none;
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.35);
    border-color: rgba(232, 226, 213, 0.35); /* glossy sand-beige border */
    box-shadow: 
        inset 0 2px 5px rgba(0, 0, 0, 0.5),
        0 0 25px rgba(232, 226, 213, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.glass-input:focus + .input-icon {
    color: var(--beige);
    transform: translateY(-50%) scale(1.05);
}

.glass-input:focus {
    background: rgba(0, 0, 0, 0.35);
    border-color: var(--beige-dark);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 20px var(--beige-glow);
}

.glass-input:focus + .input-icon {
    color: var(--beige);
    transform: translateY(-50%) scale(1.05);
}

/* Glass Premium Button - Refractive Emerald Crystal Plate */
.glass-btn {
    height: 60px;
    padding: 0 2.2rem;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.72) 0%, rgba(5, 150, 105, 0.85) 100%);
    border: 1px solid rgba(232, 226, 213, 0.28); /* warm sand-beige reflective outer border */
    border-radius: 18px;
    font-family: var(--font-headings);
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    box-shadow: 
        0 12px 30px -5px rgba(16, 185, 129, 0.3),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.45), /* strong specular top crystal highlight */
        inset 0 -8px 16px rgba(0, 0, 0, 0.35),     /* bottom smoked glass thickness shade */
        inset 0 8px 16px rgba(255, 255, 255, 0.12); /* inner reflection */
    backdrop-filter: blur(12px);
    transition: var(--transition-smooth);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.glass-btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
}

.glass-btn:hover {
    transform: translateY(-3px);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.88) 0%, rgba(5, 150, 105, 0.95) 50%, rgba(232, 226, 213, 0.2) 100%);
    border-color: rgba(232, 226, 213, 0.45);
    box-shadow: 
        0 20px 40px -5px rgba(16, 185, 129, 0.45),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.6), /* extreme highlight */
        inset 0 -8px 16px rgba(0, 0, 0, 0.35);
}

.glass-btn:active {
    transform: translateY(-1px);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-btn:hover .btn-arrow {
    transform: translateX(5px);
}

/* Timeline System */
.timeline-container {
    width: 100%;
    max-width: 650px;
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.9rem;
}

.timeline-header span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
}

.timeline-percentage {
    font-family: var(--font-headings);
    font-weight: 800;
    color: var(--beige) !important;
}

.timeline-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 1.2rem;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.3);
}

.timeline-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--beige) 100%);
    border-radius: 100px;
    position: relative;
    overflow: hidden;
}

.timeline-progress::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.25) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    animation: timelineShimmer 3s infinite linear;
}

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

.timeline-milestones {
    display: flex;
    justify-content: space-between;
}

.timeline-milestones span {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.3);
    position: relative;
    transition: var(--transition-fast);
}

.timeline-milestones span.active {
    color: var(--text-light);
}

.timeline-milestones span.active.animate-pulse {
    color: var(--beige);
    animation: timelinePulse 2s infinite;
}

@keyframes timelinePulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

/* --- FOOTER --- */
.glass-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.2rem 3rem;
    background: transparent;
    position: relative;
    z-index: 6;
}

.glass-footer p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 300;
}

.designer-credit {
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.28) !important;
    margin-top: 0.4rem;
    font-weight: 300;
}

.designer-link {
    color: rgba(96, 165, 250, 0.6) !important; /* gorgeous light-blue designer color as shown in image */
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 400;
    border-bottom: 1px dashed rgba(96, 165, 250, 0.3);
    padding-bottom: 1px;
}

.designer-link:hover {
    color: rgba(245, 230, 200, 0.9) !important; /* sand-gold hover */
    border-bottom-color: rgba(245, 230, 200, 0.7);
    text-shadow: 0 0 8px rgba(245, 230, 200, 0.3);
}

.motto {
    font-family: var(--font-headings);
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--primary) !important;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.location-tag {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 400;
}

.location-tag svg {
    color: var(--beige);
}

/* --- MODAL SYSTEM (SUCCESS FEEDBACK) --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(5, 11, 7, 0.7);
    backdrop-filter: blur(15px);
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
    background: rgba(15, 25, 20, 0.6);
    border: 1px solid var(--glass-border-light);
    border-radius: 28px;
    padding: 3.5rem 3rem;
    max-width: 460px;
    width: 90%;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 35px 80px rgba(0, 0, 0, 0.8), var(--glass-inner-shadow);
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon-wrapper {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--primary);
    margin-bottom: 1.8rem;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.2);
}

.modal-icon-wrapper svg {
    width: 32px;
    height: 32px;
}

.modal-title {
    font-family: var(--font-headings);
    font-weight: 800;
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.modal-text {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2.2rem;
    font-weight: 300;
}

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

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1200px) {
    .glass-board {
        border-radius: 24px;
    }
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 3.5rem 2rem;
    }
    
    .showcase-widget {
        max-width: 600px;
        width: 100%;
        margin: 0 auto;
    }
    
    .details-section {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding: 4rem 2rem;
    }
    
    .viewport-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .pillars-section {
        padding: 4rem 2rem;
    }
    
    .cta-section {
        padding: 4rem 2rem;
    }
    
    .cta-glass {
        padding: 3rem 2rem;
    }
}

@media (max-width: 768px) {
    .main-wrapper {
        padding: 1.5rem 1rem;
    }
    
    .glass-header {
        padding: 1.5rem;
        flex-direction: column;
        gap: 1.5rem;
        align-items: flex-start;
    }
    
    .status-badge {
        align-self: flex-start;
    }
    
    .hero-section {
        padding: 2.5rem 1.5rem;
    }
    
    .hero-headline {
        font-size: 2.6rem;
    }
    
    .details-section {
        padding: 3rem 1.5rem;
    }
    
    .panel-title {
        font-size: 2rem;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .pillars-section {
        padding: 3rem 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .cta-section {
        padding: 3rem 1.5rem;
    }
    
    .cta-glass {
        padding: 2.5rem 1.5rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-form {
        flex-direction: column;
        gap: 1rem;
    }
    
    .glass-btn {
        width: 100%;
        justify-content: center;
    }
    
    .glass-footer {
        padding: 2rem 1.5rem;
        flex-direction: column;
        gap: 1.2rem;
        text-align: center;
    }
    
    .location-tag {
        justify-content: center;
    }
}

/* --- THE NOTCHED CARD LAYOUT (SEDELA ESTHETIC) --- */
.notched-card {
    border-top-right-radius: 0 !important;
}

.card-notch {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 64px;
    height: 64px;
    z-index: 10;
}

.notch-fillet {
    position: absolute;
    width: 16px;
    height: 16px;
    background: transparent;
    pointer-events: none;
    z-index: 1;
    border-top-right-radius: 16px;
    box-shadow: 12px -12px 0 12px var(--glass-bg); /* matches the warm glass backdrop with high-precision pixel spread */
    border-top: 1.2px solid var(--glass-border);
    border-right: 1.2px solid var(--glass-border);
    transition: border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.notch-fillet-left {
    right: 64px;
    top: 1px;
}

.notch-fillet-bottom {
    right: 1px;
    top: 64px;
}

/* Fillet color shifts to stay organic with card hover glows */
.notched-card:hover .notch-fillet {
    border-color: rgba(245, 230, 200, 0.4);
    box-shadow: 12px -12px 0 12px rgba(45, 39, 31, 0.66);
}

/* Responsive Notched Pillar Card layout overrides */
.pillar-card.notched-card {
    padding-top: 3.5rem;
    padding-right: 3rem;
}

.pillar-card.notched-card .pillar-icon-box {
    margin-bottom: 0; /* repositioned into the notch */
}

/* Dynamic custom styling for stats card stack inside Hero */
.widget-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 480px;
    z-index: 2;
    position: relative;
}

.widget-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(160%);
    -webkit-backdrop-filter: blur(25px) saturate(160%);
    border: 1px solid var(--glass-border);
    border-top: 1.5px solid var(--glass-border-light);
    border-left: 1.5px solid var(--glass-border-light);
    box-shadow: var(--glass-shadow), var(--glass-inner-shadow);
    border-radius: 24px;
    padding: 1.8rem 2rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.widget-card:hover {
    transform: translateY(-5px) scale(1.01);
    box-shadow: 
        0 30px 65px -15px rgba(0, 0, 0, 0.7),
        0 0 35px -10px rgba(245, 230, 200, 0.25),
        inset 0 1px 0px 0px rgba(255, 245, 225, 0.45),
        inset 0 10px 30px rgba(243, 237, 215, 0.1);
    border-color: rgba(245, 230, 200, 0.38);
}

.widget-card-content {
    padding-right: 3rem;
}

/* Notch circular button styles */
.notch-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 52px;
    height: 52px;
    border-radius: 50% !important;
    background: rgba(38, 35, 30, 0.55);
    border: 1px solid rgba(245, 230, 200, 0.34);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 0 rgba(255, 255, 255, 0.25);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    z-index: 3;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.widget-card:hover .notch-btn {
    transform: scale(1.08);
    background: var(--primary);
    border-color: transparent;
    color: var(--text-dark);
    box-shadow: 
        0 12px 25px rgba(16, 185, 129, 0.45),
        0 0 15px -3px rgba(245, 230, 200, 0.3);
}

.notch-btn svg {
    transition: var(--transition-smooth);
}

.widget-card:hover .notch-btn svg {
    transform: rotate(45deg);
}

/* Pillar Card notch adjustments to preserve individual brand glow colors */
.pillar-card.notched-card .pillar-icon-box.notch-btn {
    background: rgba(38, 35, 30, 0.55);
    border: 1px solid rgba(245, 230, 200, 0.34);
    color: var(--text-light);
}

.pillar-card.notched-card:hover .pillar-icon-box.notch-btn {
    transform: scale(1.08) rotate(15deg);
    background: var(--pillar-glow);
    border-color: transparent;
    color: var(--text-dark);
    box-shadow: 
        0 12px 25px rgba(0, 0, 0, 0.35),
        0 0 20px -3px var(--pillar-glow);
}

/* ==========================================================================
   COOKIE CONSENT BANNER (Liquid Glass)
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 120%);
    width: calc(100% - 3rem);
    max-width: 820px;
    background: rgba(28, 25, 20, 0.76);
    backdrop-filter: blur(30px) saturate(160%);
    -webkit-backdrop-filter: blur(30px) saturate(160%);
    border: 1px solid rgba(245, 230, 200, 0.12);
    border-top: 1.5px solid rgba(255, 245, 225, 0.25);
    border-radius: 24px;
    padding: 1.5rem 2rem;
    box-shadow: 
        0 25px 60px -15px rgba(0, 0, 0, 0.8),
        0 0 40px -10px rgba(245, 230, 200, 0.15),
        inset 0 1px 0px 0px rgba(255, 255, 255, 0.08);
    z-index: 1000;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    pointer-events: none;
}

.cookie-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text h4 {
    font-family: 'Outfit', sans-serif;
    color: var(--primary);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
    letter-spacing: 0.3px;
}

.cookie-text p {
    font-family: 'Inter', sans-serif;
    color: var(--text-light);
    font-size: 0.88rem;
    line-height: 1.5;
    opacity: 0.85;
}

.cookie-policy-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
    border-bottom: 1px dashed rgba(245, 158, 11, 0.4);
    transition: var(--transition-smooth);
}

.cookie-policy-link:hover {
    color: #FBBF24;
    border-bottom-color: #FBBF24;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cookie-btn-accept {
    padding: 0.65rem 1.75rem;
    font-size: 0.88rem;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, #10B981, #059669);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 20px -6px rgba(16, 185, 129, 0.4);
    transition: var(--transition-smooth);
}

.cookie-btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 12px 25px -4px rgba(16, 185, 129, 0.6),
        0 0 15px -3px rgba(245, 230, 200, 0.2);
}

.cookie-btn-decline {
    background: transparent;
    color: var(--text-light);
    border: none;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
    opacity: 0.7;
    padding: 0.5rem 1rem;
    transition: var(--transition-smooth);
}

.cookie-btn-decline:hover {
    opacity: 1;
    color: #EF4444;
}

/* Responsive banner */
@media (max-width: 768px) {
    .cookie-banner {
        bottom: 1rem;
        width: calc(100% - 2rem);
        padding: 1.25rem 1.5rem;
    }
    
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
    }
    
    .cookie-actions {
        width: 100%;
        justify-content: flex-end;
    }
}


/* ==========================================================================
   RODO / PRIVACY POLICY MODAL (Liquid Glass)
   ========================================================================== */
.legal-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 12, 10, 0.75);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    z-index: 2000;
    opacity: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.legal-modal {
    width: calc(100% - 3rem);
    max-width: 740px;
    max-height: 80vh;
    background: rgba(26, 23, 19, 0.88);
    border: 1px solid rgba(245, 230, 200, 0.15);
    border-top: 1.5px solid rgba(255, 245, 225, 0.3);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 
        0 40px 100px rgba(0, 0, 0, 0.9),
        0 0 60px -10px rgba(245, 230, 200, 0.2);
    transform: scale(0.92) translateY(30px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.legal-modal-overlay.show .legal-modal {
    transform: scale(1) translateY(0);
}

/* Close button */
.legal-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(245, 230, 200, 0.15);
    color: var(--text-light);
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    z-index: 10;
}

.legal-modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.4);
    color: #F87171;
    transform: rotate(90deg);
}

.legal-modal-close svg {
    display: block;
}

/* Content Container */
.legal-modal-content {
    overflow-y: auto;
    padding-right: 1rem;
    margin-bottom: 2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 230, 200, 0.2) transparent;
}

.legal-modal-content::-webkit-scrollbar {
    width: 6px;
}

.legal-modal-content::-webkit-scrollbar-track {
    background: transparent;
}

.legal-modal-content::-webkit-scrollbar-thumb {
    background: rgba(245, 230, 200, 0.2);
    border-radius: 10px;
}

/* Text styles inside modal */
.legal-modal-content h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    background: linear-gradient(135deg, #ffffff 30%, #F5E6C8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.legal-modal-content .subtitle {
    font-family: 'Outfit', sans-serif;
    font-size: 0.95rem;
    color: var(--primary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(245, 230, 200, 0.1);
    padding-bottom: 0.75rem;
}

.legal-modal-content section {
    margin-bottom: 1.75rem;
}

.legal-modal-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.65rem;
}

.legal-modal-content p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.85;
    margin-bottom: 0.75rem;
}

.legal-modal-content ul {
    list-style: none;
    padding-left: 0.5rem;
    margin-bottom: 0.75rem;
}

.legal-modal-content ul li {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.6;
    opacity: 0.85;
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: 0.45rem;
}

.legal-modal-content ul li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.legal-modal-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Action button area */
.legal-modal-actions {
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid rgba(245, 230, 200, 0.1);
    padding-top: 1.5rem;
}

.legal-modal-actions .modal-close-btn {
    min-width: 160px;
}

@media (max-width: 768px) {
    .legal-modal {
        padding: 1.75rem;
        max-height: 85vh;
    }
    
    .legal-modal-content h2 {
        font-size: 1.4rem;
    }
}

