/* ==========================================================================
   Awwwards-Level Theme - "Cyber-Industrial"
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --color-bg: #09090b;
    --color-surface: #18181b;
    --color-surface-hover: #27272a;
    --color-primary: #06b6d4;
    /* Cyber Cyan */
    --color-secondary: #6366f1;
    /* Electric Indigo */
    --color-text: #fafafa;
    --color-text-muted: #a1a1aa;
    --color-border: rgba(255, 255, 255, 0.1);

    --font-heading: 'Syncopate', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-fast: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    --header-height: 100px;
}

/* --- Base & Reset --- */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    background-color: var(--color-bg);
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-bg);
}

body.menu-open {
    overflow: hidden;
}

::selection {
    background: var(--color-primary);
    color: #000;
}

img {
    max-width: 100%;
    display: block;
    object-fit: cover;
}

a,
button {
    text-decoration: none;
    color: inherit;
    background: none;
    border: none;
    cursor: none;
    outline: none;
}

ul {
    list-style: none;
}

/* --- Ambient Cyber Glows --- */
.cyber-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
    z-index: -1;
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, var(--color-primary) 0%, transparent 70%);
    animation: pulse 10s alternate infinite;
}

.glow-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--color-secondary) 0%, transparent 70%);
    animation: pulse 12s alternate-reverse infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }

    100% {
        transform: scale(1.2);
        opacity: 0.6;
    }
}

/* --- Custom Difference Cursor --- */
.cursor-orb {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 50%;
    mix-blend-mode: difference;
    pointer-events: none;
    z-index: 10000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-radius 0.3s;
}

.cursor-orb.hover {
    width: 80px;
    height: 80px;
}

@media (max-width: 1024px) {
    .cursor-orb {
        display: none !important;
    }

    a,
    button {
        cursor: pointer !important;
    }
}

/* --- Typography --- */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-massive {
    font-size: clamp(2.5rem, 8vw, 7rem);
    font-weight: 700;
}

.text-h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 2rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    font-weight: 300;
}

/* --- Utilities & Layout --- */
.container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    padding: 0 5vw;
}

.section-pad {
    padding: 8rem 0;
    position: relative;
}

.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.98);
    transition: var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* --- Buttons --- */
.btn-cyber {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem 3rem;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: #000;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    border-radius: 4px;
    z-index: 1;
    clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
}

.btn-cyber::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    transition: var(--transition-fast);
    z-index: -1;
}

.btn-cyber:hover::before {
    left: 0;
}

.btn-cyber:hover {
    color: #fff;
    box-shadow: 0 0 30px rgba(6, 182, 212, 0.4);
    transform: translateY(-3px);
}

/* --- 1. Header (Strict Site-Wide) --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 2000;
    display: flex;
    align-items: center;
    transition: var(--transition-fast);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled {
    height: 80px;
    background: rgba(9, 9, 11, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

.header-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo img {
    height: 55px;
    filter: invert(1);
    position: relative;
    z-index: 2001;
}

.nav-links {
    display: flex;
    gap: 4rem;
}

.nav-link {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
    overflow: hidden;
}

.nav-link span {
    display: inline-block;
    transition: var(--transition-fast);
}

.nav-link::before {
    content: attr(data-text);
    position: absolute;
    top: 100%;
    left: 0;
    color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover span {
    transform: translateY(-100%);
}

.nav-link:hover::before {
    top: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 2001;
}

.hamburger {
    display: none;
    width: 40px;
    height: 24px;
    position: relative;
    cursor: pointer;
}

.hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: #fff;
    transition: var(--transition-fast);
}

.hamburger span:nth-child(1) {
    top: 0;
}

.hamburger span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger span:nth-child(3) {
    bottom: 0;
}

.hamburger.active span:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    background: var(--color-primary);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
    background: var(--color-primary);
}

/* Mobile Menu */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: var(--color-bg);
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-slow);
    clip-path: circle(0% at 100% 0);
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
    clip-path: circle(150% at 100% 0);
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 2.5rem;
}

