/*
Theme Name: SoriTune English
Theme URI: https://jooa.zibsuri.com
Author: 주아쌤 소리튠영어
Author URI: https://jooa.zibsuri.com
Description: 40대 여성을 위한 소리튠(SoriTune) 기반 영어 학습 전문 사이트 - 주아쌤 소리튠영어 공식 테마. 소리로 튜닝하는 맞춤 영어 학습.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ohgam-english
Tags: corporate, responsive, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, translation-ready

주아쌤 소리튠영어 - SoriTune English Learning Theme
Copyright 2024-2025 주아쌤 소리튠영어
*/

/* ==========================================
   CSS VARIABLES - COSMIC COLOR SCHEME
   ========================================== */
:root {
    /* Primary Cosmic Colors */
    --cosmic-primary: #6366f1;
    --cosmic-primary-light: #818cf8;
    --cosmic-primary-dark: #4f46e5;
    --cosmic-secondary: #8b5cf6;
    --cosmic-secondary-light: #a78bfa;
    --cosmic-accent: #ec4899;
    --cosmic-accent-light: #f472b6;

    /* Gradient Colors */
    --cosmic-gradient-start: #1e1b4b;
    --cosmic-gradient-mid: #312e81;
    --cosmic-gradient-end: #4c1d95;

    /* Background Colors */
    --bg-dark: #0f0f23;
    --bg-medium: #1a1a2e;
    --bg-light: #16213e;
    --bg-card: #1f2937;
    --bg-white: #ffffff;
    --bg-gray-50: #f9fafb;
    --bg-gray-100: #f3f4f6;

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e5e7eb;
    --text-muted: #9ca3af;
    --text-dark: #1f2937;
    --text-darker: #111827;

    /* Accent Colors for Types */
    --visual-color: #3b82f6;
    --auditory-color: #10b981;
    --kinesthetic-color: #f59e0b;

    /* Utility */
    --border-color: #374151;
    --border-light: #e5e7eb;
    --shadow-color: rgba(99, 102, 241, 0.25);
    --overlay: rgba(0, 0, 0, 0.5);

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
    --spacing-3xl: 6rem;

    /* Typography */
    --font-primary: 'Pretendard', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
    --font-heading: 'Pretendard', 'Noto Sans KR', sans-serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
    --transition-slow: 500ms ease;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-cosmic: 0 0 40px rgba(99, 102, 241, 0.3);
    --shadow-glow: 0 0 20px rgba(139, 92, 246, 0.4);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-darker);
    margin-bottom: var(--spacing-sm);
}

h1 {
    font-size: var(--font-size-4xl);
}

h2 {
    font-size: var(--font-size-3xl);
}

h3 {
    font-size: var(--font-size-2xl);
}

h4 {
    font-size: var(--font-size-xl);
}

h5 {
    font-size: var(--font-size-lg);
}

h6 {
    font-size: var(--font-size-base);
}

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--cosmic-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

/* ==========================================
   LAYOUT COMPONENTS
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.section {
    padding: var(--spacing-3xl) 0;
}

.section-dark {
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid), var(--cosmic-gradient-end));
    color: var(--text-white);
}

.section-light {
    background-color: var(--bg-gray-50);
}

/* ==========================================
   HEADER STYLES
   ========================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
    transition: all var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
    padding: 0 var(--spacing-lg);
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.site-logo img {
    height: 50px;
    width: auto;
}

.site-logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-md);
}

.nav-menu li {
    position: relative;
}

.nav-menu a {
    display: block;
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
    font-weight: 500;
    color: var(--text-dark);
    transition: color var(--transition-fast);
}

.nav-menu a:hover,
.nav-menu .current-menu-item a {
    color: var(--cosmic-primary);
}

/* Dropdown Menu */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-fast);
}

.nav-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sub-menu a {
    padding: var(--spacing-sm) var(--spacing-md);
    border-bottom: 1px solid var(--border-light);
}

.sub-menu li:last-child a {
    border-bottom: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    transition: all var(--transition-fast);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    background: linear-gradient(135deg, var(--cosmic-gradient-start) 0%, var(--cosmic-gradient-mid) 50%, var(--cosmic-gradient-end) 100%);
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 50px 50px;
    animation: float 20s ease-in-out infinite;
}

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

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
    margin: 0 auto;
    padding: var(--spacing-2xl);
}

.hero-badge {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

.hero-title .highlight {
    background: linear-gradient(135deg, var(--cosmic-accent), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: var(--font-size-lg);
    color: var(--text-light);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* ==========================================
   BUTTONS
   ========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
    font-weight: 600;
    border-radius: var(--radius-lg);
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: var(--text-white);
    box-shadow: var(--shadow-cosmic);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    color: var(--text-white);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

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

.btn-outline {
    background: transparent;
    color: var(--cosmic-primary);
    border: 2px solid var(--cosmic-primary);
}

.btn-outline:hover {
    background: var(--cosmic-primary);
    color: var(--text-white);
}

.btn-lg {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: var(--font-size-lg);
}

.btn-sm {
    padding: var(--spacing-xs) var(--spacing-sm);
    font-size: var(--font-size-sm);
}

/* ==========================================
   CARDS
   ========================================== */
.card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-dark {
    background: var(--bg-card);
    color: var(--text-white);
}

.card-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-2xl);
}

.card-icon.visual {
    background: rgba(59, 130, 246, 0.1);
    color: var(--visual-color);
}

.card-icon.auditory {
    background: rgba(16, 185, 129, 0.1);
    color: var(--auditory-color);
}

.card-icon.kinesthetic {
    background: rgba(245, 158, 11, 0.1);
    color: var(--kinesthetic-color);
}

.card-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
}

