/* Core Design System Tokens */
:root {
    --bg-main: #070708;
    --bg-card: #111115;
    --bg-card-hover: #16161c;
    --border-color: #22222a;
    --text-primary: #ffffff;
    --text-secondary: #9aa0a6;
    --text-muted: #5f6368;
    
    /* Branding Colors */
    --accent-red: #ff3333;
    --accent-red-hover: #ff1a1a;
    --accent-red-glow: rgba(255, 51, 51, 0.4);
    --accent-blue: #5865f2; /* Discord color */
    --accent-green: #00ff66;
    
    /* Font Families */
    --font-heading: 'Outfit', 'Noto Sans KR', sans-serif;
    --font-body: 'Noto Sans KR', sans-serif;
    
    /* Layout */
    --container-width: 1100px;
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

/* Common Text Utilities */
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, #ff3333 0%, #ff8000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-red {
    color: var(--accent-red);
}

.text-blue {
    color: var(--accent-blue);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: var(--transition-smooth);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-red) 0%, #cc0000 100%);
    color: #ffffff;
    box-shadow: 0 4px 20px var(--accent-red-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 51, 51, 0.6);
}

.btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 1px solid var(--border-color);
}

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

.btn-lg {
    padding: 1.2rem 2.5rem;
    font-size: 1.25rem;
    border-radius: 12px;
}

.btn-block {
    display: flex;
    width: 100%;
}

.btn-subtext {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.8;
    margin-top: 2px;
}

