/* ===== FONTS ===== */
@font-face {
    font-family: 'Cinzel Decorative';
    font-style: normal;
    font-weight: 700;
    src: url('../../font/cinzel-decorative-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Cinzel Decorative';
    font-style: normal;
    font-weight: 900;
    src: url('../../font/cinzel-decorative-900.woff2') format('woff2');
}

@font-face {
    font-family: 'Peyda';
    src: url('../../font/Peyda-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'Peyda';
    src: url('../../font/Peyda-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Peyda';
    src: url('../../font/Peyda-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
}
@font-face {
    font-family: 'Peyda';
    src: url('../../font/Peyda-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'Peyda';
    src: url('../../font/Peyda-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
}
@font-face {
    font-family: 'Peyda';
    src: url('../../font/peyda-light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Peyda';
    src: url('../../font/peyda-extralight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}

/* ===== BASE ===== */
*, *::before, *::after {
    box-sizing: border-box;
}

body {
    font-family: 'Peyda', 'IRANYekan', 'Yekan', 'Vazirmatn', sans-serif;
    background-color: #030303;
    color: white;
    overflow-x: hidden;
    margin: 0;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, #ec4899, #a855f7); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: linear-gradient(180deg, #f472b6, #c084fc); }

/* ===== GLASS PANELS ===== */
.glass-panel {
    background: rgba(255, 255, 255, 0.025);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-panel:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(236, 72, 153, 0.3);
    box-shadow: 0 8px 40px rgba(236, 72, 153, 0.12), 0 0 0 1px rgba(236, 72, 153, 0.08);
    transform: translateY(-3px);
}

/* ===== TEXT GRADIENT ===== */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ===== MAGIC TITLE ===== */
.magic-title {
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 0.12em;
}

/* ===== HERO SECTION ===== */
.hero-section {
    position: relative;
    min-height: 55vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(168, 85, 247, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(236, 72, 153, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 40% 50% at 80% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero-grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(236, 72, 153, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(236, 72, 153, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, black 20%, transparent 70%);
    pointer-events: none;
    animation: grid-drift 20s linear infinite;
}

@keyframes grid-drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

/* ===== FLOATING PARTICLES ===== */
.particles-container {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(236, 72, 153, 0.6);
    box-shadow: 0 0 6px rgba(236, 72, 153, 0.4);
    animation: particle-float linear infinite;
}

.particle:nth-child(odd) {
    background: rgba(168, 85, 247, 0.5);
    box-shadow: 0 0 6px rgba(168, 85, 247, 0.3);
}

@keyframes particle-float {
    0% { transform: translateY(100vh) scale(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

/* ===== NAVBAR ===== */
.navbar-premium {
    background: rgba(3, 3, 3, 0.6);
    backdrop-filter: blur(30px) saturate(1.5);
    -webkit-backdrop-filter: blur(30px) saturate(1.5);
    border-bottom: 1px solid rgba(236, 72, 153, 0.1);
    transition: all 0.4s ease;
}

.navbar-premium.scrolled {
    background: rgba(3, 3, 3, 0.92);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(236, 72, 153, 0.15);
}

.nav-logo-glow {
    position: relative;
}
.nav-logo-glow::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ec4899, #a855f7, #ec4899);
    opacity: 0;
    filter: blur(8px);
    transition: opacity 0.4s ease;
    z-index: -1;
}
.nav-logo-glow:hover::after {
    opacity: 0.5;
}

/* ===== CTA BUTTON ===== */
.btn-cta-glow {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.btn-cta-glow::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: conic-gradient(from var(--btn-angle, 0deg), #ec4899, #a855f7, #ec4899, #a855f7, #ec4899);
    border-radius: inherit;
    z-index: -2;
    animation: btn-rotate 3s linear infinite;
}
.btn-cta-glow::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: linear-gradient(135deg, #1a0a1e, #0d0d0d);
    border-radius: inherit;
    z-index: -1;
}

@keyframes btn-rotate {
    0% { --btn-angle: 0deg; }
    100% { --btn-angle: 360deg; }
}

@property --btn-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* ===== NEON LINE ===== */
.neon-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #ec4899, #a855f7, #ec4899, transparent);
    opacity: 0.4;
    animation: neon-pulse 3s ease-in-out infinite;
}

@keyframes neon-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(0.9); }
    50% { opacity: 0.6; transform: scaleX(1); }
}

/* ===== SECTION HEADERS ===== */
.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #ec4899;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.1), rgba(168, 85, 247, 0.08));
    padding: 6px 16px;
    border-radius: 100px;
    border: 1px solid rgba(236, 72, 153, 0.2);
    backdrop-filter: blur(10px);
}

/* ===== FEATURE CARDS ===== */
.feature-card {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ec4899, transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.feature-card:hover::before {
    opacity: 1;
}
.feature-card:hover {
    background: rgba(236, 72, 153, 0.06) !important;
    border-color: rgba(236, 72, 153, 0.25) !important;
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.1);
}

.feature-icon-box {
    position: relative;
    transition: all 0.4s ease;
}
.feature-icon-box::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.3), rgba(168, 85, 247, 0.2));
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
    filter: blur(6px);
}
.feature-card:hover .feature-icon-box::after {
    opacity: 1;
}

/* ===== GALLERY ===== */
.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 60px rgba(236, 72, 153, 0.15);
}
.gallery-item img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1), filter 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.1);
    filter: brightness(1.1);
}

/* ===== PRICING CARD ===== */
.pricing-card {
    position: relative;
    overflow: hidden;
}
.pricing-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(236, 72, 153, 0.05) 60deg, transparent 120deg);
    animation: pricing-shine 8s linear infinite;
    pointer-events: none;
}

@keyframes pricing-shine {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== VIDEO SECTION ===== */
.video-wrapper {
    position: relative;
    border-radius: 1.5rem;
    overflow: hidden;
}
.video-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: inherit;
    background: linear-gradient(135deg, #ec4899, #a855f7, #ec4899);
    opacity: 0.2;
    z-index: -1;
    animation: video-border-pulse 4s ease-in-out infinite;
}

@keyframes video-border-pulse {
    0%, 100% { opacity: 0.15; }
    50% { opacity: 0.35; }
}

/* ===== FOOTER ===== */
.footer-gradient {
    background: linear-gradient(180deg, transparent, rgba(236, 72, 153, 0.03) 40%, rgba(3, 3, 3, 0.95));
}

/* ===== ANIMATIONS ===== */
@keyframes magic-text-glow {
    0%, 100% {
        text-shadow: 0 0 20px rgba(236, 72, 153, 0.4), 0 0 40px rgba(236, 72, 153, 0.15), 0 0 80px rgba(168, 85, 247, 0.1);
        filter: drop-shadow(0 0 15px rgba(236, 72, 153, 0.25));
    }
    50% {
        text-shadow: 0 0 30px rgba(236, 72, 153, 0.7), 0 0 60px rgba(236, 72, 153, 0.3), 0 0 100px rgba(168, 85, 247, 0.2);
        filter: drop-shadow(0 0 25px rgba(236, 72, 153, 0.5));
    }
}

.magic-title-animated {
    animation: magic-text-glow 4s ease-in-out infinite;
}

@keyframes fade-up {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fade-up {
    animation: fade-up 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

@keyframes float-gentle {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(1deg); }
    75% { transform: translateY(4px) rotate(-1deg); }
}

.animate-float-gentle {
    animation: float-gentle 6s ease-in-out infinite;
}

/* ===== SUBMIT BUTTON PREMIUM ===== */
.btn-submit-premium {
    position: relative;
    background: linear-gradient(135deg, #ec4899, #a855f7);
    border: none;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-submit-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
    transition: left 0.6s ease;
}
.btn-submit-premium:hover::before {
    left: 100%;
}
.btn-submit-premium:hover {
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 15px 40px rgba(236, 72, 153, 0.35), 0 0 0 1px rgba(236, 72, 153, 0.3);
}
.btn-submit-premium:active {
    transform: scale(0.98);
}

/* ===== INSTRUCTOR PHOTO ===== */
.instructor-photo-ring {
    position: relative;
}
.instructor-photo-ring::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #ec4899, #a855f7, #06b6d4, #a855f7, #ec4899);
    animation: ring-rotate 6s linear infinite;
}
.instructor-photo-ring::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: #030303;
}

@keyframes ring-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.instructor-photo-ring img {
    position: relative;
    z-index: 1;
    border-radius: 50%;
}

/* ===== COURSE DETAIL ROW ===== */
.detail-row {
    position: relative;
    transition: all 0.3s ease;
}
.detail-row::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(236, 72, 153, 0.2), transparent);
    transform: scaleX(0.5);
    transition: transform 0.4s ease;
}
.detail-row:hover::after {
    transform: scaleX(1);
}
.detail-row:hover {
    padding-right: 8px;
}

/* ===== LEADER / FEATURED ACHIEVEMENT CARDS ===== */
.leader-card {
    position: relative;
    overflow: hidden;
    background: linear-gradient(110deg, rgba(236, 72, 153, 0.12), rgba(168, 85, 247, 0.06) 45%, rgba(255, 255, 255, 0.02)) !important;
    border: 1px solid rgba(236, 72, 153, 0.22) !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.leader-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #ec4899, #a855f7);
}
.leader-card:hover {
    transform: translateY(-3px);
    border-color: rgba(236, 72, 153, 0.4) !important;
    box-shadow: 0 14px 50px rgba(236, 72, 153, 0.15);
}
.leader-icon-box {
    transition: transform 0.4s ease;
}
.leader-card:hover .leader-icon-box {
    transform: scale(1.06) rotate(-4deg);
}

/* ===== FLOATING WHATSAPP SUPPORT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 22px;
    left: 22px;
    z-index: 60;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 58px;
    padding: 0 18px 0 16px;
    border-radius: 100px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
    animation: whatsapp-pulse 2.6s ease-in-out infinite;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.whatsapp-float i {
    font-size: 30px;
    line-height: 1;
}
.whatsapp-float-label {
    font-family: 'Peyda', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    white-space: nowrap;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-width 0.4s ease, opacity 0.3s ease;
}
.whatsapp-float:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 12px 34px rgba(37, 211, 102, 0.6);
}
.whatsapp-float:hover .whatsapp-float-label {
    max-width: 160px;
    opacity: 1;
}

@keyframes whatsapp-pulse {
    0%, 100% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    50% { box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .hero-section {
        min-height: 45vh;
    }
    .whatsapp-float {
        height: 52px;
        bottom: 16px;
        left: 16px;
        padding: 0 14px;
    }
    .whatsapp-float i {
        font-size: 26px;
    }
}