.card-text {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
}

/* ==========================================
   GRID LAYOUTS
   ========================================== */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

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

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

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

/* ==========================================
   OH-GAM TEST SECTION
   ========================================== */
.ohgam-test-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gray-50) 100%);
}

.test-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--spacing-2xl);
}

.test-intro h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.test-intro p {
    color: var(--text-muted);
    font-size: var(--font-size-lg);
}

.learning-types {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-2xl);
}

.type-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.type-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.type-card.visual:hover {
    border-color: var(--visual-color);
}

.type-card.auditory:hover {
    border-color: var(--auditory-color);
}

.type-card.kinesthetic:hover {
    border-color: var(--kinesthetic-color);
}

.type-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    font-size: 2rem;
}

.type-card.visual .type-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: var(--visual-color);
}

.type-card.auditory .type-icon {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(16, 185, 129, 0.1));
    color: var(--auditory-color);
}

.type-card.kinesthetic .type-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: var(--kinesthetic-color);
}

.type-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: var(--spacing-xs);
}

.type-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.type-description {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.6;
}

/* ==========================================
   ROADMAP SECTION
   ========================================== */
.roadmap-section {
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    padding: var(--spacing-3xl) 0;
    color: var(--text-white);
}

.roadmap-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.roadmap-header h2 {
    color: var(--text-white);
    font-size: var(--font-size-3xl);
}

.roadmap-header p {
    color: var(--text-light);
    opacity: 0.8;
}

.roadmap-timeline {
    display: flex;
    justify-content: space-between;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.roadmap-timeline::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 2px;
}

.roadmap-phase {
    position: relative;
    text-align: center;
    flex: 1;
    padding: 0 var(--spacing-md);
}

.phase-number {
    width: 100px;
    height: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    margin: 0 auto var(--spacing-md);
    box-shadow: var(--shadow-cosmic);
}

.phase-number span {
    font-size: var(--font-size-2xl);
    font-weight: 700;
}

.phase-number small {
    font-size: var(--font-size-xs);
    opacity: 0.8;
}

.phase-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.phase-desc {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
}

.testimonial-stars {
    color: #fbbf24;
    margin-bottom: var(--spacing-sm);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.8;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 600;
}

.author-info .author-name {
    font-weight: 600;
    font-size: var(--font-size-sm);
}

.author-info .author-type {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ==========================================
   FOOTER
   ========================================== */
.site-footer {
    background: var(--bg-dark);
    color: var(--text-light);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-2xl);
    margin-bottom: var(--spacing-2xl);
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-primary-light), var(--cosmic-secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--spacing-sm);
}

.footer-desc {
    font-size: var(--font-size-sm);
    opacity: 0.7;
    line-height: 1.8;
}

.footer-title {
    font-size: var(--font-size-base);
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: var(--spacing-md);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-xs);
}

.footer-links a {
    color: var(--text-light);
    font-size: var(--font-size-sm);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--cosmic-primary-light);
}

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

.copyright {
    font-size: var(--font-size-sm);
    opacity: 0.6;
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--cosmic-primary);
    transform: translateY(-3px);
}

/* ==========================================
   PAGE TEMPLATES
   ========================================== */
.page-header {
    padding: calc(80px + var(--spacing-3xl)) 0 var(--spacing-2xl);
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    color: var(--text-white);
    text-align: center;
}

.page-header h1 {
    color: var(--text-white);
    font-size: var(--font-size-4xl);
    margin-bottom: var(--spacing-sm);
}

.page-header .breadcrumb {
    font-size: var(--font-size-sm);
    opacity: 0.7;
}

.page-header .breadcrumb a {
    color: var(--text-light);
}

.page-content {
    padding: var(--spacing-3xl) 0;
}

/* ==========================================
   BLOG STYLES
   ========================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.blog-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.blog-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.blog-content {
    padding: var(--spacing-lg);
}

.blog-category {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--cosmic-primary);
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
}

.blog-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.blog-title a {
    color: var(--text-darker);
}

.blog-title a:hover {
    color: var(--cosmic-primary);
}

.blog-excerpt {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.blog-meta {
    display: flex;
    justify-content: space-between;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
}

.single-post .post-featured-image {
    width: 100%;
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-lg);
}

.single-post .post-content {
    font-size: var(--font-size-lg);
    line-height: 1.9;
}

.single-post .post-content h2 {
    margin-top: var(--spacing-xl);
    margin-bottom: var(--spacing-md);
}

.single-post .post-content p {
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   FORMS
   ========================================== */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-label {
    display: block;
    font-size: var(--font-size-sm);
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
}

.form-input,
.form-textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    font-size: var(--font-size-base);
    font-family: var(--font-primary);
    transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--cosmic-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

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

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-2xl);
}

.contact-info-card {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-lg);
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
}

.contact-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: var(--text-white);
    border-radius: var(--radius-md);
    font-size: var(--font-size-xl);
    flex-shrink: 0;
}

