/* ============================================
   LOVE OF ART BOT — Privacy Policy Stylesheet
   Theme: Dark Professional | Glassmorphism
   ============================================ */

/* — Reset & Base — */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #8B5CF6;
    --primary-hover: #7C3AED;
    --primary-rgb: 139, 92, 246;
    --secondary: #3B82F6;
    --accent: #F59E0B;
    --bg: #0A0A0F;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.14);
    --text-primary: #F1F5F9;
    --text-secondary: #94A3B8;
    --text-muted: #64748B;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --radius: 16px;
    --radius-sm: 10px;
    --radius-full: 9999px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

img, svg {
    max-width: 100%;
    display: block;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

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

ul { list-style: none; }

/* — Container — */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* — Typography — */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* — Buttons — */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn--primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    padding: 12px 24px;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.35);
}

.btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(var(--primary-rgb), 0.5);
    color: #fff;
}

.btn--sm {
    padding: 8px 18px;
    font-size: 0.85rem;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition);
    background: transparent;
}

.navbar--scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: 10px 0;
}

.navbar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.navbar__logo {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar__logo:hover {
    opacity: 0.9;
    color: transparent;
}

.navbar__nav {
    display: flex;
}

.navbar__links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navbar__link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    position: relative;
    padding: 4px 0;
}

.navbar__link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width var(--transition);
    border-radius: 2px;
}

.navbar__link:hover::after,
.navbar__link:focus::after {
    width: 100%;
}

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

.navbar__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar__toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    z-index: 1001;
}

.navbar__toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

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

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

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

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% -20%, rgba(139, 92, 246, 0.15), transparent),
        radial-gradient(ellipse 50% 40% at 80% 80%, rgba(59, 130, 246, 0.1), transparent),
        radial-gradient(ellipse 40% 40% at 20% 70%, rgba(245, 158, 11, 0.06), transparent);
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero__badge {
    display: inline-block;
    padding: 6px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(var(--primary-rgb), 0.12);
    border: 1px solid rgba(var(--primary-rgb), 0.2);
    border-radius: var(--radius-full);
    margin-bottom: 24px;
}

.hero__title {
    font-size: clamp(2.2rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto 28px;
    line-height: 1.7;
}

.hero__updated {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 8px 20px;
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    background: var(--bg-glass);
}

/* ============================================
   SECTIONS
   ============================================ */
.section {
    padding: 80px 0;
}

.section__header {
    text-align: center;
    margin-bottom: 56px;
}

.section__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    margin-bottom: 12px;
}

.section__desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* ============================================
   PRIVACY CONTENT
   ============================================ */
.privacy-content {
    max-width: 1000px;
    margin: 0 auto;
}

.privacy-block {
    margin-bottom: 64px;
}

.privacy-block h3 {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(var(--primary-rgb), 0.15);
}

.privacy-block > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.privacy-block > p a {
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   CARDS GRID
   ============================================ */
.cards-grid {
    display: grid;
    gap: 16px;
    margin-top: 24px;
}

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

.cards-grid.cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.cards-grid.cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

/* ============================================
   GLASS CARD
   ============================================ */
.card {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    padding: 24px;
    transition: all var(--transition);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.card:hover {
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    background: var(--bg-card);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.card--center {
    text-align: center;
}

.card__icon {
    width: 40px;
    height: 40px;
    margin-bottom: 14px;
    color: var(--primary);
}

.card__icon svg {
    width: 100%;
    height: 100%;
}

.card__icon--lg {
    width: 52px;
    height: 52px;
    font-size: 2rem;
    line-height: 1;
    margin-bottom: 16px;
}

.card__title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.card__text {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.card--center .card__text {
    max-width: 260px;
    margin: 0 auto;
}

/* ============================================
   SECURITY GRID
   ============================================ */
.security-grid {
    margin-bottom: 32px;
}

/* ============================================
   STATUS CARD
   ============================================ */
.status-card {
    padding: 24px 28px;
    border-radius: var(--radius);
    border: 1px solid rgba(16, 185, 129, 0.2);
    background: rgba(16, 185, 129, 0.04);
}

.status-card__indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.status-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot--operational {
    background: #10B981;
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.5);
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { box-shadow: 0 0 8px rgba(16, 185, 129, 0.3); }
    50% { box-shadow: 0 0 18px rgba(16, 185, 129, 0.6); }
}

.status-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSE BADGE
   ============================================ */
.response-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-glass);
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 20px;
}

.response-badge__icon {
    font-size: 1.3rem;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    border-top: 1px solid var(--border-glass);
    padding: 48px 0 32px;
    margin-top: 40px;
}

.footer__grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.footer__brand h3 {
    font-size: 1.1rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 4px;
}

.footer__brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer__links ul {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.footer__links a:hover {
    color: var(--primary);
}

.footer__bottom {
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
    text-align: center;
}

.footer__bottom p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: rgba(var(--primary-rgb), 0.15);
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-4px);
}

.back-to-top svg {
    width: 22px;
    height: 22px;
}

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ============================================
   SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   GLASS UTILITY
   ============================================ */
.glass {
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

/* ============================================
   RESPONSIVE — MOBILE FIRST
   ============================================ */

/* Mobile 320px+ */
@media (max-width: 767px) {
    .container {
        padding: 0 16px;
    }

    .navbar__nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.96);
        backdrop-filter: blur(24px);
        -webkit-backdrop-filter: blur(24px);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border-left: 1px solid var(--border-glass);
        z-index: 1000;
        padding: 80px 24px;
    }

    .navbar__nav.active {
        right: 0;
    }

    .navbar__links {
        flex-direction: column;
        gap: 28px;
    }

    .navbar__link {
        font-size: 1.15rem;
    }

    .navbar__toggle {
        display: flex;
    }

    .navbar__actions .btn {
        display: none;
    }

    .hero {
        min-height: 90vh;
        padding: 100px 0 60px;
    }

    .section {
        padding: 56px 0;
    }

    .cards-grid.cols-2,
    .cards-grid.cols-3,
    .cards-grid.cols-4 {
        grid-template-columns: 1fr;
    }

    .privacy-block h3 {
        font-size: 1.35rem;
    }

    .footer__grid {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer__links ul {
        justify-content: center;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 42px;
        height: 42px;
    }

    .response-badge {
        flex-wrap: wrap;
    }
}

/* Tablet 768px+ */
@media (min-width: 768px) and (max-width: 1023px) {
    .cards-grid.cols-3,
    .cards-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero__title {
        font-size: clamp(2rem, 5vw, 3.2rem);
    }

    .section {
        padding: 64px 0;
    }
}

/* Laptop 1024px+ */
@media (min-width: 1024px) and (max-width: 1439px) {
    .cards-grid.cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Desktop 1440px+ */
@media (min-width: 1440px) {
    .container {
        max-width: 1280px;
    }
}

/* Ultra-wide */
@media (min-width: 1920px) {
    .container {
        max-width: 1400px;
    }
}

/* 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;
    }
}

/* Print styles */
@media print {
    .navbar,
    .back-to-top,
    .btn {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 24px 0;
    }

    .card {
        break-inside: avoid;
        border: 1px solid #ddd;
        background: #fff;
        color: #000;
    }

    body {
        background: #fff;
        color: #000;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
