/* Modern minimal design - MBit Apps */

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

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* ===== HOME PAGE ===== */

.home-page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
}

/* Animated gradient background */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
    pointer-events: none;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: linear-gradient(135deg, var(--accent-blue), var(--accent-purple));
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

@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);
    }
}

/* Hero section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.logo-container {
    text-align: center;
}

.logo {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.logo-mb {
    color: var(--accent-blue);
}

.logo-it {
    color: var(--text-primary);
}

.logo-apps {
    color: var(--accent-purple);
}

.tagline {
    margin-top: 1rem;
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    font-weight: 300;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
}

.footer nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

/* ===== POLICY PAGE ===== */

.policy-page {
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.header {
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

.back-link svg {
    transition: transform 0.3s ease;
}

.back-link:hover svg {
    transform: translateX(-4px);
}

.logo-small {
    font-size: 1.25rem;
    font-weight: 600;
}

/* Content */
.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
}

.policy h1 {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 0.75rem;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.policy .last-updated {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 2.5rem;
    opacity: 0.7;
}

.policy section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.3s ease, background 0.3s ease;
}

.policy section:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.policy h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.policy p {
    color: var(--text-secondary);
    font-size: 0.9375rem;
    line-height: 1.7;
}

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

.policy a:hover {
    color: var(--accent-cyan);
    text-decoration: underline;
}

.footer-policy {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
}

.footer-policy p {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* ===== RESPONSIVE ===== */

@media (max-width: 768px) {
    .gradient-orb {
        filter: blur(60px);
    }

    .orb-1 {
        width: 400px;
        height: 400px;
    }

    .orb-2 {
        width: 350px;
        height: 350px;
    }

    .orb-3 {
        width: 300px;
        height: 300px;
    }

    .content {
        padding: 2rem 1.25rem 3rem;
    }

    .policy section {
        padding: 1.25rem;
    }

    .header {
        padding: 1rem 1.25rem;
    }
}

/* Subtle noise texture overlay */
.home-page::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 0;
}