.mobile-nav-list a {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 1px var(--color-border);
    transition: var(--transition-fast);
    transform: translateY(30px);
    opacity: 0;
}

.mobile-nav-list a:hover {
    color: var(--color-primary);
    -webkit-text-stroke: 0;
}

.mobile-overlay.active .mobile-nav-list a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(1) {
    transition-delay: 0.2s;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(2) {
    transition-delay: 0.3s;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(3) {
    transition-delay: 0.4s;
}

.mobile-overlay.active .mobile-nav-list a:nth-child(4) {
    transition-delay: 0.5s;
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .btn-header {
        display: none !important;
    }

    .hamburger {
        display: block;
    }
}

/* --- 2. Hero Section --- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

.hero-content {
    display: flex;
    flex-direction: column;
    max-width: 1200px;
    z-index: 2;
    position: relative;
}

.tech-badge {
    align-self: flex-start;
    font-family: var(--font-heading);
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    margin-bottom: 2rem;
    background: rgba(6, 182, 212, 0.1);
}

.hero h1 span {
    display: block;
    overflow: hidden;
}

.hero h1 span i {
    display: block;
    font-style: normal;
    transform: translateY(100%);
    animation: slideUp 1s var(--transition-slow) forwards;
}

.hero h1 span:nth-child(2) i {
    animation-delay: 0.1s;
}

.hero h1 span:nth-child(3) i {
    animation-delay: 0.2s;
}

@keyframes slideUp {
    to {
        transform: translateY(0);
    }
}

.hero-desc {
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-size: 1.25rem;
    color: var(--color-text-muted);
    max-width: 600px;
    animation: fadeIn 1s ease forwards 0.5s;
    opacity: 0;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* --- 3. Marquee --- */
.marquee-wrapper {
    background: var(--color-surface);
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--color-border);
    overflow: hidden;
    display: flex;
    white-space: nowrap;
}

.marquee-track {
    display: flex;
    animation: slideMarquee 20s linear infinite;
}

.marquee-item {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    padding: 0 3rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 3rem;
}

.marquee-item span {
    color: var(--color-primary);
}

@keyframes slideMarquee {
    to {
        transform: translateX(-50%);
    }
}

/* --- 4. Intro Stats --- */
.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.stat-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.stat-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- 5. Holographic Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.service-card {
    background: rgba(24, 24, 27, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-border);
    padding: 4rem 3rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-fast);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.hologram-glare {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg) translateY(-100%);
    transition: 0.6s;
    pointer-events: none;
}

.service-card:hover .hologram-glare {
    transform: rotate(45deg) translateY(100%);
}

.service-card:hover {
    border-color: var(--color-primary);
    background: var(--color-surface-hover);
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.srv-icon {
    width: 60px;
    height: 60px;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    transition: var(--transition-fast);
}

.service-card:hover .srv-icon {
    background: var(--color-primary);
    color: #000;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.service-card p {
    color: var(--color-text-muted);
}

/* --- 6. Horizontal Industries List --- */
.industry-wrapper {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--color-border);
    margin-top: 4rem;
}

.industry-row {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 3rem 0;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-fast);
    cursor: pointer;
    position: relative;
}

.industry-row h3 {
    font-size: 3rem;
    transition: var(--transition-fast);
    color: var(--color-text-muted);
    z-index: 1;
}

.industry-row:hover h3 {
    color: #fff;
    transform: translateX(30px);
}

.industry-row .ind-arrow {
    font-size: 2rem;
    color: var(--color-primary);
    opacity: 0;
    transform: translateX(-30px);
    transition: var(--transition-fast);
    z-index: 1;
}

.industry-row:hover .ind-arrow {
    opacity: 1;
    transform: translateX(0);
}

.ind-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-surface), transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--transition-fast);
    z-index: 0;
}

.industry-row:hover .ind-bg {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    .industry-row h3 {
        font-size: 2rem;
    }
}

/* --- 7. Tech ROI Calculator --- */
.calc-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 5rem;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.calc-container::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.slider-group {
    margin-bottom: 3rem;
}

