/* EKUH Website Styles
   Based on plugin frontend design system */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* Background colors */
    --bg-body: #12121f;
    --bg-card: #1a1a2e;
    --bg-header: #16213e;
    --bg-element: #2a2a4a;
    --bg-hover: #3a3a5a;

    /* Text colors */
    --text-primary: #e0e0e0;
    --text-secondary: #888;
    --text-muted: #666;

    /* Accent colors */
    --accent-green: #00ff88;
    --accent-orange: #ff9944;
    --accent-cyan: #00aaff;

    /* Borders */
    --border-color: #2a2a4a;
    --border-light: #3a3a5a;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;

    /* Spacing */
    --container-max: 1200px;
    --section-padding: 80px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-body);
    min-height: 100vh;
}

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

/* ============================================
   Header
   ============================================ */
.header {
    background-color: var(--bg-header);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-green);
    letter-spacing: 2px;
    text-decoration: none;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.15s ease;
}

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

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: 120px 0;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-header) 0%, var(--bg-body) 100%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--accent-green) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ============================================
   Buttons
   ============================================ */
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.15s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--bg-body);
}

.btn-primary:hover {
    background-color: #00dd77;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.3);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6644 100%);
    color: var(--bg-body);
}

.btn-secondary:hover {
    box-shadow: 0 0 20px rgba(255, 153, 68, 0.3);
}

/* ============================================
   Features Section
   ============================================ */
.features {
    padding: var(--section-padding) 0;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
    transition: border-color 0.15s ease, transform 0.15s ease;
}

.feature-card:hover {
    border-color: var(--border-light);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 16px;
    background-color: var(--bg-element);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--accent-green);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 8px;
}

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

/* ============================================
   Download Section
   ============================================ */
.download {
    padding: var(--section-padding) 0;
    background-color: var(--bg-card);
}

.download h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 48px;
}

.download-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}

.download-card {
    background-color: var(--bg-body);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 40px 32px;
    text-align: center;
}

.version-badge {
    display: inline-block;
    padding: 4px 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.version-badge.free {
    background-color: var(--bg-element);
    color: var(--text-primary);
}

.version-badge.pro {
    background: linear-gradient(135deg, var(--accent-orange) 0%, #ff6644 100%);
    color: var(--bg-body);
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.download-card p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

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

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

    .hero .subtitle {
        font-size: 1rem;
    }

    .nav {
        gap: 16px;
    }

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

    .download-options {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 16px 24px;
        gap: 12px;
    }

    .hero {
        padding: 80px 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
