/* Style sheet for tap2fun Landing Page and Privacy Policy */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    --font-heading: 'Outfit', 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Light Theme Palette */
    --bg-primary: #f8fafc;
    --bg-secondary: #ffffff;
    --bg-accent: #f1f5f9;
    --border-color: #e2e8f0;
    
    /* Brand Colors - Vibrant, Fun, Premium Playful Gradient */
    --primary: #4f46e5; /* Indigo */
    --primary-light: #818cf8;
    --secondary: #ec4899; /* Pink */
    --accent: #f59e0b; /* Amber */
    --gradient-brand: linear-gradient(135deg, #6366f1 0%, #a855f7 50%, #ec4899 100%);
    --gradient-hero-bg: radial-gradient(circle at top right, rgba(99, 102, 241, 0.08) 0%, rgba(236, 72, 153, 0.03) 50%, transparent 100%);
    --gradient-glow: radial-gradient(circle, rgba(99, 102, 241, 0.15) 0%, transparent 70%);

    /* Text Colors */
    --text-primary: #0f172a; /* Slate 900 */
    --text-secondary: #475569; /* Slate 600 */
    --text-muted: #94a3b8; /* Slate 400 */
    --text-light: #ffffff;
    
    /* UI Helpers */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
    --shadow-md: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --shadow-lg: 0 20px 40px -15px rgba(15, 23, 42, 0.12);
    --shadow-glow: 0 0 30px rgba(99, 102, 241, 0.25);
    
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.25;
}

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

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

/* --- Utilities --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-gradient {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.section-padding {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px auto;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
    font-weight: 800;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.badge {
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-block;
    margin-bottom: 16px;
    border: 1px solid rgba(99, 102, 241, 0.15);
}

/* --- Header / Navigation --- */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.8);
    transition: var(--transition-normal);
}

header.scrolled {
    background: rgba(255, 255, 255, 0.9);
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    transition: var(--transition-normal);
}

header.scrolled .nav-container {
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo img {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.logo:hover img {
    transform: scale(1.08) rotate(5deg);
}

.nav-menu {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 32px;
}

.nav-link {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-secondary);
    position: relative;
    padding: 8px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    background: var(--gradient-brand);
    color: var(--text-light) !important;
    padding: 10px 24px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -6px rgba(99, 102, 241, 0.4);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 3px;
    background-color: var(--text-primary);
    margin: 5px 0;
    border-radius: var(--radius-full);
    transition: var(--transition-normal);
}

/* --- Hero Section --- */
.hero {
    position: relative;
    padding: 160px 0 100px 0;
    background-image: var(--gradient-hero-bg);
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-content p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.btn-app {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--text-primary);
    color: var(--text-light);
    padding: 12px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-app:hover {
    background: #000000;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-app.secondary-btn {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-app.secondary-btn:hover {
    background: var(--bg-accent);
}

.btn-text-small {
    font-size: 0.75rem;
    display: block;
    opacity: 0.7;
    margin-bottom: 2px;
}

.btn-text-large {
    font-size: 1.05rem;
    font-weight: 700;
    font-family: var(--font-heading);
    display: block;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 32px;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.stat-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.05em;
}

/* Dynamic Floating Visuals */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-backdrop {
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: var(--gradient-glow);
    filter: blur(40px);
    z-index: 1;
}

.mockup-wrapper {
    position: relative;
    z-index: 2;
    transform: rotate(-3deg);
    transition: var(--transition-slow);
}

.mockup-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
}

.phone-frame {
    width: 290px;
    height: auto;
    border-radius: 40px;
    background: #1e293b;
    padding: 11px;
    box-shadow: var(--shadow-lg), 0 0 0 4px #0f172a;
    position: relative;
    overflow: hidden;
}

.phone-screen {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    background: #000;
    aspect-ratio: 9 / 19.5;
}

.phone-screen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Floating minor element in hero */
.floating-card {
    position: absolute;
    z-index: 3;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-md);
    animation: float 4s ease-in-out infinite;
}