.calc-label {
    display: flex;
    justify-content: space-between;
    font-family: var(--font-heading);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.calc-value-display {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
}

.tech-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    outline: none;
}

.tech-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 0;
    cursor: pointer;
    transition: 0.2s;
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.tech-slider::-webkit-slider-thumb:hover {
    transform: scale(1.5);
    background: var(--color-primary);
}

.calc-outputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.output-card {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 2rem;
    border-radius: 4px;
    border-left: 4px solid var(--color-primary);
}

.output-card.secondary {
    border-left-color: var(--color-secondary);
}

.out-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.out-val {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

@media (max-width: 1024px) {
    .calc-container {
        grid-template-columns: 1fr;
        padding: 3rem;
    }
}

/* --- 8. Dashboard Analytics Mockup --- */
.dash-wrapper {
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 2rem;
    position: relative;
}

.dash-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.dash-tab {
    background: transparent;
    color: var(--color-text-muted);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
    border-radius: 4px;
}

.dash-tab.active,
.dash-tab:hover {
    border-color: var(--color-border);
    color: #fff;
    background: var(--color-surface);
}

.chart-grid {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    height: 250px;
    gap: 10px;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--color-border);
}

.chart-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(6, 182, 212, 0.1), var(--color-primary));
    transform-origin: bottom;
    transform: scaleY(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 2px 2px 0 0;
}

.chart-bar.active {
    transform: scaleY(1);
}

/* --- 9. Testimonials Grid --- */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.testi-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 3rem;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-fast);
}

.testi-card:hover {
    border-color: var(--color-secondary);
    transform: translateY(-5px);
}

.quote-icon {
    font-family: var(--font-heading);
    font-size: 4rem;
    color: var(--color-primary);
    line-height: 0;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.testi-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    color: #fff;
}

.testi-author {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    letter-spacing: 1px;
    color: var(--color-text-muted);
}

/* --- 10. Forms & Contact --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.form-wrap {
    background: var(--color-surface);
    padding: 4rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.input-group {
    margin-bottom: 2rem;
}

.cyber-input {
    width: 100%;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    padding: 1.2rem;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    border-radius: 4px;
    outline: none;
    transition: var(--transition-fast);
}

.cyber-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 15px rgba(6, 182, 212, 0.1);
}

.contact-info p {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

.contact-info p span {
    color: #fff;
    display: block;
    font-size: 1.5rem;
    margin-top: 0.5rem;
}

/* --- Live Chat --- */
.chat-trigger {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1000;
    transition: var(--transition-fast);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.chat-trigger:hover {
    transform: scale(1.1);
    background: var(--color-primary);
}

.chat-panel {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 350px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    overflow: hidden;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: var(--transition-fast);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
}

.chat-panel.active {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.chat-header {
    background: var(--color-bg);
    padding: 1.2rem;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-header span.dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-primary);
}

.chat-messages {
    height: 250px;
    padding: 1.5rem;
    overflow-y: auto;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.chat-input {
    display: flex;
    border-top: 1px solid var(--color-border);
}

.chat-input input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 1rem;
    color: #fff;
    outline: none;
}

.chat-input button {
    padding: 0 1.5rem;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-weight: 700;
    cursor: pointer;
}

/* --- 11. Footer (Strict Consistency) --- */
.site-footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    padding: 6rem 0 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    padding-bottom: 4rem;
}

.footer-logo img {
    height: 55px;
    filter: invert(1);
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 2rem;
    color: #fff;
    letter-spacing: 1px;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--color-text-muted);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    background: var(--color-bg);
    padding: 2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--color-border);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.legal-nav {
    display: flex;
    gap: 2rem;
}

.legal-nav a:hover {
    color: #fff;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* --- Legal Pages --- */
.legal-header {
    padding: 12rem 0 4rem;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    background: var(--color-surface);
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 6rem 0;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 3rem 0 1.5rem;
    color: #fff;
}

.legal-content p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.legal-content ul {
    padding-left: 2rem;
    list-style: square;
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.legal-content li {
    margin-bottom: 0.5rem;
}