/* ==========================================
   TEAM PAGE
   ========================================== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

.team-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.team-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.team-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: var(--font-size-3xl);
    font-weight: 700;
}

.team-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.team-role {
    font-size: var(--font-size-sm);
    color: var(--cosmic-primary);
    margin-bottom: var(--spacing-sm);
}

.team-bio {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ==========================================
   FAQ PAGE
   ========================================== */
.faq-item {
    margin-bottom: var(--spacing-md);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    background: var(--bg-white);
    border: none;
    text-align: left;
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: var(--bg-gray-50);
}

.faq-answer {
    padding: 0 var(--spacing-lg) var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    line-height: 1.8;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

/* ==========================================
   ELEMENTOR COMPATIBILITY
   ========================================== */
.elementor-page .site-header {
    background: transparent;
}

.elementor-page.scrolled .site-header {
    background: rgba(255, 255, 255, 0.95);
}

/* Elementor Section Styles */
.elementor-section.cosmic-gradient {
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid), var(--cosmic-gradient-end)) !important;
}

.elementor-widget-heading h1,
.elementor-widget-heading h2,
.elementor-widget-heading h3 {
    font-family: var(--font-heading) !important;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(99, 102, 241, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(99, 102, 241, 0.6);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

.animate-glow {
    animation: glow 3s ease-in-out infinite;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

@media (max-width: 768px) {
    html {
        font-size: 14px;
    }

    .header-inner {
        height: 70px;
        padding: 0 var(--spacing-md);
    }

    .menu-toggle {
        display: block;
    }

    .main-navigation {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-white);
        padding: var(--spacing-lg);
        transform: translateX(100%);
        transition: transform var(--transition-base);
    }

    .main-navigation.active {
        transform: translateX(0);
    }

    .nav-menu {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .nav-menu a {
        padding: var(--spacing-sm);
        font-size: var(--font-size-lg);
    }

    .hero-content {
        padding: var(--spacing-lg);
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .learning-types {
        grid-template-columns: 1fr;
    }

    .roadmap-timeline {
        flex-direction: column;
        gap: var(--spacing-lg);
    }

    .roadmap-timeline::before {
        top: 0;
        bottom: 0;
        left: 50px;
        width: 4px;
        height: auto;
    }

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }

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

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

@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }

    .section {
        padding: var(--spacing-2xl) 0;
    }

    .btn {
        width: 100%;
    }

    .page-header h1 {
        font-size: var(--font-size-2xl);
    }
}

/* ==========================================
   UTILITY CLASSES
   ========================================== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-white { color: var(--text-white); }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--cosmic-primary); }

.bg-dark { background-color: var(--bg-dark); }
.bg-light { background-color: var(--bg-gray-50); }
.bg-gradient { background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-end)); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }

.py-1 { padding-top: var(--spacing-sm); padding-bottom: var(--spacing-sm); }
.py-2 { padding-top: var(--spacing-md); padding-bottom: var(--spacing-md); }
.py-3 { padding-top: var(--spacing-lg); padding-bottom: var(--spacing-lg); }

.hidden { display: none; }
.visible { display: block; }

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .btn {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }
}

/* ==========================================
   OH-GAM DIAGNOSTIC TEST STYLES
   ========================================== */

/* Oh-Gam Introduction Section */
.ohgam-intro-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-gray-50);
}

.type-brain {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.type-brain small {
    color: var(--text-muted);
    font-size: var(--font-size-xs);
}

/* Test Section */
.ohgam-test-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(180deg, var(--bg-white) 0%, var(--bg-gray-50) 100%);
}

/* Test Container */
.test-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg);
}

/* Test Progress Bar */
.test-progress {
    margin-bottom: var(--spacing-lg);
}

.progress-bar {
    height: 8px;
    background: var(--bg-gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--spacing-xs);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--cosmic-primary), var(--cosmic-secondary));
    border-radius: var(--radius-full);
    transition: width var(--transition-base);
    width: 0%;
}

.progress-text {
    text-align: center;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Test Start Screen */
.test-start {
    text-align: center;
    padding: var(--spacing-2xl);
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
}

.start-icon {
    color: var(--cosmic-primary);
    margin-bottom: var(--spacing-md);
}

.test-start h3 {
    font-size: var(--font-size-2xl);
    color: var(--text-dark);
    margin-bottom: var(--spacing-sm);
}

.test-start p {
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.test-info-list {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-lg);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-sm);
}

.test-info-list li {
    background: var(--bg-gray-100);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    color: var(--text-dark);
}

/* Question Card */
.question-card {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    display: none;
}

/* Section Badge */
.section-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.section-badge.section-visual {
    background: rgba(59, 130, 246, 0.1);
    color: var(--visual-color);
}

.section-badge.section-auditory {
    background: rgba(16, 185, 129, 0.1);
    color: var(--auditory-color);
}

.section-badge.section-kinesthetic {
    background: rgba(245, 158, 11, 0.1);
    color: var(--kinesthetic-color);
}

/* Question Text */
.question-text {
    font-size: var(--font-size-xl);
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    min-height: 80px;
}

/* Likert Scale */
.likert-scale {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xl);
}

.likert-option {
    flex: 1;
    text-align: center;
    cursor: pointer;
}

.likert-option input {
    display: none;
}