/* Animations */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 51, 51, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 51, 51, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* MVP Banner */
.mvp-banner {
    background-color: var(--accent-red);
    color: #ffffff;
    text-align: center;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 1000;
    position: relative;
    letter-spacing: 0.5px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background-color: rgba(7, 7, 8, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    padding: 1rem 0;
}

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

.logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.3rem;
    text-decoration: none;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo-red {
    color: var(--accent-red);
}

.logo-light {
    font-weight: 300;
    opacity: 0.8;
}

.header-btn {
    padding: 0.5rem 1.2rem;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    text-align: center;
    overflow: hidden;
}

.hero-bg-glow {
    position: absolute;
    top: -30%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 51, 51, 0.15) 0%, rgba(7, 7, 8, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: rgba(255, 51, 51, 0.1);
    border: 1px solid rgba(255, 51, 51, 0.3);
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.15;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.5rem auto;
    font-weight: 400;
}

.hero-cta {
    display: inline-block;
}

.cta-notice {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Pain Point Section */
.pain-point {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-tag {
    color: var(--accent-red);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 0.5rem;
}

.section-header h2 {
    font-size: 2.3rem;
}

.section-desc {
    color: var(--text-secondary);
    max-width: 600px;
    margin: 1rem auto 0 auto;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3.5rem;
}

.pain-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.pain-card:hover {
    border-color: rgba(255, 51, 51, 0.3);
    transform: translateY(-5px);
    background-color: var(--bg-card-hover);
}

.pain-icon {
    font-size: 2.5rem;
    color: var(--accent-red);
    margin-bottom: 1.5rem;
}

.pain-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

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

.pain-conclusion {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-primary);
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    background-color: rgba(255, 51, 51, 0.05);
    border-left: 4px solid var(--accent-red);
    border-radius: 4px;
}

/* Solution / Features Section */
.solution {
    padding: 100px 0;
}

.feature-rows {
    display: flex;
    flex-direction: column;
    gap: 6rem;
    margin-top: 4rem;
}

.feature-row {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 4rem;
    align-items: center;
}

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

.feature-row.reverse .feature-text {
    order: 2;
}
.feature-row.reverse .feature-visual {
    order: 1;
}

.feature-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 900;
    color: rgba(255, 51, 51, 0.15);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.feature-text h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
}

.feature-sub {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.3rem;
}

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

/* Discord Mockup Style */
.discord-mockup {
    background-color: #2f3136; /* Discord theme colors */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 1px solid #4f545c;
}

.discord-header {
    background-color: #202225;
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
}

.discord-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}
.discord-dot:nth-child(1) { background-color: #ff5f56; }
.discord-dot:nth-child(2) { background-color: #ffbd2e; }
.discord-dot:nth-child(3) { background-color: #27c93f; }

.discord-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 0.85rem;
    margin-left: 1rem;
    font-family: var(--font-heading);
}

.discord-body {
    padding: 1.5rem;
}

.discord-cam-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.discord-cam {
    background-color: #18191c;
    border-radius: 8px;
    height: 120px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid transparent;
}

.active-cam {
    border-color: var(--accent-red);
}

.cam-placeholder {
    font-size: 2.2rem;
    color: #4f545c;
}

.cam-tag {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background-color: rgba(0, 0, 0, 0.6);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    color: #dcddde;
}

.discord-messages {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    background-color: #36393f;
    min-height: 250px;
}

.discord-msg {
    display: flex;
    gap: 1rem;
}

.msg-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #ffffff;
    font-size: 0.85rem;
}

.user-red { background-color: var(--accent-red); }
.user-blue { background-color: var(--accent-blue); }

.msg-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.msg-author {
    font-weight: 600;
    font-size: 0.9rem;
}

.msg-time {
    font-size: 0.75rem;
    color: #a3a6aa;
    margin-left: 0.5rem;
}

.msg-content p {
    color: #dcddde;
    font-size: 0.9rem;
}

.msg-attachment {
    background-color: #2f3136;
    border: 1px solid #202225;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    margin-top: 0.5rem;
    font-size: 0.8rem;
    color: var(--accent-green);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Role System Card */
.role-system-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.role-item {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding-bottom: 1.2rem;
    border-bottom: 1px solid var(--border-color);
}

.role-item:last-of-type {
    border-bottom: none;
}

.role-badge {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.tier-legend .role-badge {
    background-color: rgba(255, 215, 0, 0.1);
    color: gold;
    border: 1px solid gold;
}

.tier-pro .role-badge {
    background-color: rgba(255, 51, 51, 0.1);
    color: var(--accent-red);
    border: 1px solid var(--accent-red);
}

.tier-newbie .role-badge {
    background-color: rgba(0, 255, 102, 0.1);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.role-info h4 {
    font-size: 1.1rem;
    margin-bottom: 0.2rem;
}

.role-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.role-kick-warning {
    background-color: rgba(255, 51, 51, 0.05);
    border: 1px solid rgba(255, 51, 51, 0.2);
    padding: 1rem;
    border-radius: 6px;
    text-align: center;
    font-size: 0.85rem;
}

/* Urgency / Price Section */
.urgency {
    padding: 80px 0;
    background-color: #0c0d12;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.urgency-wrapper {
    max-width: 750px;
    margin: 0 auto;
    text-align: center;
}

.urgency-wrapper h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.urgency-wrapper p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.price-box {
    display: inline-block;
    background-color: var(--bg-card);
    border: 2px solid var(--accent-red);
    padding: 2.5rem 3.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(255, 51, 51, 0.15);
}

.price-old {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.price-current {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.price-period {
    font-size: 1.1rem;
    color: var(--accent-red);
    font-weight: 700;
}

.spots-left {
    font-size: 0.95rem;
    color: var(--text-secondary);
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.spots-left strong {
    color: var(--accent-red);
}

/* CTA / Form Section */
.cta-section {
    padding: 100px 0;
}

.cta-form-card {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 3rem 2.5rem;
    border-radius: 16px;
    position: relative;
}

.cta-form-card h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.form-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

.ybc-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.form-group input,
.form-group textarea {
    background-color: var(--bg-main);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1rem;
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-red);
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.15);
}

.payment-instructions {
    background-color: rgba(255, 255, 255, 0.02);
    border: 1px dashed var(--border-color);
    padding: 1.5rem;
    border-radius: 8px;
    margin: 0.5rem 0;
}

.payment-instructions h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.bank-account {
    font-size: 1.1rem;
    font-family: var(--font-heading);
    margin-bottom: 0.3rem;
}

.bank-tip {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.terms-container {
    padding: 0.5rem 0;
}

.checkbox-group {
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--accent-red);
    margin-top: 3px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    cursor: pointer;
}

/* Success Overlay */
.success-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-card);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    z-index: 10;
    transition: var(--transition-smooth);
}

.success-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.success-content {
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-green);
    margin-bottom: 1.5rem;
}

.success-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.success-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.success-sub {
    font-size: 0.85rem;
    background-color: rgba(255, 255, 255, 0.03);
    padding: 0.8rem;
    border-radius: 6px;
    margin-bottom: 2rem;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.01);
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    font-size: 1.05rem;
}

.faq-question i {
    font-size: 0.85rem;
    transition: var(--transition-smooth);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: var(--transition-smooth);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.faq-item.active {
    border-color: rgba(255, 51, 51, 0.2);
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    padding-bottom: 1.25rem;
    max-height: 200px; /* high enough height to accommodate answer text */
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.footer-sub {
    margin-top: 0.5rem;
    font-size: 0.75rem;
}

/* Mobile Responsiveness & Breakpoints */
@media (max-width: 992px) {
    .feature-row, .feature-row.reverse {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    
    .feature-row.reverse .feature-text {
        order: 1;
    }
    .feature-row.reverse .feature-visual {
        order: 2;
    }
    
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 140px 0 70px 0;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .price-box {
        padding: 2rem 1.5rem;
        width: 100%;
    }
    
    .price-current {
        font-size: 2.8rem;
    }
    
    .cta-form-card {
        padding: 2rem 1.5rem;
    }
    
    .header-btn {
        display: none; /* Hide header btn on small mobiles */
    }
}
