/* ===== CSS Variables ===== */
:root {
    --primary: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary: #EC4899;
    --accent: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --dark: #0F172A;
    --dark-800: #1E293B;
    --dark-700: #334155;
    --gray-500: #64748B;
    --gray-400: #94A3B8;
    --gray-300: #CBD5E1;
    --gray-200: #E2E8F0;
    --gray-100: #F1F5F9;
    --white: #FFFFFF;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-blue: linear-gradient(135deg, #667EEA 0%, #764BA2 100%);
    --shadow-sm: 0 1px 2px 0 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);
    --shadow-glow: 0 0 60px rgba(99, 102, 241, 0.3);
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== Container ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== Floating CTA ===== */
.floating-cta {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.floating-cta.visible {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.floating-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 32px;
    background: var(--gradient);
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.floating-btn .pulse {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    border-radius: 100px;
    background: var(--gradient);
    animation: pulse 2s infinite;
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    background: transparent;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-badge,
.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    object-fit: contain;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-name {
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--dark);
}

.logo-tag {
    font-size: 0.625rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-500);
}

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

.nav-cta {
    padding: 10px 20px !important;
    background: var(--gradient) !important;
    color: var(--white) !important;
    border-radius: 100px;
    font-weight: 600 !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2.5px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

/* Hamburger → X animation */
.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

/* Mobile menu overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Body scroll lock when menu open */
body.menu-open {
    overflow: hidden;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 0 60px;
    overflow: hidden;
    background: linear-gradient(180deg, var(--gray-100) 0%, var(--white) 100%);
}

.hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.title-accent {
    color: var(--primary);
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}

.hero-subtitle strong {
    color: var(--dark);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
    padding: 16px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.hero-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.stat-desc {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: var(--gray-200);
}

.hero-cta {
    margin-bottom: 48px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient);
    color: var(--white);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.5);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.125rem;
    border-radius: var(--radius-lg);
}

.btn-icon {
    font-size: 1.25rem;
}

.cta-note {
    margin-top: 12px;
    font-size: 0.875rem;
    color: var(--gray-400);
}

/* Phone Container */
.hero-visual {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
}

.phone-container {
    position: relative;
    padding: 20px;
}

.phone-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: var(--gradient);
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.phone-frame {
    position: relative;
    width: 260px;
    height: 520px;
    margin: 0 auto;
    background: var(--dark);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-xl);
}

.phone-notch {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: var(--dark);
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1f36 0%, #252d4a 100%);
    border-radius: 32px;
    overflow: hidden;
    padding: 48px 16px 16px;
}

.screen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.screen-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
}

.screen-streak {
    font-size: 0.75rem;
    color: #F59E0B;
}

.screen-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.card-progress {
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--gradient);
    border-radius: 2px;
}

.card-word {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 4px;
}