.likert-label {
    display: block;
    font-size: var(--font-size-xs);
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    min-height: 2.5rem;
}

.likert-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin: 0 auto;
    border: 2px solid var(--border-light);
    border-radius: 50%;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.likert-option:hover .likert-circle {
    border-color: var(--cosmic-primary);
    color: var(--cosmic-primary);
    transform: scale(1.05);
}

.likert-option input:checked + .likert-label + .likert-circle,
.likert-option input:checked ~ .likert-circle {
    background: var(--cosmic-primary);
    border-color: var(--cosmic-primary);
    color: var(--text-white);
    transform: scale(1.1);
}

/* Test Navigation */
.test-navigation {
    display: flex;
    justify-content: space-between;
    gap: var(--spacing-md);
}

.test-navigation .btn {
    flex: 1;
    max-width: 200px;
}

/* Test Results */
.test-results {
    background: var(--bg-white);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.result-header h3 {
    font-size: var(--font-size-lg);
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.result-type {
    margin-bottom: var(--spacing-xl);
}

.result-icon {
    margin-bottom: var(--spacing-md);
}

.result-icon.visual { color: var(--visual-color); }
.result-icon.auditory { color: var(--auditory-color); }
.result-icon.kinesthetic { color: var(--kinesthetic-color); }

.result-name {
    font-size: var(--font-size-4xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.result-korean {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.result-secondary {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* Score Bars */
.result-scores {
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.result-scores h4 {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    text-align: center;
}

.score-bars {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.score-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.score-label {
    width: 60px;
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    font-weight: 500;
}

.score-bar-bg {
    flex: 1;
    height: 12px;
    background: var(--bg-gray-100);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.score-bar {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width 1s ease-out;
}

.score-bar.visual { background: var(--visual-color); }
.score-bar.auditory { background: var(--auditory-color); }
.score-bar.kinesthetic { background: var(--kinesthetic-color); }

.score-value {
    width: 50px;
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    text-align: right;
}

/* Result Description */
.result-description {
    text-align: left;
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.result-description p {
    margin-bottom: var(--spacing-sm);
    color: var(--text-dark);
}

.result-description h4 {
    font-size: var(--font-size-base);
    color: var(--cosmic-primary);
    margin: var(--spacing-md) 0 var(--spacing-sm);
}

.result-description ul {
    padding-left: var(--spacing-md);
    margin: 0;
}

.result-description li {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Result Actions */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    align-items: center;
}

.result-actions .btn {
    width: 100%;
    max-width: 300px;
}

/* Target Section */
.target-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-white);
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
}

.target-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-gray-50);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.target-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.target-card h4 {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.5;
    font-weight: 500;
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-3xl) 0;
}

.cta-content h2 {
    color: var(--text-white);
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

/* Roadmap Section Enhancement */
.roadmap-connector {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, var(--cosmic-primary), var(--cosmic-secondary));
    max-width: 60px;
    align-self: center;
}

.phase-detail {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.4;
}

/* Responsive Test Styles */
@media (max-width: 768px) {
    .test-container {
        padding: var(--spacing-sm);
    }

    .question-card {
        padding: var(--spacing-md);
    }

    .question-text {
        font-size: var(--font-size-lg);
        min-height: auto;
    }

    .likert-scale {
        gap: 2px;
    }

    .likert-label {
        font-size: 0.65rem;
        min-height: 2rem;
    }

    .likert-circle {
        width: 40px;
        height: 40px;
        font-size: var(--font-size-sm);
    }

    .test-navigation {
        flex-direction: column;
    }

    .test-navigation .btn {
        max-width: 100%;
    }

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

    .result-name {
        font-size: var(--font-size-2xl);
    }

    .result-actions {
        flex-direction: column;
    }

    .roadmap-timeline {
        flex-direction: column;
    }

    .roadmap-connector {
        width: 2px;
        height: 30px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .target-grid {
        grid-template-columns: 1fr;
    }

    .likert-label {
        display: none;
    }

    .likert-circle {
        width: 36px;
        height: 36px;
    }

    .test-info-list {
        flex-direction: column;
        align-items: center;
    }
}

/* ==========================================
   SORITUNE ENGLISH - NEW STYLES
   ========================================== */

/* Logo Styles */
.site-logo-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.logo-icon {
    font-size: 1.5rem;
    margin-bottom: 2px;
}

.logo-main {
    font-size: 1.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-sub {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    margin-left: var(--spacing-md);
}

.header-cta .btn {
    white-space: nowrap;
}

/* ==========================================
   SORITUNE HERO SECTION
   ========================================== */
.soritune-hero {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    overflow: hidden;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
    animation: float 20s ease-in-out infinite;
}

.hero-teacher {
    margin-bottom: var(--spacing-md);
}

.teacher-badge {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    backdrop-filter: blur(10px);
}

.hero-title .title-accent {
    background: linear-gradient(135deg, #60a5fa, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-buttons {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--spacing-xl);
}

.btn-icon {
    margin-right: 0.5rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: var(--spacing-xl);
    margin-top: var(--spacing-lg);
    padding-top: var(--spacing-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.stat-number {
    display: block;
    font-size: var(--font-size-2xl);
    font-weight: 700;
    color: var(--text-white);
}

.stat-label {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
}

/* ==========================================
   WHY SECTION
   ========================================== */
.why-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-gray-50);
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-2xl);
}

.section-header .section-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
    font-size: var(--font-size-xs);
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--spacing-sm);
    letter-spacing: 0.5px;
}

.section-header h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-xs);
}

.section-header p {
    color: var(--text-muted);
    font-size: var(--font-size-lg);
}

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

.why-story {
    margin-bottom: var(--spacing-2xl);
}

.story-quote {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.story-quote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--cosmic-primary);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.story-quote p {
    font-size: var(--font-size-xl);
    color: var(--text-dark);
    text-align: center;
    margin: 0;
    font-style: italic;
}

.story-answer {
    text-align: center;
}

.story-answer p {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.story-answer strong {
    color: var(--cosmic-primary);
}

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.why-card {
    background: white;
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.why-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-card .card-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.why-card h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

/* ==========================================
   TEACHER SECTION
   ========================================== */
.teacher-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.teacher-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-2xl);
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.teacher-info h2 {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
}

.teacher-info h2 .highlight {
    color: var(--cosmic-primary);
}

.teacher-bio {
    margin-bottom: var(--spacing-lg);
}

.teacher-bio p {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.teacher-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-sm);
}

.credential {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm);
    background: var(--bg-gray-50);
    border-radius: var(--radius-md);
}

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

.credential span:last-child {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
}

.teacher-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 280px;
    height: 350px;
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    border-radius: var(--radius-2xl);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}

.placeholder-content {
    text-align: center;
    color: white;
}

.placeholder-emoji {
    font-size: 6rem;
    display: block;
    margin-bottom: var(--spacing-sm);
}

.placeholder-text {
    font-size: var(--font-size-xl);
    font-weight: 600;
}

/* ==========================================
   TYPES SECTION
   ========================================== */
.types-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-gray-50);
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-2xl);
}

