@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Assistant:wght@400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0A7860;
    --primary-light: #8BE6AD;
    --accent: #2DD4BF;
    --dark: #0f1419;
    --glass: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
    --danger: #ff6b6b;
    --warning: #ffc107;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--dark);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    transition: direction 0.3s ease;
}

/* RTL overrides */
html[dir="rtl"] body {
    font-family: 'Assistant', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    direction: rtl;
}

/* Force LTR for brand even in RTL mode */
html[dir="rtl"] .brand {
    direction: ltr;
    unicode-bidi: isolate;
}

/* Simplified map background */
.map-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a2e28;
    z-index: -3;
}

.map-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(10, 120, 96, 0.15) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(10, 120, 96, 0.15) 1px, transparent 1px),
        linear-gradient(to right, rgba(10, 120, 96, 0.08) 2px, transparent 2px),
        linear-gradient(to bottom, rgba(10, 120, 96, 0.08) 2px, transparent 2px);
    background-size: 60px 60px, 60px 60px, 180px 180px, 180px 180px;
}

.map-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(ellipse 40px 30px at 15% 20%, rgba(10, 120, 96, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 60px 40px at 75% 15%, rgba(10, 120, 96, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 50px 35px at 85% 45%, rgba(10, 120, 96, 0.11) 0%, transparent 70%),
        radial-gradient(ellipse 45px 30px at 25% 70%, rgba(10, 120, 96, 0.09) 0%, transparent 70%),
        radial-gradient(ellipse 55px 40px at 65% 80%, rgba(10, 120, 96, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 35px 25px at 45% 35%, rgba(10, 120, 96, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 70px 50px at 10% 85%, rgba(10, 120, 96, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 40px 30px at 90% 75%, rgba(10, 120, 96, 0.11) 0%, transparent 70%);
}

/* Floating particles */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--accent);
    border-radius: 50%;
    opacity: 0.3;
    animation: particleFloat 15s linear infinite;
    will-change: transform, opacity;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.3;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* Floating orbs */
.orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    z-index: -1;
    will-change: transform;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 20s ease-in-out infinite 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--primary-light);
    bottom: -50px;
    left: -50px;
    animation: float 20s ease-in-out infinite -5s;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--accent);
    top: 50%;
    left: 50%;
    animation: floatCenter 20s ease-in-out infinite -10s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(20px, -30px) scale(1.05);
    }

    50% {
        transform: translate(-10px, 20px) scale(0.95);
    }

    75% {
        transform: translate(30px, 10px) scale(1.02);
    }
}

@keyframes floatCenter {

    0%,
    100% {
        transform: translate(-50%, -50%) scale(1);
    }

    25% {
        transform: translate(calc(-50% + 20px), calc(-50% - 30px)) scale(1.05);
    }

    50% {
        transform: translate(calc(-50% - 10px), calc(-50% + 20px)) scale(0.95);
    }

    75% {
        transform: translate(calc(-50% + 30px), calc(-50% + 10px)) scale(1.02);
    }
}

/* Top navigation */
.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    padding: 16px 20px;
    background: rgba(15, 20, 25, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.top-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.top-nav a:hover {
    color: var(--accent);
}

.top-nav a[aria-current="page"] {
    color: var(--accent);
}

/* Language Switch */
.switch-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 20px;
}

html[dir="rtl"] .switch-container {
    margin-left: 0;
    margin-right: 20px;
}

.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--glass);
    border: 1px solid var(--glass-border);
    transition: .4s;
    border-radius: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 6px;
    font-size: 10px;
    color: white;
    font-weight: bold;
}

.walking-person {
    position: absolute;
    width: 40px;
    height: 60px;
    pointer-events: none;
    z-index: 10;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: var(--accent);
    transition: .4s;
    border-radius: 50%;
    z-index: 2;
}

.slider .label-en {
    margin-left: 22px;
    opacity: 1;
    transition: opacity 0.3s;
    z-index: 1;
    position: relative;
}

.slider .label-he {
    margin-right: 22px;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    position: relative;
}

input:checked+.slider {
    background-color: var(--glass);
    border-color: var(--accent);
}

input:checked+.slider:before {
    transform: translateX(24px);
    background-color: var(--primary-light);
}

input:checked+.slider .label-en {
    opacity: 0;
}

input:checked+.slider .label-he {
    opacity: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: -200px;
    /* Start hidden */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--accent);
    border-radius: 16px;
    padding: 20px;
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    gap: 15px;
    transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-align: center;
}

.cookie-banner.visible {
    bottom: 30px;
}