.card-phonetic {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.card-meaning {
    font-size: 1.125rem;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.card-example {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
}

.screen-actions {
    display: flex;
    gap: 8px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
}

.action-skip {
    background: rgba(239, 68, 68, 0.2);
    color: #FCA5A5;
}

.action-know {
    background: rgba(16, 185, 129, 0.2);
    color: #6EE7B7;
}

.floating-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    font-size: 0.8rem;
    font-weight: 600;
    animation: float 3s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    right: -30px;
    color: var(--accent);
    animation-delay: 0s;
}

.card-2 {
    bottom: 120px;
    left: -30px;
    color: var(--primary);
    animation-delay: 1.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    overflow: hidden;
    pointer-events: none;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.5;
}

.shape-1 {
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.shape-2 {
    bottom: 20%;
    left: 5%;
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
}

.shape-3 {
    top: 40%;
    left: 15%;
    width: 100px;
    height: 100px;
    background: rgba(245, 158, 11, 0.1);
}

/* ===== Social Proof ===== */
.social-proof {
    padding: 40px 0;
    background: var(--dark);
    color: var(--white);
}

.proof-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
}

.proof-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.proof-highlight {
    font-weight: 700;
    font-size: 1.125rem;
}

.proof-schools {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.proof-logos {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-item {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 500;
}

/* ===== Problem Section ===== */
.problem-section {
    padding: 100px 0 60px;
    background: var(--white);
}

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

.section-badge {
    display: inline-block;
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.3;
}

.text-danger {
    color: var(--danger);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.problem-card {
    padding: 32px 24px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    text-align: center;
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

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

.problem-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

.solution-arrow {
    text-align: center;
}

.solution-arrow span {
    display: block;
    font-size: 2rem;
    animation: bounce 2s infinite;
}

.solution-arrow p {
    margin-top: 8px;
    font-weight: 600;
    color: var(--primary);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

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

.section-desc {
    margin-top: 12px;
    font-size: 1rem;
    color: var(--gray-500);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.feature-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    padding: 48px;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.feature-visual {
    display: flex;
    justify-content: center;
}

.feature-phone {
    width: 220px;
    height: 440px;
    background: var(--dark);
    border-radius: 32px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
}

.fp-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #1a1f36 0%, #252d4a 100%);
    border-radius: 24px;
    padding: 40px 12px 12px;
    overflow: hidden;
}

.quiz-ui {
    text-align: center;
}

.quiz-question {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
}

.quiz-meaning {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 24px;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.quiz-option {
    padding: 12px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.875rem;
    color: var(--white);
    text-align: center;
}

.quiz-option.correct {
    background: rgba(16, 185, 129, 0.3);
    border: 1px solid rgba(16, 185, 129, 0.5);
}

.feature-content {
    padding-right: 24px;
}

.feature-number {
    font-size: 4rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 8px;
}

.feature-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.feature-content p {
    font-size: 1rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 24px;
}

.feature-benefits {
    list-style: none;
}

.feature-benefits li {
    padding: 8px 0;
    font-weight: 500;
    color: var(--dark);
}

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

.feature-card {
    padding: 32px 24px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

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

.fc-icon-wrap {
    width: 56px;
    height: 56px;
    background: var(--gray-100);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.fc-icon-wrap .fc-icon {
    font-size: 1.75rem;
}

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

.feature-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.6;
}

/* ===== Vocabulary Section ===== */
.vocab-section {
    padding: 100px 0;
    background: var(--dark);
    color: var(--white);
}

.section-header.light .section-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.section-header.light .section-title {
    color: var(--white);
}

.vocab-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.vocab-card {
    position: relative;
    padding: 28px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.vocab-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: translateY(-4px);
}

.vc-badge {
    position: absolute;
    top: -10px;
    right: 16px;
    padding: 4px 12px;
    background: var(--primary);
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
}

.vc-badge.hot {
    background: var(--secondary);
}

.vc-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.vocab-card h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.vocab-card p {
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 12px;
}

.vc-meta {
    display: flex;
    justify-content: center;
    gap: 8px;
    font-size: 0.7rem;
    color: var(--gray-500);
}

.vocab-note {
    text-align: center;
    font-size: 0.9rem;
    color: var(--gray-400);
}

/* ===== Reviews Section ===== */
.reviews-section {
    padding: 100px 0;
    background: var(--white);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 48px;
}

.review-card {
    padding: 32px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
}

.review-rating {
    color: #F59E0B;
    font-size: 1rem;
    margin-bottom: 16px;
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 24px;
    color: var(--dark);
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.author-desc {
    font-size: 0.8rem;
    color: var(--gray-500);
}

.review-summary {
    text-align: center;
}

.summary-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.summary-value {
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.summary-stars {
    color: #F59E0B;
    font-size: 1.25rem;
}

.summary-count {
    font-size: 0.875rem;
    color: var(--gray-500);
}

/* ===== Download Section ===== */
.download-section {
    position: relative;
    padding: 120px 0;
    background: var(--dark);
    overflow: hidden;
}

.download-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.download-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 24px;
}

.download-title {
    font-size: 2.75rem;
    font-weight: 900;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 16px;
}

.download-desc {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
    line-height: 1.7;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
}

.store-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 24px;
    background: var(--white);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

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

.store-icon {
    width: 28px;
    height: 28px;
}

.store-text {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.store-label {
    font-size: 0.65rem;
    color: var(--gray-500);
    text-transform: uppercase;
}

.store-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--dark);
}

.download-guarantee {
    display: flex;
    justify-content: center;
    gap: 32px;
}

.guarantee-item {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.guarantee-item span {
    color: var(--accent);
    font-weight: 700;
}

.download-bg {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: radial-gradient(ellipse at center, rgba(99, 102, 241, 0.15) 0%, transparent 70%);
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0 32px;
    background: var(--dark-800);
    color: var(--white);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

.footer-logo span {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
}

.footer-tagline {
    font-size: 0.85rem;
    color: var(--gray-400);
}

.footer-nav {
    display: flex;
    gap: 24px;
}

.footer-nav a {
    font-size: 0.875rem;
    color: var(--gray-400);
}

.footer-nav a:hover {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* ===== Legal Pages ===== */
.legal-page {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 1.75rem;
    margin-bottom: 16px;
}

.legal-content .update-date {
    color: var(--gray-500);
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 16px;
    padding-top: 20px;
    border-top: 1px solid var(--gray-200);
}

.legal-content p {
    color: var(--gray-500);
    margin-bottom: 16px;
    line-height: 1.8;
}

.legal-content ul {
    color: var(--gray-500);
    margin: 16px 0;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

/* Terms/Privacy Content - 약관 본문 스타일 */
.terms-content,
.privacy-content {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.terms-content h2,
.privacy-content h2 {
    font-size: 1.25rem;
    margin: 32px 0 12px;
    color: var(--dark);
}

.terms-content h3,
.privacy-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--dark);
}

.terms-content p,
.privacy-content p {
    margin-bottom: 8px;
    line-height: 1.7;
}

.terms-content p strong,
.privacy-content p strong {
    color: var(--dark);
}

/* ===== Delete Account Page ===== */
.delete-content {
    max-width: 480px;
    margin: 0 auto;
}

.delete-header {
    text-align: center;
    margin-bottom: 32px;
}

.delete-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 8px;
}

.delete-header p {
    color: var(--gray-500);
    font-size: 0.95rem;
}

.warning-box {
    background: #FEF3C7;
    border: 1px solid #F59E0B;
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 28px;
}

.warning-box h3 {
    color: #B45309;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 12px;
}

.warning-box ul {
    color: #92400E;
    font-size: 0.875rem;
    margin: 0;
    padding-left: 20px;
}

.warning-box li {
    margin-bottom: 6px;
    line-height: 1.5;
}

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

.delete-form .form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--dark);
    font-size: 0.9rem;
}

.delete-form .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.delete-form .form-group input:focus {
    outline: none;
    border-color: var(--primary);
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

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

.checkbox-group label {
    font-size: 0.9rem;
    color: var(--gray-500);
    cursor: pointer;
    line-height: 1.5;
}

.btn-delete {
    width: 100%;
    background: #DC2626;
    color: white;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-delete:hover {
    background: #B91C1C;
}

.btn-delete:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
}

.message {
    padding: 16px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    text-align: center;
    font-size: 0.95rem;
}

.message.error {
    background: #FEE2E2;
    color: #DC2626;
    border: 1px solid #FECACA;
}

.message.success {
    background: #D1FAE5;
    color: #059669;
    border: 1px solid #A7F3D0;
}

.success-note {
    text-align: center;
    color: var(--gray-500);
    margin-bottom: 24px;
}

.back-link {
    display: block;
    text-align: center;
    margin-top: 28px;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.back-link:hover {
    text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.75rem;
    }

    .feature-main {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .feature-content {
        padding-right: 0;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vocab-cards {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -280px;
        width: 280px;
        height: 100vh;
        flex-direction: column;
        background: var(--white);
        padding: 80px 24px 24px;
        gap: 8px;
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
        z-index: 999;
        transition: right 0.3s ease;
        display: flex;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links a {
        padding: 14px 16px;
        font-size: 1rem;
        font-weight: 600;
        border-radius: var(--radius);
        transition: background 0.2s;
    }

    .nav-links a:hover {
        background: var(--gray-100);
    }

    .nav-links .nav-cta {
        margin-top: 16px;
        text-align: center;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 100px 0 40px;
        min-height: auto;
    }

    .hero-badge {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

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

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

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
        padding: 16px;
        width: 100%;
    }

    .hero-stat {
        flex: 1;
        min-width: 80px;
    }

    .stat-value {
        font-size: 1.25rem;
    }

    .stat-desc {
        font-size: 0.7rem;
    }

    .hero-stat-divider {
        display: none;
    }

    .hero-visual {
        max-width: 280px;
    }

    .phone-frame {
        width: 220px;
        height: 440px;
    }

    .floating-card {
        display: none;
    }

    /* Social Proof Mobile */
    .social-proof {
        padding: 24px 0;
    }

    .proof-content {
        gap: 16px;
    }

    .proof-highlight {
        font-size: 1rem;
    }

    .proof-schools {
        font-size: 0.75rem;
        line-height: 1.5;
        padding: 0 10px;
    }

    .proof-logos {
        gap: 8px;
    }

    .logo-item {
        padding: 6px 10px;
        font-size: 0.75rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

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

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

    .feature-main {
        padding: 24px;
    }

    .feature-phone {
        width: 180px;
        height: 360px;
    }

    .vocab-cards {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .vocab-card {
        padding: 20px 12px;
    }

    .vocab-card h3 {
        font-size: 0.875rem;
    }

    .vc-meta {
        flex-direction: column;
        gap: 2px;
    }

    .reviews-grid {
        gap: 16px;
    }

    .review-card {
        padding: 24px;
    }

    .download-title {
        font-size: 1.75rem;
    }

    .download-buttons {
        flex-direction: column;
        align-items: center;
    }

    .store-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .download-guarantee {
        flex-direction: column;
        gap: 12px;
    }

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

    .footer-brand {
        align-items: center;
    }

    .footer-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
    }

    .vocab-cards {
        grid-template-columns: 1fr;
    }

    .proof-logos {
        gap: 8px;
    }

    .logo-item {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
}
