
.hero {
    background: linear-gradient(rgba(44, 62, 80, 0.92), rgba(26, 37, 47, 0.92)), url('../p/index_head_01.jpg');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    color: white;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(22, 160, 133, 0.1) 0%, transparent 20%),
        radial-gradient(circle at 80% 70%, rgba(26, 188, 156, 0.1) 0%, transparent 25%);
    opacity: 0.6;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    animation: fadeIn 1.2s ease;
    padding: 3rem;
    position: relative;
}

.hero h2 {
    font-size: 4rem;
    margin-bottom: 1.4rem;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero h2 span {
    color: var(--accent-light);
    position: relative;
}

.hero h2 span::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--accent-light);
}

.hero p {
    font-size: 1.6rem;
    margin-bottom: 2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto 3rem;
    opacity: 0.9;
    line-height: 1.8;
}

.featured-crystal {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 24px;
    padding: 5rem;
    margin: 6rem 0;
    display: flex;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.featured-content {
    flex: 1;
    padding-right: 4rem;
    z-index: 2;
}

.featured-image {
    flex: 1;
    z-index: 2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    transform: rotate(3deg);
    transition: var(--transition);
}

.featured-image:hover { transform: rotate(0) scale(1.03); }
.featured-image img { width: 100%; display: block; transition: var(--transition); }
.featured-image:hover img { transform: scale(1.05); }

.featured-crystal::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 20%),
        radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 25%);
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.featured-crystal h3 {
    font-size: 2.4rem;
    margin-bottom: 1.8rem;
    font-weight: 700;
    font-family: 'Playfair Display', serif;
}

.featured-crystal p {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    opacity: 0.9;
}

.category-section { margin: 7rem 0 5rem; }

.crystal {
    position: absolute;
    width: 40px;
    height: 40px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    animation: float 8s infinite ease-in-out;
    z-index: 1;
    filter: drop-shadow(0 0 8px rgba(26, 188, 156, 0.4));
}

.crystal:nth-child(1) { top: 20%; left: 15%; animation-delay: 0s; color: rgba(52, 152, 219, 0.8); }
.crystal:nth-child(2) { top: 65%; left: 85%; animation-delay: 1s; color: rgba(26, 188, 156, 0.8); }
.crystal:nth-child(3) { top: 40%; left: 25%; animation-delay: 2s; color: rgba(155, 89, 182, 0.8); }
.crystal:nth-child(4) { top: 75%; left: 35%; animation-delay: 3s; color: rgba(231, 76, 60, 0.8); }
.crystal:nth-child(5) { top: 30%; left: 75%; animation-delay: 4s; color: rgba(241, 196, 15, 0.8); }
.crystal:nth-child(6) { top: 60%; left: 20%; animation-delay: 5s; color: rgba(230, 126, 34, 0.8); }

.featured-btn {
    display: inline-block;
    background: var(--btn-gradient);
    color: white;
    text-decoration: none;
    padding: 1.3rem 2.8rem;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    z-index: 1;
    font-size: 1.2rem;
    letter-spacing: 0.8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    border: 2px solid rgba(255,255,255,0.3);
    min-width: 200px;
    text-align: center;
}

.featured-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: 0.5s;
}

.featured-btn:hover::before {
    left: 100%;
}

.featured-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(26, 188, 156, 0.5);
    background: linear-gradient(135deg, var(--accent), var(--accent-secondary));
}

@media (max-width: 768px) {
    .hero { height: 85vh; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
    .hero h2 { font-size: 2.4rem; }
    .hero p { font-size: 1.2rem; }
    .featured-btn { padding: 1rem 2rem; min-width: 150px; font-size: 1rem; }
}

@media (max-width: 480px) {
    .featured-btn { padding: 0.9rem 1.6rem; min-width: 140px; font-size: 1rem; }
}
@media (max-width: 768px) {
    .hero { height: 85vh; clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%); }
    .hero h2 { font-size: 2.4rem; }
    .hero p { font-size: 1.2rem; }
    .featured-btn { padding: 1rem 2rem; min-width: 150px; font-size: 1rem; }
}
@media (max-width: 480px) {
    .featured-btn { padding: 0.9rem 1.6rem; min-width: 140px; font-size: 1rem; }
}
@media (max-width: 768px) {
    .featured-crystal {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        margin: 4rem 0;
        position: static;
        overflow: hidden;
    }

    .featured-image:hover {
        transform: none; 
    }

    .featured-crystal::before {
        display: none;
    }
    
    .featured-content {
        padding-right: 0;
        padding-bottom: 2.5rem;
        text-align: center;
        width: 100%;
        position: static;
        z-index: 2;
    }
    
    .featured-image {
        transform: none;
        width: 100%;
        max-width: 500px;
        margin: 0 auto;
        position: static;
        z-index: 2;
    }
    
    .featured-image:hover {
        transform: scale(1.03);
    }
    
    .featured-crystal h3 {
        font-size: 2rem;
        text-align: center;
    }
    
    .featured-crystal p {
        text-align: center;
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .featured-crystal {
        padding: 2rem 1rem;
        margin: 3rem 0;
        border-radius: 18px;
    }
    
    .featured-content {
        padding-bottom: 2rem;
    }
    
    .featured-crystal h3 {
        font-size: 1.7rem;
    }
    
    .featured-crystal p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .hero h2 { 
        font-size: 2rem; 
        line-height: 1.3;  
        margin-bottom: 1rem;
    }

    .hero p { 
        font-size: 1.1rem;   
        padding: 0 10px;   
        line-height: 1.6;
    }
}

.theory-premium-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.crystal-hero-card {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.decoration-lattice {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.2;
    z-index: -1;
}

.crystal-card-inner {
    display: flex;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 3.5rem;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.03),
        0 30px 60px rgba(22, 160, 133, 0.08);
    gap: 5rem;
    align-items: center;
}

.crystal-visual {
    flex: 0 0 42%;
    position: relative;
}

.crystal-frame {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: inset 0 0 20px rgba(255,255,255,0.8);
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.crystal-frame img {
    width: 100%;
    max-width: 280px;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1));
    transition: var(--transition);
}

