/* ===== Global Reset ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
        'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    color: #1a1a1a;
    background: #1a1a1a;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Better rendering for Chinese characters */
.chinese,
[lang="zh"],
[lang="zh-CN"] {
    font-family: 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB',
        'Source Han Sans CN', 'Noto Sans CJK SC', -apple-system, sans-serif;
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.9;
}

/* ===== NAVIGATION - BILINGUAL CARD STYLE (FINE-TUNED) ===== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 8px 0;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    cursor: pointer;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-links li {
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    transition: all 0.3s ease;
    background: #e0f2fe;
    padding: 12px 20px;
    border-radius: 10px;
    border: 2px solid #bae6fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    min-height: 65px;
}

.nav-links a:hover {
    background: #bae6fd;
    border-color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(8, 145, 178, 0.3);
}

/* Bilingual Text Styling */
.nav-links .chinese-text {
    font-size: 1.05rem;
    color: #0891b2;
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

.nav-links .finnish-text {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    font-weight: 400;
    line-height: 1.2;
}

/* CTA Button (Login) */
.nav-cta {
    background: #e0f2fe;
    color: #0891b2;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    white-space: nowrap;
    line-height: 1.3;
    text-align: center;
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 65px;
    border: 2px solid #bae6fd;
    cursor: pointer;
}

.nav-cta:hover {
    background: #bae6fd;
    border-color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.4);
}

.nav-cta .chinese-text {
    font-size: 1rem;
    color: #0891b2;
    display: block;
    font-weight: 600;
    line-height: 1.3;
}

.nav-cta .finnish-text {
    font-size: 0.8rem;
    color: #64748b;
    display: block;
    font-weight: 400;
    line-height: 1.2;
}

/* Legacy .btn-login support for backward compatibility */
.btn-login {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    display: inline-block;
    min-height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.4);
}

/* Navigation Responsive Design */
@media (max-width: 1200px) {
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        padding: 10px 15px;
        min-height: 60px;
    }
    
    .nav-links .chinese-text {
        font-size: 0.95rem;
    }
    
    .nav-links .finnish-text {
        font-size: 0.75rem;
    }
    
    .nav-cta {
        min-height: 60px;
    }
}

@media (max-width: 992px) {
    nav {
        padding: 20px 0;
    }
    
    .logo {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 8px;
    }
    
    .nav-links a {
        padding: 8px 12px;
        min-height: 55px;
    }
    
    .nav-cta {
        min-height: 55px;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 15px 0;
    }
    
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .nav-links a {
        padding: 8px 12px;
        min-height: auto;
        flex-direction: row;
        gap: 5px;
    }
    
    .nav-links .chinese-text {
        font-size: 0.85rem;
    }
    
    .nav-links .finnish-text {
        font-size: 0.7rem;
    }
    
    .nav-cta {
        padding: 10px 20px;
        min-height: auto;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .nav-links a {
        padding: 6px 10px;
    }
    
    .nav-links .chinese-text {
        font-size: 0.8rem;
    }
    
    .nav-links .finnish-text {
        font-size: 0.65rem;
    }
    
    .nav-cta {
        padding: 8px 15px;
        font-size: 0.8rem;
    }
    
    .nav-cta .finnish-text {
        font-size: 0.65rem;
    }
}



/* ===== HERO ===== */
.hero {
    margin-top: 80px;
    min-height: calc(100vh - 80px - 60px);
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.09)"/></svg>');
    background-size: 50px 50px;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

/* Visually CHINESE first: make subtitle (Chinese line) the hero */
.hero-content .subtitle {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 10px;
}

/* Finnish headline slightly smaller under it */
.hero-content h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #e0f7ff;
    margin-bottom: 18px;
}

.hero-content p {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.8;
    margin-bottom: 28px;
}

.hero-content .chinese,
.hero-content .subtitle {
    text-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

/* CTA buttons – stronger for Chinese users */
.btn-primary {
    background: #ffffff;
    color: #0891b2;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.05rem;
    transition: all 0.25s;
    display: inline-block;
    border: none;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
    text-align: center;
}

.btn-primary small {
    display: block;
    font-weight: 500;
    margin-top: 4px;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    padding: 16px 34px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.05rem;
    border: 2px solid #ffffff;
    transition: all 0.25s;
    display: inline-block;
    text-align: center;
}

.btn-secondary small {
    display: block;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.9;
}

.btn-secondary:hover {
    background: #ffffff;
    color: #0891b2;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image-placeholder {
    width: 420px;
    height: 420px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8rem;
    backdrop-filter: blur(12px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4);
}

/* ===== FEATURES ===== */
.features {
    padding: 100px 30px;
    background: #ffffff;
}

.section-title {
    text-align: center;
    font-size: 2.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.7rem;
    color: #666666;
    margin-bottom: 50px;
}

.features-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 36px;
}

