/* ========================================
   Volunpress Landing Page Styles
   ======================================== */

:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary: #10b981;
    --secondary-dark: #059669;
    --accent: #f59e0b;
    --dark: #0f172a;
    --dark-light: #1e293b;
    --gray-900: #111827;
    --gray-800: #1f2937;
    --gray-700: #374151;
    --gray-600: #4b5563;
    --gray-500: #6b7280;
    --gray-400: #9ca3af;
    --gray-300: #d1d5db;
    --gray-200: #e5e7eb;
    --gray-100: #f3f4f6;
    --gray-50: #f9fafb;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, var(--primary) 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-soft: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-full: 9999px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--gray-700);
    line-height: 1.6;
    background: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========================================
   Typography
   ======================================== */

h1, h2, h3, h4, h5 {
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { color: var(--gray-600); }

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========================================
   Buttons
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--gray-200);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.btn-lg { padding: 18px 36px; font-size: 1.1rem; }
.btn-xl { padding: 20px 48px; font-size: 1.2rem; }

.btn-nav {
    padding: 10px 24px;
    font-size: 0.95rem;
}

/* ========================================
   Navigation
   ======================================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 15px 0;
    box-shadow: var(--shadow);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon { font-size: 2rem; }

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--dark);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray-600);
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover { color: var(--primary); }

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--dark);
    transition: all 0.3s;
}

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 80%;
    height: 150%;
    background: var(--gradient-soft);
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.badge, .section-badge, .version-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--gradient-soft);
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: 20px;
}

.hero h1 { margin-bottom: 24px; }

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 40px;
    max-width: 540px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 30px;
}

.stat {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-icon { font-size: 1.5rem; }
.stat-text { font-size: 0.95rem; color: var(--gray-500); }

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.mockup-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-xl);
    width: 320px;
    position: relative;
    z-index: 2;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.mockup-avatar {
    width: 56px;
    height: 56px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 1.2rem;
}

.mockup-info { display: flex; flex-direction: column; }
.mockup-name { font-weight: 700; color: var(--dark); font-size: 1.1rem; }
.mockup-level {
    font-size: 0.85rem;
    color: var(--secondary);
    font-weight: 600;
}

.mockup-points {
    text-align: center;
    margin-bottom: 20px;
}

.mockup-value {
    display: block;
    font-size: 4rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.mockup-label {
    font-size: 1rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.mockup-progress {
    height: 10px;
    background: var(--gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: 12px;
}

.mockup-progress-bar {
    width: 85%;
    height: 100%;
    background: var(--gradient);
    border-radius: var(--radius-full);
}

.mockup-next {
    display: block;
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.floating-badge {
    position: absolute;
    background: var(--white);
    padding: 12px 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-weight: 600;
    font-size: 0.95rem;
    animation: float 3s ease-in-out infinite;
}

.badge-1 { top: 20px; right: 20px; color: var(--accent); animation-delay: 0s; }
.badge-2 { bottom: 40%; left: 0; color: var(--secondary); animation-delay: 0.5s; }
.badge-3 { bottom: 20px; right: 40px; color: var(--primary); animation-delay: 1s; }

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ========================================
   Section Styles
   ======================================== */

section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 { margin-bottom: 16px; }
.section-header p { font-size: 1.15rem; }

/* ========================================
   Features Section
   ======================================== */

.features { background: var(--gray-50); }

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 35px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 12px;
    font-size: 1.3rem;
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* ========================================
   How It Works
   ======================================== */

.how-it-works {
    background: var(--dark);
    color: var(--white);
}

.how-it-works .section-badge {
    background: rgba(99, 102, 241, 0.2);
}

.how-it-works h2 { color: var(--white); }

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.step {
    text-align: center;
    flex: 1;
    max-width: 280px;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 auto 20px;
}

.step h3 {
    color: var(--white);
    margin-bottom: 10px;
}

.step p { color: var(--gray-400); }

.step-arrow {
    font-size: 2rem;
    color: var(--gray-600);
}

/* ========================================
   Shortcodes Section
   ======================================== */

.shortcodes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.shortcode-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 25px;
    transition: all 0.3s;
}

.shortcode-card:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
}

