/* ==========================================================================
   PREMIUM DESIGN SYSTEM - CLEVER2SMART SMART HOME VERTRIEBSWEBSITE
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-primary: #080a0d;
    --bg-secondary: #0f1219;
    --bg-card: rgba(18, 22, 31, 0.6);
    --bg-glass: rgba(10, 12, 17, 0.75);
    
    --color-green: #69c350;
    --color-green-glow: rgba(105, 195, 80, 0.3);
    --color-green-dark: #437b33;
    
    --color-red: #e03c3e;
    --color-red-glow: rgba(224, 60, 62, 0.35);
    --color-red-dark: #c82e30;
    
    --text-primary: #ffffff;
    --text-secondary: #9eaeb7;
    --text-muted: #5e6f7a;
    
    --border-light: rgba(255, 255, 255, 0.07);
    --border-glass: rgba(105, 195, 80, 0.15);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-quick: all 0.25s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    line-height: 1.6;
}

body.modal-open {
    overflow: hidden;
}

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

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

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

ul {
    list-style: none;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: #1c2230;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-green);
}

/* Container Utility */
.container {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 24px;
    }
}

/* ==========================================================================
   BUTTONS & ACTIONS
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
    gap: 10px;
}

.btn-primary {
    background-color: var(--color-red);
    color: var(--text-primary);
    box-shadow: 0 4px 15px var(--color-red-glow);
}

.btn-primary:hover {
    background-color: var(--color-red-dark);
    box-shadow: 0 6px 22px rgba(224, 60, 62, 0.5);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
}

/* ==========================================================================
   HEADER & NAVIGATION
   ========================================================================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 15px 0;
    background-color: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

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

.logo-link {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    text-transform: uppercase;
}

.accent-green {
    color: var(--color-green);
    text-shadow: 0 0 10px var(--color-green-glow);
}

.badge {
    font-size: 0.65rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-secondary);
}

/* Nav Menu Desktop */
.nav-menu ul {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-green);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--color-green);
}

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

.nav-link.active::after,
.nav-link:hover::after {
    width: 100%;
}

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

.btn-nav {
    padding: 10px 20px;
    font-size: 0.85rem;
}

/* Mobile Toggle */
.mobile-nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001;
}

.mobile-nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-quick);
}

@media (max-width: 992px) {
    .nav-menu, .btn-nav {
        display: none;
    }
    
    .mobile-nav-toggle {
        display: flex;
    }
}

/* Mobile Overlay Menu */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background-color: rgba(8, 10, 13, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.mobile-menu-overlay.open {
    right: 0;
}

.mobile-nav ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.mobile-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-link:hover {
    color: var(--color-green);
}

.mobile-btn {
    margin-top: 15px;
    width: 220px;
}

/* Toggle Active States */
.mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
    position: relative;
    width: 100vw;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.05);
    animation: slowScale 25s infinite alternate ease-in-out;
}

@keyframes slowScale {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(8, 10, 13, 0.2) 0%, rgba(8, 10, 13, 0.95) 80%),
                linear-gradient(to bottom, rgba(8, 10, 13, 0.3) 0%, rgba(8, 10, 13, 0.95) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    padding-top: 80px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-green);
    margin-bottom: 24px;
    border: 1px solid rgba(105, 195, 80, 0.2);
    padding: 6px 16px;
    border-radius: 50px;
    background-color: rgba(105, 195, 80, 0.05);
    backdrop-filter: blur(10px);
}

.tag-dot {
    width: 6px;
    height: 6px;
    background-color: var(--color-green);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--color-green);
    display: block;
}

.hero-title {
    font-size: 4.8rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.04em;
    margin-bottom: 24px;
}

@media (max-width: 992px) {
    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem;
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--color-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(105, 195, 80, 0.1);
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 600px;
    margin-bottom: 40px;
}

@media (max-width: 576px) {
    .hero-subtitle {
        font-size: 1rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
}

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    display: block;
    position: relative;
}

.mouse-wheel {
    width: 4px;
    height: 8px;
    background-color: var(--color-green);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollMouse 1.8s infinite ease-in-out;
}

@keyframes scrollMouse {
    0% { transform: translate(-50%, 0); opacity: 0; }
    40% { opacity: 1; }
    100% { transform: translate(-50%, 14px); opacity: 0; }
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--text-muted);
}

/* ==========================================================================
   FEATURES / VALUE PROPOSITION SECTION
   ========================================================================== */

.features-section {
    padding: 140px 0;
    background-color: var(--bg-primary);
    position: relative;
}

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

.section-header.text-center {
    text-align: center;
}

.section-tag {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-green);
    display: block;
    margin-bottom: 12px;
}

.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

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

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    font-size: 1.1rem;
    font-weight: 300;
}

