/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: calc(0.9rem + 0.1vw);
    scroll-behavior: smooth;
}
* {
box-sizing: border-box;
}

img {
max-width: 100%;
height: auto;
}

html, body {
overflow-x: hidden;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #0a0a0f;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    font-size: 1rem;
}

/* Animated Background */
.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 119, 198, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(120, 219, 255, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #16213e 100%);
    z-index: -2;
}

.stars-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, white, transparent),
        radial-gradient(2px 2px at 40px 70px, white, transparent),
        radial-gradient(1px 1px at 50px 50px, white, transparent),
        radial-gradient(1px 1px at 80px 10px, white, transparent),
        radial-gradient(2px 2px at 130px 80px, white, transparent);
    background-size: 200px 200px;
    animation: stars 120s linear infinite;
    opacity: 0.3;
}

@keyframes stars {
    from { transform: translateX(0); }
    to { transform: translateX(-200px); }
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: rgba(10, 10, 15, 0.5);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: rgba(120, 119, 198, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 64px);
    max-width: 1200px;
    z-index: 1001;
    transition: all 0.3s ease;
}

.nav.scrolled {
    padding: 8px 24px;
    background: rgba(120, 119, 198, 0.2);
    backdrop-filter: blur(25px);
    top: 10px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav__logo:hover {
    transform: scale(1.05);
    color: #a8a7ff;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #a8a7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(120, 119, 198, 0.3);
    transition: all 0.3s ease;
}

.nav__logo:hover .logo-icon {
    transform: rotate(360deg);
    box-shadow: 0 6px 20px rgba(120, 119, 198, 0.4);
}

.nav__menu {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav__link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.nav__link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.nav__link.active {
    color: #ffffff;
    background: rgba(120, 119, 198, 0.3);
}

/* Mobile Menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(17, 17, 35, 0.98);
    backdrop-filter: blur(25px);
    z-index: 1000;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
    right: 0;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 1001;
}

.mobile-menu-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.mobile-menu-btn span {
    width: 22px;
    height: 2px;
    background: #ffffff;
    margin: 3px 0;
    transition: all 0.3s ease;
    transform-origin: center;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

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

/* Dropdown Menu Container */
.mobile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 300px;
    max-height: 0;
    background: rgba(17, 17, 35, 0.98);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.mobile-dropdown.active {
    max-height: 400px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.mobile-dropdown-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.mobile-dropdown-header .logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #a8a7ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    margin: 0 auto 10px;
}

.mobile-dropdown-header span {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.mobile-dropdown-content {
    padding: 10px 0;
}

.mobile-dropdown-link {
    display: block;
    padding: 15px 25px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

.mobile-dropdown-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    padding-left: 35px;
}

.mobile-dropdown-link:last-child {
    border-bottom: none;
}

/* Scrollbar for dropdown */
.mobile-dropdown::-webkit-scrollbar {
    width: 6px;
}

.mobile-dropdown::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.mobile-dropdown::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7877c6, #a8a7ff);
    border-radius: 3px;
}

.mobile-dropdown::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #8584d0, #b8b8ff);
}

.nav__mobile {
    display: none;
    position: relative;
}

/* Desktop Navigation Enhancements */
@media (min-width: 1200px) {
    .nav {
        width: calc(100% - 80px);
        max-width: 1400px;
    }
    
    .nav__menu {
        gap: 12px;
    }
    
    .nav__link {
        font-size: 1rem;
        padding: 10px 20px;
    }
}

/* Large Desktop */
@media (min-width: 1400px) {
    .nav {
        max-width: 1600px;
    }
    
    .nav__menu {
        gap: 16px;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 12px 24px;
    }
}

/* Tablet Navigation */
@media (max-width: 1024px) {
    .nav {
        padding: 10px 24px;
        width: calc(100% - 48px);
    }
    
    .nav__logo {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .nav__menu {
        gap: 6px;
    }
    
    .nav__link {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav {
        padding: 8px 20px;
        width: calc(100% - 40px);
        top: 15px;
    }
    
    .nav.scrolled {
        top: 5px;
        padding: 6px 16px;
    }
    
    .nav__logo {
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .logo-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
    
    .nav__mobile {
        display: block;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .mobile-dropdown {
        position: fixed;
        top: 70px;
        right: 20px;
        width: calc(100% - 40px);
        max-width: 350px;
    }
    
    .mobile-dropdown.active {
        max-height: 60vh;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav__link:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateX(5px);
    }
    
    .nav__link.active {
        background: rgba(120, 119, 198, 0.3);
        color: #ffffff;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .nav {
        padding: 6px 16px;
        width: calc(100% - 32px);
        top: 10px;
    }
    
    .nav.scrolled {
        top: 5px;
        padding: 4px 12px;
    }
    
    .nav__logo {
        font-size: 1rem;
        gap: 4px;
    }
    
    .logo-icon {
        width: 25px;
        height: 25px;
        font-size: 0.8rem;
    }
    
    .mobile-menu-btn {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-btn span {
        width: 18px;
        height: 2px;
    }
    
    .mobile-dropdown {
        top: 60px;
        right: 16px;
        width: calc(100% - 32px);
        max-width: 320px;
    }
    
    .mobile-dropdown.active {
        max-height: 50vh;
    }
    
    .mobile-dropdown-header {
        padding: 15px;
    }
    
    .mobile-dropdown-header .logo-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .mobile-dropdown-header span {
        font-size: 1.1rem;
    }
    
    .nav__link {
        font-size: 1rem;
        padding: 12px 20px;
    }
}

/* Coming Soon Banner */
.coming-soon-banner {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.15), rgba(168, 167, 255, 0.15));
    border: 1px solid rgba(120, 119, 198, 0.25);
    border-radius: 8px;
    padding: 16px 20px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
    max-width: 100%;
    box-sizing: border-box;
}

.coming-soon-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
    animation: shimmer 4s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: 100%; }
}

.banner-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    animation: pulse 2.5s ease-in-out infinite;
}

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

.banner-content h4 {
    color: #a8a7ff;
    font-weight: 600;
    font-size: 1rem;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.banner-content p {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Level Panel Banner Specific */
.level-panel .coming-soon-banner {
    margin: 5px auto 20px auto;
    max-width: 600px;
}

/* Responsive for banners */
@media (max-width: 768px) {
    .coming-soon-banner {
        padding: 14px 18px;
        gap: 12px;
        margin: 16px 0;
    }
    
    .banner-icon {
        font-size: 1.5rem;
    }
    
    .banner-content h4 {
        font-size: 0.95rem;
    }
    
    .banner-content p {
        font-size: 0.8rem;
    }
    
    .level-panel .coming-soon-banner {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .coming-soon-banner {
        padding: 12px 16px;
        gap: 10px;
        margin: 12px 0;
        flex-direction: column;
        text-align: center;
    }
    
    .banner-icon {
        font-size: 1.3rem;
    }
    
    .banner-content h4 {
        font-size: 0.9rem;
    }
    
    .banner-content p {
        font-size: 0.75rem;
    }
}

/* Image Options Menu */
.image-options-menu {
    position: fixed;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 0;
    min-width: 200px;
    z-index: 10000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.2s ease;
}

.image-options-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 0.9rem;
}

.image-options-item:hover {
    background: rgba(255, 119, 198, 0.1);
    color: #ffffff;
}

.option-icon {
    font-size: 1.1rem;
    width: 20px;
    text-align: center;
}

/* Image Notification */
.image-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(120, 119, 198, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 12px 20px;
    color: #ffffff;
    font-size: 0.9rem;
    z-index: 10001;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Study Plan Section */
.study-plan {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.8) 0%, 
        rgba(20, 20, 30, 0.8) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.study-plan::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    opacity: 0.1;
}

.study-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
    position: relative;
    z-index: 1;
}

/* Level Navigation */
.level-nav {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow-x: auto;
}

.level-nav-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 180px;
    text-align: left;
}

.level-nav-btn:hover {
    background: rgba(255, 119, 198, 0.1);
    border-color: rgba(255, 119, 198, 0.3);
    color: #ffffff;
    transform: translateY(-2px);
}

.level-nav-btn.active {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.3), rgba(255, 119, 198, 0.3));
    border-color: rgba(255, 119, 198, 0.5);
    color: #ffffff;
    box-shadow: 0 5px 15px rgba(255, 119, 198, 0.2);
}