.types-section .type-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border: 2px solid transparent;
    position: relative;
}

.types-section .type-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.types-section .type-card.type-visual:hover {
    border-color: var(--visual-color);
}

.types-section .type-card.type-auditory:hover {
    border-color: var(--auditory-color);
}

.types-section .type-card.type-kinesthetic:hover {
    border-color: var(--kinesthetic-color);
}

.types-section .type-card.featured {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05), rgba(16, 185, 129, 0.1));
    border-color: var(--auditory-color);
}

.type-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--auditory-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
}

.type-frequency {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.freq-wave {
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.freq-label {
    font-size: var(--font-size-sm);
    font-weight: 700;
    color: var(--text-muted);
    background: var(--bg-gray-100);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
}

.type-card.type-visual .freq-label {
    color: var(--visual-color);
}

.type-card.type-auditory .freq-label {
    color: var(--auditory-color);
}

.type-card.type-kinesthetic .freq-label {
    color: var(--kinesthetic-color);
}

.types-section .type-name {
    font-size: var(--font-size-xl);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.types-section .type-subtitle {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.types-section .type-description {
    font-size: var(--font-size-sm);
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.type-traits {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.type-traits li {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    padding: var(--spacing-xs) 0;
    padding-left: 1.5rem;
    position: relative;
}

.type-traits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cosmic-primary);
}

.types-cta {
    text-align: center;
}

.types-cta p {
    font-size: var(--font-size-lg);
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
}

/* ==========================================
   TEST SECTION
   ========================================== */
.test-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.test-note {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-top: var(--spacing-md);
}

.icon-large {
    font-size: 4rem;
    display: block;
}

/* Result Section Enhancements */
.result-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
    padding: 0.375rem 1rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.result-freq {
    font-size: var(--font-size-lg);
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: var(--spacing-sm);
}

.result-message {
    display: flex;
    gap: var(--spacing-md);
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    padding: var(--spacing-lg);
    border-radius: var(--radius-xl);
    margin-bottom: var(--spacing-xl);
    text-align: left;
}

.message-avatar {
    font-size: 3rem;
    flex-shrink: 0;
}

.message-content {
    color: var(--text-light);
}

.message-content p {
    margin-bottom: var(--spacing-xs);
    line-height: 1.7;
}

.message-sign {
    font-style: italic;
    color: var(--text-muted);
    margin-top: var(--spacing-sm);
}

/* ==========================================
   PROGRAM SECTION
   ========================================== */
.program-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    color: white;
}

.program-section .section-header h2,
.program-section .section-header p {
    color: white;
}

.program-section .section-badge {
    background: rgba(255, 255, 255, 0.2);
}

.program-timeline {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-md);
    max-width: 1000px;
    margin: 0 auto var(--spacing-2xl);
}

.program-phase {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    flex: 1;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all var(--transition-base);
}

.program-phase:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.phase-icon {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-sm);
}

.phase-period {
    font-size: var(--font-size-xs);
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.program-phase .phase-title {
    font-size: var(--font-size-lg);
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.program-phase .phase-desc {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: var(--spacing-sm);
}

.program-phase .phase-detail {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.program-connector {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.4);
}

.program-cta {
    text-align: center;
}

/* ==========================================
   TESTIMONIALS SECTION
   ========================================== */
.testimonials-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-gray-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-card.featured {
    border: 2px solid var(--auditory-color);
    background: linear-gradient(to bottom, white, rgba(16, 185, 129, 0.03));
}

.testimonial-type {
    margin-bottom: var(--spacing-md);
}

.testimonial-type .type-badge {
    position: static;
    transform: none;
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    color: white;
}

.testimonial-type .type-badge.visual {
    background: var(--visual-color);
}

.testimonial-type .type-badge.auditory {
    background: var(--auditory-color);
}

.testimonial-type .type-badge.kinesthetic {
    background: var(--kinesthetic-color);
}

.testimonial-text {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: var(--font-size-lg);
}

.author-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: var(--font-size-sm);
}

.author-meta {
    font-size: var(--font-size-xs);
    color: var(--text-muted);
}

/* ==========================================
   TARGET SECTION
   ========================================== */
.target-section {
    padding: var(--spacing-3xl) 0;
    background: white;
}

.target-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-2xl);
}