.feature-card {
    background: linear-gradient(135deg, #f8f9ff 0%, #f1f5ff 100%);
    padding: 38px;
    border-radius: 24px;
    border: 2px solid #e0e0f0;
    text-align: left;
    transition: all 0.25s;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: #0891b2;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1.45rem;
    font-weight: 700;
    color: #0891b2;
    margin-bottom: 10px;
}

.feature-card .chinese {
    font-size: 1.1rem;
    color: #777777;
    margin-bottom: 10px;
}

.feature-card p {
    color: #444444;
    font-size: 1rem;
    line-height: 1.8;
}

/* ===== PRICING ===== */
.pricing {
    padding: 100px 30px;
    background: #f8f9ff;
}

.pricing-container {
    max-width: 1200px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.product-card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
    border: 1px solid #e1e4f0;
    transition: all 0.25s;
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.badge {
    position: absolute;
    top: -14px;
    right: 24px;
    background: linear-gradient(135deg, #ff9800 0%, #ff6b00 100%);
    color: #ffffff;
    padding: 7px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.8rem;
}

.product-icon {
    font-size: 2.4rem;
    margin-bottom: 16px;
}

.product-card h4 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1a1a1a;
}

.product-subtitle {
    font-size: 1.02rem;
    color: #666666;
    margin-top: 6px;
}

.product-price {
    margin: 22px 0;
}

.price-cny {
    display: block;
    font-size: 2.2rem;
    font-weight: 900;
    color: #0891b2;
}

.price-eur {
    display: block;
    font-size: 1rem;
    color: #666666;
    margin-top: 4px;
}

.product-features {
    list-style: none;
    margin: 18px 0 24px 0;
    padding: 0;
}

.product-features li {
    padding: 10px 0;
    border-bottom: 1px solid #ececf5;
    font-size: 0.96rem;
    color: #222222;
    line-height: 1.6;
}

.product-features li:last-child {
    border-bottom: none;
}

.product-features small {
    display: block;
    color: #777777;
    margin-top: 4px;
    font-size: 0.85rem;
}

.btn-buy {
    width: 100%;
    background: #0891b2;
    color: #ffffff;
    padding: 14px;
    border-radius: 999px;
    border: none;
    font-weight: 700;
    font-size: 1.02rem;
    cursor: pointer;
    transition: all 0.25s;
}

.btn-buy:hover {
    background: #0284c7;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(8, 145, 178, 0.4);
}

/* ===== VIP TUTORING ===== */
.vip-tutoring {
    padding: 100px 30px;
    background: linear-gradient(135deg, #fff5e6 0%, #ffe5b4 100%);
}

.vip-container {
    max-width: 1200px;
    margin: 0 auto;
}

.vip-header {
    text-align: center;
    margin-bottom: 40px;
}

.vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ffd700 0%, #ffb700 100%);
    color: #1a1a1a;
    padding: 8px 26px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.vip-header h3 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
    color: #1a1a1a;
}

.vip-description {
    font-size: 1.1rem;
    color: #555555;
    line-height: 1.9;
    max-width: 1100px;
    margin: 0 auto;
}

.info-box {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 18px;
    padding: 30px;
    margin: 40px 0 10px 0;
}

.info-box h4 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-box li {
    padding: 10px 0 10px 26px;
    position: relative;
    color: #222222;
    line-height: 1.8;
}

.info-box li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #43e97b;
    font-weight: 900;
}

/* ===== CTA ===== */
.cta {
    padding: 90px 20px;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    text-align: center;
}

.cta h2,
.cta .chinese {
    color: #ffffff;
}

.cta-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

/* ===== FOOTER ===== */
footer {
    background: #1a1a1a;
    color: #ffffff;
    padding: 20px 30px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
    margin-bottom: 38px;
}

.footer-section h3 {
    font-size: 1.2rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.footer-section ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    font-size: 0.95rem;
}

.footer-section a:hover {
    color: #0891b2;
}

.footer-bottom {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin: 0;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 70px 20px;
    }

    .hero-image {
        margin-top: 24px;
    }

    .hero-image-placeholder {
        width: 300px;
        height: 300px;
        font-size: 6rem;
    }

    .hero-content .subtitle {
        font-size: 2.4rem;
    }

    .hero-content h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .features,
    .pricing,
    .vip-tutoring {
        padding: 70px 20px;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .hero-content .subtitle {
        font-size: 1.8rem;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-buttons .btn-primary,
    .hero-buttons .btn-secondary {
        width: 100%;
        text-align: center;
    }
    
    .hero-glass-box {
        padding: 25px 20px;
    }
    
    footer {
        padding: 40px 20px 20px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-section ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    
    .footer-section li {
        margin-bottom: 0;
    }
}

/* ============================
   TEACHER SECTION FIX (ANNA)
   ============================ */

.teacher-section {
    padding: 100px 30px;
    background: #f8f9ff;
}

.teacher-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.teacher-image-box {
    background: #fff7ec;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.08);
    border: 3px solid #ffb74d;
}

.teacher-image-box img {
    width: 220px;
    height: auto;
}

.teacher-content h2 {
    font-size: 2.2rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.teacher-content .chinese {
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: #444;
}

.teacher-content p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #333;
    margin-bottom: 20px;
}

.teacher-list {
    list-style: none;
    padding: 0;
    margin: 20px 0 40px 0;
}

.teacher-list li {
    font-size: 1.1rem;
    margin-bottom: 14px;
    padding-left: 28px;
    position: relative;
    color: #222;
}

.teacher-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #43e97b;
    font-size: 1.2rem;
    font-weight: 900;
}

.teacher-cta {
    margin-top: 20px;
}

.teacher-cta .btn-primary {
    padding: 16px 34px;
    font-size: 1.05rem;
}

/* ===== HERO WITH BACKGROUND IMAGE AND GLASS BOX ===== */
.hero.hero-bg {
    background-image: 
        linear-gradient(135deg, rgba(8,145,178,0.85) 0%, rgba(2,132,199,0.7) 40%, rgba(8,145,178,0.4) 70%, rgba(8,145,178,0.2) 100%),
        url('/Core_Pages/background_fentalk.jpeg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-glass-box {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 24px;
    padding: 40px 50px;
    max-width: 1100px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.hero-glass-box h1 {
    font-size: 2.4rem;
    color: #ffffff;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 12px;
}

.hero-glass-box .subtitle {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-glass-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.85;
    margin-bottom: 30px;
}

.hero-glass-box .hero-buttons {
    display: flex;
    justify-content: center;
}

.hero-glass-box .btn-primary {
    /* Glass effect - matches hero section style */
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    color: #ffffff;
    padding: 18px 42px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.hero-glass-box .btn-primary small {
    font-size: 0.8rem !important;
    opacity: 0.85 !important;
    font-weight: 500;
    letter-spacing: 0.3px;
}

.hero-glass-box .btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-4px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.35),
        0 0 20px rgba(255, 255, 255, 0.15);
}

.hero-glass-box .btn-primary:active {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .hero-glass-box {
        padding: 35px 28px;
        margin: 0 15px;
    }
    
    .hero-glass-box h1 {
        font-size: 1.8rem;
    }
    
    .hero-glass-box .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-glass-box p {
        font-size: 0.95rem;
    }
    
    .hero-glass-box .btn-primary {
        width: 100%;
        text-align: center;
        padding: 16px 30px;
    }
}

/* ===== KURSSIT PAGE STYLES ===== */
.kurssit-content {
    margin-top: 120px;
    padding: 60px 30px;
    min-height: calc(100vh - 120px);
    background: #f8fafc;
}

.kurssit-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-title {
    text-align: center;
    margin-bottom: 60px;
}

.page-title h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 15px;
}

.page-title .chinese {
    font-size: 2.5rem;
    color: #0891b2;
    font-weight: 700;
}

.page-title p {
    font-size: 1.3rem;
    color: #64748b;
    margin-top: 20px;
    line-height: 2.2;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.courses-grid.three-courses {
    grid-template-columns: repeat(3, 1fr);
}

.course-card {
    background: white;
    border-radius: 20px;
    padding: 30px 25px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.course-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
}

.course-card.english::before {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.course-card.spanish::before {
    background: linear-gradient(135deg, #c60b1e 0%, #ffc400 100%);
}

.course-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px rgba(8, 145, 178, 0.25);
    border-color: #0891b2;
}

.course-card.english:hover {
    border-color: #dc2626;
    box-shadow: 0 15px 50px rgba(220, 38, 38, 0.25);
}

.course-card.spanish:hover {
    border-color: #c60b1e;
    box-shadow: 0 15px 50px rgba(198, 11, 30, 0.25);
}

.flag-icon {
    width: 60px;
    height: 36px;
    border-radius: 6px;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.flag-fi {
    background: white;
    position: relative;
}

.flag-fi::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 12px;
    background: #003580;
    transform: translateY(-50%);
}

.flag-fi::after {
    content: '';
    position: absolute;
    left: 25%;
    top: 0;
    bottom: 0;
    width: 12px;
    background: #003580;
}

.course-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.course-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 15px;
}

.course-card p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: #475569;
    margin-bottom: 15px;
}

.course-tagline {
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
}

.course-tagline small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.course-features {
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}

.course-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.85rem;
    color: #374151;
    border-bottom: 1px solid #f1f5f9;
}

.course-features li:last-child {
    border-bottom: none;
}

.course-features li strong {
    font-size: 0.85rem;
}

.course-features li small {
    font-size: 0.75rem;
    opacity: 0.8;
}

.course-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0891b2;
    font-weight: 700;
    font-size: 1rem;
}

.course-card.english .course-features li::before {
    color: #dc2626;
}

.course-card.spanish .course-features li::before {
    color: #c60b1e;
}

.course-btn {
    display: inline-block;
    padding: 14px 25px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    text-align: center;
    transition: all 0.3s;
    margin-top: auto;
}

.course-btn.finnish {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    color: white;
}

.course-btn.english-btn {
    background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
    color: white;
}