.level-nav-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.level-nav-text strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.level-nav-text small {
    font-size: 0.8rem;
    opacity: 0.8;
}

.level-content {
    position: relative;
}

.level-panel {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.level-panel.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Glossary Section */
.glossary {
    padding: 120px 0;
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.8) 0%, 
        rgba(20, 20, 30, 0.8) 100%);
    backdrop-filter: blur(10px);
    position: relative;
}

.glossary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.3"/></svg>');
    background-size: 50px 50px;
    opacity: 0.1;
}

.glossary-content {
    position: relative;
    z-index: 1;
}

.glossary-text {
    color: #ffffff;
    text-align: center;
    margin-bottom: 40px;
}

.glossary-text h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glossary-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin: 0 auto;
}

.glossary-intro {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-bottom: 40px;
}

.glossary-image {
    width: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.glossary-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.glossary-image:hover .glossary-img {
    transform: scale(1.05);
}

.sephirot-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
    max-width: 800px;
    margin: 0 auto;
}

.sephirot-content:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateY(-2px);
}

.sephirot-content h4 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #ff77c6;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sephirot-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: left;
    width: 100%;
}

.sephirot-text p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.3;
    font-size: 0.6rem;
    margin: 0;
    text-align: left;
}

.sephirot-text strong {
    color: #ff77c6;
    font-weight: 600;
}

.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.term-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.term-item:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateY(-2px);
}

.term-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff77c6;
    margin-bottom: 12px;
}

.term-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.term-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.term-image:hover {
    transform: scale(1.05);
}

.term-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.glossary-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.glossary-terms {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.term-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.term-item:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateY(-2px);
}

.term-item strong {
    display: block;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ff77c6;
    margin-bottom: 12px;
}

.term-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.term-image {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.term-image:hover {
    transform: scale(1.05);
}

.term-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
    font-size: 1rem;
    margin: 0;
    text-align: left;
}

