/* ===================================
   Lusk Showcase Website - Styles
   Premium Dark Theme with Gradients
   =================================== */

/* CSS Variables */
:root {
    --color-bg-dark: #0a0a0f;
    --color-bg-card: #12121a;
    --color-bg-elevated: #1a1a24;
    --color-surface: #22222e;

    --color-primary: #8b5cf6;
    --color-primary-light: #a78bfa;
    --color-secondary: #06b6d4;
    --color-accent: #22d3ee;

    --color-text: #f8fafc;
    --color-text-muted: #a0a0b0;
    --color-text-dim: #6b7280;

    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #06b6d4 100%);
    --gradient-hero: linear-gradient(180deg, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
    --gradient-card: linear-gradient(145deg, rgba(139, 92, 246, 0.1) 0%, rgba(6, 182, 212, 0.05) 100%);

    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 16px 64px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(139, 92, 246, 0.3);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background: var(--color-bg-dark);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

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

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    font-size: 1.5rem;
}

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

.nav-links a {
    color: var(--color-text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.nav-github {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
}

.nav-github:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-sm), 0 0 20px rgba(139, 92, 246, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md), 0 0 30px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.05rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
}

.hero-orbs {
    position: absolute;
    inset: 0;
}

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

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-primary);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

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

.orb-3 {
    width: 200px;
    height: 200px;
    background: var(--color-accent);
    top: 50%;
    left: 30%;
    animation-delay: -10s;
}

@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(20px, 10px) scale(1.02);
    }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text {
    max-width: 560px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: 24px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-primary);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

/* Hero Phone */
.hero-phone {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    background: linear-gradient(145deg, #2a2a3a, #1a1a24);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.phone-frame:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screen {
    background: var(--color-bg-card);
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 9/19.5;
}

.hero-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-primary-light);
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.feature-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    color: white;
}

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

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

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
}

.screenshots-scroll {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 20px 0;
}

.screenshot-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.screenshot-frame {
    width: 200px;
    height: 400px;
    background: linear-gradient(145deg, #2a2a3a, #1a1a24);
    border-radius: 28px;
    padding: 8px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screenshot-frame-real {
    width: auto;
    height: auto;
    max-width: 220px;
    overflow: hidden;
}

.screenshot-img {
    width: 100%;
    height: auto;
    border-radius: 20px;
    display: block;
}

.screenshot-phone:hover .screenshot-frame {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.screenshot-label {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
}

/* Tech Stack Section */
.tech-stack {
    padding: 100px 0;
    background: var(--color-bg-card);
}

.tech-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.tech-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 24px 32px;
    background: var(--color-bg-elevated);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
}

.tech-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-2px);
}

.tech-logo {
    font-size: 2rem;
}

.tech-item span {
    font-weight: 500;
    color: var(--color-text-muted);
}

/* FAQ Section */
.faq {
    padding: 100px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(139, 92, 246, 0.03) 50%, transparent 100%);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(139, 92, 246, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

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

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

/* Download Section */
.download {
    padding: 100px 0;
}

.download-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    background: var(--gradient-card);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: var(--radius-xl);
    padding: 60px;
}

.download-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.download-content>p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 32px;
}

.download-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.download-note {
    font-size: 0.9rem;
    color: var(--color-text-dim);
}

.download-note a {
    color: var(--color-primary-light);
}

.download-note a:hover {
    text-decoration: underline;
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-phone {
    width: 180px;
    height: 320px;
    background: linear-gradient(145deg, #2a2a3a, #1a1a24);
    border-radius: 32px;
    padding: 8px;
    box-shadow: var(--shadow-md);
}

.download-screen {
    width: 100%;
    height: 100%;
    background: var(--color-bg-dark);
    border-radius: 26px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.download-check {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 50%;
    font-size: 2rem;
    color: white;
}

.download-screen span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Footer */
.footer {
    padding: 80px 0 40px;
    background: var(--color-bg-card);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand .logo {
    margin-bottom: 16px;
}

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

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-column h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text);
    margin-bottom: 20px;
}

.footer-column a {
    display: block;
    font-size: 0.95rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.85rem;
    color: var(--color-text-dim);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text {
        max-width: 100%;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-phone {
        order: -1;
    }

    .phone-frame {
        width: 240px;
        transform: none;
    }

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

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .download-visual {
        order: -1;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links {
        justify-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
}

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

    .features-grid {
        grid-template-columns: 1fr;
    }

    .screenshots-scroll {
        flex-wrap: nowrap;
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px;
    }

    .screenshot-phone {
        scroll-snap-align: center;
        flex-shrink: 0;
    }

    .nav-links a:not(.nav-github) {
        display: none;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Footer Acknowledgements */
.footer-acknowledgements {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.acknowledgement-item {
    text-align: center;
}

.acknowledgement-item h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 16px;
}

.acknowledgement-link {
    display: inline-block;
    margin-bottom: 12px;
}

.acknowledgement-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary-light);
}

.tmdb-attribution {
    display: inline-block;
    margin-bottom: 12px;
}

.tmdb-logo {
    height: 24px;
    width: auto;
}

.acknowledgement-item p {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    line-height: 1.6;
    max-width: 400px;
    margin: 0 auto;
}

.acknowledgement-item p a {
    color: var(--color-primary-light);
}

.acknowledgement-item p a:hover {
    text-decoration: underline;
}

/* Footer Disclaimer */
.footer-disclaimer {
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.disclaimer-box {
    background: rgba(255, 100, 100, 0.05);
    border: 1px solid rgba(255, 100, 100, 0.2);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.disclaimer-box h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ff9999;
    margin-bottom: 12px;
}

.disclaimer-box p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    margin-bottom: 12px;
}

.disclaimer-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.disclaimer-box li {
    font-size: 0.85rem;
    color: var(--color-text-dim);
    padding-left: 20px;
    position: relative;
    margin-bottom: 8px;
}

.disclaimer-box li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #ff9999;
}

/* Legal Page Styles */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.legal-updated {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    margin-bottom: 48px;
}

.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary-light);
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.legal-section h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 20px 0 12px;
}

.legal-section p {
    font-size: 1rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.legal-section li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding-left: 24px;
    position: relative;
    margin-bottom: 10px;
}

.legal-section li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary-light);
}

.legal-section a {
    color: var(--color-primary-light);
}

.legal-section a:hover {
    text-decoration: underline;
}

/* Responsive for footer acknowledgements */
@media (max-width: 768px) {
    .footer-acknowledgements {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .disclaimer-box {
        padding: 16px;
    }
}