.cookie-text {
    color: white;
    font-size: 0.95rem;
    line-height: 1.5;
}

.cookie-link {
    color: var(--accent);
    text-decoration: underline;
}


.cookie-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.cookie-btn {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.cookie-btn-accept {
    background: var(--accent);
    color: #000;
}

.cookie-btn-accept:hover {
    background: var(--primary-light);
    transform: scale(1.05);
}

.cookie-btn-decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.cookie-btn-decline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    color: white;
}

/* Common Text/Container styles for content pages */
.content-card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 48px;
}

h1.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-section {
    color: var(--accent);
    margin-top: 40px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: 700;
    padding-bottom: 8px;
    border-bottom: 2px solid rgba(45, 212, 191, 0.3);
}

.page-section:first-of-type {
    margin-top: 0;
}

.page-subsection {
    color: rgba(255, 255, 255, 0.9);
    margin-top: 24px;
    margin-bottom: 12px;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Footer Meta */
.footer-meta {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid var(--glass-border);
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

hr.divider {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 40px 0;
}


/* LEGAL PAGES - Force LTR for content only, not navigation */
.legal-page .container {
    direction: ltr !important;
    text-align: left !important;
}

.legal-page .content-card {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .legal-page .container {
    direction: ltr !important;
    text-align: left !important;
}

html[dir="rtl"] .legal-page .content-card {
    direction: ltr !important;
    text-align: left !important;
}


/* Legal Page Common Styles */
.legal-page .contact-card {
    background: rgba(45, 212, 191, 0.1);
    padding: 24px;
    border-left: 4px solid var(--accent);
    border-radius: 0 12px 12px 0;
    margin: 32px 0;
}

.legal-page .warning-box {
    background: rgba(255, 193, 7, 0.1);
    padding: 24px;
    border-left: 4px solid var(--warning);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .info-box {
    background: rgba(10, 120, 96, 0.15);
    padding: 24px;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .danger-box {
    background: rgba(255, 107, 107, 0.15);
    padding: 24px;
    border-left: 4px solid var(--danger);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .content-card ul,
.legal-page .content-card ol {
    margin-left: 24px;
    margin-bottom: 16px;
}

.legal-page .content-card li {
    margin-bottom: 8px;
}

.legal-page .content-card a {
    color: var(--accent);
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.legal-page .content-card a:hover {
    opacity: 0.8;
}

.legal-page .content-card p {
    margin-bottom: 16px;
}

/* Legal Page Special Components (from inline styles) */
.legal-page .info-highlight {
    background: rgba(10, 120, 96, 0.15);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.legal-page .warning-highlight,
.legal-page .warning-box {
    background: rgba(255, 193, 7, 0.1);
    padding: 24px;
    border-left: 4px solid var(--warning);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .info-box {
    background: rgba(10, 120, 96, 0.15);
    padding: 24px;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .danger-box {
    background: rgba(255, 107, 107, 0.15);
    padding: 24px;
    border-left: 4px solid var(--danger);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

/* Safety page specific components */
.legal-page .prohibited-list {
    background: rgba(255, 107, 107, 0.1);
    padding: 24px;
    border-left: 4px solid var(--danger);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .zero-tolerance {
    background: rgba(255, 107, 107, 0.15);
    padding: 24px;
    border-left: 4px solid var(--danger);
    border-radius: 0 12px 12px 0;
    margin: 0 0 32px 0;
}

.legal-page .zero-tolerance strong {
    color: var(--danger);
}

.legal-page .commitment-list {
    background: rgba(10, 120, 96, 0.15);
    padding: 24px;
    border-radius: 12px;
    margin: 24px 0;
}

.legal-page .reporting-box {
    background: rgba(10, 120, 96, 0.15);
    padding: 24px;
    border-left: 4px solid var(--primary);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .emergency {
    background: rgba(255, 107, 107, 0.2);
    padding: 24px;
    border-left: 4px solid var(--danger);
    border-radius: 0 12px 12px 0;
    margin: 24px 0;
}

.legal-page .emergency h3 {
    color: var(--danger);
    margin-top: 0;
}

.legal-page .thank-you-box {
    background: rgba(10, 120, 96, 0.2);
    padding: 24px;
    border-radius: 12px;
    text-align: center;
    margin: 32px 0;
}



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

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

/* Accessibility */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .orb {
        animation: none;
    }
}

/* BASE CONTAINER for Content Pages */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 80px 20px 40px;
    position: relative;
}

/* LANDING PAGE SPECIFIC STYLES */

.container.landing-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px;
    max-width: 100%;
    margin: 0;
}

/* Tipi Layer Container */
.tipi-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
    overflow: hidden;
}

/* Background tipis - decorative tent shapes */
.background-tipi {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 50px solid transparent;
    border-right: 50px solid transparent;
    border-bottom: 90px solid rgba(45, 212, 191, 0.25);
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    filter: drop-shadow(0 4px 12px rgba(45, 212, 191, 0.3));
}

.background-tipi::before {
    content: '';
    position: absolute;
    bottom: -90px;
    left: -18px;
    width: 0;
    height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 40px solid rgba(10, 120, 96, 0.4);
}

.background-tipi::after {
    content: '';
    position: absolute;
    bottom: -88px;
    left: -48px;
    width: 96px;
    height: 86px;
    background: linear-gradient(to right, transparent 48%, rgba(45, 212, 191, 0.15) 48%, rgba(45, 212, 191, 0.15) 52%, transparent 52%),
        linear-gradient(115deg, transparent 48%, rgba(45, 212, 191, 0.1) 48%, rgba(45, 212, 191, 0.1) 50%, transparent 50%),
        linear-gradient(65deg, transparent 48%, rgba(45, 212, 191, 0.1) 48%, rgba(45, 212, 191, 0.1) 50%, transparent 50%);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
}

.background-tipi.active {
    opacity: 1;
    animation: tipiPulse 0.6s ease-out;
}

@keyframes tipiPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* Walking Person Parts */
.person-head {
    position: absolute;
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, rgba(139, 230, 173, 1), var(--accent));
    border-radius: 50%;
    top: 2px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 6px rgba(45, 212, 191, 0.8), 0 2px 4px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.person-body {
    position: absolute;
    width: 12px;
    height: 20px;
    background: linear-gradient(to bottom, var(--accent) 0%, rgba(10, 120, 96, 0.9) 100%);
    top: 18px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(45, 212, 191, 0.6), inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.person-arm {
    position: absolute;
    width: 12px;
    height: 3px;
    background: linear-gradient(to right, var(--accent), rgba(10, 120, 96, 0.9));
    top: 22px;
    transform-origin: left center;
    border-radius: 2px;
    box-shadow: 0 0 3px rgba(45, 212, 191, 0.5);
}

.person-arm-left {
    left: 8px;
    animation: armSwingLeft 0.4s ease-in-out infinite;
}

.person-arm-right {
    left: 20px;
    animation: armSwingRight 0.4s ease-in-out infinite;
}

.person-leg {
    position: absolute;
    width: 4px;
    height: 18px;
    background: linear-gradient(to bottom, var(--accent), rgba(10, 120, 96, 1));
    top: 38px;
    transform-origin: top center;
    border-radius: 2px;
    box-shadow: 0 0 3px rgba(45, 212, 191, 0.5);
}

.person-leg-left {
    left: 14px;
    animation: legWalkLeft 0.4s ease-in-out infinite;
}

.person-leg-right {
    left: 22px;
    animation: legWalkRight 0.4s ease-in-out infinite;
}

.person-foot {
    position: absolute;
    width: 8px;
    height: 4px;
    background: rgba(10, 120, 96, 1);
    border-radius: 2px 2px 0 0;
    bottom: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.person-foot-left {
    left: 12px;
    animation: footStepLeft 0.4s ease-in-out infinite;
}

.person-foot-right {
    left: 20px;
    animation: footStepRight 0.4s ease-in-out infinite;
}

.person-smartphone {
    position: absolute;
    width: 6px;
    height: 10px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.9) 0%, rgba(200, 200, 200, 1) 100%);
    border-radius: 1px;
    top: 24px;
    left: 10px;
    box-shadow: 0 0 8px rgba(45, 212, 191, 0.8), 0 0 4px rgba(255, 255, 255, 0.6);
    border: 0.5px solid rgba(45, 212, 191, 0.4);
}

.person-smartphone::before {
    content: '';
    position: absolute;
    top: 1px;
    left: 0.5px;
    width: 5px;
    height: 8px;
    background: linear-gradient(135deg, rgba(45, 212, 191, 0.6) 0%, rgba(139, 230, 173, 0.4) 50%, rgba(45, 212, 191, 0.6) 100%);
    border-radius: 0.5px;
}

.ground-hole {
    position: absolute;
    width: 25px;
    height: 12px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.8);
}

@keyframes armSwingLeft {

    0%,
    100% {
        transform: rotate(-25deg);
    }

    50% {
        transform: rotate(25deg);
    }
}

@keyframes armSwingRight {

    0%,
    100% {
        transform: rotate(25deg);
    }

    50% {
        transform: rotate(-25deg);
    }
}

@keyframes legWalkLeft {

    0%,
    100% {
        transform: rotate(-15deg);
    }

    50% {
        transform: rotate(15deg);
    }
}

@keyframes legWalkRight {

    0%,
    100% {
        transform: rotate(15deg);
    }

    50% {
        transform: rotate(-15deg);
    }
}

@keyframes footStepLeft {

    0%,
    100% {
        transform: translateY(0) scaleX(1);
    }

    50% {
        transform: translateY(-2px) scaleX(1.1);
    }
}

@keyframes footStepRight {

    0%,
    100% {
        transform: translateY(-2px) scaleX(1.1);
    }

    50% {
        transform: translateY(0) scaleX(1);
    }
}

@keyframes personEmerge {
    0% {
        transform: translateY(30px) scale(0.3);
        opacity: 0;
    }

    50% {
        transform: translateY(-5px) scale(1.1);
        opacity: 1;
    }

    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes personEnterTipi {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(0.5);
        opacity: 0.7;
    }

    100% {
        transform: scale(0);
        opacity: 0;
    }
}

@keyframes holeAppear {
    0% {
        transform: translateX(-50%) scaleY(0);
        opacity: 0;
    }

    100% {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
    }
}

@keyframes holeDisappear {
    0% {
        transform: translateX(-50%) scaleY(1);
        opacity: 1;
    }

    100% {
        transform: translateX(-50%) scaleY(0);
        opacity: 0;
    }
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Logo Section */
.logo-section {
    text-align: center;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease-out;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(10, 120, 96, 0.4);
    animation: logoFloat 4s ease-in-out infinite;
    transition: transform 0.3s ease;
}

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

.brand {
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: -2px;
    margin-top: 24px;
    background: linear-gradient(135deg, #fff 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Slogan - "Here, for now..." */
.slogan {
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    letter-spacing: 2px;
    color: var(--accent);
    margin-top: 8px;
    margin-bottom: 8px;
    opacity: 0.9;
    text-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
    animation: fadeInUp 0.8s ease-out 0.3s both, pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.9;
        text-shadow: 0 0 20px rgba(45, 212, 191, 0.4);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 30px rgba(45, 212, 191, 0.6);
    }
}

.tagline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    max-width: 400px;
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
}

/* Landing Card */
.card {
    background: var(--glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.2s both;
    margin-bottom: 0;
    /* Override default if any */
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.card-text {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* CTA Button */
.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-decoration: none;
    border-radius: 14px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(10, 120, 96, 0.2);
    cursor: pointer;
}

.cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.cta-btn:hover::before {
    left: 100%;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(10, 120, 96, 0.4);
    opacity: 1;
}

/* CRITICAL: Fix for giant SVG */
.cta-btn svg {
    width: 20px;
    height: 20px;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
    max-width: 600px;
    width: 100%;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.feature {
    text-align: center;
    padding: 24px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    background: rgba(45, 212, 191, 0.1);
}

.feature-icon-svg {
    width: 32px;
    height: 32px;
    margin-bottom: 12px;
    stroke: var(--accent);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
}

/* Legal Links in Index */
.legal {
    margin-top: 48px;
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
    position: static;
}

.legal a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

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

.contact {
    margin-top: 32px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    animation: fadeInUp 0.8s ease-out 0.8s both;
}

.contact a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* Responsive overrides */
@media (max-width: 600px) {
    .content-card {
        padding: 24px;
    }

    h1.page-title {
        font-size: 1.75rem;
    }

    .page-section {
        font-size: 1.25rem;
    }

    .top-nav {
        flex-wrap: wrap;
        gap: 10px 20px;
        padding: 12px 20px;
        z-index: 101;
    }

    .top-nav a {
        font-size: 0.8rem;
    }

    .switch-container {
        width: 100%;
        margin: 0;
        margin-top: 5px;
    }

    .container,
    .container.landing-page {
        padding-top: 140px !important;
        justify-content: flex-start !important;
    }

    .brand {
        font-size: 2.5rem;
    }

    .tagline {
        font-size: 1rem;
    }

    .card {
        padding: 28px;
    }

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

    .feature {
        padding: 16px;
        display: flex;
        align-items: center;
        gap: 16px;
        text-align: left;
    }

    .feature-icon-svg {
        margin-bottom: 0;
        margin-left: 0;
        margin-right: 0;
    }
}