.target-card {
    text-align: center;
    padding: var(--spacing-xl);
    background: var(--bg-gray-50);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    background: white;
}

.target-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
}

.target-card p {
    font-size: var(--font-size-base);
    color: var(--text-dark);
    line-height: 1.6;
    margin: 0;
}

.target-message {
    max-width: 600px;
    margin: 0 auto;
}

.message-box {
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    padding: var(--spacing-xl);
    border-radius: var(--radius-xl);
    text-align: center;
    color: white;
}

.message-icon {
    font-size: 2rem;
    margin-bottom: var(--spacing-sm);
}

.message-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    margin: 0;
}

/* ==========================================
   CTA SECTION
   ========================================== */
.cta-section {
    padding: var(--spacing-3xl) 0;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
}

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

.cta-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.cta-content h2 {
    color: white;
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-sm);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-lg);
}

.btn-white {
    background: white;
    color: var(--cosmic-primary);
    font-weight: 600;
}

.btn-white:hover {
    background: var(--bg-gray-100);
    color: var(--cosmic-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
    padding: var(--spacing-3xl) 0;
    background: var(--bg-gray-50);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.blog-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 200px;
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    color: white;
    font-size: 3rem;
}

.blog-cta {
    text-align: center;
}

/* ==========================================
   FOOTER STYLES
   ========================================== */
.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 2.5fr;
    gap: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-bottom: var(--spacing-xs);
}

.footer-logo .logo-icon {
    font-size: 1.5rem;
}

.footer-logo .logo-text {
    font-size: var(--font-size-xl);
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-primary-light), var(--cosmic-secondary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-tagline {
    font-size: var(--font-size-sm);
    color: var(--text-muted);
    margin-bottom: var(--spacing-md);
}

.footer-desc {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
}

.footer-social {
    display: flex;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    color: var(--text-light);
    font-size: var(--font-size-sm);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.footer-column h4 {
    color: white;
    font-size: var(--font-size-base);
    margin-bottom: var(--spacing-md);
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: var(--spacing-xs);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.6);
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
}

.copyright {
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.5);
    margin: 0;
}

/* ==========================================
   SINGLE POST STYLES
   ========================================== */
.post-category {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.7);
}

.author-box {
    display: flex;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
    background: var(--bg-gray-50);
    border-radius: var(--radius-xl);
    margin: var(--spacing-2xl) 0;
}

.author-box .author-avatar {
    font-size: 3rem;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-box h4 {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-xs);
}

.author-box p {
    color: var(--text-muted);
    font-size: var(--font-size-sm);
    margin: 0;
}

.post-navigation {
    display: flex;
    justify-content: space-between;
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-light);
}

.post-navigation a {
    color: var(--cosmic-primary);
}

.post-navigation a:hover {
    color: var(--cosmic-primary-dark);
}

/* ==========================================
   RESPONSIVE SORITUNE STYLES
   ========================================== */
@media (max-width: 1024px) {
    .teacher-content {
        grid-template-columns: 1fr;
    }

    .teacher-image {
        order: -1;
    }

    .image-placeholder {
        width: 200px;
        height: 250px;
    }

    .types-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }

    .program-timeline {
        flex-direction: column;
        gap: var(--spacing-sm);
    }

    .program-connector {
        transform: rotate(90deg);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-md);
    }

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

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

    .teacher-credentials {
        grid-template-columns: 1fr;
    }

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

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

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

    .footer-main {
        grid-template-columns: 1fr;
    }

    .footer-links {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-social {
        justify-content: center;
    }

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

    .header-cta {
        display: none;
    }

    .result-message {
        flex-direction: column;
        text-align: center;
    }

    .message-avatar {
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .target-grid {
        grid-template-columns: 1fr;
    }

    .credential {
        justify-content: center;
    }

    .logo-main {
        font-size: 1.2rem;
    }

    .logo-sub {
        font-size: 0.65rem;
    }

    .stat-number {
        font-size: var(--font-size-xl);
    }
}

/* ==========================================
   SORITUNE APP-STYLE TEST - PREMIUM DESIGN
   ========================================== */

/* App Container */
.test-container.app-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 0;
}

/* App Start Screen */
.test-start.app-start {
    padding: 0;
    background: transparent;
    box-shadow: none;
}

