/* General Body & Typography */
body {
    font-family: 'Roboto', 'Noto Sans KR', sans-serif;
    margin: 0;
    background-color: #ffffff;
    color: #333;
    line-height: 1.6;
}

h1,
h2,
h3,
h4 {
    font-family: 'Noto Sans KR', sans-serif;
    font-weight: 700;
    color: #2c3e50;
}

p {
    color: #555;
}

/* Landing Page Header */
.landing-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo h1 {
    margin: 0;
    font-size: 1.5rem;
    color: #4a90e2;
}

.landing-nav a {
    margin-left: 1.5rem;
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.landing-nav a:hover {
    color: #4a90e2;
}

/* Call to Action Buttons */
.cta-button,
.cta-button-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
    display: inline-block;
}

.cta-button {
    background-color: #4a90e2;
    color: white;
}

.cta-button:hover {
    background-color: #357abd;
    transform: translateY(-2px);
}

.cta-button-secondary {
    background-color: transparent;
    color: #4a90e2;
    border: 2px solid #4a90e2;
}

.cta-button-secondary:hover {
    background-color: #4a90e2;
    color: white;
}

/* Main Content Area */
.landing-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 4rem 0;
    gap: 2rem;
}

.hero-content {
    max-width: 50%;
}

.hero h2 {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.2rem;
    color: #777;
    margin-bottom: 2rem;
}

.hero-image img {
    max-width: 500px;
    width: 100%;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-around;
    padding: 4rem 0;
    background-color: #f8f9fa;
    text-align: center;
}

.feature {
    max-width: 300px;
}

.feature-icon img {
    height: 60px;
    margin-bottom: 1rem;
}

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

/* How It Works Section */
.how-it-works {
    padding: 4rem 0;
    text-align: center;
}

.how-it-works h2 {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.how-it-works-steps {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: center;
    gap: 2rem;
    background-color: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    text-align: left;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4a90e2;
    background-color: #e9f2fc;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.4rem;
}

/* Landing Page Footer */
.landing-footer {
    text-align: center;
    padding: 2rem;
    background-color: #2c3e50;
    color: #ecf0f1;
}

/* AUTH MODAL STYLES */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(8px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex !important;
    opacity: 1;
}

.auth-hidden {
    display: none !important;
}

.auth-modal {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-overlay.active .auth-modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
}

.modal-close:hover {
    color: #1e293b;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.auth-header p {
    color: #64748b;
    font-size: 0.95rem;
}

.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 0.5rem;
}

.auth-form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.2s;
    outline: none;
    box-sizing: border-box;
}

.auth-form-group input:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

.auth-submit {
    width: 100%;
    background: #4a90e2;
    color: white;
    padding: 0.875rem;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1rem;
}

.auth-submit:hover {
    background: #357abd;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.auth-submit:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: none;
}

.auth-switch {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.auth-switch a {
    color: #4a90e2;
    text-decoration: none;
    font-weight: 600;
}

.auth-switch a:hover {
    text-decoration: underline;
}

.auth-error {
    background: #fef2f2;
    color: #dc2626;
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: none;
    text-align: center;
}

/* Verification Code Input */
.code-inputs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin: 1.5rem 0;
}

.code-digit {
    width: 45px;
    height: 55px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    outline: none;
    transition: all 0.2s;
}

.code-digit:focus {
    border-color: #4a90e2;
    box-shadow: 0 0 0 4px rgba(74, 144, 226, 0.1);
}

/* Dark Mode Support */
body.dark-mode {
    background-color: #1a1a2e;
    color: #e5e7eb;
}

body.dark-mode .landing-header {
    background-color: #16213e;
}

body.dark-mode .slide-menu {
    background: #16213e;
}

body.dark-mode .menu-item {
    color: #e5e7eb;
}

body.dark-mode .menu-item:hover {
    background: #1a1a2e;
}

body.dark-mode .service-card,
body.dark-mode .content-card {
    background: #16213e;
}

body.dark-mode .service-card h3,
body.dark-mode .content-card h4 {
    color: #e5e7eb;
}

body.dark-mode .hamburger-btn span,
body.dark-mode .dots-btn span {
    background: #e5e7eb;
}

body.dark-mode .logo h1 {
    color: #60a5fa;
}

/* Subscription Modal Enhancement */
.subscription-plans {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin: 1.5rem 0;
}

@media (max-width: 600px) {
    .subscription-plans {
        grid-template-columns: 1fr;
    }
}

.plan-card {
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    overflow: hidden;
}

.plan-card.selected {
    border-color: #4a90e2;
    background: #f0f7ff;
    box-shadow: 0 10px 25px rgba(74, 144, 226, 0.15);
    transform: translateY(-5px);
}

.plan-card.selected::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 15px;
    background: #4a90e2;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
}

.plan-card:hover:not(.selected) {
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.plan-badge {
    font-size: 0.7rem;
    font-weight: 800;
    background: #e2e8f0;
    color: #475569;
    padding: 4px 8px;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.plan-card.selected .plan-badge {
    background: #4a90e2;
    color: white;
}

.plan-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #1e293b;
}

.plan-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: #4a90e2;
    margin-bottom: 1rem;
}

.plan-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: #64748b;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.85rem;
    color: #64748b;
}

.plan-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.subscribe-btn {
    width: 100%;
    padding: 1rem;
    background: #4a90e2;
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 1.5rem;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
}

.subscribe-btn:hover {
    background: #357abd;
    transform: scale(1.02);
}

/* Dark Mode Plan Adjustments */
body.dark-mode .plan-card {
    background: #16213e;
    border-color: #1f2937;
}

body.dark-mode .plan-name {
    color: #f1f5f9;
}

body.dark-mode .plan-card.selected {
    background: #1a2c4e;
    border-color: #3b82f6;
}

/* Workshop Navigation Bar */
.workshop-nav-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin: 2rem auto;
    background: rgba(248, 250, 252, 0.8);
    backdrop-filter: blur(8px);
    padding: 1.25rem 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 900px;
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.workshop-label {
    font-weight: 800;
    font-size: 1.1rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.workshop-label::before {
    content: '';
    display: block;
    width: 4px;
    height: 1.5rem;
    background: #4a90e2;
    border-radius: 2px;
}

.workshop-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.workshop-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid #e2e8f0;
    background: white;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

.workshop-btn:hover {
    border-color: #4a90e2;
    color: #4a90e2;
    background: #f0f7ff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 144, 226, 0.15);
}

/* Modal Action Buttons Enhancement */
.modal-workshop-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #f1f5f9;
}

.workshop-action-btn {
    padding: 1rem 2rem;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.workshop-action-btn.primary {
    background: #4a90e2;
    color: white;
}

.workshop-action-btn.secondary {
    background: #f1f5f9;
    color: #475569;
}

.workshop-action-btn:hover {
    transform: scale(1.02);
    filter: brightness(1.05);
}

@media (max-width: 768px) {
    .workshop-nav-bar {
        flex-direction: column;
        padding: 1.5rem;
        gap: 1.25rem;
        margin: 1rem;
    }

    .modal-workshop-actions {
        flex-direction: column;
    }
}

/* Dark Mode Adjustments */
body.dark-mode .workshop-nav-bar {
    background: rgba(30, 41, 59, 0.8);
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .workshop-label {
    color: #f1f5f9;
}

body.dark-mode .workshop-btn {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}