.crystal-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(26, 188, 156, 0.15) 0%, transparent 70%);
    z-index: 1;
    animation: pulseGlow 6s infinite alternate;
}

.floating-tag {
    position: absolute;
    background: white;
    padding: 8px 15px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
    z-index: 3;
    letter-spacing: 0.5px;
}
.tag-1 { top: 10%; right: -5%; }
.tag-2 { bottom: 15%; left: -5%; }

.info-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.category-tag {
    color: var(--accent);
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 2px;
}

.read-time {
    color: #999;
    font-size: 0.85rem;
}

.crystal-info h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.8rem;
    color: var(--primary-dark);
}

.highlight {
    background: linear-gradient(transparent 70%, rgba(26, 188, 156, 0.15) 30%);
}

.description {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.9;
    margin-bottom: 2.5rem;
}

.feature-dots {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
}

.dot-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
}

.dot-item i {
    width: 32px;
    height: 32px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
}

.premium-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 1.2rem 2.5rem;
    background: var(--primary);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(44, 62, 80, 0.2);
}

.premium-btn:hover {
    background: var(--accent);
    transform: translateX(5px);
    box-shadow: 0 15px 30px rgba(22, 160, 133, 0.3);
}

@keyframes pulseGlow {
    from { opacity: 0.5; transform: translate(-50%, -50%) scale(0.9); }
    to { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}


@media (max-width: 992px) {
    .crystal-card-inner { flex-direction: column; padding: 2.5rem; gap: 3rem; }
    .crystal-visual { width: 80%; }
    .crystal-info h3 { font-size: 2.2rem; }
}

.tp-theory-section {
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.tp-section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.tp-hero-wrapper {
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.tp-bg-decoration {
    position: absolute;
    top: -10%;
    right: -5%;
    width: 300px;
    height: 300px;
    background-image: radial-gradient(var(--accent) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.15;
    z-index: -1;
}

.tp-main-card {
    display: flex;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    padding: 3.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.03), 0 30px 60px rgba(22, 160, 133, 0.08);
    gap: 4rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    -webkit-tap-highlight-color: transparent;
}

@media (min-width: 1025px) {
    .tp-main-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 40px 80px rgba(22, 160, 133, 0.15);
    }
    .tp-main-card:hover .tp-image-frame img {
        transform: scale(1.05) rotate(2deg);
    }
}

.tp-visual-area { flex: 0 0 40%; position: relative; }

.tp-image-frame {
    background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
    border-radius: 30px;
    padding: 2.5rem;
    display: flex;
    justify-content: center;
}

.tp-image-frame img { width: 100%; max-width: 280px; transition: 0.6s ease; }

.tp-glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: transparent;
    z-index: 1;
}

.tp-floating-tag {
    position: absolute;
    background: white;
    padding: 8px 15px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    z-index: 3;
}
.tp-tag-1 { top: 10%; right: -5%; }
.tp-tag-2 { bottom: 15%; left: -5%; }

.tp-meta-info { display: flex; justify-content: space-between; margin-bottom: 1.5rem; }
.tp-category { color: var(--accent); text-transform: uppercase; font-size: 0.8rem; font-weight: 800; letter-spacing: 2px; }
.tp-read-time { color: #999; font-size: 0.85rem; }

.tp-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
}

.tp-title-highlight { background: linear-gradient(transparent 70%, rgba(26, 188, 156, 0.15) 30%); }

.tp-desc {
    font-size: 1.1rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.tp-features { display: flex; gap: 1.5rem; }
.tp-feature-item { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; font-weight: 600; color: var(--primary); }
.tp-feature-item i { width: 32px; height: 32px; background: #f0f4f8; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--accent); }

@media (max-width: 1024px) {
    .tp-theory-section { padding: 6rem 2.5rem; }
    .tp-main-card { padding: 2.5rem; gap: 3rem; border-radius: 35px; }
    .tp-visual-area { flex: 0 0 45%; }
    .tp-main-title { font-size: 2.2rem; }
    .tp-tag-1 { right: 0; }
    .tp-tag-2 { left: 0; }
}

@media (max-width: 767px) {
    .tp-theory-section { padding: 4rem 1.2rem; }
    .tp-main-card { flex-direction: column; padding: 2.5rem 1.5rem; gap: 2.5rem; text-align: center; }
    .tp-visual-area { width: 100%; max-width: 280px; }
    .tp-meta-info { justify-content: center; gap: 20px; }
    .tp-features { justify-content: center; flex-direction: column; align-items: center; gap: 1rem; }
    .tp-main-title { font-size: 1.8rem; }
    .tp-desc { font-size: 1rem; }
    .tp-main-card:active { transform: scale(0.97); background: #ffffff; }
}