/* K-Drama Website Styles */

:root {
    --primary: #B92B37;
    --primary-dark: #8E2129;
    --primary-light: #D4444F;
    --secondary: #213D95;
    --secondary-dark: #182D6E;
    --secondary-light: #2E52BA;
    --text: #1a1a1a;
    --text-light: #555;
    --bg: #ffffff;
    --bg-light: #f8f8fa;
    --bg-dark: #1a1a2e;
    --border: #e0e0e0;
    --radius: 12px;
    --shadow: 0 2px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

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

/* Nav */
.nav {
    position: sticky;
    top: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    z-index: 100;
    padding: 0 24px;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.nav-brand img {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

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

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

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 6px 0;
    transition: transform 0.3s, opacity 0.3s;
}

/* Hero */
.hero {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
    color: #fff;
    text-align: center;
    padding: 80px 24px 96px;
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 28px;
    box-shadow: 0 8px 40px rgba(185,43,55,0.3);
    margin-bottom: 28px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.hero h1 span {
    color: var(--primary-light);
}

.hero p {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.75);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    color: #fff;
}

.btn-secondary {
    background: var(--secondary);
    color: #fff;
}

.btn-secondary:hover {
    background: var(--secondary-dark);
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: #fff;
    color: #fff;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Sections */
.section {
    padding: 80px 24px;
}

.section-alt {
    background: var(--bg-light);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.section-header p {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 560px;
    margin: 0 auto;
}

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

.feature-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 16px;
}

.feature-icon.red {
    background: rgba(185,43,55,0.1);
    color: var(--primary);
}

.feature-icon.blue {
    background: rgba(33,61,149,0.1);
    color: var(--secondary);
}

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

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

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, #16213e 100%);
    color: #fff;
    text-align: center;
    padding: 56px 24px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.page-header p {
    color: rgba(255,255,255,0.7);
    font-size: 1.05rem;
}

/* Support Form */
.support-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 6px;
    color: var(--text);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: border-color 0.2s;
    background: var(--bg);
    color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(185,43,55,0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 12px;
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 0.9rem;
    display: none;
}

.form-status.success {
    display: block;
    background: #e8f5e9;
    color: #2e7d32;
}

.form-status.error {
    display: block;
    background: #fbe9e7;
    color: #c62828;
}

/* FAQ */
.faq-list {
    list-style: none;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-question {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.faq-answer {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Info */
.contact-info {
    background: var(--bg-light);
    border-radius: var(--radius);
    padding: 28px;
    margin-top: 24px;
}

.contact-info h3 {
    font-size: 1rem;
    margin-bottom: 12px;
}

.contact-info a {
    font-weight: 600;
}

/* Privacy Policy */
.privacy-content {
    max-width: 760px;
    margin: 0 auto;
}

.privacy-content h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 36px 0 12px;
    color: var(--text);
}

.privacy-content h2:first-child {
    margin-top: 0;
}

.privacy-content p,
.privacy-content li {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 12px;
}

.privacy-content ul {
    padding-left: 24px;
    margin-bottom: 16px;
}

.privacy-content li {
    margin-bottom: 6px;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: rgba(255,255,255,0.6);
    padding: 48px 24px;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
}

.footer-brand img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copy {
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--bg);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }

    .nav-links.open {
        display: flex;
    }

    .hero {
        padding: 56px 24px 64px;
    }

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

    .hero-logo {
        width: 88px;
        height: 88px;
        border-radius: 22px;
    }

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

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

    .section {
        padding: 48px 24px;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