.app-card {
    background: white;
    border-radius: 24px;
    padding: 2.5rem 2rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.start-visual {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto var(--spacing-lg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.frequency-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.freq-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid var(--cosmic-primary);
    opacity: 0;
    animation: freq-pulse 3s ease-out infinite;
}

.freq-circle:nth-child(1) {
    width: 60px;
    height: 60px;
    animation-delay: 0s;
}

.freq-circle:nth-child(2) {
    width: 90px;
    height: 90px;
    animation-delay: 1s;
}

.freq-circle:nth-child(3) {
    width: 120px;
    height: 120px;
    animation-delay: 2s;
}

@keyframes freq-pulse {
    0% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(1.2);
    }
}

.start-emoji {
    font-size: 3.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 4px 8px rgba(99, 102, 241, 0.3));
}

.app-card h3 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-darker);
    margin-bottom: 0.5rem;
}

.start-desc {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: var(--spacing-lg);
}

.start-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: var(--spacing-xl);
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.app-start-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    width: 100%;
    max-width: 280px;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.app-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

.app-start-btn:active {
    transform: translateY(0);
}

.btn-arrow {
    font-size: 1.25rem;
    transition: transform 0.3s ease;
}

.app-start-btn:hover .btn-arrow {
    transform: translateX(4px);
}

.start-note {
    margin-top: var(--spacing-md);
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* App Question Card */
.question-card.app-question {
    background: white;
    border-radius: 24px;
    padding: 1.5rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.05);
}

/* App Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 1rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--bg-gray-100);
}

.back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: var(--bg-gray-50);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-dark);
}

.back-btn:hover:not(:disabled) {
    background: var(--bg-gray-100);
    color: var(--cosmic-primary);
}

.back-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.back-btn svg {
    width: 20px;
    height: 20px;
}

.progress-indicator {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-weight: 600;
}

.progress-current {
    font-size: 1.5rem;
    color: var(--cosmic-primary);
}

.progress-divider {
    font-size: 1rem;
    color: var(--text-muted);
}

.progress-total {
    font-size: 1rem;
    color: var(--text-muted);
}

.progress-ring {
    position: relative;
    width: 44px;
    height: 44px;
}

.progress-ring-svg {
    transform: rotate(-90deg);
}

.progress-ring-bg {
    fill: none;
    stroke: var(--bg-gray-100);
    stroke-width: 3;
}

.progress-ring-fill {
    fill: none;
    stroke: var(--cosmic-primary);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 113.097;
    stroke-dashoffset: 113.097;
    transition: stroke-dashoffset 0.4s ease;
}

/* Question Card Display */
.question-card.app-question {
    display: none;
    flex-direction: column;
}

.progress-percent {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.65rem;
    font-weight: 600;
    color: var(--cosmic-primary);
}

/* Section Badge - App Style */
.section-badge-app {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-badge-app.section-visual {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    color: var(--visual-color);
}

.section-badge-app.section-auditory {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    color: var(--auditory-color);
}

.section-badge-app.section-kinesthetic {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    color: var(--kinesthetic-color);
}

/* Question Content */
.question-content {
    margin-bottom: 1.5rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.question-content.fade-out {
    opacity: 0;
    transform: translateY(-10px);
}

.question-content.fade-in {
    opacity: 1;
    transform: translateY(0);
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-question .question-text {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 1.6;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

/* Answer Options - App Style */
.answer-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.answer-options.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.answer-options.fade-in {
    opacity: 1;
    transform: translateY(0);
}

.answer-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-gray-50);
    border: 2px solid transparent;
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.answer-btn:hover {
    background: white;
    border-color: var(--cosmic-primary-light);
    transform: translateX(4px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.15);
}

.answer-btn:active {
    transform: translateX(2px);
}

.answer-btn.selected {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-color: var(--cosmic-primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.answer-btn.pulse {
    animation: btn-pulse 0.3s ease;
}

@keyframes btn-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(0.98); }
    100% { transform: scale(1); }
}

.answer-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.answer-btn.selected .answer-emoji {
    background: white;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.2);
}

.answer-label {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-dark);
    flex: 1;
}

.answer-btn.selected .answer-label {
    color: var(--cosmic-primary-dark);
}

/* Question Tip */
.question-tip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    background: var(--bg-gray-50);
    border-radius: 12px;
    margin-top: 0.5rem;
}

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

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

/* App Results Screen */
.test-results.app-results {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.result-card {
    background: white;
    border-radius: 24px;
    padding: 2rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 10px 15px -3px rgba(0, 0, 0, 0.08),
        0 20px 25px -5px rgba(0, 0, 0, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.result-confetti {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
    pointer-events: none;
}

.result-confetti::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.3) 0%, transparent 8%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.3) 0%, transparent 6%),
        radial-gradient(circle at 40% 60%, rgba(236, 72, 153, 0.3) 0%, transparent 8%),
        radial-gradient(circle at 70% 50%, rgba(59, 130, 246, 0.3) 0%, transparent 6%),
        radial-gradient(circle at 30% 80%, rgba(16, 185, 129, 0.3) 0%, transparent 8%);
}

/* Type Result Visual */
.type-result-visual {
    position: relative;
    z-index: 1;
    margin-bottom: 1.5rem;
    padding-top: 1rem;
    text-align: center;
}

