/* ===== CSS Custom Properties ===== */
:root {
    --yellow: #FFD700;
    --cyan: #00D4FF;
    --magenta: #FF00FF;
    --green: #00FF7F;
    --orange: #FF6B35;
    --blue: #4169E1;
    --dark: #1a202c;
    --text: #2d3748;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --max-width: 1100px;
    --nav-height: 70px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
    line-height: 1.6;
    position: relative;
}

a {
    color: var(--blue);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--cyan);
}

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

/* ===== Accessibility ===== */
:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 2px;
}

/* ===== Navigation ===== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.08);
}

.nav-inner {
    width: 100%;
    max-width: var(--max-width);
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
    color: var(--text);
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.12em;
}

.nav-brand img {
    height: 36px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links .btn-nav {
    padding: 0.5rem 1.2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    font-weight: 600;
    font-size: 0.9rem;
}

.nav-links .btn-nav:hover {
    opacity: 0.9;
    color: #fff;
}

/* Hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===== Animated Orbs ===== */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
    pointer-events: none;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--cyan);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--magenta);
    bottom: -50px;
    right: -50px;
    animation-delay: -5s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--yellow);
    top: 50%;
    right: 10%;
    animation-delay: -10s;
}

.orb-4 {
    width: 200px;
    height: 200px;
    background: var(--green);
    bottom: 20%;
    left: 5%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(30px, -30px) scale(1.05); }
    50% { transform: translate(-20px, 20px) scale(0.95); }
    75% { transform: translate(-30px, -20px) scale(1.02); }
}

/* ===== Section System ===== */
.section {
    position: relative;
    overflow: hidden;
    padding: 5rem 2rem;
}

.section-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.section-alt {
    background: var(--bg-white);
}

.section-heading {
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--text);
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Fade-in animation for sections */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: var(--nav-height);
}

.hero-content {
    z-index: 10;
    position: relative;
}

.hero .logo-wrapper {
    animation: fadeInUp 1s ease-out forwards;
    opacity: 0;
}

.hero .logo {
    max-width: 500px;
    width: 80vw;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.08));
    animation: gentle-float 6s ease-in-out infinite;
}

@keyframes gentle-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero .company-name {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.3em;
    color: var(--text);
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.3s forwards;
}

.hero .tagline {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.45s forwards;
}

.hero .divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--yellow));
    margin: 2rem auto;
    border-radius: 2px;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--cyan), var(--blue));
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.2s ease;
}

.btn-primary:hover {
    opacity: 0.9;
    color: #fff;
    transform: translateY(-1px);
}

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    border: 2px solid var(--text-light);
    color: var(--text);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: border-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.btn-secondary:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-1px);
}

/* ===== Cards ===== */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.card-grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.card-accent {
    width: 50px;
    height: 4px;
    border-radius: 2px;
    margin-bottom: 1.25rem;
}

.card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Contact Section ===== */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    text-align: center;
}

.contact-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-item p,
.contact-item a {
    font-size: 1rem;
    color: var(--text-light);
}

.contact-item a {
    color: var(--blue);
}

/* ===== Footer ===== */
.site-footer {
    background: var(--dark);
    color: #cbd5e0;
    padding: 4rem 2rem 2rem;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 0.75rem;
    color: #a0aec0;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #a0aec0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-contact p {
    font-size: 0.9rem;
    color: #a0aec0;
    margin-bottom: 0.4rem;
}

.footer-contact a {
    color: #a0aec0;
}

.footer-contact a:hover {
    color: #fff;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 3rem auto 0;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #718096;
}

/* ===== Support Page ===== */
.page-hero {
    padding: 8rem 2rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-hero h1 {
    font-size: 2.4rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.75rem;
}

.page-hero p {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

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

.support-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.support-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text);
}

.support-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.support-card a.btn-primary {
    font-size: 0.9rem;
    padding: 0.6rem 1.5rem;
}

.faq-section {
    max-width: 750px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-white);
    border-radius: 10px;
    padding: 1.5rem 2rem;
    margin-bottom: 1rem;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.04);
}

.faq-item h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.5rem;
}

.faq-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ===== Privacy / Legal Page ===== */
.legal-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.legal-page h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 2.5rem 0 0.75rem;
    color: var(--text);
}

.legal-page p,
.legal-page ul {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-page ul {
    padding-left: 1.5rem;
}

.legal-page li {
    margin-bottom: 0.4rem;
}

.legal-page .updated {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* ===== Responsive: Tablet ===== */
@media (max-width: 900px) {
    .card-grid {
        grid-template-columns: 1fr 1fr;
    }

    .card-grid-2 {
        grid-template-columns: 1fr 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }

    .support-cards {
        grid-template-columns: 1fr;
    }
}

/* ===== Responsive: Mobile ===== */
@media (max-width: 600px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-height);
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.97);
        backdrop-filter: blur(12px);
        padding: 1rem 2rem 1.5rem;
        gap: 0.75rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }

    .nav-links.open {
        display: flex;
    }

    .section {
        padding: 3.5rem 1.25rem;
    }

    .section-heading {
        font-size: 1.6rem;
    }

    .hero .company-name {
        font-size: 0.9rem;
        letter-spacing: 0.2em;
    }

    .hero .logo {
        max-width: 320px;
    }

    .card-grid,
    .card-grid-2 {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .page-hero {
        padding: 7rem 1.25rem 3rem;
    }

    .page-hero h1 {
        font-size: 1.8rem;
    }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}