.floating-card.card-1 {
    top: 15%;
    left: -20px;
    animation-delay: 0s;
}

.floating-card.card-2 {
    bottom: 15%;
    right: -20px;
    animation-delay: 2s;
}

.floating-card-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--gradient-brand);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

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

/* --- Features Section --- */
.features {
    background-color: var(--bg-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    transition: var(--transition-normal);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
    background-color: var(--bg-secondary);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(99, 102, 241, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 24px;
    transition: var(--transition-normal);
}

.feature-card:hover .feature-icon-wrapper {
    background: var(--gradient-brand);
    color: var(--text-light);
    transform: scale(1.05) rotate(5deg);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 700;
}

.feature-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Screenshot Showcase Section --- */
.showcase {
    background-color: var(--bg-primary);
    overflow: hidden;
    position: relative;
}

/* Carousel/Slider Implementation */
.slider-container {
    width: 100%;
    position: relative;
    padding: 20px 0;
}

.screenshot-track-wrapper {
    overflow: hidden;
    width: 100%;
    cursor: grab;
    user-select: none;
}

.screenshot-track-wrapper:active {
    cursor: grabbing;
}

.screenshot-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    width: max-content;
    padding: 10px 0;
}

.screenshot-item {
    width: 240px;
    flex-shrink: 0;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition-normal);
    background: #000;
    aspect-ratio: 9/19.5;
}

.screenshot-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

/* Slider Controls */
.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 40px;
}

.slider-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--shadow-sm);
}

.slider-btn:hover {
    background: var(--gradient-brand);
    color: var(--text-light);
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.slider-btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border-color);
    cursor: pointer;
    transition: var(--transition-fast);
}

.slider-dot.active {
    width: 24px;
    border-radius: var(--radius-full);
    background: var(--primary);
}

/* --- Privacy Policy Interactive Section --- */
.privacy-section {
    background-color: var(--bg-secondary);
}

.privacy-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    background-color: var(--bg-primary);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

/* Sidebar Navigation */
.privacy-sidebar {
    background-color: var(--bg-accent);
    border-right: 1px solid var(--border-color);
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.privacy-nav-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    padding-left: 12px;
}

.privacy-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.privacy-nav-link:hover {
    background: rgba(99, 102, 241, 0.04);
    color: var(--primary);
}

.privacy-nav-link.active {
    background: var(--bg-secondary);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    border-left: 3px solid var(--primary);
}

/* Content Panel */
.privacy-content-panel {
    padding: 48px 48px 48px 12px;
    max-height: 580px;
    overflow-y: auto;
    scroll-behavior: smooth;
}

.privacy-content-panel::-webkit-scrollbar {
    width: 6px;
}

.privacy-content-panel::-webkit-scrollbar-track {
    background: transparent;
}

.privacy-content-panel::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-full);
}

.privacy-content-panel::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

.policy-block {
    margin-bottom: 40px;
    scroll-margin-top: 20px;
}

.policy-block:last-child {
    margin-bottom: 0;
}

.policy-block h2 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 18px;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
}

.policy-block p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.7;
}

.policy-block ul {
    list-style: none;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.policy-block li {
    position: relative;
    padding-left: 24px;
    font-size: 0.95rem;
    line-height: 1.6;
}

.policy-block li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
}

.policy-block strong {
    color: var(--text-primary);
}

/* --- Contact & Support Section --- */
.contact {
    background-color: var(--bg-primary);
}

.contact-card {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.08);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    font-size: 1.8rem;
}

.contact-card h3 {
    font-size: 1.8rem;
    margin-bottom: 12px;
    font-weight: 800;
}

.contact-card p {
    max-width: 500px;
    margin: 0 auto 32px auto;
    font-size: 1rem;
    color: var(--text-secondary);
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--gradient-brand);
    color: var(--text-light);
    padding: 16px 36px;
    border-radius: var(--radius-full);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
}