.type-icon-large {
    width: 100px;
    height: 100px;
    margin: 0 auto 1rem;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.type-icon-large span {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.type-secondary {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 0.5rem;
}

/* Result Badge App */
.result-badge-app {
    display: inline-block;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.result-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Result Cards Inner */
.result-type-card,
.result-scores-card,
.result-description-card {
    margin-bottom: 1.5rem;
}

.result-message-card {
    margin-bottom: 1.5rem;
    position: relative;
}

.message-avatar-app {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translateX(-50%);
    width: 36px;
    height: 36px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

.result-actions-app {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

/* Score Row Enhancements */
.score-row .score-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: 100px;
}

.score-row .score-icon {
    font-size: 1.1rem;
}

.score-row .score-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
}

.score-row .score-number {
    width: 35px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
}

/* Result Description Card */
.result-description-card {
    background: var(--bg-gray-50);
    border-radius: 16px;
    padding: 1.25rem;
    text-align: left;
}

.result-description-card h4 {
    font-size: 0.95rem;
    color: var(--cosmic-primary);
    margin-bottom: 0.75rem;
    text-align: center;
}

.result-description-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.result-description-card li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
    line-height: 1.5;
}

.result-description-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cosmic-primary);
    font-weight: 600;
}

.result-description-card li:last-child {
    margin-bottom: 0;
}

.type-freq-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: var(--bg-gray-100);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.type-freq-badge.visual {
    color: var(--visual-color);
    background: rgba(59, 130, 246, 0.1);
}

.type-freq-badge.auditory {
    color: var(--auditory-color);
    background: rgba(16, 185, 129, 0.1);
}

.type-freq-badge.kinesthetic {
    color: var(--kinesthetic-color);
    background: rgba(245, 158, 11, 0.1);
}

.type-name-large {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.25rem;
}

.type-korean {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 500;
}

/* Scores Grid */
.scores-grid {
    background: var(--bg-gray-50);
    border-radius: 16px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
}

.scores-grid h4 {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    text-align: center;
}

.score-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.score-row:last-child {
    margin-bottom: 0;
}

.score-row .score-label {
    width: 70px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-dark);
}

.score-bar-container {
    flex: 1;
    height: 10px;
    background: var(--bg-gray-100);
    border-radius: 10px;
    overflow: hidden;
}

.score-bar-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-out;
}

.score-bar-fill.visual {
    background: linear-gradient(90deg, var(--visual-color), #60a5fa);
}

.score-bar-fill.auditory {
    background: linear-gradient(90deg, var(--auditory-color), #34d399);
}

.score-bar-fill.kinesthetic {
    background: linear-gradient(90deg, var(--kinesthetic-color), #fbbf24);
}

.score-row .score-value {
    width: 45px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-align: right;
}

/* Message Bubble */
.message-bubble {
    background: linear-gradient(135deg, var(--cosmic-gradient-start), var(--cosmic-gradient-mid));
    border-radius: 20px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    text-align: left;
    position: relative;
}

.message-bubble::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--cosmic-gradient-mid);
}

.message-bubble p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.message-bubble p:last-of-type {
    margin-bottom: 0;
}

.message-signature {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-style: italic;
}

/* Action Buttons */
.result-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.primary-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--cosmic-primary), var(--cosmic-secondary));
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
    text-decoration: none;
}

.primary-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    color: white;
}

.secondary-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem;
    background: var(--bg-gray-50);
    color: var(--text-dark);
    border: none;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.secondary-action-btn:hover {
    background: var(--bg-gray-100);
    color: var(--cosmic-primary);
}

/* Results Enter Animation */
.results-enter {
    animation: resultsEnter 0.5s ease forwards;
}

@keyframes resultsEnter {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* App Style Responsive */
@media (max-width: 768px) {
    .test-container.app-container {
        padding: 0 1rem;
    }

    .app-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
    }

    .start-features {
        gap: 1rem;
    }

    .feature-text {
        font-size: 0.75rem;
    }

    .question-card.app-question {
        padding: 1.25rem;
        border-radius: 20px;
    }

    .app-question .question-text {
        font-size: 1.1rem;
        min-height: 70px;
    }

    .answer-btn {
        padding: 0.875rem 1rem;
        border-radius: 14px;
    }

    .answer-emoji {
        font-size: 1.25rem;
        width: 36px;
        height: 36px;
    }

    .answer-label {
        font-size: 0.9rem;
    }

    .result-card {
        padding: 1.5rem;
        border-radius: 20px;
    }

    .type-icon-large {
        font-size: 3rem;
    }

    .type-name-large {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .test-container.app-container {
        padding: 0 0.75rem;
    }

    .app-card {
        padding: 1.75rem 1.25rem;
    }

    .start-visual {
        width: 100px;
        height: 100px;
    }

    .start-emoji {
        font-size: 3rem;
    }

    .freq-circle:nth-child(1) {
        width: 50px;
        height: 50px;
    }

    .freq-circle:nth-child(2) {
        width: 75px;
        height: 75px;
    }

    .freq-circle:nth-child(3) {
        width: 100px;
        height: 100px;
    }

    .app-card h3 {
        font-size: 1.5rem;
    }

    .start-desc {
        font-size: 0.9rem;
    }

    .start-features {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .app-start-btn {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .back-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .progress-current {
        font-size: 1.25rem;
    }

    .progress-ring {
        width: 40px;
        height: 40px;
    }

    .progress-ring-svg {
        width: 40px;
        height: 40px;
    }

    .answer-options {
        gap: 0.5rem;
    }

    .message-bubble {
        padding: 1rem;
    }

    .message-bubble p {
        font-size: 0.9rem;
    }
}