.study-step {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.study-step:hover {
    border-color: rgba(255, 119, 198, 0.3);
    box-shadow: 0 10px 30px rgba(120, 119, 198, 0.2);
}

.step-header {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-header:hover {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.15), rgba(255, 119, 198, 0.15));
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-info {
    flex: 1;
}

.step-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.step-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.step-dropdown-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 20px;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-dropdown-btn:hover {
    background: rgba(255, 119, 198, 0.2);
    border-color: rgba(255, 119, 198, 0.4);
    transform: translateY(-2px);
}

.step-arrow {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.study-step.active .step-arrow {
    transform: rotate(180deg);
}

.step-content {
    display: none;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.study-step.active .step-content {
    display: block;
    max-height: 600px;
    opacity: 1;
}

.step-items {
    padding: 30px;
    display: grid;
    gap: 20px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 10px;
}

.step-items::-webkit-scrollbar {
    width: 8px;
}

.step-items::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.step-items::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 4px;
}

.step-items::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #ff77c6, #7877c6);
}

.step-item {
    display: flex;
    align-items: flex-start;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.step-item:hover {
    background: rgba(255, 119, 198, 0.05);
    border-color: rgba(255, 119, 198, 0.2);
    transform: translateX(5px);
}

.item-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-right: 15px;
    flex-shrink: 0;
}

.item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 8px;
}

.item-content p {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    font-size: 1rem;
}

.step-items-empty {
    padding: 60px 30px;
    text-align: center;
}

.step-items-empty p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
    font-style: italic;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 70px;
    position: relative;
    overflow-x: hidden;
}

.hero__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    justify-items: center;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
    line-height: 1.1;
}

.title-accent {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero__buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    width: 100%;
}

/* Buttons */
.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn--primary {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.3);
}

.btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(120, 119, 198, 0.4);
}

.btn--secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn--secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* Tarot Cards Animation */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.tarot-cards {
    display: flex;
    gap: 20px;
    position: relative;
    width: 100%;
    max-width: 100%;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.card {
    width: 120px;
    height: 200px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.6s;
    cursor: pointer;
    flex-shrink: 0;
}

.card-1 {
    transform: rotateY(0deg) translateZ(0);
    animation: float1 6s ease-in-out infinite;
}

.card-2 {
    transform: rotateY(0deg) translateZ(0);
    animation: float2 8s ease-in-out infinite;
}

.card-3 {
    transform: rotateY(0deg) translateZ(0);
    animation: float3 7s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-20px) rotateY(180deg); }
}

@keyframes float2 {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-15px) rotateY(180deg); }
}

@keyframes float3 {
    0%, 100% { transform: translateY(0px) rotateY(0deg); }
    50% { transform: translateY(-25px) rotateY(180deg); }
}

.card__front,
.card__back {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2), rgba(255, 119, 198, 0.2));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    backface-visibility: hidden;
    padding: 10px;
    box-sizing: border-box;
}

.card__symbol {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.card__name {
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
}

.card__back {
    transform: rotateY(180deg);
}

/* Scroll Indicator */
.hero__scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator {
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    position: relative;
}

.scroll-indicator::before {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: scroll 2s ease-in-out infinite;
}

@keyframes scroll {
    0% { top: 8px; opacity: 1; }
    50% { top: 20px; opacity: 0.5; }
    100% { top: 8px; opacity: 1; }
}

/* Section Styles */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.about__item {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.about__item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.about__icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

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

.about__item h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.about__item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

/* Programs Section */
.programs__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.program-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.program-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.2);
}

.program-card__header {
    padding: 30px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
    text-align: center;
}

.program-card__icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.program-card__header h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 8px;
}

.program-card__level {
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    color: white;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
}

.program-card__content {
    padding: 30px;
}

.program-card__content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.program-card__features {
    list-style: none;
    margin-bottom: 20px;
}

.program-card__features li {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.program-card__features li::before {
    content: '✨';
    position: absolute;
    left: 0;
    color: #7877c6;
}


/* Special Programs */
.special-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.special-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.special-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.special-card__image {
    height: 200px;
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.2), rgba(255, 119, 198, 0.2));
    position: relative;
    overflow: hidden;
}

.special-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
}

