* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6B4E71;
    --secondary-color: #C89F9C;
    --accent-color: #E8B4B8;
    --text-dark: #2C2C2C;
    --text-light: #666;
    --bg-light: #F8F6F7;
    --bg-white: #FFFFFF;
    --gradient-1: linear-gradient(135deg, #6B4E71 0%, #C89F9C 100%);
    --gradient-2: linear-gradient(135deg, #E8B4B8 0%, #F8F6F7 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.15);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 700;
}

/* Language Switcher */
.lang-switcher {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 25px;
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.lang-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 4px 12px;
    border-radius: 15px;
    transition: all 0.3s ease;
}

.lang-link:hover {
    background: var(--bg-light);
}

.lang-link.active {
    background: var(--gradient-1);
    color: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-1);
    background-image: url('mandala-background.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-attachment: fixed;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.hero::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: movePattern 20s linear infinite;
    opacity: 0.3;
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

@keyframes movePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.hero .container {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 2rem;
}

.hero-text-wrapper {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(1rem, 4vw, 1.8rem);
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
    line-height: 1.2;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out 0.3s both;
    line-height: 1.4;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
}

.hero-text-bg {
    background: rgba(0, 0, 0, 0.05);
    padding: 0.3rem 0.5rem;
    border-radius: 5px;
    display: inline-block;
}

html[lang="en"] .hero-title {
    font-size: clamp(1rem, 4vw, 1.8rem);
    font-weight: 400;
    opacity: 0.8;
    margin-bottom: 0.5rem;
}

html[lang="en"] .hero-subtitle {
    font-size: clamp(2.2rem, 7vw, 3.5rem);
    font-weight: 600;
    margin-bottom: 1.5rem;
}


.hero-description {
    font-size: clamp(0.95rem, 3vw, 1.2rem);
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.5s both;
    line-height: 1.6;
}

.hero-mandala {
    margin: 2rem 0;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.mandala-circle {
    width: clamp(120px, 25vw, 200px);
    height: clamp(120px, 25vw, 200px);
    margin: 0 auto;
    border: 3px solid rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    position: relative;
    animation: rotate 20s linear infinite;
}

.mandala-circle::before,
.mandala-circle::after {
    content: '';
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mandala-circle::before {
    width: 75%;
    height: 75%;
}

.mandala-circle::after {
    width: 50%;
    height: 50%;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.btn-primary {
    display: inline-block;
    padding: 16px 32px;
    background: white;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: clamp(0.9rem, 2.5vw, 1.1rem);
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

/* Mandalas Types Section */
.mandalas-types {
    padding: 60px 0;
    background: var(--bg-light);
}

.mandalas-types h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.type-card {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.type-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.type-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.type-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.type-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Course Structure Section */
.course-structure {
    padding: 60px 0;
    background: white;
}

.course-structure h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.modules {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.module {
    background: var(--bg-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border-left: 4px solid var(--secondary-color);
}

.module:hover {
    box-shadow: var(--shadow-md);
    transform: translateX(5px);
}

.module-header {
    padding: 1.5rem;
    background: white;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.module-number {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.module-header h3 {
    font-size: clamp(1.1rem, 3vw, 1.4rem);
    color: var(--primary-color);
    font-weight: 700;
    line-height: 1.3;
}

.module-content {
    padding: 1.5rem;
}

.module-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Benefits Section */
.benefits {
    padding: 60px 0;
    background: var(--gradient-2);
}

.benefits h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.benefit-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.benefit-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* About Teacher Section */
.about-teacher {
    padding: 60px 0;
    background: white;
}

.about-teacher h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.teacher-info {
    max-width: 800px;
    margin: 0 auto;
}

.teacher-role {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    text-align: center;
    color: var(--text-light);
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.teacher-name {
    font-size: clamp(1.5rem, 4vw, 2rem);
    text-align: center;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 2rem;
}

.teacher-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-light);
    border-radius: 12px;
}

.stat-number {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    white-space: nowrap;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
}

.teacher-achievements {
    background: var(--bg-light);
    padding: 2rem;
    border-radius: 12px;
    margin-top: 2rem;
}

.teacher-achievements p {
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.teacher-achievements p:last-child {
    margin-bottom: 0;
}

/* Training Format Section */
.training-format {
    padding: 60px 0;
    background: var(--bg-light);
}

.training-format h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.format-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.format-item {
    background: white;
    padding: 2rem 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    text-align: center;
}

.format-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.format-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.format-item h3 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-color);
    font-weight: 700;
}

.format-item p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Packages Section */
.packages {
    padding: 60px 0;
    background: white;
}

.packages h2 {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    font-weight: 700;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.package-card {
    background: white;
    border: 2px solid var(--bg-light);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.package-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--secondary-color);
}

.package-card.vip {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, #fff 0%, #F8F6F7 100%);
}

.vip-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--gradient-1);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.package-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--bg-light);
}

.package-header h3 {
    font-size: clamp(1.3rem, 3vw, 1.6rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.package-subtitle {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.package-price {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
}

.old-price {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.new-price {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    color: var(--primary-color);
    font-weight: 700;
}

.package-features {
    list-style: none;
    flex-grow: 1;
    margin-bottom: 2rem;
}

.package-features li {
    padding: 0.8rem 0;
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.6;
    border-bottom: 1px solid var(--bg-light);
}

.package-features li:last-child {
    border-bottom: none;
}

.btn-package {
    display: block;
    text-align: center;
    padding: 16px 32px;
    background: var(--gradient-1);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    margin-top: auto;
}

.btn-package:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.vip-btn {
    background: var(--primary-color);
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-info {
    text-align: center;
    width: 100%;
}

.footer-info p {
    margin-bottom: 0.5rem;
    opacity: 0.9;
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-links a {
    color: white;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.3s ease;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 1;
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-bottom p {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .lang-switcher {
        top: 10px;
        right: 10px;
        padding: 6px 10px;
        font-size: 0.85rem;
    }

    .lang-link {
        padding: 3px 10px;
        font-size: 0.85rem;
    }

    .hero {
        min-height: 90vh;
        padding: 40px 0;
        background-attachment: scroll;
        background-size: cover;
        background-position: center top;
    }

    .hero .container {
        padding: 1.5rem;
    }

    .hero-title {
        margin-bottom: 0.8rem;
    }

    .hero-subtitle {
        margin-bottom: 0.8rem;
    }

    .hero-description {
        margin-bottom: 1.5rem;
    }

    .hero-mandala {
        margin: 1.5rem 0;
    }

    .mandalas-types,
    .course-structure,
    .benefits,
    .about-teacher,
    .training-format,
    .packages {
        padding: 40px 0;
    }

    .types-grid,
    .benefits-grid,
    .format-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .modules {
        gap: 1rem;
    }

    .module-header,
    .module-content {
        padding: 1.2rem;
    }

    .teacher-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .stat-item {
        padding: 1.2rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .package-card {
        padding: 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 85vh;
        padding: 30px 0;
    }

    .hero .container {
        padding: 1rem;
    }

    .btn-primary {
        padding: 14px 28px;
        font-size: 0.9rem;
    }

    .type-card,
    .benefit-item,
    .format-item {
        padding: 1.5rem 1.2rem;
    }

    .teacher-stats {
        grid-template-columns: 1fr;
    }

    .package-card {
        padding: 1.2rem;
    }

    .package-features li {
        font-size: 0.9rem;
        padding: 0.6rem 0;
    }
}

/* Touch improvements for mobile */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-package {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .type-card,
    .benefit-item,
    .format-item,
    .module {
        transition: none;
    }

    .type-card:active,
    .benefit-item:active,
    .format-item:active {
        transform: scale(0.98);
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print styles */
@media print {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }

    .btn-primary,
    .btn-package {
        display: none;
    }
}