.section-header.text-center .section-desc {
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.feature-card {
    position: relative;
    background-color: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 48px 36px;
    overflow: hidden;
    transition: var(--transition-smooth);
    z-index: 1;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glass);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(150px circle at var(--x, 0px) var(--y, 0px), rgba(105, 195, 80, 0.08), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    z-index: -1;
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    margin-bottom: 30px;
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background-color: var(--color-green);
    color: var(--bg-primary);
    border-color: var(--color-green);
    box-shadow: 0 0 20px var(--color-green-glow);
}

.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 16px;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* ==========================================================================
   APPLICATION AREAS SECTION (TABS)
   ========================================================================== */

.areas-section {
    padding: 140px 0;
    background-color: var(--bg-secondary);
}

.tabs-container {
    margin-top: 60px;
}

.tabs-header {
    display: flex;
    justify-content: center;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 50px;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: none; /* Firefox */
}

.tabs-header::-webkit-scrollbar {
    display: none; /* Safari/Chrome */
}

.tab-btn {
    font-family: var(--font-heading);
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 1.1rem;
    font-weight: 500;
    padding: 20px 32px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-quick);
    white-space: nowrap;
}

.tab-indicator {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--color-green);
    transform: scaleX(0);
    transition: var(--transition-smooth);
    box-shadow: 0 0 8px var(--color-green);
}

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

.tab-btn.active {
    color: var(--text-primary);
}

.tab-btn.active .tab-indicator {
    transform: scaleX(1);
}

/* Tabs Content Grid */
.tabs-content {
    position: relative;
}

.tab-pane {
    display: none;
    animation: fadeScale 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

@keyframes fadeScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.pane-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 992px) {
    .pane-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.pane-text-content {
    padding-right: 20px;
}

@media (max-width: 992px) {
    .pane-text-content {
        padding-right: 0;
    }
}

.pane-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--color-green);
    margin-bottom: 16px;
}

.pane-text-content h3 {
    font-size: 2.2rem;
    margin-bottom: 24px;
}

.pane-text-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 300;
    margin-bottom: 30px;
    line-height: 1.7;
}