.contact-email:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.4);
}

.contact-email svg {
    width: 22px;
    height: 22px;
}

/* --- Footer --- */
footer {
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    align-items: center;
}

.footer-brand h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    max-width: 320px;
}

.footer-links {
    display: flex;
    justify-content: flex-end;
    gap: 40px;
    list-style: none;
}

.footer-link-item a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.footer-link-item a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Lightbox / Image Zoom Viewer --- */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.lightbox.active {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.lightbox.active .lightbox-content {
    transform: scale(1);
}

.lightbox-img {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--radius-sm);
    object-fit: contain;
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2.2rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: rotate(90deg);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.5rem;
    transition: var(--transition-fast);
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    color: var(--text-light);
    transform: translateY(-50%) scale(1.05);
}

.lightbox-nav.prev {
    left: -70px;
}

.lightbox-nav.next {
    right: -70px;
}

/* --- Dedicated Privacy Page Style --- */
.privacy-page-hero {
    background-image: var(--gradient-hero-bg);
    padding: 140px 0 60px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.privacy-page-hero h1 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.privacy-page-content {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.privacy-container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

.privacy-rich-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 50px;
    box-shadow: var(--shadow-sm);
}

.privacy-rich-content .last-updated {
    font-style: italic;
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 32px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.privacy-rich-content h2 {
    font-size: 1.4rem;
    margin-top: 36px;
    margin-bottom: 16px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 8px;
}

.privacy-rich-content h2:first-of-type {
    margin-top: 0;
}

.privacy-rich-content p {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
    line-height: 1.7;
}

.privacy-rich-content ul {
    list-style: none;
    margin-bottom: 24px;
    padding-left: 0;
}

.privacy-rich-content li {
    position: relative;
    padding-left: 24px;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 12px;
}

.privacy-rich-content li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 10px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gradient-brand);
}

/* --- Responsive Adaptations --- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: 40px;
    }
    .hero-content h1 {
        font-size: 2.8rem;
    }
    .privacy-layout {
        grid-template-columns: 1fr;
    }
    .privacy-sidebar {
        flex-direction: row;
        overflow-x: auto;
        padding: 16px 24px;
        gap: 12px;
    }
    .privacy-nav-title {
        display: none;
    }
    .privacy-nav-link {
        white-space: nowrap;
        padding: 8px 16px;
    }
    .privacy-nav-link.active {
        border-left: none;
        border-bottom: 3px solid var(--primary);
    }
    .privacy-content-panel {
        padding: 32px 32px;
        max-height: none;
        overflow-y: visible;
    }
    .lightbox-nav.prev {
        left: 20px;
        top: auto;
        bottom: -70px;
        transform: none;
    }
    .lightbox-nav.next {
        right: 20px;
        top: auto;
        bottom: -70px;
        transform: none;
    }
}

@media (max-width: 768px) {
    .section-header h2 {
        font-size: 2rem;
    }
    .hero {
        padding: 120px 0 60px 0;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content p {
        margin: 0 auto 32px auto;
    }
    .hero-ctas {
        justify-content: center;
    }
    .hero-stats {
        justify-content: center;
        gap: 30px;
    }
    .floating-card {
        display: none; /* Hide floating cards on smaller screens to avoid clutter */
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--bg-secondary);
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        gap: 24px;
        box-shadow: var(--shadow-md);
        transition: var(--transition-normal);
        z-index: 999;
    }
    .nav-menu.active {
        left: 0;
    }
    .mobile-menu-btn {
        display: block;
    }
    .mobile-menu-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-menu-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    .contact-card {
        padding: 30px 20px;
    }
    .contact-card h3 {
        font-size: 1.5rem;
    }
    .contact-email {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .footer-links {
        justify-content: center;
        gap: 24px;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    .privacy-rich-content {
        padding: 30px 20px;
    }
    .privacy-page-hero h1 {
        font-size: 2.2rem;
    }
}
