/* =====================================================
   FlickSort - Promotional Website Styles
   Dark theme, modern, mobile-first design
   ===================================================== */

/* CSS Variables */
:root {
    /* Colors from WEBSITE_BRIEF */
    --primary: #1565C0;
    --primary-light: #1976D2;
    --primary-dark: #0D47A1;
    --accent: #FF9800;
    --accent-light: #FFB74D;
    --background: #121212;
    --background-light: #1E1E1E;
    --background-card: #252525;
    --success: #4CAF50;
    --danger: #F44336;
    --text-primary: #FFFFFF;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    --border: rgba(255, 255, 255, 0.1);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --container-max: 1200px;
    --section-padding: 100px;
    --card-radius: 16px;
    --btn-radius: 12px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

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

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

ul {
    list-style: none;
}

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

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

/* =====================================================
   Navigation
   ===================================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

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

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

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

.logo-text {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
}

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

.btn-nav {
    background: var(--primary);
    color: var(--text-primary) !important;
    padding: 10px 20px;
    border-radius: var(--btn-radius);
}

.btn-nav:hover {
    background: var(--primary-light);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

/* =====================================================
   Buttons
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 28px;
    border-radius: var(--btn-radius);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: var(--transition-normal);
}

.btn-icon {
    width: 24px;
    height: 24px;
}

.btn span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.btn span small {
    font-size: 0.7rem;
    font-weight: 400;
    opacity: 0.8;
}

.btn-primary {
    background: var(--primary);
    color: var(--text-primary);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(21, 101, 192, 0.3);
}

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

.btn-secondary:hover {
    background: var(--background-light);
    border-color: var(--text-muted);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-muted);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.1rem;
}

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

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

.hero-content {
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 500px;
}

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

.hero-stats {
    display: flex;
    gap: 40px;
}

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

.stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent);
}

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

/* Phone Mockup */
.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
}

.phone-mockup {
    width: 280px;
    height: 580px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
    position: relative;
}

.phone-mockup::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 24px;
    background: #000;
    border-radius: 12px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--background);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 40px 16px 16px;
}

.mockup-photo {
    flex: 1;
    background: linear-gradient(135deg, #3a3a3a, #2a2a2a);
    border-radius: 16px;
    margin-bottom: 12px;
}

.swipe-indicator {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 16px;
}

.swipe-arrow {
    font-size: 0.75rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.swipe-arrow.up {
    color: var(--danger);
}

.swipe-arrow.down {
    color: var(--success);
}

.mockup-albums {
    display: flex;
    gap: 8px;
    justify-content: center;
}

.album-thumb {
    width: 50px;
    height: 50px;
    background: var(--background-card);
    border-radius: 8px;
}

/* Gesture Animation */
.gesture-animation {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

.gesture-hand {
    font-size: 3rem;
    animation: swipeDown 2s ease-in-out infinite;
}

@keyframes swipeDown {
    0%, 100% {
        transform: translateY(-30px);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
        transform: translateY(30px);
    }
    100% {
        opacity: 0;
        transform: translateY(60px);
    }
}

/* Hero Background */
.hero-bg-gradient {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(21, 101, 192, 0.15) 0%, transparent 70%);
    z-index: 0;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.3;
    }
}

/* =====================================================
   Section Styles
   ===================================================== */
section {
    padding: var(--section-padding) 0;
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--accent);
    color: var(--background);
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

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

/* =====================================================
   Features Section
   ===================================================== */
.features {
    background: var(--background-light);
}

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

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

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

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

/* =====================================================
   How It Works Section
   ===================================================== */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.step {
    flex: 1;
    max-width: 320px;
    text-align: center;
    position: relative;
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: var(--text-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.step-content {
    background: var(--background-card);
    padding: 48px 32px 32px;
    border-radius: var(--card-radius);
    border: 1px solid var(--border);
}

.step-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
}

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

.step-arrow {
    font-size: 2rem;
    color: var(--accent);
    opacity: 0.6;
}

/* =====================================================
   Comparison Section
   ===================================================== */
.comparison {
    background: linear-gradient(180deg, var(--background) 0%, var(--background-light) 100%);
}

.comparison-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.comparison-text .section-title {
    text-align: left;
}

.comparison-text .section-subtitle {
    text-align: left;
    margin-bottom: 32px;
}

.comparison-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comparison-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-secondary);
}

.check-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: var(--success);
    color: var(--background);
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
}

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

.comparison-demo {
    position: relative;
    width: 300px;
    height: 200px;
}

.demo-photo {
    position: absolute;
    width: 180px;
    height: 180px;
    background: var(--background-card);
    border-radius: 16px;
    border: 2px solid var(--border);
}

.demo-photo.left {
    left: 0;
    top: 0;
    z-index: 1;
}

.demo-photo.right {
    right: 0;
    top: 20px;
    z-index: 2;
}

.zoom-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 3px solid var(--accent);
    border-radius: 50%;
    animation: zoomPulse 2s ease-in-out infinite;
}

@keyframes zoomPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.6;
    }
}

.demo-arrows {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 40px;
    font-size: 1.5rem;
    color: var(--text-muted);
}

/* =====================================================
   Safety Section
   ===================================================== */
.safety {
    background: var(--background);
}

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

.safety-card {
    background: linear-gradient(135deg, var(--background-card), var(--background-light));
    padding: 40px 32px;
    border-radius: var(--card-radius);
    text-align: center;
    border: 1px solid var(--border);
}

.safety-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

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

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

/* =====================================================
   Download CTA Section
   ===================================================== */
.download-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 40px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.cta-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* =====================================================
   Footer
   ===================================================== */
.footer {
    background: var(--background-light);
    padding: 60px 0 30px;
}

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

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 16px;
    font-size: 0.95rem;
}

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

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid var(--border);
    text-align: center;
}

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

/* =====================================================
   Responsive Styles
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        order: 1;
    }
    
    .hero-image {
        order: 0;
        margin-bottom: 40px;
    }
    
    .hero-title {
        font-size: 2.75rem;
    }
    
    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step {
        max-width: 400px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .comparison-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .comparison-text {
        text-align: center;
    }
    
    .comparison-text .section-title,
    .comparison-text .section-subtitle {
        text-align: center;
    }
    
    .comparison-features {
        align-items: center;
    }
    
    .safety-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        justify-items: center;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--background);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding-top: 100px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 16px;
        align-items: center;
    }
    
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 24px;
    }
    
    .steps {
        gap: 40px;
    }
    
    .step-content {
        padding: 40px 24px 24px;
    }
    
    .cta-title {
        font-size: 1.75rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .phone-mockup {
        width: 200px;
        height: 420px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
}