.course-btn.spanish-btn {
    background: linear-gradient(135deg, #c60b1e 0%, #a00918 100%);
    color: white;
}

.course-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

@media (max-width: 1200px) {
    .courses-grid.three-courses {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .course-card {
        padding: 25px 20px;
    }
}

@media (max-width: 992px) {
    .courses-grid,
    .courses-grid.three-courses {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
    
    .course-card {
        padding: 30px 25px;
    }
}

@media (max-width: 768px) {
    .page-title h1 {
        font-size: 2rem;
    }
    
    .page-title .chinese {
        font-size: 1.6rem;
    }
    
    .course-card {
        padding: 25px 20px;
    }
    
    .course-card h2 {
        font-size: 1.4rem;
    }
}

/* ===== YKSITYISOPETUS PAGE STYLES ===== */
.yksityisopetus-content {
    margin-top: 120px;
    padding: 60px 30px;
    min-height: calc(100vh - 120px);
    background: #f8fafc;
}

.hero-section {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    color: white;
    padding: 80px 50px;
    border-radius: 30px;
    text-align: center;
    margin-bottom: 60px;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 20px;
}

.hero-section p {
    font-size: 1.3rem;
    opacity: 0.95;
    max-width: 1100px;
    margin: 0 auto;
    line-height: 1.8;
}

.package-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.package-card {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.2);
}

.package-card h3 {
    font-size: 1.5rem;
    color: #0891b2;
    margin-bottom: 15px;
}

.package-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.package-card .price span {
    font-size: 1rem;
    font-weight: 400;
    color: #64748b;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 40px 30px;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .package-grid {
        grid-template-columns: 1fr;
    }
}

/* UK Flag styling */
.flag-uk {
    background: #012169;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
}

/* ===== ENHANCED MOBILE & TABLET RESPONSIVENESS ===== */

/* Large Tablet (1024px) */
@media (max-width: 1024px) {
    .hero-glass-box {
        max-width: 550px;
        padding: 45px 40px;
    }
    
    .hero-glass-box h1 {
        font-size: 2.1rem;
    }
    
    .hero-glass-box .subtitle {
        font-size: 1.3rem;
    }
    
    .nav-links {
        gap: 10px;
    }
    
    .nav-links a {
        padding: 10px 15px;
        min-width: 80px;
    }
}

/* Small Tablet (768px) - enhance existing */
@media (max-width: 768px) {
    .hero.hero-bg {
        min-height: 85vh;
        background-position: center right;
    }
    
    .hero-container {
        padding: 30px 20px;
    }
    
    .hero-glass-box {
        max-width: 100%;
        padding: 30px 25px;
        margin: 0 15px;
        border-radius: 20px;
    }
    
    .hero-glass-box h1 {
        font-size: 1.7rem;
        line-height: 1.3;
    }
    
    .hero-glass-box .subtitle {
        font-size: 1.15rem;
        margin-bottom: 20px;
    }
    
    .hero-glass-box p {
        font-size: 0.92rem;
        line-height: 1.75;
        margin-bottom: 25px;
    }
    
    /* Mobile Navigation */
    nav {
        padding: 5px 0;
    }
    
    .nav-container {
        padding: 0 15px;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .nav-links {
        order: 3;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
        margin-top: 10px;
    }
    
    .nav-links a {
        padding: 8px 12px;
        min-height: 50px;
        min-width: 70px;
        font-size: 0.85rem;
    }
    
    .nav-links .chinese-text {
        font-size: 0.9rem;
    }
    
    .nav-links .finnish-text {
        font-size: 0.7rem;
    }
    
    .nav-cta {
        min-height: 50px;
        padding: 8px 15px;
    }
}

/* Large Mobile (576px) */
@media (max-width: 576px) {
    .hero.hero-bg {
        min-height: 90vh;
    }
    
    .hero-glass-box {
        padding: 25px 20px;
        margin: 0 10px;
        border-radius: 16px;
    }
    
    .hero-glass-box h1 {
        font-size: 1.5rem;
    }
    
    .hero-glass-box .subtitle {
        font-size: 1.05rem;
    }
    
    .hero-glass-box p {
        font-size: 0.88rem;
    }
    
    .hero-glass-box .btn-primary {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .nav-links a {
        padding: 6px 10px;
        min-height: 45px;
        min-width: 60px;
    }
    
    .nav-links .chinese-text {
        font-size: 0.85rem;
    }
    
    .nav-links .finnish-text {
        font-size: 0.65rem;
    }
}

/* Small Mobile (480px) */
@media (max-width: 480px) {
    .hero.hero-bg {
        min-height: 95vh;
        background-position: 70% center;
    }
    
    .hero-glass-box {
        padding: 22px 18px;
        margin: 0 8px;
    }
    
    .hero-glass-box h1 {
        font-size: 1.35rem;
    }
    
    .hero-glass-box .subtitle {
        font-size: 0.95rem;
        margin-bottom: 15px;
    }
    
    .hero-glass-box p {
        font-size: 0.82rem;
        line-height: 1.7;
        margin-bottom: 20px;
    }
    
    .hero-glass-box .btn-primary {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .nav-links {
        gap: 5px;
    }
    
    .nav-links a {
        padding: 5px 8px;
        min-height: 40px;
        min-width: 50px;
        border-radius: 8px;
    }
    
    .nav-links .chinese-text {
        font-size: 0.75rem;
    }
    
    .nav-links .finnish-text {
        display: none;
    }
    
    .nav-cta .finnish-text {
        display: none;
    }
}

/* Extra Small Mobile (360px) */
@media (max-width: 360px) {
    .hero-glass-box h1 {
        font-size: 1.2rem;
    }
    
    .hero-glass-box .subtitle {
        font-size: 0.88rem;
    }
    
    .hero-glass-box p {
        font-size: 0.78rem;
    }
    
    .nav-links a {
        min-width: 45px;
        padding: 4px 6px;
    }
    
    .logo {
        font-size: 1.5rem;
    }
}

/* Landscape Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero.hero-bg {
        min-height: 120vh;
    }
    
    .hero-glass-box {
        padding: 20px 25px;
        max-width: 500px;
    }
    
    .hero-glass-box h1 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }
    
    .hero-glass-box .subtitle {
        font-size: 1rem;
        margin-bottom: 12px;
    }
    
    .hero-glass-box p {
        font-size: 0.85rem;
        margin-bottom: 15px;
    }
}

/* ===== YKSITYISOPETUS PAGE ENHANCED STYLES ===== */
.info-section {
    margin-bottom: 60px;
}

.info-card {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    text-align: center;
}

.info-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.info-card h2 {
    font-size: 2rem;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.info-card h3 {
    font-size: 1.3rem;
    color: #0891b2;
    margin-bottom: 25px;
}

.info-card p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #475569;
}

.section-title {
    font-size: 1.8rem;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 40px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.feature-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-card h4 {
    font-size: 1.3rem;
    color: #0891b2;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.7;
}

.finnish-small {
    font-size: 0.85rem;
    color: #64748b;
    font-style: italic;
}

.included-list {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.included-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #f1f5f9;
}

.included-item:last-child {
    border-bottom: none;
}

.included-item .check {
    font-size: 1.5rem;
    color: #10b981;
    font-weight: bold;
}

.included-item strong {
    font-size: 1.1rem;
    color: #1a1a1a;
}

/* Comparison Table */
.comparison-section {
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.comparison-table {
    margin: 30px 0;
}

.comparison-header,
.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.comparison-header {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 10px;
}

.comparison-header .comparison-col {
    color: white;
    font-weight: 700;
    text-align: center;
}

.comparison-row {
    background: #f8fafc;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 8px;
}

.comparison-row .comparison-col {
    text-align: center;
    color: #374151;
}

.comparison-row .comparison-col:first-child {
    font-weight: 600;
    color: #1a1a1a;
}

.comparison-note {
    text-align: center;
    font-size: 1.05rem;
    color: #0891b2;
    margin-top: 25px;
    padding: 20px;
    background: #e0f2fe;
    border-radius: 12px;
}

/* CTA Section */
.cta-section {
    text-align: center;
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    border-radius: 24px;
    padding: 60px;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.cta-section h3 {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 30px;
}

.contact-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.contact-buttons .course-btn {
    background: white;
    color: #0891b2;
}

.contact-buttons .course-btn:hover {
    background: #f0f9ff;
    transform: translateY(-3px);
}

/* Responsive for yksityisopetus */
@media (max-width: 768px) {
    .info-card {
        padding: 30px 20px;
    }
    
    .info-card h2 {
        font-size: 1.5rem;
    }
    
    .comparison-header,
    .comparison-row {
        grid-template-columns: 1fr;
        text-align: left;
    }
    
    .comparison-header .comparison-col:first-child,
    .comparison-row .comparison-col:first-child {
        display: none;
    }
    
    .cta-section {
        padding: 40px 25px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* ===== KURSSIT PAGE PRICING STYLES ===== */
.pricing-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid #e2e8f0;
    animation: fadeIn 0.5s ease-out;
    scroll-margin-top: 120px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pricing-title {
    font-size: 2rem;
    text-align: center;
    color: #1a1a1a;
    margin-bottom: 40px;
    scroll-margin-top: 120px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 2px solid transparent;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.08);
}

.pricing-card.popular {
    border-color: #0891b2;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #64748b;
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.pricing-badge.popular {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
}

.pricing-card h3 {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-top: 15px;
    margin-bottom: 5px;
}

.pricing-card h4 {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 900;
    color: #0891b2;
    margin-bottom: 5px;
}

.pricing-card .price-note {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 25px 0;
    text-align: left;
    flex: 1 1 auto;
}

.pricing-features li {
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #374151;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-btn {
    display: block;
    padding: 16px 30px;
    background: #e0f2fe;
    color: #0891b2;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    border: 2px solid #bae6fd;
    margin-top: auto;
}

.pricing-btn:hover {
    background: #bae6fd;
    transform: translateY(-2px);
}

.pricing-btn.popular {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    color: white;
    border-color: transparent;
}

.pricing-btn.popular:hover {
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.4);
}

/* Course card active state */
.course-card.active {
    border-color: #0891b2;
    box-shadow: 0 20px 60px rgba(8, 145, 178, 0.3);
}

.course-card.english.active {
    border-color: #dc2626;
    box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
}

/* Pricing responsive */
@media (max-width: 768px) {
    .pricing-card.popular {
        transform: scale(1);
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-title {
        font-size: 1.5rem;
    }
}

/* ===== TRILINGUAL PAGE TITLES ===== */
.page-title h1 .english-small {
    font-size: 1.5rem;
    font-weight: 600;
    color: #64748b;
    display: block;
    margin-top: 10px;
}

.subtitle-trilingual {
    font-size: 1.8rem;
    color: #0891b2;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 20px;
}

.english-desc {
    font-size: 1.1rem;
    color: #475569;
    display: block;
    margin-top: 8px;
}

.finnish-desc {
    font-size: 1rem;
    color: #64748b;
    font-style: italic;
    display: block;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .page-title h1 .english-small {
        font-size: 1.2rem;
    }
    
    .subtitle-trilingual {
        font-size: 1.4rem;
    }
    
    .english-desc {
        font-size: 1rem;
    }
    
    .finnish-desc {
        font-size: 0.9rem;
    }
}

/* ===== HERO TRILINGUAL STYLES ===== */
.hero-glass-box .subtitle-en {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    margin-bottom: 8px;
}

.hero-glass-box .subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    font-style: italic;
    margin-bottom: 20px;
}

.hero-desc-en {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    margin-top: 5px;
}

.hero-desc-fi {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    display: block;
}

.hero-glass-box .btn-primary {
    text-align: center;
    min-width: 200px;
}

@media (max-width: 768px) {
    .hero-glass-box .subtitle-en {
        font-size: 1rem;
    }
    
    .hero-glass-box .subtitle {
        font-size: 0.95rem;
    }
    
    .hero-desc-en,
    .hero-desc-fi {
        font-size: 0.85rem;
    }
}

/* ===== FLAG ICONS (CSS-based) ===== */
.flag-emoji {
    display: inline-block;
    width: 24px;
    height: 16px;
    border-radius: 3px;
    vertical-align: middle;
    margin-right: 8px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.flag-emoji.fi {
    background: white;
    position: relative;
}

.flag-emoji.fi::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: #003580;
    transform: translateY(-50%);
}

.flag-emoji.fi::after {
    content: '';
    position: absolute;
    left: 30%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #003580;
}

.flag-emoji.uk {
    background: linear-gradient(to bottom, 
        #012169 0%, #012169 100%);
    position: relative;
    overflow: hidden;
}

.flag-emoji.uk::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 4px;
    background: white;
    transform: translateY(-50%);
}

.flag-emoji.uk::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 4px;
    background: white;
    transform: translateX(-50%);
}

/* ===== TEXT-BASED ICONS (no emoji) ===== */
.info-icon.icon-teacher::before {
    content: "👨‍🏫";
    font-family: "Segoe UI Emoji", "Apple Color Emoji", "Noto Color Emoji", sans-serif;
}

.feature-icon.icon-target::before {
    content: "◎";
    font-size: 2.5rem;
    color: #0891b2;
}

.feature-icon.icon-rocket::before {
    content: "▲";
    font-size: 2.5rem;
    color: #10b981;
}

.feature-icon.icon-tool::before {
    content: "⚙";
    font-size: 2.5rem;
    color: #f59e0b;
}

.feature-icon.icon-business::before {
    content: "■";
    font-size: 2.5rem;
    color: #6366f1;
}

/* Fallback - use Unicode symbols */
.icon-teacher::before { content: "◉"; color: #0891b2; }
.icon-target::before { content: "◎"; }
.icon-rocket::before { content: "△"; }
.icon-tool::before { content: "⚙"; }
.icon-business::before { content: "▣"; }

/* ===== FIXED UK FLAG (Union Jack) ===== */
.flag-emoji.uk {
    background: #012169;
    position: relative;
    overflow: hidden;
}

/* Diagonal white stripes */
.flag-emoji.uk::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom right, transparent 45%, white 45%, white 55%, transparent 55%),
        linear-gradient(to bottom left, transparent 45%, white 45%, white 55%, transparent 55%);
}

/* Red cross overlay */
.flag-emoji.uk::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, transparent 42%, white 42%, white 58%, transparent 58%),
        linear-gradient(to bottom, transparent 38%, white 38%, white 62%, transparent 62%),
        linear-gradient(to right, transparent 45%, #C8102E 45%, #C8102E 55%, transparent 55%),
        linear-gradient(to bottom, transparent 42%, #C8102E 42%, #C8102E 58%, transparent 58%);
}

/* ===== UK FLAG WITH SVG ===== */
.flag-emoji.uk {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect fill='%23012169' width='60' height='30'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E");
    background-size: cover;
    background-position: center;
    background-color: #012169;
}

/* Reset pseudo-elements */
.flag-emoji.uk::before,
.flag-emoji.uk::after {
    display: none;
}

/* Chinese description in hero */
.hero-desc-zh {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 500;
    display: block;
    margin-bottom: 5px;
}

/* Small Chinese highlight for lukio/YKI */
.hero-desc-zh-small {
    font-size: 0.95rem;
    color: #fef08a;
    font-weight: 600;
    display: block;
    margin-bottom: 8px;
}

/* ===== HERO BUTTON REDESIGN ===== */
.hero-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 18px 40px;
    min-width: 240px;
}

.hero-btn .btn-zh {
    font-size: 1.3rem;
    font-weight: 800;
    display: block;
    margin-bottom: 6px;
}

.hero-btn .btn-sub {
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.85;
    display: block;
}

@media (max-width: 480px) {
    .hero-btn {
        padding: 15px 30px;
        min-width: 200px;
    }
    
    .hero-btn .btn-zh {
        font-size: 1.1rem;
    }
    
    .hero-btn .btn-sub {
        font-size: 0.8rem;
    }
}

/* ===== COMPACT HERO LAYOUT ===== */
.hero-glass-box {
    max-width: 1100px;
}

.subtitle-row {
    margin-bottom: 20px;
}

.subtitle-row .subtitle-en {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.95);
    display: block;
    margin-bottom: 5px;
}

.subtitle-row .subtitle-fi {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    font-style: italic;
    display: block;
}

.hero-features {
    display: flex;
    gap: 30px;
    margin: 25px 0;
    flex-wrap: wrap;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-feature strong {
    color: #fef08a;
}

.hero-tagline {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 25px;
    line-height: 1.7;
}

.hero-tagline .tagline-small {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    display: block;
    margin-top: 5px;
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .hero-feature {
        font-size: 0.95rem;
    }
}

/* ===== WIDER, COMPACT HERO GLASS BOX ===== */
.hero-glass-box {
    max-width: 1100px !important;
    padding: 35px 45px !important;
}

.hero-glass-box h1 {
    font-size: 2.2rem !important;
    margin-bottom: 10px !important;
}

.hero-glass-box .subtitle-en {
    font-size: 1.05rem !important;
    margin-bottom: 5px !important;
}

.hero-glass-box .subtitle {
    font-size: 1rem !important;
    margin-bottom: 15px !important;
}

.hero-glass-box p {
    font-size: 0.95rem !important;
    line-height: 1.7 !important;
    margin-bottom: 20px !important;
}

.hero-glass-box .hero-desc-zh-small {
    font-size: 0.9rem !important;
    margin-bottom: 5px !important;
}

.hero-glass-box .hero-desc-en,
.hero-glass-box .hero-desc-zh,
.hero-glass-box .hero-desc-fi {
    font-size: 0.88rem !important;
}

.hero-glass-box .hero-buttons {
    margin-top: 15px !important;
}

@media (max-width: 968px) {
    .hero-glass-box {
        max-width: 95% !important;
    }
}

/* ===== ONLY WIDER BOX - NO TEXT SIZE CHANGES ===== */
.hero-glass-box {
    max-width: 1100px !important;
    width: 90% !important;
}

/* ===== RESTORE ORIGINAL TEXT SIZES ===== */
.hero-glass-box h1 {
    font-size: 2.4rem !important;
}

.hero-glass-box .subtitle-en {
    font-size: 1.2rem !important;
}

.hero-glass-box .subtitle {
    font-size: 1.1rem !important;
}

.hero-glass-box p {
    font-size: 1.05rem !important;
    line-height: 1.85 !important;
}

.hero-glass-box .hero-desc-zh-small {
    font-size: 0.95rem !important;
}

.hero-glass-box .hero-desc-en,
.hero-glass-box .hero-desc-zh {
    font-size: 1rem !important;
}

.hero-glass-box .hero-desc-fi {
    font-size: 0.9rem !important;
}

/* ===== FIX: HERO CONTAINER FOR HERO-BG (single column, centered) ===== */
.hero.hero-bg .hero-container {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    grid-template-columns: none !important;
}

.hero.hero-bg .hero-glass-box {
    max-width: 1100px !important;
    width: 100% !important;
}

/* ===== ENGLISH TEXT AFTER FLAG SECTIONS ===== */
.hero-flag-en {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 34px;
    display: inline-block;
    margin-bottom: 10px;
}

/* Finnish text after flag sections */
.hero-flag-fi {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
    font-style: italic;
    margin-left: 34px;
    display: inline-block;
    margin-bottom: 12px;
}

/* ===== COMPACT KURSSIT PAGE ===== */
.kurssit-content {
    margin-top: 100px !important;
    padding: 30px 30px !important;
}

.kurssit-content .page-title {
    margin-bottom: 30px !important;
}

.kurssit-content .page-title h1 {
    font-size: 2.8rem !important;
    margin-bottom: 8px !important;
}

.kurssit-content .page-title h1 .english-small {
    font-size: 1.3rem !important;
    margin-top: 5px !important;
}

.kurssit-content .subtitle-trilingual {
    font-size: 1.5rem !important;
    margin-bottom: 10px !important;
}

.kurssit-content .page-title p {
    font-size: 1.1rem !important;
    margin-top: 10px !important;
    line-height: 1.8 !important;
}

.kurssit-content .english-desc,
.kurssit-content .finnish-desc {
    font-size: 0.95rem !important;
}

.kurssit-content .courses-grid {
    margin-top: 30px !important;
}

/* ===== UK FLAG FOR COURSE CARDS ===== */
.flag-icon.flag-uk {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3Crect fill='%23012169' width='60' height='30'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23fff' stroke-width='6'/%3E%3Cpath d='M0,0 L60,30 M60,0 L0,30' stroke='%23C8102E' stroke-width='2'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23fff' stroke-width='10'/%3E%3Cpath d='M30,0 V30 M0,15 H60' stroke='%23C8102E' stroke-width='6'/%3E%3C/svg%3E") !important;
    background-size: cover !important;
    background-position: center !important;
    background-color: #012169 !important;
}

/* ===== TIGHTER SPACING FOR KURSSIT TITLE ===== */
.kurssit-content .page-title h1 {
    margin-bottom: 3px !important;
    line-height: 1.2 !important;
}

.kurssit-content .page-title h1 .english-small {
    margin-top: 2px !important;
    font-size: 1.2rem !important;
}

.kurssit-content .subtitle-trilingual {
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-size: 1.3rem !important;
}

.kurssit-content .page-title > p {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
    line-height: 1.5 !important;
}

.kurssit-content .english-desc {
    margin-top: 3px !important;
    font-size: 0.9rem !important;
}

.kurssit-content .finnish-desc {
    margin-top: 2px !important;
    font-size: 0.85rem !important;
}

.kurssit-content .page-title {
    margin-bottom: 25px !important;
}

/* Move Finnish description up */
.kurssit-content .finnish-desc {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.kurssit-content .english-desc {
    margin-bottom: 2px !important;
}

/* Finnish desc - new line but close */
.kurssit-content .finnish-desc {
    display: block !important;
    margin-top: 2px !important;
}

/* ===== PRICING INFO (time tracking notice) ===== */
.pricing-info {
    text-align: center;
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 30px;
    padding: 15px 20px;
    background: #f0f9ff;
    border-radius: 10px;
    border-left: 4px solid #7dd3fc;
}

.pricing-info em {
    color: #94a3b8;
}

/* ===== 5-TIER PRICING GRID ===== */
.pricing-grid.five-tier {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    align-items: stretch;
}

.pricing-grid.five-tier .pricing-card {
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 520px;
}

.pricing-grid.five-tier .pricing-card.popular {
    transform: none;
}

.pricing-grid.five-tier .pricing-card h3 {
    font-size: 1.2rem;
}

.pricing-grid.five-tier .pricing-card h4 {
    font-size: 0.95rem;
}

.pricing-grid.five-tier .price {
    font-size: 1.8rem;
}

.pricing-grid.five-tier .price-note {
    font-size: 0.75rem;
}

.pricing-grid.five-tier .pricing-features li {
    font-size: 0.8rem;
    padding: 6px 0;
}

.pricing-grid.five-tier .pricing-features {
    flex: 1 1 auto;
}

.pricing-grid.five-tier .pricing-btn {
    margin-top: auto;
}

/* VIP Card Styling */
.pricing-card.vip {
    border: 2px solid #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.pricing-badge.vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.pricing-btn.vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.pricing-btn.vip:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

/* Responsive 5-tier */
@media (max-width: 1200px) {
    .pricing-grid.five-tier {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .pricing-grid.five-tier {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .pricing-grid.five-tier {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid.five-tier .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-grid.five-tier .price {
        font-size: 2.2rem;
    }
}

/* ===== IMPROVED COURSE CARDS - WIDER & BETTER SPACING ===== */
.kurssit-content .courses-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 20px !important;
    max-width: 1400px !important;
    margin: 30px auto 0 !important;
}

.kurssit-content .course-card {
    padding: 25px 20px !important;
    border-radius: 16px !important;
}

.kurssit-content .course-card h2 {
    font-size: 1.5rem !important;
    margin-bottom: 5px !important;
}

.kurssit-content .course-card h3 {
    font-size: 0.95rem !important;
    margin-bottom: 12px !important;
}

.kurssit-content .course-card > p {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
}

.kurssit-content .course-card > p small {
    font-size: 0.75rem !important;
    line-height: 1.4 !important;
    display: block !important;
    margin-top: 5px !important;
    color: #64748b !important;
}

.kurssit-content .course-features {
    margin-bottom: 15px !important;
}

.kurssit-content .course-features li {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
    padding: 6px 0 6px 22px !important;
}

.kurssit-content .course-features li::before {
    font-size: 0.95rem !important;
}

.kurssit-content .flag-icon {
    width: 50px !important;
    height: 30px !important;
    margin-bottom: 12px !important;
}

.kurssit-content .course-btn {
    padding: 12px 20px !important;
    font-size: 0.9rem !important;
}

@media (max-width: 1200px) {
    .kurssit-content .courses-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 15px !important;
    }
    
    .kurssit-content .course-card {
        padding: 20px 15px !important;
    }
    
    .kurssit-content .course-card h2 {
        font-size: 1.3rem !important;
    }
    
    .kurssit-content .course-features li {
        font-size: 0.75rem !important;
    }
}

@media (max-width: 992px) {
    .kurssit-content .courses-grid {
        grid-template-columns: 1fr !important;
        max-width: 500px !important;
    }
    
    .kurssit-content .course-card {
        padding: 25px 20px !important;
    }
    
    .kurssit-content .course-card h2 {
        font-size: 1.5rem !important;
    }
}
/* ===== LEARNING PATH SECTION - OPPIMISPOLKU ===== */

.learning-path {
    padding: 100px 30px;
    margin-top: 80px;
    background: linear-gradient(180deg, #ffffff 0%, #f0f9ff 50%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 80px);
}

.learning-path::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="1.5" fill="rgba(8,145,178,0.1)"/></svg>');
    background-size: 60px 60px;
    pointer-events: none;
}

.path-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.path-header {
    text-align: center;
    margin-bottom: 50px;
}

.learning-path .section-title {
    font-size: 3rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.learning-path .section-subtitle {
    font-size: 1.3rem;
    color: #64748b;
    margin-bottom: 15px;
}

.path-intro {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
}

.path-intro small {
    color: #64748b;
}

.progress-roadmap {
    background: white;
    border-radius: 24px;
    padding: 40px 50px;
    margin-bottom: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.roadmap-track {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 40px;
    margin-bottom: 20px;
}

.roadmap-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 60px;
    right: 60px;
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    transform: translateY(-50%);
    z-index: 0;
}

.roadmap-track::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 60px;
    width: calc(60% - 20px);
    height: 6px;
    background: linear-gradient(90deg, #10b981 0%, #0891b2 60%, #e2e8f0 100%);
    border-radius: 3px;
    transform: translateY(-50%);
    z-index: 1;
}

.roadmap-step {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
    text-align: center;
}

.step-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #e2e8f0;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.roadmap-step.completed .step-dot {
    background: linear-gradient(135deg, #10b981, #059669);
}

.roadmap-step.active .step-dot {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    transform: scale(1.2);
    box-shadow: 0 4px 20px rgba(8, 145, 178, 0.4);
}

.roadmap-step.target .step-dot {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 15px rgba(245, 158, 11, 0); }
}

.roadmap-step span {
    font-weight: 700;
    font-size: 1rem;
    color: #64748b;
}

.roadmap-step.completed span,
.roadmap-step.active span {
    color: #0891b2;
}

.roadmap-step.target span {
    color: #f59e0b;
}

.roadmap-step.advanced .step-dot {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.roadmap-step.advanced span {
    color: #8b5cf6;
}

.roadmap-labels {
    display: flex;
    justify-content: space-between;
    padding: 0 40px;
    text-align: center;
}

.roadmap-labels span {
    flex: 1;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.4;
    text-align: center;
}

.roadmap-labels span.advanced {
    color: #8b5cf6;
    font-weight: 600;
}

.roadmap-labels span.highlight {
    color: #f59e0b;
    font-weight: 700;
}

.path-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 60px;
}

.phase-card {
    background: white;
    border-radius: 24px;
    padding: 30px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
}

.phase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.phase-card.target-phase {
    border-color: #0891b2;
    background: linear-gradient(180deg, #f0f9ff 0%, white 100%);
}

.phase-ribbon {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    white-space: nowrap;
}

.phase-tag {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #0891b2;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}

.phase-tag.advanced {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
}

.phase-icon-box {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0891b2, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.3);
}

.phase-icon-box span {
    font-size: 1.8rem;
    font-weight: 800;
    color: white;
}

.phase-icon-box.target {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 8px 20px rgba(245, 158, 11, 0.3);
}

.phase-number {
    font-size: 0.85rem;
    font-weight: 600;
    color: #0891b2;
    text-align: center;
    margin-bottom: 5px;
}

.phase-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: #1a1a1a;
    text-align: center;
    margin-bottom: 5px;
}

.phase-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    text-align: center;
    margin-bottom: 15px;
}

.phase-time {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    background: #f1f5f9;
    border-radius: 10px;
    margin-bottom: 15px;
    font-size: 0.85rem;
    color: #475569;
}

.phase-levels-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    margin: 20px 0;
}

.level-badge {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    box-shadow: 0 3px 10px rgba(8, 145, 178, 0.25);
}

.level-badge.target {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.3);
}

.phase-skills {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.phase-skills li {
    padding: 10px 15px;
    border-bottom: 1px solid #f1f5f9;
    text-align: center;
}

.phase-skills li:last-child {
    border-bottom: none;
}

.skill-bullet {
    display: none;
}

.skill-bullet.target {
    display: none;
}

.phase-skills li div {
    width: 100%;
}

.phase-skills li strong {
    display: block;
    font-size: 0.9rem;
    color: #1a1a1a;
    margin-bottom: 3px;
    line-height: 1.4;
}

.phase-skills li small {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.3;
}

.phase-milestone {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f1f5f9;
    border-radius: 12px;
    font-size: 0.9rem;
    color: #475569;
    font-weight: 600;
    margin-top: auto;
    text-align: center;
    line-height: 1.5;
}

.phase-milestone small {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 5px;
    color: #64748b;
}

.phase-milestone.success {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #047857;
    font-weight: 700;
}

.phase-milestone.success small {
    color: #059669;
}

.path-stats {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.stat-card {
    background: white;
    border-radius: 16px;
    padding: 25px 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card.highlight {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: white;
}

.stat-card.advanced {
    background: linear-gradient(135deg, #a78bfa, #8b5cf6);
    color: white;
}

.stat-card.advanced .stat-value,
.stat-card.advanced .stat-label,
.stat-card.advanced .stat-note {
    color: white;
}

.stat-value {
    font-size: 2rem;
    font-weight: 900;
    color: #0891b2;
    margin-bottom: 8px;
}

.stat-card.highlight .stat-value {
    color: white;
}

.stat-label {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.stat-card.highlight .stat-label {
    color: rgba(255, 255, 255, 0.95);
}

.stat-note {
    font-size: 0.85rem;
    color: #64748b;
}

.stat-card.highlight .stat-note {
    color: rgba(255, 255, 255, 0.8);
}

.path-cta {
    background: white;
    border-radius: 20px;
    padding: 35px 40px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    margin: 0 auto;
}

.path-cta h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.path-cta > p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 25px;
}

.path-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-path-primary,
.btn-path-secondary {
    display: inline-block;
    padding: 18px 35px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    line-height: 1.4;
}

.btn-path-primary {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: white;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.3);
}

.btn-path-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.4);
}

.btn-path-secondary {
    background: white;
    color: #0891b2;
    border: 2px solid #0891b2;
}

.btn-path-secondary:hover {
    background: #e0f2fe;
    transform: translateY(-3px);
}

.btn-path-primary small,
.btn-path-secondary small {
    display: block;
    font-size: 0.85rem;
    opacity: 0.85;
    font-weight: 400;
    margin-top: 3px;
}

@media (max-width: 1200px) {
    .path-timeline {
        grid-template-columns: repeat(2, 1fr);
    }
    .path-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .path-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .learning-path {
        padding: 60px 20px;
    }
    .learning-path .section-title {
        font-size: 1.8rem;
    }
    .path-header .section-subtitle {
        font-size: 1rem;
    }
    .progress-roadmap {
        padding: 25px 15px;
    }
    .roadmap-track {
        padding: 0 10px;
    }
    .step-dot {
        width: 28px;
        height: 28px;
    }
    .roadmap-step span {
        font-size: 0.75rem;
    }
    .roadmap-labels {
        padding: 0 10px;
    }
    .roadmap-labels span {
        font-size: 0.7rem;
    }
    .path-timeline {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .phase-card {
        padding: 25px 20px;
    }
    .phase-icon-box {
        width: 50px;
        height: 50px;
    }
    .phase-icon-box span {
        font-size: 1.3rem;
    }
    .path-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .stat-card {
        padding: 20px 15px;
    }
    .stat-value {
        font-size: 1.8rem;
    }
    .path-cta {
        padding: 30px 20px;
        max-width: 100%;
    }
    .path-cta h3 {
        font-size: 1.4rem;
    }
    .path-cta-buttons {
        flex-direction: column;
    }
    .btn-path-primary,
    .btn-path-secondary {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .learning-path {
        padding: 40px 15px;
    }
    .learning-path .section-title {
        font-size: 1.5rem;
    }
    .path-header .path-intro {
        font-size: 0.9rem;
    }
    .progress-roadmap {
        padding: 20px 10px;
    }
    .roadmap-track::before,
    .roadmap-track::after {
        left: 30px;
        right: 30px;
    }
    .step-dot {
        width: 24px;
        height: 24px;
    }
    .roadmap-step span {
        font-size: 0.7rem;
    }
    .roadmap-labels {
        display: none;
    }
    .phase-card {
        padding: 20px 15px;
    }
    .phase-number {
        font-size: 0.8rem;
    }
    .phase-card h3 {
        font-size: 1.2rem;
    }
    .phase-skills li {
        padding: 8px 10px;
    }
    .phase-skills li strong {
        font-size: 0.85rem;
    }
    .phase-skills li small {
        font-size: 0.75rem;
    }
    .path-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-card {
        padding: 18px 12px;
        border-radius: 12px;
    }
    .stat-value {
        font-size: 1.5rem;
    }
    .stat-label {
        font-size: 0.8rem;
    }
    .stat-note {
        font-size: 0.7rem;
    }
    .path-cta {
        padding: 25px 15px;
    }
    .path-cta h3 {
        font-size: 1.3rem;
    }
    .btn-path-primary {
        padding: 15px 25px;
    }
}

/* ================================================
   PRIVATE TUTORING PAGE (yksityisopetus.php)
   ================================================ */

/* Tutoring Page Wrapper */
.tutoring-page-wrapper {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 100px 30px 0;
    margin-bottom: 0;
}

/* Tutoring page body override - prevent dark background showing */
body:has(.tutoring-page-wrapper) {
    background: #f8fafc;
}

/* Hero Section */
.tutoring-hero {
    background: white;
    padding: 50px;
    text-align: center;
    color: #1a1a1a;
    border-radius: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    max-width: 1200px;
    margin: 0 auto 50px;
}

.tutoring-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: white;
    padding: 10px 25px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
}

.tutoring-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 10px;
    color: #1a1a1a;
}

.tutoring-hero .subtitle {
    font-size: 1.2rem;
    color: #0891b2;
    margin-bottom: 20px;
    font-weight: 500;
}

.tutoring-hero .intro {
    font-size: 1rem;
    line-height: 1.8;
    color: #475569;
    max-width: 600px;
    margin: 0 auto 25px;
}

/* Hero Process Steps */
.hero-process {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f8fafc;
    padding: 15px 25px;
    border-radius: 16px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.process-step:hover {
    transform: translateY(-5px);
    border-color: #0891b2;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.15);
    background: white;
}

.process-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #0891b2, #0284c7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
}

.process-text {
    text-align: left;
    font-size: 0.95rem;
    color: #334155;
}

.process-text strong {
    color: #1a1a1a;
}

.process-text small {
    color: #64748b;
    font-size: 0.85rem;
}

.process-arrow {
    font-size: 1.5rem;
    color: #0891b2;
    font-weight: 700;
}

/* Tutoring Main */
.tutoring-main {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 0 30px 80px;
    margin-top: 0;
}

.tutoring-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Teacher Section */
.teacher-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 80px;
    background: white;
    border-radius: 24px;
    padding: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.teacher-image {
    text-align: center;
    margin-bottom: 30px;
}

.teacher-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0891b2, #0284c7);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.3);
}

.teacher-avatar-icon {
    font-size: 36px;
    color: white;
    font-weight: 900;
}

.teacher-info.centered {
    text-align: center;
    max-width: 700px;
}

.teacher-info h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.teacher-info .subtitle {
    font-size: 1.1rem;
    color: #0891b2;
    margin-bottom: 20px;
}

.teacher-info p {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
}

.teacher-qualifications {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.qualification-tag {
    background: #f0f9ff;
    color: #0891b2;
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Benefits Grid */
.benefits-section {
    margin-bottom: 80px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.benefit-card:hover {
    transform: translateY(-8px);
    border-color: #0891b2;
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.08);
}

.benefit-icon {
    width: 70px;
    height: 70px;
    border-radius: 20px;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 30px;
}

.benefit-card h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.benefit-card .en {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 15px;
}

.benefit-card p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
    background: white;
    border-radius: 24px;
    padding: 50px;
    margin-bottom: 80px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.comparison-card {
    border-radius: 20px;
    padding: 35px;
    text-align: center;
}

.comparison-card.online {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border: 2px solid #bae6fd;
}

.comparison-card.private {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border: 2px solid #fcd34d;
}

.comparison-card h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 5px;
}

.comparison-card.online h3 {
    color: #0891b2;
}

.comparison-card.private h3 {
    color: #d97706;
}

.comparison-card .subtitle {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 25px;
}

.comparison-list {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 0;
}

.comparison-list li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0,0,0,0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comparison-list li:last-child {
    border-bottom: none;
}

.comparison-list .label {
    font-size: 0.9rem;
    color: #475569;
}

.comparison-list .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1a1a;
    text-align: right;
    line-height: 1.4;
}

.comparison-list .value small {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    color: #64748b;
}

.comparison-recommendation {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-radius: 16px;
    padding: 25px;
    margin-top: 40px;
    text-align: center;
}

.comparison-recommendation p {
    font-size: 1rem;
    color: #047857;
    font-weight: 600;
    margin: 0;
}

/* Pricing Section */
.pricing-section {
    margin-bottom: 80px;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.pricing-card {
    background: white;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
}

.pricing-card.popular {
    border: 3px solid #0891b2;
    transform: scale(1.05);
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-5px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: white;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.pricing-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.pricing-card .sessions {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.pricing-card .price {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0891b2;
    margin-bottom: 5px;
}

.pricing-card .per-session {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 25px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin: 0 0 25px 0;
    text-align: left;
}

.pricing-features li {
    padding: 10px 0;
    font-size: 0.9rem;
    color: #475569;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
}

.pricing-features li small {
    display: block;
    font-size: 0.8rem;
    color: #94a3b8;
}

.pricing-features .check {
    color: #10b981;
    font-weight: bold;
    margin-top: 2px;
}

.btn-pricing {
    display: block;
    background: linear-gradient(135deg, #0891b2, #0284c7);
    color: white;
    padding: 15px 30px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
}

.btn-pricing:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(8, 145, 178, 0.3);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #0891b2, #0284c7);
    border-radius: 24px;
    padding: 60px 50px;
    text-align: center;
    color: white;
}

.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.cta-section .subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: #0891b2;
    padding: 18px 35px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

/* Tutoring Page Responsive */
@media (max-width: 992px) {
    .teacher-section {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .teacher-qualifications {
        justify-content: center;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-card.popular {
        transform: none;
    }
}

@media (max-width: 768px) {
    .tutoring-page-wrapper {
        padding: 90px 20px 0;
    }
    
    .tutoring-hero {
        padding: 35px 25px;
    }
    
    .tutoring-hero h1 {
        font-size: 1.8rem;
    }
    
    .tutoring-hero .subtitle {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.8rem;
        padding: 8px 16px;
    }
    
    .hero-process {
        flex-direction: column;
        gap: 15px;
    }
    
    .process-arrow {
        transform: rotate(90deg);
    }
    
    .process-step {
        width: 100%;
        justify-content: center;
    }
    
    .tutoring-main {
        padding: 0 20px 50px;
    }
    
    .teacher-section {
        padding: 30px 25px;
    }
    
    .teacher-avatar {
        width: 100px;
        height: 100px;
    }
    
    .teacher-avatar-icon {
        font-size: 28px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .comparison-section {
        padding: 30px 20px;
    }
    
    .cta-section {
        padding: 40px 25px;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .btn-cta {
        width: 100%;
        justify-content: center;
    }
}

/* Group Pricing Section */
.group-pricing-table {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.group-table-title {
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.group-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.group-card {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.group-card:hover {
    transform: translateY(-5px);
    border-color: #0891b2;
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.15);
}

.group-card.best-value {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    border-color: #10b981;
}

.best-value-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.group-size {
    font-size: 1.8rem;
    font-weight: 900;
    color: #0891b2;
    margin-bottom: 5px;
}

.group-label {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 15px;
}

.group-price {
    font-size: 1.6rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.group-price span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.group-euro {
    font-size: 0.9rem;
    color: #0891b2;
    font-weight: 600;
    margin-bottom: 10px;
}

.group-per-lesson {
    font-size: 0.8rem;
    color: #64748b;
    background: white;
    padding: 5px 10px;
    border-radius: 8px;
    display: inline-block;
}

.group-note {
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-top: 20px;
}

.group-note p {
    font-size: 1rem;
    color: #92400e;
    font-weight: 600;
    margin: 0;
}

.group-note small {
    color: #a16207;
}

/* Group Pricing Responsive */
@media (max-width: 992px) {
    .group-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .group-card {
        padding: 20px 15px;
    }
    
    .group-size {
        font-size: 1.5rem;
    }
    
    .group-price {
        font-size: 1.4rem;
    }
}

@media (max-width: 768px) {
    .group-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .group-pricing-table {
        padding: 20px 15px;
    }
    
    .group-table-title {
        font-size: 1.1rem;
    }
    
    .group-card {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 15px 20px;
    }
    
    .group-card .group-size {
        font-size: 1.3rem;
        margin-bottom: 0;
        min-width: 50px;
    }
    
    .group-card .group-label {
        margin-bottom: 0;
        flex: 1;
        padding: 0 15px;
    }
    
    .group-card .group-price {
        font-size: 1.2rem;
        margin-bottom: 0;
        text-align: right;
    }
    
    .group-card .group-euro {
        margin-bottom: 0;
        text-align: right;
    }
    
    .group-card .group-per-lesson {
        display: none;
    }
    
    .group-card.best-value {
        flex-direction: column;
        text-align: center;
    }
    
    .group-card.best-value .group-size,
    .group-card.best-value .group-label,
    .group-card.best-value .group-price,
    .group-card.best-value .group-euro {
        text-align: center;
        padding: 0;
    }
    
    .group-card.best-value .group-per-lesson {
        display: inline-block;
        margin-top: 10px;
    }
    
    .best-value-badge {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        margin-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .section-header p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .tutoring-hero {
        padding: 25px 15px;
    }
    
    .tutoring-hero h1 {
        font-size: 1.5rem;
    }
    
    .process-step {
        padding: 12px 15px;
    }
    
    .process-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .process-text {
        font-size: 0.85rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-card .price {
        font-size: 2rem;
    }
    
    .group-card {
        flex-direction: column;
        text-align: center;
    }
    
    .group-card .group-size,
    .group-card .group-label,
    .group-card .group-price,
    .group-card .group-euro {
        text-align: center;
        padding: 0;
    }
    
    .group-card .group-label {
        margin-bottom: 10px;
    }
    
    .comparison-card {
        padding: 25px 20px;
    }
    
    .cta-section {
        padding: 30px 20px;
    }
    
    .cta-section h2 {
        font-size: 1.5rem;
    }
    
    .btn-cta {
        padding: 15px 25px;
        font-size: 0.9rem;
    }
}

/* ===== FEATURES PAGE (ominaisuudet.php) ===== */
.features-page-wrapper {
    padding-top: 160px;
    padding-left: 30px;
    padding-right: 30px;
    background: #f8fafc;
}

/* Features Hero - Boxed Style */
.features-hero {
    background: linear-gradient(135deg, #0891b2 0%, #0e7490 100%);
    padding: 60px 50px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto 30px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(8, 145, 178, 0.3);
}

.features-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg width="60" height="60" xmlns="http://www.w3.org/2000/svg"><circle cx="30" cy="30" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 60px 60px;
}

.features-hero-content {
    position: relative;
    z-index: 1;
}

.features-hero .hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.features-hero h1 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 8px;
}

.features-hero .subtitle {
    font-size: 1.3rem;
    opacity: 0.9;
    margin-bottom: 20px;
}

.features-hero .hero-description {
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0.95;
}

.features-hero .hero-description-en {
    font-size: 0.95rem;
    opacity: 0.8;
    margin-top: 10px;
}

/* Main Features Section */
.features-main {
    padding: 80px 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.features-grid-large {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.feature-card-large {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
}

.feature-card-large:hover {
    transform: translateY(-8px);
    border-color: #0891b2;
    box-shadow: 0 15px 40px rgba(8, 145, 178, 0.15);
}

.feature-card-large.highlight {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-color: #0891b2;
}

.feature-card-large .feature-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.feature-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin-bottom: 25px;
}

.feature-card-large h3 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.feature-card-large .feature-subtitle {
    font-size: 0.95rem;
    color: #0891b2;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card-large .feature-description {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 20px;
}

.feature-benefits {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-benefits li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: #475569;
    border-bottom: 1px solid #f1f5f9;
}

.feature-benefits li:last-child {
    border-bottom: none;
}

.feature-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

/* Skills Section */
.skills-section {
    padding: 40px 30px 80px;
    background: #f8fafc;
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    max-width: 1400px;
    margin: 50px auto 0;
}

.skill-card {
    background: white;
    border-radius: 16px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.skill-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.skill-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
}

.skill-icon.listening { background: linear-gradient(135deg, #8b5cf6, #7c3aed); }
.skill-icon.speaking { background: linear-gradient(135deg, #ec4899, #db2777); }
.skill-icon.reading { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.skill-icon.writing { background: linear-gradient(135deg, #10b981, #059669); }
.skill-icon.grammar { background: linear-gradient(135deg, #f59e0b, #d97706); }
.skill-icon.vocabulary { background: linear-gradient(135deg, #6366f1, #4f46e5); }

.skill-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.skill-card > p {
    font-size: 0.85rem;
    color: #0891b2;
    margin-bottom: 15px;
}

.skill-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.skill-card ul li {
    font-size: 0.8rem;
    color: #64748b;
    padding: 5px 0;
    padding-left: 15px;
    position: relative;
}

.skill-card ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: #0891b2;
}

/* Comparison Table */
.comparison-section {
    padding: 80px 30px;
}

.comparison-table-wrapper {
    max-width: 1000px;
    margin: 50px auto 0;
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.comparison-table th,
.comparison-table td {
    padding: 18px 20px;
    text-align: center;
    border-bottom: 1px solid #f1f5f9;
}

.comparison-table th {
    background: #1a1a1a;
    color: white;
    font-weight: 700;
    font-size: 0.95rem;
}

.comparison-table th.fentalk-column {
    background: linear-gradient(135deg, #0891b2, #0e7490);
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: #1a1a1a;
}

.comparison-table td.fentalk-column {
    background: #ecfeff;
}

.comparison-table tr:hover td {
    background: #f8fafc;
}

.comparison-table tr:hover td.fentalk-column {
    background: #cffafe;
}

.check-yes {
    color: #10b981;
    font-weight: 700;
}

.check-no {
    color: #ef4444;
}

.check-partial {
    color: #f59e0b;
}

/* Testimonials */
.testimonials-section {
    padding: 60px 40px;
    background: linear-gradient(135deg, #0891b2, #0e7490);
    max-width: 1200px;
    margin: 0 auto 60px;
    border-radius: 24px;
    box-shadow: 0 15px 50px rgba(8, 145, 178, 0.3);
}

.testimonials-section .section-header h2,
.testimonials-section .section-header p {
    color: white;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 50px auto 0;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.testimonial-text {
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.author-name {
    font-weight: 700;
    color: #1a1a1a;
}

.author-location {
    font-size: 0.85rem;
    color: #64748b;
}

/* Features CTA */
.features-cta {
    padding: 40px 30px 80px;
    text-align: center;
    background: #f8fafc;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.features-cta h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.features-cta > .cta-content > p:first-of-type + p {
    color: #0891b2;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.cta-description {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
}

.features-cta .cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.features-cta .btn-cta {
    padding: 15px 35px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.features-cta .btn-cta.primary {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
}

.features-cta .btn-cta.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(8, 145, 178, 0.3);
}

.features-cta .btn-cta.secondary {
    background: white;
    color: #0891b2;
    border: 2px solid #0891b2;
}

.features-cta .btn-cta.secondary:hover {
    background: #ecfeff;
}

/* Features Page Responsive */
@media (max-width: 1200px) {
    .features-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .skills-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 992px) {
    .features-hero h1 {
        font-size: 2.2rem;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .features-page-wrapper {
        padding-top: 80px;
    }
    
    .features-hero {
        padding: 50px 20px;
    }
    
    .features-hero h1 {
        font-size: 1.8rem;
    }
    
    .features-hero .subtitle {
        font-size: 1.1rem;
    }
    
    .features-grid-large {
        grid-template-columns: 1fr;
    }
    
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .comparison-table th,
    .comparison-table td {
        padding: 12px 10px;
        font-size: 0.85rem;
    }
    
    .features-cta h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .skills-grid {
        grid-template-columns: 1fr;
    }
    
    .features-cta .cta-buttons {
        flex-direction: column;
    }
    
    .features-cta .btn-cta {
        width: 100%;
        text-align: center;
    }
}

/* ===== CHECKOUT PAGE (checkout.php) ===== */
.checkout-wrapper {
    padding-top: 120px;
    padding-bottom: 60px;
    background: #f8fafc;
    min-height: 100vh;
}

.checkout-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
}

/* Order Summary */
.checkout-summary {
    position: sticky;
    top: 120px;
    height: fit-content;
}

.checkout-summary h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.checkout-summary h2 span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    display: block;
    margin-top: 5px;
}

.summary-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    position: relative;
    border: 2px solid #e2e8f0;
}

.summary-card.popular {
    border-color: #0891b2;
}

.summary-card.vip {
    border-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
}

.summary-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
}

.summary-badge.popular {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
}

.summary-badge.vip {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
}

.summary-card h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 5px;
}

.summary-name-en {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 20px;
}

.summary-price {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.price-cny {
    font-size: 2.5rem;
    font-weight: 900;
    color: #0891b2;
}

.summary-card.vip .price-cny {
    color: #f59e0b;
}

.price-eur {
    font-size: 1rem;
    color: #64748b;
}

.summary-hours {
    font-size: 1rem;
    color: #475569;
    padding: 10px 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 20px;
}

.summary-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.summary-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: #475569;
}

.summary-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: bold;
}

.change-plan-link {
    display: inline-block;
    margin-top: 20px;
    color: #0891b2;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.change-plan-link:hover {
    color: #0e7490;
}

/* Payment Section */
.checkout-payment {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.checkout-payment h2 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 25px;
}

.checkout-payment h2 span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 10px;
}

.user-info-box {
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 12px;
    padding: 15px 20px;
    margin-bottom: 25px;
}

.user-info-box p {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #0c4a6e;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.payment-method {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.payment-method:hover {
    border-color: #0891b2;
}

.payment-method.active {
    border-color: #0891b2;
    background: #ecfeff;
}

.method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* QR Code Section */
.qr-code-section {
    text-align: center;
}

.qr-code-section h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
}

.qr-code-section h3 span {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
    margin-left: 8px;
}

.qr-code-box {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 16px;
    padding: 30px;
    display: inline-block;
    margin-bottom: 20px;
}

.qr-placeholder {
    background: white;
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.qr-amount {
    margin-top: 15px;
    font-size: 1.1rem;
    color: #1a1a1a;
}

.qr-amount strong {
    color: #0891b2;
    font-size: 1.3rem;
}

.payment-instructions {
    text-align: left;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    padding: 20px 25px;
    margin: 25px 0;
}

.payment-instructions h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #166534;
    margin-bottom: 12px;
}

.payment-instructions ol {
    margin: 0;
    padding-left: 20px;
}

.payment-instructions li {
    padding: 6px 0;
    color: #15803d;
    font-size: 0.9rem;
}

.payment-confirm {
    margin-top: 30px;
    padding-top: 25px;
    border-top: 1px solid #e2e8f0;
}

.payment-confirm p {
    font-size: 0.95rem;
    color: #475569;
    margin-bottom: 5px;
}

.payment-confirm p.en {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

.confirm-payment-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
    padding: 18px 50px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 5px 20px rgba(16, 185, 129, 0.3);
}

.confirm-payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Login Required Section */
.login-required-section {
    text-align: center;
}

.login-required-section h2 {
    margin-bottom: 15px;
}

.login-message {
    font-size: 1.1rem;
    color: #475569;
    margin-bottom: 35px;
    line-height: 1.8;
}

.login-message .en {
    font-size: 0.95rem;
    color: #94a3b8;
}

.auth-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.auth-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 25px 40px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s;
}

.auth-btn svg {
    margin-bottom: 5px;
}

.auth-btn span {
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.8;
}

.auth-btn.login-btn {
    background: linear-gradient(135deg, #0891b2, #0e7490);
    color: white;
    box-shadow: 0 5px 20px rgba(8, 145, 178, 0.3);
}

.auth-btn.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(8, 145, 178, 0.4);
}

.auth-btn.register-btn {
    background: white;
    color: #0891b2;
    border: 2px solid #0891b2;
}

.auth-btn.register-btn:hover {
    background: #ecfeff;
    transform: translateY(-3px);
}

.benefits-reminder {
    background: #f0f9ff;
    border-radius: 16px;
    padding: 25px 30px;
    text-align: left;
}

.benefits-reminder h4 {
    font-size: 1rem;
    font-weight: 700;
    color: #0c4a6e;
    margin-bottom: 15px;
}

.benefits-reminder ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.benefits-reminder li {
    padding: 6px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
    color: #0369a1;
}

.benefits-reminder li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #0891b2;
    font-weight: bold;
}

/* Checkout Responsive */
@media (max-width: 992px) {
    .checkout-container {
        grid-template-columns: 1fr;
    }
    
    .checkout-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .checkout-wrapper {
        padding-top: 100px;
    }
    
    .checkout-payment {
        padding: 25px;
    }
    
    .auth-buttons {
        flex-direction: column;
    }
    
    .auth-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .checkout-container {
        padding: 0 15px;
    }
    
    .summary-card {
        padding: 20px;
    }
    
    .price-cny {
        font-size: 2rem;
    }
}
/* ===== CONTACT PAGE ===== */
.contact-page {
    margin-top: 100px;
    min-height: calc(100vh - 180px);
    padding: 60px 30px;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-header h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #0891b2;
    margin-bottom: 8px;
}

.contact-header .subtitle {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 20px;
}

.contact-header .description {
    font-size: 1.1rem;
    color: #475569;
    line-height: 1.8;
}

.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.contact-card {
    background: white;
    border-radius: 16px;
    padding: 30px 25px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(8, 145, 178, 0.15);
    border-color: #bae6fd;
}

.contact-card.featured {
    background: linear-gradient(135deg, #ecfeff 0%, #f0f9ff 100%);
    border-color: #0891b2;
    border-width: 2px;
}

.contact-card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.contact-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.contact-card p {
    font-size: 1rem;
    color: #0891b2;
    margin-bottom: 8px;
}

.contact-card p a {
    color: #0891b2;
    text-decoration: none;
}

.contact-card p a:hover {
    text-decoration: underline;
}

.contact-id {
    font-size: 1.2rem !important;
    font-weight: 700;
}

.contact-card-note {
    font-size: 0.85rem;
    color: #94a3b8;
}

.contact-card .qr-code {
    width: 120px;
    height: 120px;
    margin-top: 15px;
    border-radius: 8px;
}

.contact-note-box {
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 16px;
    padding: 25px 30px;
    text-align: center;
}

.contact-note-box h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: #92400e;
    margin-bottom: 10px;
}

.contact-note-box p {
    font-size: 1rem;
    color: #78350f;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-header h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .contact-page {
        padding: 40px 20px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-header h1 {
        font-size: 1.8rem;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
}

/* Spanish flag icon */
.flag-icon.flag-es {
    background: linear-gradient(180deg, #c60b1e 0%, #c60b1e 25%, #ffc400 25%, #ffc400 75%, #c60b1e 75%, #c60b1e 100%);
    position: relative;
}

/* ===== NAV AUTH BUTTONS ===== */
.nav-auth {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}

.nav-cta.login,
.nav-cta.register {
    padding: 12px 18px;
    min-height: 60px;
    white-space: nowrap;
}

.nav-cta.login {
    background: #e0f2fe;
    color: #0891b2;
    border: 2px solid #bae6fd;
}

.nav-cta.login:hover {
    background: #bae6fd;
    border-color: #0891b2;
}

.nav-cta.register {
    background: linear-gradient(135deg, #0891b2 0%, #0284c7 100%);
    color: white;
    border: 2px solid transparent;
}

.nav-cta.register .chinese-text,
.nav-cta.register .finnish-text {
    color: white !important;
}

.nav-cta.register:hover {
    background: linear-gradient(135deg, #0e7490 0%, #0369a1 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(8, 145, 178, 0.4);
}

@media (max-width: 768px) {
    .nav-auth {
        flex-direction: row;
        gap: 8px;
    }
    
    .nav-cta.login,
    .nav-cta.register {
        padding: 8px 12px;
        font-size: 0.85rem;
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .nav-auth {
        gap: 5px;
    }
    
    .nav-cta.login,
    .nav-cta.register {
        padding: 6px 10px;
        font-size: 0.8rem;
    }
}

/* ===== KURSSIT PAGE TITLE - CLEAN VERSION ===== */
.kurssit-content .page-title {
    text-align: center;
    margin-bottom: 40px;
}

.kurssit-content .page-title .tagline {
    font-size: 0.95rem;
    color: #0891b2;
    font-weight: 500;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.kurssit-content .page-title h1 {
    font-size: 2.8rem;
    font-weight: 900;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.kurssit-content .page-title .subtitle-en {
    font-size: 1.2rem;
    color: #64748b;
    font-weight: 400;
}

@media (max-width: 768px) {
    .kurssit-content .page-title h1 {
        font-size: 2rem;
    }
    
    .kurssit-content .page-title .subtitle-en {
        font-size: 1rem;
    }
    
    .kurssit-content .page-title .tagline {
        font-size: 0.85rem;
    }
}