/* ==========================================================================
   Bulk Image & Video Compressor - Premium Landing Page Stylesheet
   ========================================================================== */

/* Global Variables & Theme Design Tokens */
:root {
    --bg-main: #040714;
    --bg-card: rgba(255, 255, 255, 0.035);
    --bg-card-hover: rgba(255, 255, 255, 0.07);
    --border-card: rgba(255, 255, 255, 0.08);
    --border-highlight: rgba(0, 240, 255, 0.25);
    
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --cyan: #00f0ff;
    --indigo: #6366f1;
    --purple: #a855f7;
    --orange: #ff9e00;
    --green: #10b981;
    
    --grad-cyan-indigo: linear-gradient(135deg, #00f0ff 0%, #6366f1 100%);
    --grad-indigo-purple: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --grad-orange-red: linear-gradient(135deg, #ff9e00 0%, #ef4444 100%);
    --grad-green-cyan: linear-gradient(135deg, #10b981 0%, #00f0ff 100%);
    
    --shadow-glow-cyan: 0 0 35px rgba(0, 240, 255, 0.25);
    --shadow-glow-purple: 0 0 35px rgba(168, 85, 247, 0.2);
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 10px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Base Typography */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Headings use Outfit Font */
h1, h2, h3, h4, .logo-text, .nav-logo {
    font-family: 'Outfit', sans-serif;
}

/* Background Aurora Ambient Lights */
.aurora-bg-1 {
    position: absolute;
    width: 650px;
    height: 650px;
    top: -180px;
    right: -100px;
    background: radial-gradient(circle, rgba(0, 240, 255, 0.14) 0%, rgba(4, 7, 20, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.aurora-bg-2 {
    position: absolute;
    width: 550px;
    height: 550px;
    top: 45%;
    left: -150px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(4, 7, 20, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Header & Glass Navigation Bar */
header {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 100;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
}

.logo-icon img {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.35);
    transition: var(--transition-smooth);
}

.logo:hover .logo-icon img {
    transform: scale(1.05) rotate(3deg);
}

.logo-text {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.3px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-text span {
    font-size: 11px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

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

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

nav a:hover {
    color: var(--cyan);
}

.nav-cta {
    padding: 10px 20px;
    background: var(--grad-cyan-indigo);
    color: #ffffff !important;
    border-radius: 100px;
    font-weight: 700 !important;
    font-size: 14px !important;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0, 240, 255, 0.5);
}

/* Hero Section */
.hero {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 24px 80px;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    min-height: calc(100vh - 120px);
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: rgba(0, 240, 255, 0.08);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 100px;
    font-size: 13px;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: 0.8px;
    text-transform: uppercase;
}

.badge i {
    font-size: 12px;
}

.hero-title {
    font-size: 54px;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -1.2px;
}

.hero-title span {
    background: var(--grad-cyan-indigo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-desc {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.65;
}

.cta-group {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: var(--grad-cyan-indigo);
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    border-radius: 100px;
    box-shadow: var(--shadow-glow-cyan);
    transition: var(--transition-smooth);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 40px rgba(0, 240, 255, 0.55);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 28px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-radius: 100px;
    transition: var(--transition-smooth);
}

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

/* Hero Banner Graphic Container */
.hero-visual {
    position: relative;
}

.graphic-card {
    position: relative;
    border-radius: var(--radius-lg);
    padding: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    backdrop-filter: blur(12px);
    box-shadow: var(--shadow-glow-purple);
    transition: var(--transition-smooth);
    overflow: hidden;
}

.graphic-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-lg) - 6px);
}

.graphic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 50px rgba(0, 240, 255, 0.35);
}

/* Impact Stats Strip */
.stats-strip {
    max-width: 1240px;
    margin: 0 auto 100px;
    padding: 0 24px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(16px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.stat-number {
    font-size: 38px;
    font-weight: 900;
    background: var(--grad-cyan-indigo);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
}

/* Section Header Component */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 40px;
    font-weight: 900;
    letter-spacing: -0.8px;
    margin-bottom: 12px;
}

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

/* Features Grid */
.features-section {
    max-width: 1240px;
    margin: 0 auto 120px;
    padding: 0 24px;
}

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

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-highlight);
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

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

/* Screenshots Carousel / Scroll Showcase */
.screenshots-section {
    max-width: 1240px;
    margin: 0 auto 120px;
    padding: 0 24px;
}

.screenshots-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    padding: 20px 10px 40px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: var(--cyan) transparent;
}

.screenshots-scroll::-webkit-scrollbar {
    height: 6px;
}

.screenshots-scroll::-webkit-scrollbar-thumb {
    background: var(--cyan);
    border-radius: 10px;
}

.screenshot-item {
    flex: 0 0 280px;
    scroll-snap-align: center;
    border-radius: var(--radius-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    padding: 10px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius-lg) - 6px);
}

.screenshot-item:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--cyan);
    box-shadow: var(--shadow-glow-cyan);
}

/* FAQ Accordion Section */
.faq-section {
    max-width: 860px;
    margin: 0 auto 120px;
    padding: 0 24px;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-md);
    padding: 24px 28px;
    transition: var(--transition-smooth);
}

.faq-item summary {
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 14px;
    color: var(--cyan);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(180deg);
}

.faq-item p {
    margin-top: 16px;
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* Footer Section */
footer {
    width: 100%;
    border-top: 1px solid var(--border-card);
    background: rgba(4, 7, 20, 0.95);
    padding: 40px 24px;
}

.footer-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

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

.footer-left img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-left p {
    font-size: 14px;
    color: var(--text-muted);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition-smooth);
}

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

/* Privacy Policy Layout Styling */
.policy-page {
    max-width: 900px;
    margin: 40px auto 100px;
    padding: 0 24px;
}

.policy-card {
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: blur(16px);
}

.policy-card h1 {
    font-size: 42px;
    margin-bottom: 8px;
}

.policy-date {
    color: var(--cyan);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 36px;
    display: block;
}

.policy-content h2 {
    font-size: 24px;
    margin: 32px 0 12px;
    color: #ffffff;
}

.policy-content p, .policy-content li {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.policy-content ul {
    margin-left: 24px;
    margin-bottom: 20px;
}

/* Hamburger Button & Mobile Drawer Styles (Global Base Rules) */
.hamburger-btn {
    display: none;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-card);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    font-size: 20px;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.hamburger-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--cyan);
    color: var(--cyan);
}

/* Mobile Menu Fullscreen Overlay & Drawer (Hidden on Desktop) */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 7, 20, 0.85);
    backdrop-filter: blur(16px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-nav-drawer {
    position: absolute;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100%;
    background: rgba(8, 14, 34, 0.98);
    border-left: 1px solid var(--border-highlight);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 28px;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-overlay.active .mobile-nav-drawer {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-card);
    padding-bottom: 16px;
}

.close-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-card);
    color: var(--text-secondary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.close-btn:hover {
    color: #ffffff;
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.mobile-nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-links a:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: rgba(0, 240, 255, 0.3);
    color: var(--cyan);
    transform: translateX(4px);
}

.mobile-cta {
    background: var(--grad-cyan-indigo) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    justify-content: center !important;
    box-shadow: var(--shadow-glow-cyan);
    margin-top: 12px;
}

/* Media Queries & Responsive Design */
@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .badge {
        align-self: center;
    }
    
    .hero-desc {
        margin: 0 auto;
    }
    
    .cta-group {
        justify-content: center;
    }

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

@media (max-width: 768px) {
    nav.desktop-nav {
        display: none !important;
    }

    .hamburger-btn {
        display: flex !important;
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }

    .policy-card {
        padding: 24px;
    }
}
