/* =========================================================
   AXO NETWORKS — LEGAL PAGES
   FINAL STABLE VERSION
========================================================= */

/* ================= RESET ================= */

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

:root {
    --primary: #1E3A8A;
    --primary-light: #3B82F6;
    --primary-dark: #1E40AF;
    --foreground: #111827;
    --foreground-light: #374151;
    --background: #FFFFFF;
    --light-grey: #F9FAFB;
    --grey: #E5E7EB;
    --dark-grey: #6B7280;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--foreground);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =========================================================
   CONTAINER
========================================================= */

.container {
    width: 100%;
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* =========================================================
   HEADER  (MATCHES YOUR ORIGINAL STYLE)
========================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
    letter-spacing: -0.02em;
    text-decoration: none;
}

/* Desktop Nav */

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-left: auto;
}

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

.nav-link {
    color: #374151;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.5rem 0;
    text-decoration: none;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--foreground);
}

/* CTA Button */

.cta-button {
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 10px 20px rgba(30, 58, 138, 0.3);
}

/* Mobile Menu */

.menu-toggle {
    display: none;
}

@media (max-width: 1024px) {
    .menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        cursor: pointer;
    }
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 1.5rem;
    background-color: white;
    min-width: 250px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #E5E7EB;
    z-index: 1001;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: block;
    padding: 0.75rem 1rem;
    color: var(--foreground);
    border-bottom: 1px solid #F9FAFB;
    text-decoration: none;
}

.dropdown-item:hover {
    background: var(--light-grey);
}

/* =========================================================
   HERO  (UNCHANGED TITLE STYLE)
========================================================= */

.hero {
    position: relative;
    min-height: 60vh;
    padding-top: 150px;
    padding-bottom: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

/* Moving background image */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url('https://static.wixstatic.com/media/3d4c2a_2f337be5b7da445db58a7946af6d1fe4~mv2.jpg');
    background-repeat: repeat-x;
    background-position: 0% 50%;
    background-size: 75% auto;
    opacity: 0.15;
    animation: heroShift 30s linear infinite;
    z-index: 0;
}

/* Overlay */

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255,255,255,0.9) 0%,
        rgba(255,255,255,0.85) 100%
    );
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 0 1.5rem;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--foreground) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--dark-grey);
    max-width: 48rem;
    margin: 0 auto;
}

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

@keyframes heroShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* =========================================================
   LEGAL CONTENT
========================================================= */

.legal-content-section {
    padding: 5rem 0;
    background: var(--light-grey);
}

.section-wrapper {
    width: 100%;
    max-width: 75rem;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-container {
    max-width: 820px;
    margin: 0 auto;
    background: white;
    border-radius: 2rem;
    padding: 3rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--grey);
}

.legal-item {
    margin-bottom: 3rem;
}

.legal-item h2 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 1rem;
}

.legal-item p,
.legal-item li {
    font-size: 1.1rem;
    color: var(--foreground-light);
    line-height: 1.8;
}

.legal-item ul {
    margin-left: 1.5rem;
}

/* =========================================================
   FOOTER — CENTERED COPYRIGHT + SOCIAL BELOW
========================================================= */

.footer {
    background: var(--foreground);
    color: white;
    padding: 5rem 0 2.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 3rem;
}

.footer h3 {
    font-size: 1.75rem;
    color: white;
}

.footer h4 {
    font-size: 1.1rem;
    color: var(--primary-light);
    margin-bottom: 1.25rem;
}

.footer p,
.footer a {
    color: #9CA3AF;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    display: block;
    text-decoration: none;
}

.footer a:hover {
    color: white;
}

/* Centered bottom */

.footer-bottom {
    margin-top: 5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    gap: 1.5rem;
    font-size: 0.9rem;
}

.footer-bottom p {
    color: #9CA3AF;
    margin: 0;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.social-links a {
    font-size: 1.25rem;
    color: #9CA3AF;
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: translateY(-2px);
}