.special-card__icon {
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.special-card__content {
    padding: 30px;
}

.special-card__content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.special-card__content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.special-card__tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.special-card__tags span {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.special-card__tags span.arcan-tag {
    background: linear-gradient(135deg, #ff77c6, #7877c6);
    color: #ffffff;
    padding: 5px 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(255, 119, 198, 0.3);
    border: 1px solid rgba(255, 119, 198, 0.4);
}

.special-card__tags span.arcan-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 119, 198, 0.4);
}

/* Process Section */
.process__timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.process__step {
    position: relative;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.process__step:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.process__number {
    position: absolute;
    top: -20px;
    left: 30px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7877c6, #ff77c6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.process__content h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.process__content p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
    line-height: 1.6;
}

.process__link {
    color: #7877c6;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.process__link:hover {
    color: #ff77c6;
}

/* Contact Section */
.contact {
    background: linear-gradient(135deg, rgba(120, 119, 198, 0.1), rgba(255, 119, 198, 0.1));
}

.contact__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact__text {
    padding: 40px;
}

.contact__info {
    margin-top: 30px;
}

.contact__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
}

.contact__icon {
    font-size: 1.5rem;
}

.contact__item strong {
    color: #ffffff;
    margin-right: 8px;
}

.contact__item a {
    color: #7877c6;
    text-decoration: none;
    font-weight: 600;
}

.contact__item a:hover {
    color: #ff77c6;
}

/* Mystical Orb */
.contact__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mystical-orb {
    width: 200px;
    height: 200px;
    position: relative;
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.orb-inner {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(120, 119, 198, 0.8), rgba(255, 119, 198, 0.4));
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(120, 119, 198, 0.5);
}

.orb-particles {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background: radial-gradient(circle, transparent 30%, rgba(255, 255, 255, 0.1) 70%, transparent 100%);
    border-radius: 50%;
    animation: pulse 3s ease-in-out infinite;
}

/* Footer */
.footer {
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 0;
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer__logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

.footer__text {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
}

.footer__social {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        padding: 0 24px;
    }
    
    .header {
        padding: 12px 0;
    }
    
    .nav {
        padding: 8px 24px;
    }
    
    .nav__logo {
        font-size: 1.2rem;
        gap: 8px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 0.9rem;
    }
    
    .study-plan {
        padding: 100px 0;
    }
    
    .level-nav {
        gap: 15px;
        padding: 15px;
        margin-bottom: 30px;
    }
    
    .level-nav-btn {
        padding: 12px 15px;
        min-width: 150px;
    }
    
    .level-nav-icon {
        font-size: 1.3rem;
    }
    
    .level-nav-text strong {
        font-size: 0.9rem;
    }
    
    .level-nav-text small {
        font-size: 0.75rem;
    }
    
    .glossary {
        padding: 100px 0;
    }
    
    .glossary-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .glossary-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .sephirot-content {
        padding: 25px;
        max-width: 700px;
    }
    
    .sephirot-content h4 {
        font-size: 1.6rem;
    }
    
    .sephirot-text {
        gap: 12px;
    }
    
    .sephirot-text p {
        font-size: 0.95rem;
    }
    
    .glossary-terms {
        gap: 15px;
    }
    
    .glossary-text {
        margin-bottom: 30px;
    }
    
    .glossary-text h3 {
        font-size: 1.8rem;
    }
    
    .glossary-text p {
        font-size: 0.8rem;
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
    }
    
    .glossary-intro {
        gap: 30px;
        text-align: center;
    }
    
    .glossary-image {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }
    
    .glossary-terms {
        gap: 15px;
        margin-top: 25px;
    }
    
    .term-item {
        padding: 15px;
    }
    
    .term-item strong {
        font-size: 1rem;
    }
    
    .term-content {
        gap: 8px;
    }
    
    .term-image {
        max-width: 180px;
    }
    
    .term-item p {
        font-size: 0.8rem;
    }
    
    .glossary-content {
        padding: 20px 0;
    }
    
    .step-header {
        padding: 20px 25px;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
        margin-right: 15px;
    }
    
    .step-info h3 {
        font-size: 1.3rem;
    }
    
    .step-info p {
        font-size: 0.9rem;
    }
    
    .step-dropdown-btn {
        padding: 8px 16px;
        font-size: 0.85rem;
    }
    
    .step-items {
        padding: 25px;
        gap: 15px;
        max-height: 400px;
        overflow-y: auto;
        padding-right: 8px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 6px;
    }
    
    .step-item {
        padding: 15px;
    }
    
    .item-number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
        margin-right: 12px;
    }
    
    .item-content h4 {
        font-size: 1rem;
    }
    
    .item-content p {
        font-size: 0.85rem;
    }
    
    .hero__content {
        gap: 60px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: calc(0.8rem + 0.15vw);
    }
    
    .header {
        padding: 10px 0;
        background: rgba(10, 10, 15, 0.4);
        backdrop-filter: blur(6px);
    }
    
    .container {
        padding: 0 16px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
        padding: 0 16px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 10px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 15px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 90px;
        height: 150px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 1.2rem;
    }
    
    .card__name {
        font-size: 0.5rem;
    }
    
    .nav {
        padding: 6px 20px;
    }
    
    .nav__logo {
        font-size: 1.1rem;
        gap: 6px;
    }
    
    .logo-icon {
        width: 24px;
        height: 24px;
        font-size: 0.8rem;
    }
    
    .study-plan {
        padding: 80px 0;
    }
    
    .level-nav {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin-bottom: 25px;
    }
    
    .level-nav-btn {
        padding: 10px 15px;
        min-width: auto;
        width: 100%;
    }
    
    .level-nav-icon {
        font-size: 1.2rem;
    }
    
    .level-nav-text strong {
        font-size: 0.85rem;
    }
    
    .level-nav-text small {
        font-size: 0.7rem;
    }
    
    .glossary {
        padding: 80px 0;
    }
    
    .glossary-intro {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .glossary-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .glossary-text h3 {
        font-size: 1.6rem;
    }
    
    .glossary-text p {
        font-size: 0.95rem;
    }
    
    .glossary-features {
        justify-content: center;
        gap: 15px;
    }
    
    .glossary-feature {
        padding: 10px 15px;
    }
    
    .glossary-content {
        padding: 30px 0;
    }
    
    .step-header {
        padding: 15px 20px;
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .step-number {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
        margin-right: 0;
    }
    
    .step-info h3 {
        font-size: 1.2rem;
    }
    
    .step-info p {
        font-size: 0.85rem;
    }
    
    .step-dropdown-btn {
        padding: 6px 14px;
        font-size: 0.8rem;
    }
    
    .step-items {
        padding: 20px;
        gap: 12px;
        max-height: 350px;
        overflow-y: auto;
        padding-right: 6px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 5px;
    }
    
    .step-item {
        padding: 12px;
        flex-direction: column;
        text-align: center;
    }
    
    .item-number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .item-content h4 {
        font-size: 0.95rem;
    }
    
    .item-content p {
        font-size: 0.8rem;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .nav__menu {
        display: none;
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(10, 10, 15, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: flex-start;
        padding: 80px 30px 30px;
        gap: 30px;
        transition: right 0.3s ease;
        z-index: 1000;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.3);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav__menu.active {
        right: 0;
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .mobile-menu-overlay {
        display: block;
    }
    
    .nav__link {
        font-size: 1.1rem;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero__buttons {
        justify-content: center;
        align-items: center;
        gap: 16px;
        width: 100%;
    }
    
    .tarot-cards {
        transform: scale(0.8);
    }
    
    .about__grid,
    .programs__grid,
    .special-grid,
    .process__timeline {
        grid-template-columns: 1fr;
    }
    
    .contact__content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer__content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .hero__title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .tarot-cards {
        transform: scale(0.8);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card__header {
        padding: 24px;
    }
    
    .program-card__content {
        padding: 24px;
    }
    
    .program-card__icon {
        font-size: 2rem;
    }
    
    .program-card__header h3 {
        font-size: 1.3rem;
    }
    
    .special-card {
        padding: 20px;
    }
    
    .process__step {
        padding: 20px;
    }
    
    .process__number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .programs__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .special-grid {
        grid-template-columns: 1fr;
    }
    
    .process__timeline {
        gap: 30px;
    }
    
    .contact__text {
        text-align: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    html {
        font-size: calc(0.75rem + 0.2vw);
    }
    
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 8px 0;
        background: rgba(10, 10, 15, 0.3);
        backdrop-filter: blur(4px);
    }
    
    .nav {
        padding: 4px 16px;
    }
    
    .nav__logo {
        font-size: 1rem;
        gap: 4px;
    }
    
    .logo-icon {
        width: 20px;
        height: 20px;
        font-size: 0.7rem;
    }
    
    .study-plan {
        padding: 60px 0;
    }
    
    .level-nav {
        flex-direction: column;
        gap: 8px;
        padding: 12px;
        margin-bottom: 20px;
    }
    
    .level-nav-btn {
        padding: 8px 12px;
        min-width: auto;
        width: 100%;
    }
    
    .level-nav-icon {
        font-size: 1.1rem;
    }
    
    .level-nav-text strong {
        font-size: 0.8rem;
    }
    
    .level-nav-text small {
        font-size: 0.65rem;
    }
    
    .glossary {
        padding: 80px 0;
    }
    
    .glossary-intro {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .glossary-image {
        flex: 0 0 auto;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }
    
    .glossary-text h3 {
        font-size: 1.4rem;
    }
    
    .glossary-text p {
        font-size: 0.9rem;
    }
    
    .sephirot-content {
        padding: 10px;
        max-width: 350px;
    }
    
    .sephirot-content h4 {
        font-size: 1rem;
    }
    
    .sephirot-text {
        gap: 5px;
    }
    
    .sephirot-text p {
        font-size: 0.7rem;
    }
    
    .glossary-terms {
        gap: 10px;
        margin-top: 20px;
    }
    
    .term-item {
        padding: 10px;
        max-width: 300px;
        margin: 0 auto;
    }
    
    .term-item strong {
        font-size: 0.95rem;
    }
    
    .term-content {
        gap: 10px;
    }
    
    .term-image {
        max-width: 200px;
    }
    
    .term-item p {
        font-size: 0.9rem;
    }
    
    .glossary-content {
        padding: 40px 0;
    }
    
    .glossary-text {
        margin-bottom: 20px;
    }
    
    .coming-soon {
        font-size: 1.1rem;
    }
    
    .step-header {
        padding: 12px 15px;
        flex-direction: column;
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        background: linear-gradient(135deg, #7877c6, #ff77c6);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        margin-right: 0;
    }
    
    .step-info h3 {
        font-size: 1.1rem;
    }
    
    .step-info p {
        font-size: 0.8rem;
    }
    
    .step-dropdown-btn {
        padding: 5px 12px;
        font-size: 0.75rem;
    }
    
    .step-items {
        padding: 15px;
        gap: 10px;
        max-height: 300px;
        overflow-y: auto;
        padding-right: 5px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 4px;
    }
    
    .step-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .item-number {
        width: 25px;
        height: 25px;
        font-size: 0.7rem;
        margin-right: 0;
        margin-bottom: 8px;
    }
    
    .item-content h4 {
        font-size: 0.9rem;
    }
    
    .item-content p {
        font-size: 0.75rem;
    }
    
    .hero {
        padding-top: 50px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero {
        padding: 80px 0 60px;
    }
    
    .hero__title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero__subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .section-subtitle {
        font-size: 0.95rem;
    }
    
    .hero__buttons {
        flex-direction: column;
        gap: 16px;
        width: 100%;
        justify-content: center;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        padding: 16px 24px;
        font-size: 1rem;
    }
    
    .tarot-cards {
        transform: scale(0.7);
    }
    
    .about__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .program-card__header {
        padding: 20px;
    }
    
    .program-card__content {
        padding: 20px;
    }
    
    .program-card__icon {
        font-size: 1.8rem;
    }
    
    .program-card__header h3 {
        font-size: 1.2rem;
    }
    
    .program-card__level {
        font-size: 0.75rem;
        padding: 4px 10px;
    }
    
    .special-card {
        padding: 16px;
    }
    
    .process__step {
        padding: 16px;
    }
    
    .process__number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .contact__text {
        text-align: center;
    }
    
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 16px;
        text-align: center;
    }
    
    .footer__logo {
        justify-content: center;
    }
    
    .footer__text {
        font-size: 0.8rem;
    }
}

/* Extra Small Mobile - 360px (iPhone SE, Galaxy S5) */
@media (max-width: 360px) {
    html {
        font-size: calc(0.7rem + 0.25vw);
    }
    
    .container {
        padding: 0 10px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
        padding: 0 10px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 3px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 8px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 60px;
        height: 100px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 0.9rem;
    }
    
    .card__name {
        font-size: 0.4rem;
    }
    
    .nav {
        padding: 4px 12px;
    }
    
    .nav__logo {
        font-size: 0.9rem;
        gap: 3px;
    }
    
    .logo-icon {
        width: 18px;
        height: 18px;
        font-size: 0.65rem;
    }
    
    .mobile-menu-btn {
        width: 35px;
        height: 35px;
    }
    
    .hero__title {
        font-size: 1.8rem;
        line-height: 1.3;
    }
    
    .hero__subtitle {
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.6rem;
    }
    
    .section-subtitle {
        font-size: 0.9rem;
    }
    
    .study-plan {
        padding: 50px 0;
    }
    
    .level-nav {
        padding: 10px;
        gap: 6px;
    }
    
    .level-nav-btn {
        padding: 6px 10px;
    }
    
    .level-nav-icon {
        font-size: 1rem;
    }
    
    .level-nav-text strong {
        font-size: 0.75rem;
    }
    
    .level-nav-text small {
        font-size: 0.6rem;
    }
    
    .coming-soon-banner {
        padding: 10px 12px;
        gap: 8px;
        margin: 10px 0;
    }
    
    .banner-icon {
        font-size: 1.1rem;
    }
    
    .banner-content h4 {
        font-size: 0.85rem;
    }
    
    .banner-content p {
        font-size: 0.7rem;
    }
    
    .step-header {
        padding: 10px 12px;
    }
    
    .step-number {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .step-info h3 {
        font-size: 1rem;
    }
    
    .step-info p {
        font-size: 0.75rem;
    }
    
    .step-dropdown-btn {
        padding: 4px 10px;
        font-size: 0.7rem;
    }
    
    .step-items {
        padding: 12px;
        gap: 8px;
        max-height: 250px;
    }
    
    .step-item {
        padding: 8px;
    }
    
    .item-number {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        margin-bottom: 6px;
    }
    
    .item-content h4 {
        font-size: 0.85rem;
    }
    
    .item-content p {
        font-size: 0.7rem;
    }
    
    .program-card__header {
        padding: 16px;
    }
    
    .program-card__content {
        padding: 16px;
    }
    
    .program-card__icon {
        font-size: 1.5rem;
    }
    
    .program-card__header h3 {
        font-size: 1.1rem;
    }
    
    .program-card__level {
        font-size: 0.7rem;
        padding: 3px 8px;
    }
    
    .glossary {
        padding: 60px 0;
    }
    
    .glossary-text h3 {
        font-size: 1.3rem;
    }
    
    .glossary-text p {
        font-size: 0.85rem;
    }
    
    .sephirot-content {
        padding: 12px;
    }
    
    .sephirot-content h4 {
        font-size: 1.1rem;
    }
    
    .sephirot-text p {
        font-size: 0.8rem;
    }
    
    .term-item {
        padding: 8px;
    }
    
    .term-item strong {
        font-size: 0.9rem;
    }
    
    .term-content p {
        font-size: 0.85rem;
    }
    
    .term-image {
        max-width: 150px;
    }
    
    .special-card {
        padding: 12px;
    }
    
    .special-card__content {
        padding: 16px;
    }
    
    .special-card__content h3 {
        font-size: 1.1rem;
    }
    
    .special-card__content p {
        font-size: 0.85rem;
    }
    
    .process__step {
        padding: 12px;
    }
    
    .process__number {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .process__content h3 {
        font-size: 1.1rem;
    }
    
    .process__content p {
        font-size: 0.85rem;
    }
    
    .contact__text {
        padding: 20px;
    }
    
    .contact__item {
        padding: 12px;
    }
    
    .footer__content {
        padding: 20px 12px;
    }
    
    .footer__text {
        font-size: 0.75rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .mystical-orb {
        width: 150px;
        height: 150px;
    }
}

/* Ultra Small Mobile - 480px and down */
@media (max-width: 480px) {
    html {
        font-size: calc(0.75rem + 0.2vw);
    }

    .container {
        padding: 0 12px;
        margin: 0 auto;
    }

    .hero__content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding: 0 12px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 5px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 10px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 70px;
        height: 120px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 1rem;
    }
    
    .card__name {
        font-size: 0.45rem;
    }

    .nav {
        padding: 2px 8px;
    }

    
    .nav__logo {
        font-size: 0.8rem;
        gap: 2px;
    }
    
    .logo-icon {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
    }
    
    .mobile-menu-btn {
        width: 30px;
        height: 30px;
    }
    
    .hero__title {
        font-size: 1.5rem;
        line-height: 1.3;
    }
    
    .hero__subtitle {
        font-size: 0.8rem;
    }
    
    .btn {
        padding: 12px 16px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        font-size: 0.85rem;
    }
    
    .study-plan {
        padding: 40px 0;
    }
    
    .level-nav {
        padding: 8px;
        gap: 4px;
    }
    
    .level-nav-btn {
        padding: 4px 6px;
    }
    
    .level-nav-icon {
        font-size: 0.8rem;
    }
    
    .level-nav-text strong {
        font-size: 0.65rem;
    }
    
    .level-nav-text small {
        font-size: 0.5rem;
    }
    
    .coming-soon-banner {
        padding: 8px 10px;
        gap: 6px;
        margin: 8px 0;
    }
    
    .banner-icon {
        font-size: 0.9rem;
    }
    
    .banner-content h4 {
        font-size: 0.75rem;
    }
    
    .banner-content p {
        font-size: 0.6rem;
    }
    
    .step-header {
        padding: 8px 10px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
        margin-right: 0;
    }
    
    .step-info h3 {
        font-size: 0.85rem;
    }
    
    .step-info p {
        font-size: 0.7rem;
    }
    
    .step-dropdown-btn {
        padding: 3px 8px;
        font-size: 0.65rem;
    }
    
    .step-items {
        padding: 10px;
        gap: 6px;
        max-height: 200px;
    }
    
    .step-items::-webkit-scrollbar {
        width: 3px;
    }
    
    .step-item {
        padding: 6px;
    }
    
    .item-number {
        width: 18px;
        height: 18px;
        font-size: 0.55rem;
        margin-right: 0;
        margin-bottom: 4px;
    }
    
    .item-content h4 {
        font-size: 0.75rem;
    }
    
    .item-content p {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    .program-card__header {
        padding: 12px;
    }
    
    .program-card__content {
        padding: 12px;
    }
    
    .program-card__icon {
        font-size: 1.2rem;
    }
    
    .program-card__header h3 {
        font-size: 1rem;
    }
    
    .program-card__level {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .glossary {
        padding: 40px 0;
    }
    
    .glossary-text h3 {
        font-size: 1.2rem;
    }
    
    .glossary-text p {
        font-size: 0.8rem;
    }
    
    .sephirot-content {
        padding: 8px;
        max-width: 280px;
    }
    
    .sephirot-content h4 {
        font-size: 0.9rem;
    }
    
    .sephirot-text {
        gap: 4px;
    }
    
    .sephirot-text p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .glossary-terms {
        gap: 6px;
        margin-top: 15px;
    }
    
    .term-item {
        padding: 6px;
        max-width: 250px;
    }
    
    .term-item strong {
        font-size: 0.8rem;
    }
    
    .term-content {
        gap: 6px;
    }
    
    .term-image {
        max-width: 100px;
    }
    
    .term-item p {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    .special-card {
        padding: 8px;
    }
    
    .special-card__content {
        padding: 10px;
    }
    
    .special-card__content h3 {
        font-size: 0.9rem;
    }
    
    .special-card__content p {
        font-size: 0.7rem;
    }
    
    .process__step {
        padding: 8px;
    }
    
    .process__number {
        width: 30px;
        height: 30px;
        font-size: 0.8rem;
    }
    
    .process__content h3 {
        font-size: 0.9rem;
    }
    
    .process__content p {
        font-size: 0.65rem;
        line-height: 1.3;
    }
    
    .contact__text {
        padding: 15px;
    }
    
    .contact__item {
        padding: 8px;
    }
    
    .footer__content {
        padding: 15px 8px;
    }
    
    .footer__text {
        font-size: 0.7rem;
    }
    
    .social-link {
        width: 30px;
        height: 30px;
    }
    
    .mystical-orb {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 320px) {
    html {
        font-size: calc(0.5rem + 0.45vw);
    }
    
    .container {
        padding: 0 8px;
        margin: 0 auto;
        max-width: 100%;
    }
    
    .hero__content {
        grid-template-columns: 1fr;
        gap: 20px;
        text-align: center;
        padding: 0 8px;
        width: 100%;
        justify-items: center;
    }
    
    .hero__text {
        width: 100%;
        max-width: 100%;
        text-align: center;
    }
    
    .hero__visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0 2px;
        display: flex;
        justify-content: center;
        margin: 0 auto;
    }
    
    .tarot-cards {
        gap: 6px;
        width: 100%;
        max-width: 100%;
        justify-content: center;
        align-items: center;
        margin: 0 auto;
    }
    
    .card {
        width: 50px;
        height: 85px;
        flex-shrink: 0;
    }
    
    .card__symbol {
        font-size: 0.8rem;
    }
    
    .card__name {
        font-size: 0.35rem;
    }
    
    .hero__title {
        font-size: 1.4rem;
    }
    
    .hero__subtitle {
        font-size: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 10px 12px;
        font-size: 0.8rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .level-nav-btn {
        padding: 4px 6px;
        font-size: 0.7rem;
    }
    
    .level-nav-icon {
        font-size: 0.9rem;
    }
    
    .level-nav-text strong {
        font-size: 0.6rem;
    }
    
    .level-nav-text small {
        font-size: 0.5rem;
    }
    
    .banner-icon {
        font-size: 1rem;
    }
    
    .banner-content h4 {
        font-size: 0.7rem;
    }
    
    .banner-content p {
        font-size: 0.6rem;
    }
    
    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.8rem;
    }
    
    .step-info h3 {
        font-size: 0.8rem;
    }
    
    .step-info p {
        font-size: 0.65rem;
    }
    
    .item-number {
        width: 18px;
        height: 18px;
        font-size: 0.5rem;
    }
    
    .item-content h4 {
        font-size: 0.7rem;
    }
    
    .item-content p {
        font-size: 0.6rem;
    }
    
    .program-card__icon {
        font-size: 1.3rem;
    }
    
    .program-card__header h3 {
        font-size: 1rem;
    }
    
    .term-image {
        max-width: 120px;
    }
    
    .mystical-orb {
        width: 120px;
        height: 120px;
    }
}

/* Large Tablets - 1024px to 1366px */
@media (min-width: 1024px) and (max-width: 1366px) {
    html {
        font-size: calc(0.85rem + 0.08vw);
    }
    
    .container {
        padding: 0 40px;
    }
    
    .hero__content {
        gap: 50px;
    }
    
    .tarot-cards {
        transform: scale(0.9);
    }
    
    .programs__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .special-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .process__timeline {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .about__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }
    
    .sephirot-content {
        max-width: 750px;
    }
    
    .glossary-text p {
        max-width: 700px;
    }
}

/* Extra Large Desktop - 1920px and up */
@media (min-width: 1920px) {
    html {
        font-size: calc(0.95rem + 0.05vw);
    }
    
    .container {
        max-width: 1400px;
        padding: 0 60px;
    }
    
    .hero__title {
        font-size: 4.5rem;
    }
    
    .hero__subtitle {
        font-size: 1.4rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
    
    .section-subtitle {
        font-size: 1.4rem;
    }
    
    .tarot-cards {
        transform: scale(1.2);
    }
    
    .card {
        width: 140px;
        height: 240px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }
    
    .special-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 40px;
    }
    
    .process__timeline {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    .about__grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 50px;
    }
    
    .contact__content {
        max-width: 1200px;
    }
    
    .mystical-orb {
        width: 250px;
        height: 250px;
    }
    
    .sephirot-content {
        max-width: 900px;
    }
    
    .glossary-text p {
        max-width: 800px;
    }
}

/* Ultra Wide Desktop - 2560px and up */
@media (min-width: 2560px) {
    html {
        font-size: calc(1rem + 0.02vw);
    }
    
    .container {
        max-width: 1600px;
        padding: 0 80px;
    }
    
    .hero__title {
        font-size: 5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .tarot-cards {
        transform: scale(1.4);
    }
    
    .card {
        width: 160px;
        height: 280px;
    }
    
    .programs__grid {
        grid-template-columns: repeat(5, 1fr);
        gap: 50px;
    }
    
    .sephirot-content {
        max-width: 1000px;
    }
    
    .glossary-text p {
        max-width: 900px;
    }
}

/* Landscape orientations for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 50px;
    }
    
    .hero__content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
    
    .hero__title {
        font-size: 2rem;
        margin-bottom: 16px;
    }
    
    .hero__subtitle {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .hero__buttons {
        flex-direction: row;
        gap: 12px;
    }
    
    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        width: auto;
    }
    
    .tarot-cards {
        transform: scale(0.6);
    }
    
    .study-plan {
        padding: 40px 0;
    }
    
    .level-nav {
        flex-direction: row;
        gap: 10px;
        padding: 10px;
    }
    
    .level-nav-btn {
        min-width: auto;
        width: auto;
        padding: 8px 12px;
    }
    
    .step-items {
        max-height: 200px;
    }
    
    .glossary {
        padding: 40px 0;
    }
    
    section {
        padding: 40px 0;
    }
    
    .sephirot-content {
        max-width: 600px;
    }
    
    .glossary-text p {
        max-width: 500px;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo-icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
    
    .card__front,
    .card__back {
        image-rendering: -webkit-optimize-contrast;
    }
    
    .glossary-img,
    .term-image {
        image-rendering: -webkit-optimize-contrast;
    }
}

/* Touch devices specific */
@media (hover: none) and (pointer: coarse) {
    .btn:hover,
    .level-nav-btn:hover,
    .program-card:hover,
    .special-card:hover,
    .about__item:hover,
    .process__step:hover,
    .step-item:hover,
    .term-item:hover,
    .social-link:hover {
        transform: none;
    }
    
    .btn:active,
    .level-nav-btn:active,
    .program-card:active,
    .special-card:active,
    .about__item:active,
    .process__step:active,
    .step-item:active,
    .term-item:active,
    .social-link:active {
        transform: scale(0.98);
        transition: transform 0.1s ease;
    }
    
    .mobile-dropdown {
        -webkit-overflow-scrolling: touch;
    }
    
    .step-items {
        -webkit-overflow-scrolling: touch;
    }
}

/* Telegram Floating Button */
.telegram-float-btn {
    position: fixed;
    top: 50%;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0088cc, #00aaff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 136, 204, 0.4);
    z-index: 1000;
    transition: all 0.1s linear;
    text-decoration: none;
    opacity: 0;
    transform: translateY(-50%) translateX(100px);
}

.telegram-float-btn.visible {
    opacity: 1;
    transform: translateY(-50%) translateX(0);
}

.telegram-float-btn:hover {
    transform: translateY(-50%) translateX(-5px) scale(1.05) !important;
    box-shadow: 0 6px 30px rgba(0, 136, 204, 0.6);
    background: linear-gradient(135deg, #00aaff, #0088cc);
}

.telegram-float-btn svg {
    width: 28px;
    height: 28px;
    transition: transform 0.3s ease;
}

.telegram-float-btn:hover svg {
    transform: scale(1.1);
}

/* Mobile responsive for Telegram button */
@media (max-width: 768px) {
    .telegram-float-btn {
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .telegram-float-btn svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .telegram-float-btn {
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .telegram-float-btn svg {
        width: 20px;
        height: 20px;
    }
}