.pane-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.pane-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.check-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background-color: rgba(105, 195, 80, 0.1);
    color: var(--color-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.pane-features span:last-child {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
}

.pane-cta {
    display: inline-flex;
}

.pane-image-holder {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 480px;
    border: 1px solid var(--border-light);
}

@media (max-width: 576px) {
    .pane-image-holder {
        height: 300px;
    }
}

.pane-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.pane-image-holder:hover .pane-img {
    transform: scale(1.04);
}

.image-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15, 18, 25, 0.4) 0%, transparent 100%),
                linear-gradient(to top, rgba(15, 18, 25, 0.6) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

/* ==========================================================================
   MANUFACTURE SECTION (PREMIUM ADVANTAGES)
   ========================================================================== */

.manufacture-section {
    padding: 140px 0;
    background-color: var(--bg-primary);
    position: relative;
}

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

@media (max-width: 992px) {
    .manufacture-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}

.manufacture-image {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    height: 600px;
    border: 1px solid var(--border-light);
}

@media (max-width: 992px) {
    .manufacture-image {
        height: 400px;
        order: 2;
    }
}

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

.detail-focus-glow {
    position: absolute;
    top: 60%;
    left: 50%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(105, 195, 80, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    pointer-events: none;
    animation: glowPulse 4s infinite ease-in-out;
}

@keyframes glowPulse {
    0% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(0.9); opacity: 0.5; }
}

.manufacture-text {
    padding-left: 20px;
}

@media (max-width: 992px) {
    .manufacture-text {
        padding-left: 0;
        order: 1;
    }
}

.large-paragraph {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.advantage-list {
    display: flex;
    flex-direction: column;
    gap: 36px;
}

.advantage-item {
    display: flex;
    gap: 24px;
}

.advantage-num {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--color-green);
    line-height: 1;
    text-shadow: 0 0 10px var(--color-green-glow);
}

.advantage-item h4 {
    font-size: 1.15rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.advantage-item p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-section {
    padding: 140px 0;
    background-color: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.grid-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(105, 195, 80, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(105, 195, 80, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    background-position: center;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
    pointer-events: none;
}

.contact-card {
    background: rgba(18, 22, 31, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 60px;
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .contact-card {
        padding: 40px 24px;
    }
}

.contact-header {
    text-align: center;
    margin-bottom: 48px;
}

.contact-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.contact-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 300;
    max-width: 600px;
    margin: 0 auto;
}

.impressum-display-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

@media (max-width: 992px) {
    .impressum-display-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}

@media (max-width: 768px) {
    .impressum-display-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.impressum-block {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 30px;
    transition: var(--transition-smooth);
}

.impressum-block:hover {
    border-color: var(--border-glass);
    background: rgba(255, 255, 255, 0.04);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.block-icon {
    width: 44px;
    height: 44px;
    background-color: rgba(105, 195, 80, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-green);
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(105, 195, 80, 0.05);
}

.impressum-block h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    font-weight: 600;
}

.impressum-block p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    font-weight: 300;
}

.impressum-block p strong {
    color: var(--text-primary);
}

.impressum-block p a {
    color: var(--color-green);
    text-decoration: underline;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.main-footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: 80px 0 40px 0;
}

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

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.brand-col .logo-link {
    margin-bottom: 20px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 320px;
    margin-bottom: 24px;
    font-weight: 300;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-quick);
}

.social-links a:hover {
    color: var(--bg-primary);
    background-color: var(--color-green);
    border-color: var(--color-green);
    box-shadow: 0 0 15px var(--color-green-glow);
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.links-col ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-col a {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
}

.links-col a:hover {
    color: var(--color-green);
    padding-left: 4px;
}

.contact-col p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 16px;
}

.contact-col p strong {
    color: var(--text-primary);
}

.contact-col a:hover {
    color: var(--color-green);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 30px;
}

.bottom-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media (max-width: 576px) {
    .bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

.copyright {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bottom-links {
    display: flex;
    gap: 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.bottom-links a {
    color: var(--text-secondary);
}

.bottom-links a:hover {
    color: var(--color-green);
}

.divider {
    color: var(--border-light);
}

/* ==========================================================================
   PREMIUM MODAL OVERLAYS (LEGAL COMPONENT)
   ========================================================================== */

.legal-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(5, 6, 8, 0.8);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-card {
    background: rgba(15, 18, 25, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    width: 90%;
    max-width: 800px;
    height: 80%;
    max-height: 700px;
    padding: 50px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.95) translateY(20px);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
}

@media (max-width: 576px) {
    .modal-card {
        padding: 30px 20px;
        height: 90%;
    }
}

.legal-modal-backdrop.open .modal-card {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-light);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-quick);
    z-index: 10;
}

.modal-close:hover {
    background-color: var(--color-green);
    border-color: var(--color-green);
    color: var(--bg-primary);
    box-shadow: 0 0 15px var(--color-green-glow);
    transform: rotate(90deg);
}

.modal-content-wrapper {
    display: none;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
}

.modal-content-wrapper.active {
    display: flex;
}

.modal-content-wrapper h2 {
    font-size: 2.2rem;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 16px;
    flex-shrink: 0;
}

.legal-text-body {
    overflow-y: auto;
    padding-right: 15px;
    flex-grow: 1;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.legal-text-body h2 {
    font-size: 1.35rem;
    margin: 28px 0 14px 0;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 6px;
}

.legal-text-body h2:first-of-type {
    margin-top: 0;
}

.legal-text-body h3 {
    font-size: 1.15rem;
    margin: 20px 0 10px 0;
    color: var(--text-primary);
}

.legal-text-body h4 {
    font-size: 1.05rem;
    margin: 16px 0 8px 0;
    color: var(--text-primary);
}

.legal-text-body p {
    margin-bottom: 16px;
}

.legal-text-body a {
    color: var(--color-green);
    text-decoration: none;
    border-bottom: 1px dashed var(--color-green);
    transition: var(--transition-quick);
}

.legal-text-body a:hover {
    color: var(--text-primary);
    border-bottom-style: solid;
}

.legal-text-body ul {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 20px;
    padding-left: 10px;
}

.legal-text-body ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-text-body ul.index {
    list-style-type: none;
    margin-left: 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    margin-bottom: 28px;
}

.legal-text-body ul.index li {
    margin-bottom: 10px;
}

.legal-text-body ul.index li:last-child {
    margin-bottom: 0;
}

.legal-text-body ul.index a {
    border-bottom: none;
    color: var(--text-secondary);
}

.legal-text-body ul.index a:hover {
    color: var(--color-green);
}

.legal-text-body ul.glossary {
    list-style-type: none;
    margin-left: 0;
    padding-left: 0;
}

.legal-text-body ul.glossary li {
    margin-bottom: 20px;
    background: rgba(255, 255, 255, 0.01);
    padding: 16px;
    border-left: 3px solid var(--color-green);
    border-radius: 0 6px 6px 0;
}

.legal-text-body strong {
    color: var(--text-primary);
}

.legal-text-body p.seal {
    text-align: center;
    margin-top: 40px;
    font-size: 0.85rem;
    opacity: 0.6;
}

.legal-text-body p.seal a {
    border-bottom: none;
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS (INTERSECTION OBSERVER)
   ========================================================================== */

.animate-on-scroll {
    opacity: 0;
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.animate-on-scroll[data-animation="slide-up"] {
    transform: translateY(40px);
}

.animate-on-scroll[data-animation="fade-in"] {
    transform: scale(0.99);
}

/* Element Visible State */
.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}