.shortcode-preview {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 20px;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shortcode-card code {
    display: block;
    background: var(--dark);
    color: var(--secondary);
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 0.8rem;
    margin-bottom: 15px;
    word-break: break-all;
}

.shortcode-card h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.shortcode-card > p {
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.shortcode-params {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.shortcode-params span {
    background: var(--gray-100);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--gray-600);
    font-family: monospace;
}

/* Mini previews */
.mini-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 6px;
    font-size: 0.85rem;
}

.mini-row strong { margin-left: auto; color: var(--primary); }

.preview-card {
    text-align: center;
}

.mini-avatar {
    width: 50px;
    height: 50px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    margin: 0 auto 10px;
}

.mini-name { font-weight: 600; color: var(--dark); }
.mini-points { font-size: 1.5rem; font-weight: 800; color: var(--primary); }

.mini-reward {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: var(--white);
    border-radius: 8px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.mini-reward span { color: var(--primary); font-weight: 600; }

.preview-stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.mini-stat span {
    display: block;
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary);
}

.mini-stat {
    font-size: 0.75rem;
    color: var(--gray-500);
}

/* ========================================
   Screenshots Section
   ======================================== */

.screenshots { background: var(--gray-50); }

.screenshots-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.screenshot-feature {
    text-align: center;
    padding: 30px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.screenshot-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.screenshot-feature h4 { margin-bottom: 10px; }
.screenshot-feature p { font-size: 0.95rem; }

/* ========================================
   Download Section
   ======================================== */

.download { background: var(--white); }

.download-card {
    background: var(--gradient-soft);
    border-radius: var(--radius-lg);
    padding: 60px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
}

.download-content h2 {
    margin-bottom: 16px;
    font-size: 2.2rem;
}

.download-content > p {
    font-size: 1.1rem;
    margin-bottom: 30px;
}

.download-checklist {
    list-style: none;
    margin-bottom: 35px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.download-checklist li {
    font-size: 1rem;
    color: var(--gray-700);
}

.download-hint {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--gray-500);
}

.download-visual {
    display: flex;
    justify-content: center;
}

.mockup-window {
    background: var(--dark);
    border-radius: var(--radius);
    overflow: hidden;
    width: 300px;
    box-shadow: var(--shadow-xl);
}

.window-dots {
    display: flex;
    gap: 8px;
    padding: 15px 20px;
    background: var(--dark-light);
}

.window-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-600);
}

.window-dots span:first-child { background: #ff5f57; }
.window-dots span:nth-child(2) { background: #febc2e; }
.window-dots span:last-child { background: #28c840; }

.window-content { padding: 20px; }

.wp-menu { font-size: 0.9rem; }

.menu-item {
    padding: 12px 15px;
    background: var(--primary);
    border-radius: 8px;
    color: var(--white);
    font-weight: 600;
    margin-bottom: 10px;
}

.menu-sub {
    padding: 10px 15px 10px 25px;
    color: var(--gray-400);
    font-size: 0.85rem;
}

/* ========================================
   Installation Section
   ======================================== */

.installation {
    background: var(--gray-50);
}

.install-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.install-step {
    text-align: center;
    flex: 1;
    max-width: 220px;
}

.install-num {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.install-step h4 { margin-bottom: 8px; }
.install-step p { font-size: 0.95rem; }

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark);
    color: var(--gray-400);
    padding: 80px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand .logo {
    margin-bottom: 20px;
}

.footer-brand .logo-text { color: var(--white); }

.footer-brand p {
    color: var(--gray-400);
    font-size: 0.95rem;
    max-width: 300px;
}

.footer h5 {
    color: var(--white);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-links a,
.footer-contact a {
    display: block;
    color: var(--gray-400);
    text-decoration: none;
    margin-bottom: 12px;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover,
.footer-contact a:hover { color: var(--primary-light); }

.footer-contact p { margin-bottom: 12px; }

.footer-bottom {
    border-top: 1px solid var(--gray-800);
    padding-top: 30px;
    text-align: center;
    font-size: 0.9rem;
}

.footer-bottom a { color: var(--primary-light); text-decoration: none; }

/* ========================================
   Responsive Design
   ======================================== */

@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-subtitle { margin: 0 auto 40px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { justify-content: center; }
    
    .hero-visual { margin-top: 40px; }
    
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .shortcodes-grid { grid-template-columns: repeat(2, 1fr); }
    .screenshots-features { grid-template-columns: repeat(2, 1fr); }
    
    .download-card {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .download-checklist { justify-content: center; }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 100px 40px;
        gap: 30px;
        transition: right 0.3s ease;
        box-shadow: var(--shadow-xl);
    }
    
    .nav-links.active { right: 0; }
    
    .mobile-menu-btn { display: flex; z-index: 1001; }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .features-grid,
    .shortcodes-grid,
    .screenshots-features {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow { transform: rotate(90deg); }
    
    .install-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p { margin: 0 auto; }
    
    .download-card { padding: 40px 25px; }
    .download-checklist { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-buttons { flex-direction: column; }
    .hero-stats { flex-direction: column; gap: 15px; }
    
    .btn-lg, .btn-xl { width: 100%; justify-content: center; }
    
    .mockup-card { width: 100%; max-width: 300px; }
    
    .floating-badge { display: none; }
}