/* ============================================
   PANCHAJANYA YOGASHALA — Merged Premium CSS
   ============================================ */

:root {
    --gold: #C9A96E;
    --gold-light: #E8D5A3;
    --gold-dark: #A07D3F;
    --gold-dim: rgba(201, 169, 110, 0.15);
    --bg-dark: #1A0F0A;
    --bg-darker: #060302;
    --bg-light: #FAF7F2;
    --text-light: #F5F0E8;
    --text-dark: #1A1A1A;
    --border-dim: rgba(201, 169, 110, 0.12);
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Josefin Sans', system-ui, sans-serif;
}

/* === RESET & COMMON === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}
html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}
body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-light);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 300;
    line-height: 1.2;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}

/* === NAVIGATION === */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all .4s cubic-bezier(0.16, 1, 0.3, 1);
    background: rgba(26, 15, 10, 0.12);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.05);
}
.nav.scrolled {
    background: rgba(26, 15, 10, 0.93);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    padding: .9rem 2rem;
    box-shadow: 0 4px 30px rgba(0,0,0,.5);
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}
.nav-logo {
    display: flex;
    flex-direction: column;
    line-height: 1;
}
.logo-sanskrit {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold);
    letter-spacing: 2.5px;
    font-style: italic;
    font-weight: 400;
}
.logo-english {
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    letter-spacing: 0.5px;
}
.logo-english i {
    font-style: normal;
    font-weight: 300;
    color: var(--gold-light);
    margin-left: 5px;
}
.nav-links {
    display: flex;
    gap: 1.8rem;
    align-items: center;
}
.nav-links a {
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
    color: rgba(245, 240, 232, 0.7);
    transition: color .3s;
}
.nav-links a:hover {
    color: var(--gold);
}
.nav-cta {
    padding: .5rem 1.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: .65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all .3s;
    border-radius: 2px;
    font-weight: 500;
}
.nav-cta:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Burger Menu */
.burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: .5rem;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 101;
}
.burger i {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--gold);
    transition: all .3s;
}
.burger.active i:nth-child(1) {
    transform: rotate(45deg) translate(4px,4px);
}
.burger.active i:nth-child(2) {
    opacity: 0;
}
.burger.active i:nth-child(3) {
    transform: rotate(-45deg) translate(4px,-4px);
}

/* Mobile Nav */
.m-nav {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(26, 15, 10, 0.98);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}
.m-nav.open {
    opacity: 1;
    pointer-events: all;
}
.m-nav a {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--text-light);
    transition: color .3s;
    padding: .5rem;
}
.m-nav a:hover {
    color: var(--gold);
}

/* === HERO === */
.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: linear-gradient(160deg, var(--bg-dark), #2D1810 40%, #4A1C2A 100%);
    overflow: hidden;
}
.hero-glow {
    position: absolute;
    width: min(500px, 70vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.15), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: glow 6s ease-in-out infinite;
    pointer-events: none;
}
@keyframes glow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: .6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-noise {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: .03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Interactive Text Mandala Canvas */
.text-mandala-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.hero-content {
    text-align: center;
    padding: 2rem;
    max-width: 750px;
    position: relative;
    z-index: 3;
}

.badge {
    font-size: .65rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.5rem;
    display: inline-block;
    font-weight: 500;
}
.hero h1 {
    font-size: clamp(2.5rem, 9vw, 5.5rem);
    color: var(--text-light);
    margin-bottom: 1.5rem;
    font-weight: 300;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold);
    font-weight: 300;
}
.hero p {
    font-size: clamp(.85rem, 2vw, 1rem);
    font-weight: 300;
    color: #E8DFD0;
    max-width: 480px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}
.hero-actions {
    display: flex;
    gap: 1.2rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* BUTTONS */
.btn {
    display: inline-flex;
    padding: .9rem 2.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: .7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all .4s;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
}
.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.btn:hover {
    color: var(--bg-dark);
}
.btn:hover::before {
    transform: translateX(0);
}
.btn span {
    position: relative;
    z-index: 1;
}
.btn-secondary {
    border-color: rgba(245, 240, 232, 0.2);
    color: var(--text-light);
}
.btn-secondary::before {
    background: var(--text-light);
}
.btn-secondary:hover {
    color: var(--bg-dark);
}

.scroll-down {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    z-index: 3;
}
.scroll-down span {
    font-size: .55rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .5;
}
.scroll-down i {
    width: 1px;
    height: 35px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollPulse 2s ease infinite;
}
@keyframes scrollPulse {
    0%, 100% { opacity: 0.2; transform: scaleY(0.9); }
    50% { opacity: 1; transform: scaleY(1.1); }
}

/* === DISCIPLINE STRIP === */
.intro-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-dim);
    border-bottom: 1px solid var(--border-dim);
    background: var(--bg-darker);
    overflow: hidden;
}
.strip-item {
    font-family: var(--font-body);
    font-size: .75rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: rgba(245, 240, 232, 0.5);
    padding: 1.2rem 2.2rem;
    border-right: 1px solid var(--border-dim);
    display: flex;
    align-items: center;
    gap: .8rem;
    transition: color .3s;
    white-space: nowrap;
}
.strip-item span {
    color: var(--gold);
    font-size: .6rem;
}
.strip-item:hover {
    color: var(--text-light);
}

/* === SECTIONS GENERAL === */
.sec {
    padding: clamp(4rem, 8vw, 8rem) clamp(1.2rem, 4vw, 2.5rem);
}
.sec-light {
    background: linear-gradient(160deg, #1E0F08 0%, #160C06 50%, #1A0F0A 100%);
    color: var(--text-light);
    border-top: 1px solid rgba(201, 169, 110, 0.08);
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
}
.sec-dark {
    background: var(--bg-dark);
    color: var(--text-light);
}
.sec-head {
    text-align: center;
    margin-bottom: clamp(3rem, 5vw, 4.5rem);
}
.lbl {
    font-size: .65rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: .8rem;
    display: block;
    font-weight: 600;
}
.sec h2 {
    font-size: clamp(2rem, 5vw, 3rem);
    margin-bottom: 1rem;
    color: inherit;
}
.sub {
    font-size: clamp(.85rem, 2vw, 1rem);
    font-weight: 300;
    color: rgba(245, 240, 232, 0.55);
    max-width: 550px;
    margin: 0 auto;
    line-height: 1.8;
}
.sec-dark .sub {
    color: rgba(245, 240, 232, 0.55);
}

/* === ABOUT & PHILOSOPHY === */
.about {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
    align-items: center;
}
.about-img {
    position: relative;
    background: linear-gradient(135deg, rgba(201,169,110,0.07) 0%, rgba(18,9,4,0.6) 60%, rgba(26,15,10,0.85) 100%);
    border: 1px solid rgba(201, 169, 110, 0.22);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    box-shadow: 0 8px 40px rgba(0,0,0,0.35), inset 0 1px 0 rgba(201,169,110,0.12);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.about-img::after { display: none; }
.join-invite-inner {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2.4rem 2rem;
    width: 100%;
}
.about-txt h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 1.5rem;
    line-height: 1.25;
}
.about-txt h2 em {
    color: var(--gold-dark);
    font-style: italic;
}
.about-txt p {
    font-size: .9rem;
    line-height: 1.9;
    color: rgba(245, 240, 232, 0.72);
    font-weight: 300;
    margin-bottom: 1rem;
}
.stats {
    display: flex;
    gap: 2.5rem;
    margin-top: 2.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(0,0,0,.08);
    flex-wrap: wrap;
}
.stat h3 {
    font-size: 2.2rem;
    color: var(--gold-dark);
    font-family: var(--font-display);
    font-weight: 400;
}
.stat p {
    font-size: .65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.5);
    margin-top: .2rem;
    font-weight: 500;
}

/* === JOIN INVITATION CARD === */
.join-invite {
    /* Merged container styles under .about-img */
}
.join-invite-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.14) 0%, transparent 70%);
    pointer-events: none;
    animation: inviteGlow 5s ease-in-out infinite alternate;
}
@keyframes inviteGlow {
    0%   { transform: scale(1);    opacity: 0.6; }
    100% { transform: scale(1.25); opacity: 1; }
}
.join-invite-icon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.1);
    border: 1px solid rgba(201, 169, 110, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(201,169,110,0.12);
}
.join-invite-body {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex: 1;
}
.join-invite-kicker {
    font-size: 0.62rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
    font-family: var(--font-body);
}
.join-invite-heading {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 3vw, 1.7rem);
    font-weight: 400;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.3;
    background: linear-gradient(120deg, var(--text-light), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.join-invite-sub {
    font-size: .83rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.75;
    font-weight: 300;
    max-width: 520px;
}
.join-invite-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.3rem;
}
.join-invite-pills span {
    font-size: 0.68rem;
    padding: 0.3rem 0.85rem;
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 100px;
    color: rgba(245, 240, 232, 0.75);
    font-family: var(--font-body);
    letter-spacing: 0.3px;
    background: rgba(201, 169, 110, 0.05);
    white-space: nowrap;
}
.join-invite-cta {
    margin-top: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 1.8rem;
    background: var(--gold);
    color: var(--bg-darker);
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    border-radius: 100px;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, transform 0.3s ease;
    align-self: flex-start;
}
.join-invite-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold-light);
    transform: translateX(-100%);
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: inherit;
}
.join-invite-cta:hover::before { transform: translateX(0); }
.join-invite-cta:hover { box-shadow: 0 8px 30px rgba(201,169,110,0.4); transform: translateY(-2px); }
.join-invite-cta span, .join-invite-cta svg { position: relative; z-index: 1; }
.join-invite-cta svg { transition: transform 0.3s ease; }
.join-invite-cta:hover svg { transform: translateX(4px); }

@media (max-width: 767px) {
    .join-invite { flex-direction: column; gap: 1rem; padding: 1.6rem 1.2rem; }
    .join-invite-icon { width: 52px; height: 52px; }
    .join-invite-heading { font-size: 1.2rem; }
    .join-invite-pills span { font-size: 0.6rem; padding: 0.25rem 0.65rem; }
    .join-invite-cta { padding: 0.65rem 1.4rem; font-size: 0.62rem; }
}

/* === SACRED SURYA ANIMATION === */
.surya-sec {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 12%, var(--bg-darker) 88%, var(--bg-dark) 100%);
    padding-bottom: 0;
}
.surya-head {
    padding: clamp(4rem, 8vw, 6rem) 1.5rem 1.5rem;
    text-align: center;
}
.surya-head h2 {
    color: var(--text-light);
}

/* Flow Search Explorer styles */
.flow-explorer {
    max-width: 1040px;
    margin: 0 auto 3.5rem;
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.8rem;
    z-index: 10;
    position: relative;
}
.search-input-wrap {
    position: relative;
    width: 100%;
    max-width: 550px;
}
.search-icon {
    position: absolute;
    left: 1.4rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    opacity: 0.7;
}
#flowSearchInput {
    width: 100%;
    padding: 0.95rem 1.2rem 0.95rem 3.2rem;
    background: rgba(6, 3, 2, 0.6);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 30px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    outline: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.5);
}
#flowSearchInput:focus {
    border-color: var(--gold);
    background: rgba(6, 3, 2, 0.8);
    box-shadow: 0 0 15px rgba(201, 169, 110, 0.15);
}

/* Filter Groups container */
.filter-groups {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    width: 100%;
    background: linear-gradient(135deg, rgba(25, 15, 10, 0.45) 0%, rgba(6, 3, 2, 0.55) 100%);
    border: 1px solid rgba(201, 169, 110, 0.18);
    padding: 1.6rem;
    border-radius: 16px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    width: 100%;
}
@media (min-width: 768px) {
    .filter-group {
        flex-direction: row;
        align-items: center;
    }
}
.filter-lbl {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-weight: 500;
    min-width: 90px;
}
.filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pill-btn {
    padding: 0.45rem 1rem;
    background: transparent;
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 20px;
    color: rgba(245, 240, 232, 0.65);
    font-family: var(--font-body);
    font-size: 0.65rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pill-btn:hover, .pill-btn.active {
    border-color: var(--gold);
    color: var(--text-light);
    background: rgba(201, 169, 110, 0.12);
    box-shadow: 0 0 10px rgba(201, 169, 110, 0.05);
}

/* Flow Cards Grid */
.flow-cards-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
    width: 100%;
    margin-top: 0.8rem;
}
@media (min-width: 640px) {
    .flow-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 900px) {
    .flow-cards-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Flow Card */
.flow-card {
    background: rgba(25, 15, 10, 0.25);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 8px;
    padding: 1.2rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    backdrop-filter: blur(8px);
}
.flow-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}
.flow-card:hover {
    border-color: rgba(201, 169, 110, 0.4);
    background: rgba(255, 255, 255, 0.025);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(201, 169, 110, 0.08);
}
.flow-card.active {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.08);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
}
.flow-card.active::before {
    opacity: 1;
}
.flow-card-head {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    margin-bottom: 0.8rem;
}
.flow-card-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--text-light);
    font-style: italic;
    font-weight: 400;
}
.flow-card.active .flow-card-title {
    color: var(--gold-light);
}
.flow-card.active .flow-card-sanskrit {
    color: var(--gold);
}
.flow-card-sanskrit {
    font-size: 0.75rem;
    color: var(--gold-dark);
    letter-spacing: 0.5px;
}
.flow-card-desc {
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.55);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-weight: 300;
}
.flow-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.62rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
    margin-bottom: 0.8rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.1);
    padding-bottom: 0.6rem;
}
.flow-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.flow-card-tag {
    font-size: 0.58rem;
    padding: 0.2rem 0.5rem;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.12);
    border-radius: 12px;
    color: rgba(245, 240, 232, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.flow-card.active .flow-card-tag {
    background: rgba(201, 169, 110, 0.15);
    border-color: rgba(201, 169, 110, 0.25);
    color: var(--text-light);
}
.flow-no-results {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem;
    color: rgba(245, 240, 232, 0.5);
    font-size: 0.85rem;
    border: 1px dashed rgba(201, 169, 110, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.005);
}
.flow-info-display {
    text-align: center;
    background: rgba(25, 15, 10, 0.35);
    border: 1px solid rgba(201, 169, 110, 0.08);
    padding: 1.2rem 1.8rem;
    border-radius: 8px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.flow-title-text {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold);
    font-style: italic;
}
.flow-desc-text {
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.65);
    line-height: 1.6;
    font-weight: 300;
}

.surya-area {
    position: relative;
    height: 700vh;
}
.surya-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.surya-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}
.sun-el {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: min(200px, 40vw);
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201, 169, 110, 0.08), transparent 70%);
    transition: all .5s ease;
}
.rings {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
}
.rings circle {
    fill: none;
    stroke: rgba(201, 169, 110, 0.08);
    stroke-width: .5;
    transition: stroke .3s ease;
}
.char-box {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
    max-width: 1040px;
    align-items: center;
    position: relative;
    z-index: 5;
    padding: 0 1rem;
}
@media (min-width: 768px) {
    .char-box {
        flex-direction: row;
        gap: 3rem;
    }
}
.char-container {
    flex: 1;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    background: rgba(25, 15, 10, 0.4);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 4px;
    padding: 1.2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
    backdrop-filter: blur(10px);
}
.view-title {
    font-size: .62rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.85;
    margin-bottom: 0.4rem;
    font-family: var(--font-body);
    font-weight: 500;
    align-self: flex-start;
}
#canvas3d {
    width: 100%;
    flex: 1;
    min-height: 0;
    position: relative;
    cursor: grab;
    background: radial-gradient(circle at center, rgba(160, 85, 35, 0.16) 0%, rgba(20, 10, 5, 0.04) 55%, rgba(8, 4, 3, 1) 100%);
}
#canvas3d:active {
    cursor: grabbing;
}
.controls-hint {
    font-size: .52rem;
    color: rgba(245, 240, 232, 0.3);
    font-family: var(--font-body);
    letter-spacing: 0.5px;
    margin-top: 0.4rem;
    text-align: center;
}
#yogaSvg {
    width: 100%;
    height: 100%;
    overflow: visible;
}
.bl {
    stroke: var(--gold);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    filter: drop-shadow(0 0 3px rgba(201, 169, 110, 0.45));
    transition: stroke 0.4s ease;
}
/* 2D SVG Profile corner sun dot */
#charG > line:nth-of-type(9) {
    stroke-width: 9px !important;
    stroke: var(--gold-light) !important;
    opacity: 0.95 !important;
    filter: drop-shadow(0 0 6px var(--gold));
}
.hc {
    fill: var(--bg-darker);
    stroke: var(--gold);
    stroke-width: 3;
    filter: drop-shadow(0 0 5px rgba(201, 169, 110, 0.5));
    transition: stroke 0.4s ease;
}
/* Glowing joint dots */
.jt {
    fill: var(--bg-darker);
    stroke: var(--gold);
    stroke-width: 2.2;
    filter: drop-shadow(0 0 4px rgba(201, 169, 110, 0.8));
    transition: stroke 0.4s ease;
}
/* Pulsing heart/solar plexus chakra */
.chakra {
    fill: var(--gold-light);
    stroke: var(--gold);
    stroke-width: 1.5;
    filter: drop-shadow(0 0 6px var(--gold));
    animation: chakraPulse 2.5s ease-in-out infinite alternate;
}
@keyframes chakraPulse {
    0% {
        r: 3.5px;
        opacity: 0.5;
    }
    100% {
        r: 6px;
        opacity: 0.95;
    }
}
.gl {
    stroke: rgba(201, 169, 110, 0.12);
    stroke-width: 1;
}
.cg {
    filter: drop-shadow(0 0 12px rgba(201, 169, 110, 0.35));
    transition: opacity .2s ease;
}
/* Rotating Mandala Rings */
.rings circle {
    transform-origin: 160px 160px;
}
#r1 {
    animation: rotateCW 40s linear infinite;
}
#r2 {
    animation: rotateCCW 60s linear infinite;
}
#r3 {
    animation: rotateCW 90s linear infinite;
}
@keyframes rotateCW {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes rotateCCW {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

.p-info {
    text-align: center;
    margin-top: 3.5rem;
    z-index: 10;
    position: relative;
    min-height: 120px;
}
.p-num {
    font-size: .65rem;
    letter-spacing: 4px;
    color: var(--gold-dark);
    margin-bottom: .3rem;
    opacity: .8;
    font-weight: 500;
}
.p-breath {
    font-size: .65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    font-weight: 600;
    margin-top: 0.8rem;
    display: inline-block;
    padding: .3rem .9rem;
    border-radius: 20px;
    background: rgba(201, 169, 110, 0.1);
    color: var(--gold-light);
    border: 1px solid rgba(201, 169, 110, 0.15);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.p-breath.inhale {
    background: rgba(71, 184, 255, 0.1);
    color: #87CFFF;
    border-color: rgba(71, 184, 255, 0.2);
    box-shadow: 0 0 10px rgba(71, 184, 255, 0.05);
}
.p-breath.exhale {
    background: rgba(255, 126, 71, 0.1);
    color: #FFA375;
    border-color: rgba(255, 126, 71, 0.2);
    box-shadow: 0 0 10px rgba(255, 126, 71, 0.05);
}
.p-breath.hold {
    background: rgba(201, 169, 110, 0.1);
    color: var(--gold-light);
    border-color: rgba(201, 169, 110, 0.2);
}
/* Breathing Chakra states */
.chakra.inhale {
    animation: chakraInhale 3s ease-in-out infinite alternate;
    stroke: #87CFFF;
    fill: rgba(71, 184, 255, 0.85);
    filter: drop-shadow(0 0 7px #87CFFF);
}
.chakra.exhale {
    animation: chakraExhale 3s ease-in-out infinite alternate;
    stroke: #FFA375;
    fill: rgba(255, 126, 71, 0.85);
    filter: drop-shadow(0 0 7px #FFA375);
}
.chakra.hold {
    animation: chakraHold 2s ease-in-out infinite alternate;
    stroke: var(--gold);
    fill: var(--gold-light);
    filter: drop-shadow(0 0 6px var(--gold));
}
@keyframes chakraInhale {
    0% { r: 3.5px; opacity: 0.5; }
    100% { r: 8.5px; opacity: 0.95; }
}
@keyframes chakraExhale {
    0% { r: 8.5px; opacity: 0.95; }
    100% { r: 3px; opacity: 0.4; }
}
@keyframes chakraHold {
    0% { r: 5.5px; opacity: 0.7; }
    100% { r: 6px; opacity: 0.8; }
}
.p-sa {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    color: var(--gold);
    font-style: italic;
    line-height: 1.2;
    transition: opacity .2s ease;
}
.p-en {
    font-size: .65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.4);
    font-weight: 300;
    margin-top: .15rem;
}
.surya-dots {
    position: fixed;
    right: clamp(.5rem, 2vw, 1.5rem);
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 100;
    opacity: 0;
    transition: opacity .3s ease;
    padding: .8rem 0;
}
.surya-dots.show {
    opacity: 1;
}

/* === SKIP FLOW BUTTON === */
.skip-flow-btn {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    z-index: 101;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.4rem;
    background: rgba(26, 15, 10, 0.75);
    border: 1px solid rgba(201, 169, 110, 0.45);
    border-radius: 100px;
    color: var(--gold);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
                background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.skip-flow-btn.show {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}
.skip-flow-btn:hover {
    background: rgba(201, 169, 110, 0.12);
    border-color: var(--gold);
    box-shadow: 0 0 20px rgba(201, 169, 110, 0.15);
}
.skip-flow-btn svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.skip-flow-btn:hover svg {
    transform: translateX(3px);
}
.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.25);
    background: transparent;
    transition: all .25s ease;
    padding: 0;
    flex-shrink: 0;
    cursor: pointer;
}
.dot.on {
    background: var(--gold);
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201, 169, 110, 0.5);
    transform: scale(1.3);
}
.s-spacer {
    height: 40vh;
    background: var(--bg-dark);
}

/* === CLASSES CARD GRID === */
.cards {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02) 0%, rgba(201, 169, 110, 0.02) 100%);
    border: 1px solid rgba(201, 169, 110, 0.15);
    padding: clamp(2rem, 4vw, 3rem);
    text-align: center;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.card:hover {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(201, 169, 110, 0.06) 100%);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 45px rgba(201, 169, 110, 0.12);
}
.card:hover::before {
    opacity: 1;
}
.card-icon {
    width: 45px;
    height: 45px;
    margin: 0 auto 1.2rem;
    opacity: .75;
}
.card h3 {
    font-size: 1.4rem;
    color: var(--text-light);
    margin: .4rem 0 .8rem;
}
.card p {
    font-size: .82rem;
    line-height: 1.8;
    color: rgba(245, 240, 232, 0.72);
    font-weight: 300;
    margin-bottom: 1.5rem;
}
.cm {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: .65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: .7;
}

/* === SCHEDULE === */
.s-wrap {
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    border-radius: 16px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(201,169,110,0.15);
    border: 1px solid rgba(201, 169, 110, 0.22);
    background: linear-gradient(135deg, rgba(18, 9, 4, 0.92) 0%, rgba(6, 3, 2, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}
.s-tbl {
    width: 100%;
    border-collapse: collapse;
    min-width: 550px;
}
.s-tbl th {
    font-size: .72rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    background: rgba(26, 15, 10, 0.4);
    padding: 1.5rem 1.4rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.3);
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}
.s-tbl td {
    padding: 1.3rem 1.4rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.08);
    font-size: .88rem;
    color: rgba(245, 240, 232, 0.82);
    font-weight: 400;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}
.s-tbl tr:last-child td {
    border-bottom: none;
}
.s-tbl tr:hover td {
    background: rgba(201, 169, 110, 0.07);
    color: var(--text-light);
}
.cn {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 500;
}
.tm {
    color: var(--gold);
    white-space: nowrap;
    font-weight: 500;
}

/* === TESTIMONIALS === */
.testi {
    background: linear-gradient(160deg, #2D1810, var(--bg-dark));
    text-align: center;
}
.t-box {
    max-width: 650px;
    margin: 0 auto;
    position: relative;
    min-height: 250px;
}
.t-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .5s ease, transform .5s ease;
    transform: translateY(15px);
    padding: 0 1rem;
}
.t-slide.on {
    opacity: 1;
    transform: translateY(0);
}
.t-q {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 4vw, 1.45rem);
    font-style: italic;
    color: var(--text-light);
    line-height: 1.65;
    margin-bottom: 1.2rem;
}
.t-q::before {
    content: '"';
    font-size: 3rem;
    color: var(--gold);
    display: block;
    line-height: .5;
    margin-bottom: .8rem;
}
.t-a {
    font-size: .75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    font-weight: 600;
}
.t-r {
    font-size: .65rem;
    color: rgba(245, 240, 232, 0.65);
    margin-top: .3rem;
}
.t-nav {
    display: flex;
    justify-content: center;
    gap: .6rem;
    margin-top: 2rem;
}
.td {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.35);
    background: transparent;
    transition: all .25s ease;
    padding: 0;
    cursor: pointer;
}
.td.on {
    background: var(--gold);
    border-color: var(--gold);
}

/* === INSTRUCTORS === */
.igrid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}
.ii {
    text-align: center;
}
.ia {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    margin: 0 auto 1.8rem;
    background: linear-gradient(135deg, #E8DFD0, #E8D5A3);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border: 3px solid rgba(201, 169, 110, 0.35);
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(201, 169, 110, 0.15), 0 0 0 6px rgba(201, 169, 110, 0.06);
    transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.ia img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.ii:hover .ia {
    box-shadow: 0 12px 40px rgba(201, 169, 110, 0.28), 0 0 0 8px rgba(201, 169, 110, 0.1);
    transform: translateY(-3px);
}
.ii:hover .ia img {
    transform: scale(1.06);
}
.ia::after {
    content: '';
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    border: 1.5px solid var(--gold);
    opacity: .45;
    pointer-events: none;
}
.ii h3 {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: .3rem;
}
.ii .r {
    font-size: .65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: .8rem;
    font-weight: 600;
}
.ii p {
    font-size: .85rem;
    line-height: 1.75;
    color: rgba(245, 240, 232, 0.62);
    font-weight: 300;
}

/* === INSTRUCTOR SLIDER (Superprof-style) === */
.instructor-slider-sec {
    overflow: hidden;
    padding-bottom: clamp(3rem, 6vw, 5rem);
}
.instructor-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
}
.instructor-slider {
    overflow: hidden;
    width: 100%;
}
.instructor-slide-track {
    display: flex;
    gap: 1.5rem;
    animation: instructorScroll 25s linear infinite;
    width: max-content;
    will-change: transform;
}
.instructor-slide-track:hover {
    animation-play-state: paused;
}
@keyframes instructorScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 0.75rem)); }
}
.instructor-slide {
    flex-shrink: 0;
    width: 260px;
    background: linear-gradient(145deg, rgba(30, 20, 14, 0.7) 0%, rgba(15, 10, 6, 0.85) 100%);
    border: 1px solid rgba(201, 169, 110, 0.18);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
    cursor: pointer;
    position: relative;
}
.instructor-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.5s ease;
}
.instructor-slide:hover {
    border-color: rgba(201, 169, 110, 0.5);
    transform: translateY(-6px) scale(1.02);
    box-shadow: 0 16px 48px rgba(201, 169, 110, 0.12), 0 4px 16px rgba(0, 0, 0, 0.4);
}
.instructor-slide:hover::before {
    opacity: 1;
}
.instructor-photo {
    width: 100%;
    height: 260px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, rgba(201, 169, 110, 0.05) 0%, rgba(26, 15, 10, 0.3) 100%);
}
.instructor-photo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to top, rgba(15, 10, 6, 0.95), transparent);
    pointer-events: none;
}
.instructor-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}
.instructor-slide:hover .instructor-photo img {
    transform: scale(1.08);
}
.instructor-info-wrapper {
    padding: 1.2rem 1.4rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.instructor-ratings {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.instructor-star {
    flex-shrink: 0;
    filter: drop-shadow(0 0 4px rgba(201, 169, 110, 0.4));
}
.instructor-rating-note {
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: rgba(245, 240, 232, 0.7);
    letter-spacing: 0.3px;
}
.instructor-name {
    font-family: var(--font-display);
    font-size: 1.35rem;
    color: var(--text-light);
    font-weight: 400;
    line-height: 1.3;
}
.instructor-role {
    font-family: var(--font-body);
    font-size: 0.65rem;
    color: var(--gold-dark);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-weight: 500;
    line-height: 1.5;
}
.instructor-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.5rem;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(201, 169, 110, 0.1);
}
.instructor-exp {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 0.5px;
}
.instructor-free-class {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--font-body);
    font-size: 0.68rem;
    color: var(--gold-light);
    font-weight: 500;
    letter-spacing: 0.3px;
}
.instructor-free-class sup {
    font-size: 0.55em;
}
.instructor-free-class svg {
    flex-shrink: 0;
    opacity: 0.85;
}

/* Instructor Slider Responsive */
@media (max-width: 767px) {
    .instructor-slide {
        width: 220px;
    }
    .instructor-photo {
        height: 220px;
    }
    .instructor-info-wrapper {
        padding: 1rem 1.1rem 1.2rem;
    }
    .instructor-name {
        font-size: 1.15rem;
    }
    .instructor-slide-track {
        gap: 1rem;
    }
    @keyframes instructorScroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 0.5rem)); }
    }
}


.cta {
    background: linear-gradient(160deg, #4A1C2A, var(--bg-dark));
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta::before {
    content: '';
    position: absolute;
    width: min(350px, 60vw);
    aspect-ratio: 1;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.08);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}
.cta > * {
    position: relative;
    z-index: 1;
}
.cta h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
    color: var(--text-light);
    margin-bottom: 1.2rem;
}
.cta p {
    font-size: .95rem;
    color: rgba(245, 240, 232, 0.72);
    max-width: 450px;
    margin: 0 auto 2.5rem;
}

/* === CONTACT === */
.cgrid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3.5rem;
}
.ci h2 {
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    color: var(--text-light);
    margin-bottom: 1.2rem;
}
.ci > p {
    font-size: .9rem;
    color: rgba(245, 240, 232, 0.75);
    font-weight: 300;
    margin-bottom: 2rem;
}
.cl {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.cl li {
    display: flex;
    gap: .8rem;
    font-size: .85rem;
    color: rgba(245, 240, 232, 0.75);
    font-weight: 300;
    line-height: 1.6;
}
.cl li svg {
    flex-shrink: 0;
    margin-top: 3px;
    opacity: .75;
}
.cform {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.fld {
    position: relative;
}
.fld input, .fld textarea {
    width: 100%;
    padding: .8rem 0;
    background: none;
    border: none;
    border-bottom: 1px solid rgba(201, 169, 110, 0.45);
    color: var(--text-light);
    font: inherit;
    font-size: .85rem;
    outline: none;
    transition: border .3s;
}
.fld input:focus, .fld textarea:focus {
    border-color: var(--gold);
}
.fld label {
    position: absolute;
    top: .8rem;
    left: 0;
    font-size: .75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(245, 240, 232, 0.65);
    transition: all .25s ease;
    pointer-events: none;
}
.fld input:focus + label, .fld input:not(:placeholder-shown) + label,
.fld textarea:focus + label, .fld textarea:not(:placeholder-shown) + label {
    top: -.6rem;
    font-size: .58rem;
    color: var(--gold);
}
.fld textarea {
    min-height: 90px;
    resize: vertical;
}
.sbtn {
    align-self: flex-start;
    padding: .9rem 2.2rem;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: .7rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
    border-radius: 2px;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
}
.sbtn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gold);
    transform: translateX(-100%);
    transition: transform .4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}
.sbtn:hover {
    color: var(--bg-dark);
}
.sbtn:hover::before {
    transform: translateX(0);
}
.sbtn span {
    position: relative;
    z-index: 1;
}

/* === FOOTER === */
footer {
    padding: clamp(3rem, 6vw, 5rem) clamp(1.2rem, 4vw, 2.5rem) 2rem;
    background: var(--bg-darker);
    border-top: 1px solid rgba(201, 169, 110, 0.08);
}
.fgrid {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.fb {
    display: flex;
    flex-direction: column;
    gap: .4rem;
}
.fb p {
    font-size: .8rem;
    line-height: 1.7;
    color: rgba(245, 240, 232, 0.65);
    font-weight: 300;
    margin-top: 1rem;
    max-width: 320px;
}
.fc h4 {
    font-size: .65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
    font-weight: 600;
}
.fc ul {
    display: flex;
    flex-direction: column;
    gap: .6rem;
}
.fc a {
    font-size: .8rem;
    color: rgba(245, 240, 232, 0.65);
    font-weight: 300;
    transition: color .3s;
}
.fc a:hover {
    color: var(--gold);
}
.fbot {
    max-width: 1000px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 169, 110, 0.06);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .7rem;
    color: rgba(245, 240, 232, 0.5);
}
.socs {
    display: flex;
    gap: 1.2rem;
}
.socs a {
    color: rgba(245, 240, 232, 0.5);
    transition: color .3s;
}
.socs a:hover {
    color: var(--gold);
}

/* === REVEAL ON SCROLL === */
.rv {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity .6s, transform .6s;
}
.rv.v {
    opacity: 1;
    transform: translateY(0);
}
.d1 { transition-delay: .1s; }
.d2 { transition-delay: .2s; }
.d3 { transition-delay: .3s; }

/* === RESPONSIVE MEDIA QUERIES === */
@media (min-width: 640px) {
    .cards { grid-template-columns: repeat(2, 1fr); }
    .igrid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
    .about { grid-template-columns: 1fr 1fr; }
    .cgrid { grid-template-columns: 1fr 1fr; }
    .fgrid { grid-template-columns: 1.6fr repeat(3, 1fr); }
}
@media (min-width: 1024px) {
    .cards { grid-template-columns: repeat(3, 1fr); }
    .igrid { grid-template-columns: repeat(3, 1fr); }
    .fgrid { grid-template-columns: 2fr 1fr 1fr 1fr; }
    .nav-links { display: flex; }
    .burger { display: none; }
}
@media (max-width: 1023px) {
    .nav-links { display: none; }
    .burger { display: flex; }
}
/* ==================== YOGA SEQUENCE BUILDER ==================== */
.builder-sec {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-darker) 100%);
    border-top: 1px solid rgba(201, 169, 110, 0.08);
}
.builder-container {
    max-width: 1040px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}
@media (min-width: 900px) {
    .builder-container {
        grid-template-columns: 1.15fr 1fr;
    }
}
.builder-library, .builder-timeline {
    background: linear-gradient(135deg, rgba(25, 15, 10, 0.5) 0%, rgba(6, 3, 2, 0.6) 100%);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 16px;
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    max-height: 620px;
}
.lib-header, .timeline-header {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    padding-bottom: 1rem;
}
@media (min-width: 600px) {
    .timeline-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}
.lib-header h3, .timeline-header h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--gold);
    font-style: italic;
}
.lib-search-wrap input {
    width: 100%;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 20px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.8rem;
    outline: none;
    transition: all 0.3s;
}
.lib-search-wrap input:focus {
    border-color: var(--gold);
    box-shadow: 0 0 10px rgba(201, 169, 110, 0.1);
}
.lib-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    overflow-y: auto;
    padding-right: 0.4rem;
}
@media (min-width: 480px) {
    .lib-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
/* Scrollbars */
.lib-grid::-webkit-scrollbar, .timeline-list::-webkit-scrollbar {
    width: 5px;
}
.lib-grid::-webkit-scrollbar-thumb, .timeline-list::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 110, 0.2);
    border-radius: 4px;
}
.lib-grid::-webkit-scrollbar-track, .timeline-list::-webkit-scrollbar-track {
    background: transparent;
}
.lib-item {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(201, 169, 110, 0.08);
    border-radius: 6px;
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.6rem;
    transition: all 0.3s;
}
.lib-item:hover {
    border-color: rgba(201, 169, 110, 0.3);
    background: rgba(255, 255, 255, 0.02);
}
.lib-item-info {
    display: flex;
    flex-direction: column;
}
.lib-item-name {
    font-family: var(--font-display);
    font-size: 1rem;
    color: var(--text-light);
    font-style: italic;
}
.lib-item-sanskrit {
    font-size: 0.68rem;
    color: var(--gold-dark);
}
.lib-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.lib-item-breath {
    font-size: 0.58rem;
    color: rgba(245, 240, 232, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.btn-add-pose {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-size: 0.58rem;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-body);
    font-weight: 500;
    transition: all 0.3s;
}
.btn-add-pose:hover {
    background: var(--gold);
    color: var(--bg-dark);
}

/* Timeline */
.timeline-actions {
    display: flex;
    gap: 0.6rem;
}
.builder-action-btn {
    padding: 0.45rem 1.2rem;
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    font-family: var(--font-body);
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}
.btn-clear {
    background: transparent;
    border: 1px solid rgba(255, 126, 71, 0.4);
    color: #FFA375;
}
.btn-clear:hover {
    background: rgba(255, 126, 71, 0.1);
    border-color: #FFA375;
}
.btn-play {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
}
.btn-play:hover {
    background: var(--gold);
    color: var(--bg-dark);
}
.timeline-list {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-height: 250px;
    padding-right: 0.4rem;
}
.timeline-empty {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(245, 240, 232, 0.4);
    font-size: 0.8rem;
    text-align: center;
    border: 1px dashed rgba(201, 169, 110, 0.12);
    border-radius: 6px;
    padding: 2rem;
}
.timeline-item {
    background: rgba(255, 255, 255, 0.015);
    border: 1px solid rgba(201, 169, 110, 0.1);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    transition: all 0.3s;
}
.timeline-item:hover {
    border-color: rgba(201, 169, 110, 0.2);
    background: rgba(255, 255, 255, 0.03);
}
.item-index-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(201, 169, 110, 0.15);
    color: var(--gold-light);
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}
.timeline-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.timeline-item-name {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-light);
}
.timeline-item-sub {
    font-size: 0.62rem;
    color: rgba(245, 240, 232, 0.4);
}
.timeline-item-controls {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.pose-duration-input {
    width: 45px;
    background: rgba(25, 15, 10, 0.6);
    border: 1px solid rgba(201, 169, 110, 0.25);
    border-radius: 4px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-align: center;
    padding: 0.2rem;
    outline: none;
}
.pose-duration-input:focus {
    border-color: var(--gold);
}
.duration-lbl {
    font-size: 0.6rem;
    color: var(--gold-dark);
    text-transform: uppercase;
}
.btn-nav-arrow {
    background: transparent;
    border: 1px solid rgba(201, 169, 110, 0.15);
    color: rgba(245, 240, 232, 0.6);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.7rem;
    padding: 0;
    line-height: 1;
    transition: all 0.2s;
}
.btn-nav-arrow:hover {
    border-color: var(--gold);
    color: var(--gold-light);
}
.btn-delete-item {
    background: transparent;
    border: 1px solid rgba(255, 126, 71, 0.2);
    color: rgba(255, 126, 71, 0.6);
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.75rem;
    padding: 0;
    transition: all 0.2s;
}
.btn-delete-item:hover {
    border-color: #FFA375;
    color: #FFA375;
    background: rgba(255, 126, 71, 0.05);
}
.timeline-summary {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(201, 169, 110, 0.12);
    padding-top: 1rem;
    font-size: 0.75rem;
    color: rgba(245, 240, 232, 0.7);
    letter-spacing: 0.5px;
}
.summary-item strong {
    color: var(--gold-light);
}

/* ==============================================================
   POSE LIBRARY SECTION
   ============================================================== */
.pose-library-sec {
    background: linear-gradient(180deg, var(--bg-dark) 0%, #0e0805 100%);
    padding: 6rem 2rem;
}
.pose-library-inner {
    max-width: 1200px;
    margin: 0 auto;
}
.sec-head {
    text-align: center;
    margin-bottom: 3rem;
}
.sec-head h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: var(--text-light);
    margin: 0.5rem 0;
}
.sec-head p {
    color: rgba(245,240,232,0.65);
    font-size: 0.9rem;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

/* Toolbar */
.pose-library-toolbar {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    align-items: center;
}
.pl-search-wrap {
    flex: 1;
    min-width: 200px;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201,169,110,0.07);
    border: 1px solid rgba(201,169,110,0.18);
    border-radius: 8px;
    padding: 0.6rem 1rem;
}
.pl-search-wrap svg { opacity: 0.5; flex-shrink: 0; }
.pl-search-input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.85rem;
    width: 100%;
    letter-spacing: 0.5px;
}
.pl-search-input::placeholder { color: rgba(245,240,232,0.35); }
.pl-filter-select {
    background: rgba(201,169,110,0.07);
    border: 1px solid rgba(201,169,110,0.18);
    border-radius: 8px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.8rem;
    padding: 0.6rem 1rem;
    cursor: pointer;
    letter-spacing: 0.5px;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23C9A96E' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.8rem center;
    padding-right: 2.2rem;
}
.pl-filter-select option { background: #1a0f0a; }

/* Pose Library Grid */
.pose-library-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}
.pose-lib-card {
    background: linear-gradient(135deg, rgba(201,169,110,0.04) 0%, rgba(6,3,2,0.6) 100%);
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 16px;
    padding: 1.4rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.pose-lib-card:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: var(--gold);
    box-shadow: 0 16px 36px rgba(201, 169, 110, 0.1);
}
.pose-lib-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.pose-lib-level {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 20px;
}
.pose-lib-level.beginner  { background: rgba(134,239,172,0.15); color: #86efac; }
.pose-lib-level.intermediate { background: rgba(251,191,36,0.15); color: #fbbf24; }
.pose-lib-level.advanced  { background: rgba(248,113,113,0.15); color: #f87171; }
.pose-lib-style {
    font-size: 0.68rem;
    color: rgba(245,240,232,0.45);
    letter-spacing: 0.5px;
}
.pose-lib-en {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}
.pose-lib-sa {
    font-size: 0.72rem;
    color: var(--gold);
    opacity: 0.8;
    letter-spacing: 0.3px;
}
.pose-lib-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}
.pose-tag {
    font-size: 0.62rem;
    letter-spacing: 0.4px;
    background: rgba(201,169,110,0.08);
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 20px;
    padding: 0.15rem 0.5rem;
    color: rgba(245,240,232,0.65);
}
.pose-lib-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: auto;
    padding-top: 0.6rem;
    border-top: 1px solid rgba(201,169,110,0.1);
}
.pose-breath-badge {
    font-size: 0.7rem;
    color: rgba(245,240,232,0.5);
    letter-spacing: 0.4px;
}
.pose-lib-actions {
    display: flex;
    gap: 0.4rem;
}
.btn-pose-detail, .btn-pose-add-lib {
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid rgba(201,169,110,0.25);
    background: transparent;
    color: var(--gold);
}
.btn-pose-detail:hover { background: rgba(201,169,110,0.1); }
.btn-pose-add-lib {
    background: rgba(201,169,110,0.12);
    border-color: rgba(201,169,110,0.35);
}
.btn-pose-add-lib:hover, .btn-pose-add-lib.added {
    background: var(--gold);
    color: #1a0f0a;
    border-color: var(--gold);
}
.pose-lib-empty {
    grid-column: 1/-1;
    text-align: center;
    color: rgba(245,240,232,0.4);
    font-size: 0.9rem;
    padding: 3rem;
}

/* ==============================================================
   POSE DETAIL MODAL
   ============================================================== */
.pose-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(6,3,2,0.85);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
.pose-modal-overlay:has(.pose-modal.active) {
    opacity: 1;
    pointer-events: all;
}
/* Fallback for browsers without :has() */
.pose-modal.active ~ .pose-modal-overlay,
.pose-modal-overlay.visible {
    opacity: 1;
    pointer-events: all;
}

/* The overlay becomes visible when modal is active */
#poseModal.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* We control the overlay visibility via the modal's active class */
#poseModalOverlay {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
}
#poseModal.active + * {}

/* Use JS to add visible class to overlay when modal is active — handled in CSS via sibling */
.pose-modal {
    background: linear-gradient(135deg, #1c1008 0%, #0e0805 100%);
    border: 1px solid rgba(201,169,110,0.22);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 88vh;
    overflow-y: auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 0;
    position: relative;
    transform: translateY(24px) scale(0.97);
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    box-shadow: 0 32px 80px rgba(0,0,0,0.7);
    scrollbar-width: thin;
    scrollbar-color: rgba(201,169,110,0.2) transparent;
}
.pose-modal.active {
    transform: translateY(0) scale(1);
    opacity: 1;
}
.pose-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.2);
    color: var(--gold);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}
.pose-modal-close:hover { background: rgba(201,169,110,0.25); }

.pose-modal-left {
    background: rgba(201,169,110,0.04);
    border-right: 1px solid rgba(201,169,110,0.1);
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    align-items: center;
    text-align: center;
}
.modal-2d-preview {
    background: rgba(0,0,0,0.3);
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 12px;
    width: 140px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.modal-2d-preview svg {
    width: 120px;
    height: 160px;
}
.modal-pose-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-light);
    line-height: 1.2;
}
.modal-pose-sanskrit {
    font-size: 0.8rem;
    color: var(--gold);
    opacity: 0.8;
}
.modal-pose-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
}
.modal-breath-badge {
    font-size: 0.65rem;
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 20px;
    padding: 0.2rem 0.5rem;
    color: var(--gold-light);
    letter-spacing: 0.4px;
}
.modal-level-badge { font-size: 0.65rem; border-radius: 20px; padding: 0.2rem 0.5rem; letter-spacing: 0.4px; }
.modal-style-badge { font-size: 0.65rem; background: rgba(245,240,232,0.05); border: 1px solid rgba(245,240,232,0.1); border-radius: 20px; padding: 0.2rem 0.5rem; color: rgba(245,240,232,0.6); letter-spacing: 0.4px; }

.modal-add-btn {
    width: 100%;
    margin-top: auto;
    font-size: 0.8rem;
    padding: 0.7rem 1rem;
}

.pose-modal-right {
    padding: 2rem 2rem 2rem 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.modal-section-title {
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}
.modal-benefits-list, .modal-mods-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.modal-benefits-list li, .modal-mods-list li {
    font-size: 0.82rem;
    color: rgba(245,240,232,0.8);
    padding-left: 1rem;
    position: relative;
    line-height: 1.5;
}
.modal-benefits-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
}
.modal-mods-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-size: 0.7rem;
}
.modal-body-parts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}
.body-part-tag {
    font-size: 0.68rem;
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 20px;
    padding: 0.2rem 0.6rem;
    color: var(--gold-light);
    letter-spacing: 0.3px;
}
.modal-pairs { display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pair-chip {
    background: rgba(201,169,110,0.07);
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 6px;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}
.pair-chip:hover { background: rgba(201,169,110,0.18); border-color: var(--gold); color: var(--gold-light); }
.muted { color: rgba(245,240,232,0.3); font-size: 0.82rem; }

/* Override overlay visibility — JS toggles .active on #poseModal */
/* and we need the overlay to show too */
body.modal-open #poseModalOverlay { opacity: 1; pointer-events: all; }
#poseModalOverlay { transition: opacity 0.3s; }

/* Simpler: control via JS class on overlay */
#poseModalOverlay.active {
    opacity: 1;
    pointer-events: all;
}

/* ==============================================================
   SMART SUGGESTIONS BAR
   ============================================================== */
.suggestions-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(201,169,110,0.06);
    border: 1px solid rgba(201,169,110,0.14);
    border-radius: 10px;
    margin-bottom: 0.75rem;
}
.suggestions-label {
    font-size: 0.72rem;
    color: rgba(245,240,232,0.55);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.suggestion-chip {
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: 20px;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.72rem;
    padding: 0.25rem 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
    letter-spacing: 0.3px;
}
.suggestion-chip:hover {
    background: var(--gold);
    color: #1a0f0a;
    border-color: var(--gold);
    transform: translateY(-1px);
}

/* ==============================================================
   ENHANCED BUILDER STYLES
   ============================================================== */
.lib-level-badge {
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 0.15rem 0.4rem;
    border-radius: 20px;
    margin-top: 0.2rem;
    display: inline-block;
}
.lib-level-badge.beginner  { background: rgba(134,239,172,0.15); color: #86efac; }
.lib-level-badge.intermediate { background: rgba(251,191,36,0.15); color: #fbbf24; }
.lib-level-badge.advanced  { background: rgba(248,113,113,0.15); color: #f87171; }

.lib-item-btns { display: flex; gap: 0.35rem; }
.btn-pose-peek {
    background: transparent;
    border: 1px solid rgba(201,169,110,0.2);
    border-radius: 6px;
    color: var(--gold);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0.25rem 0.45rem;
    transition: all 0.2s;
    line-height: 1;
}
.btn-pose-peek:hover { background: rgba(201,169,110,0.12); }

.duration-control {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.duration-secs {
    font-size: 0.68rem;
    color: var(--gold);
    opacity: 0.7;
    min-width: 28px;
}
.item-nav-btns { display: flex; gap: 0.3rem; align-items: center; }

.timeline-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 2.5rem;
    text-align: center;
    color: rgba(245,240,232,0.4);
}
.timeline-empty-icon { font-size: 2rem; }
.timeline-empty p { font-size: 0.85rem; line-height: 1.6; max-width: 280px; }

/* Save button in builder actions */
#btnSaveSeq {
    background: linear-gradient(135deg, rgba(201,169,110,0.2), rgba(201,169,110,0.1));
    border: 1px solid rgba(201,169,110,0.35);
    color: var(--gold-light);
    border-radius: 8px;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 1px;
    padding: 0.6rem 1.2rem;
    cursor: pointer;
    transition: all 0.25s;
}
#btnSaveSeq:hover {
    background: linear-gradient(135deg, rgba(201,169,110,0.35), rgba(201,169,110,0.2));
    border-color: var(--gold);
}

/* Summary focus row */
.summary-focus-row {
    border-top: 1px solid rgba(201,169,110,0.1);
    padding-top: 0.5rem;
    margin-top: 0.25rem;
    font-size: 0.72rem;
    color: rgba(245,240,232,0.55);
}
.summary-focus-row strong { color: var(--gold); }

/* ==============================================================
   SAVED SEQUENCES SECTION
   ============================================================== */
.saved-sequences-sec {
    background: linear-gradient(180deg, #0e0805 0%, var(--bg-dark) 100%);
    padding: 5rem 2rem;
}
.saved-seq-inner {
    max-width: 1100px;
    margin: 0 auto;
}
.saved-seq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}
.saved-empty {
    grid-column: 1 / -1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 3rem;
    color: rgba(245,240,232,0.35);
}
.saved-empty span { font-size: 2rem; }
.saved-empty p { font-size: 0.85rem; line-height: 1.7; max-width: 320px; }

.saved-seq-card {
    background: rgba(201,169,110,0.05);
    border: 1px solid rgba(201,169,110,0.13);
    border-radius: 14px;
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.saved-seq-card:hover {
    border-color: rgba(201,169,110,0.3);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.saved-seq-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.5rem;
}
.saved-seq-name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-light);
    margin: 0;
    line-height: 1.2;
}
.saved-seq-date {
    font-size: 0.65rem;
    color: rgba(245,240,232,0.35);
    letter-spacing: 0.3px;
    white-space: nowrap;
    margin-top: 0.2rem;
}
.saved-seq-stats {
    display: flex;
    gap: 1.5rem;
}
.saved-stat {
    font-size: 0.78rem;
    color: rgba(245,240,232,0.6);
}
.saved-stat strong { color: var(--gold-light); font-size: 1rem; font-family: var(--font-display); }
.saved-seq-actions {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.btn-load-seq, .btn-preview-seq {
    flex: 1;
    background: rgba(201,169,110,0.1);
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: 8px;
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}
.btn-load-seq:hover { background: rgba(201,169,110,0.2); border-color: var(--gold); }
.btn-preview-seq {
    background: linear-gradient(135deg, rgba(201,169,110,0.2), rgba(201,169,110,0.1));
}
.btn-preview-seq:hover { background: var(--gold); color: #1a0f0a; border-color: var(--gold); }
.btn-delete-seq {
    width: 36px;
    height: 36px;
    background: transparent;
    border: 1px solid rgba(248,113,113,0.2);
    border-radius: 8px;
    color: rgba(248,113,113,0.6);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.btn-delete-seq:hover { background: rgba(248,113,113,0.1); border-color: #f87171; color: #f87171; }

/* ==============================================================
   TOAST NOTIFICATION
   ============================================================== */
#toastNotif {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%) translateY(80px);
    background: rgba(30,15,5,0.95);
    border: 1px solid rgba(201,169,110,0.35);
    color: var(--gold-light);
    font-family: var(--font-body);
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    z-index: 9999;
    opacity: 0;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s;
    white-space: nowrap;
    backdrop-filter: blur(12px);
}
#toastNotif.toast-show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

@media (max-width: 768px) {
    .pose-library-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
    .pose-modal { grid-template-columns: 1fr; max-height: 92vh; }
    .pose-modal-left { border-right: none; border-bottom: 1px solid rgba(201,169,110,0.1); }
    .saved-seq-grid { grid-template-columns: 1fr; }
    .pose-library-toolbar { flex-direction: column; }
    .pl-search-wrap { width: 100%; }
}
@media (max-width: 480px) {
    .pose-library-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .pose-lib-en { font-size: 0.95rem; }
    .suggestions-bar { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0s !important;
        transition-duration: 0s !important;
    }
}

.view-toggle-wrap {
    display: none;
    justify-content: center;
    background: rgba(25, 15, 10, 0.45);
    border: 1px solid rgba(201, 169, 110, 0.15);
    border-radius: 30px;
    padding: 0.25rem;
    margin-bottom: 1rem;
    z-index: 10;
    position: relative;
}
.view-toggle-btn {
    padding: 0.45rem 1.2rem;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: rgba(245, 240, 232, 0.6);
    font-family: var(--font-body);
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.view-toggle-btn.active {
    background: var(--gold);
    color: var(--bg-darker);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.25);
}

/* ==============================================================
   MOBILE FRIENDLY — Comprehensive responsive overhaul
   ============================================================== */

/* ── Prevent horizontal scroll globally ── */
@media (max-width: 767px) {
    html, body { overflow-x: clip; max-width: 100vw; }

    /* ── NAV ── */
    .nav { padding: 1rem 1.2rem; }
    .nav.scrolled { padding: .8rem 1.2rem; }
    .logo-sanskrit { font-size: 1rem; }
    .logo-english { font-size: 0.82rem; }

    /* ── HERO ── */
    .hero-content { padding: 1.2rem; }
    .hero h1 { font-size: clamp(2rem, 11vw, 3rem); margin-bottom: 1rem; }
    .hero p { font-size: .88rem; margin-bottom: 2rem; }
    .hero-actions { flex-direction: column; align-items: center; gap: 0.9rem; }
    .btn { width: 100%; max-width: 280px; justify-content: center; padding: .85rem 1.5rem; }

    /* ── DISCIPLINE STRIP ── */
    .strip-item { padding: .9rem 1.2rem; font-size: .65rem; letter-spacing: 2px; }

    /* ── SECTION HEADINGS ── */
    .sec { padding: clamp(3rem, 8vw, 5rem) clamp(1rem, 4vw, 1.5rem); }
    .sec-head { margin-bottom: clamp(2rem, 5vw, 3rem); }
    .sec h2 { font-size: clamp(1.7rem, 7vw, 2.4rem); }

    /* ── ABOUT ── */
    .about { gap: 2rem; }
    .about-img { display: flex; } /* show the invitation card on mobile */
    .join-invite-inner { padding: 1.6rem 1.2rem; gap: 0.8rem; }
    .stats { gap: 1.5rem; }
    .stat h3 { font-size: 1.8rem; }

    /* ── SURYA NAMASKAR FLOW EXPLORER ── */
    .flow-explorer { padding: 0 1rem; gap: 1.2rem; margin-bottom: 2rem; }
    .filter-groups { padding: 1rem; gap: 0.8rem; }
    .filter-lbl { min-width: unset; font-size: .6rem; }
    .pill-btn { padding: .38rem .75rem; font-size: .58rem; }
    .flow-cards-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
    .flow-card { padding: 0.9rem; }
    .flow-card-name { font-size: 0.88rem; }
    .flow-card-desc { font-size: 0.68rem; display: none; } /* hide desc on small cards */
    .flow-info-display { padding: 1rem 1.2rem; }
    .flow-title-text { font-size: 1.2rem; }
    .flow-desc-text { font-size: 0.75rem; }

    /* ── SURYA STICKY SECTION ── */
    /* Reduce scroll travel on mobile so it doesn't feel like endless blank area */
    .surya-area { height: 220vh; }
    .surya-sticky {
        padding: 3.5rem 0.5rem 0.5rem;
        justify-content: flex-start;
        gap: 0.3rem;
        overflow: visible;
    }
    .char-box {
        flex-direction: column;
        gap: 0.4rem;
        padding: 0 0.5rem;
        width: 100%;
        max-width: 100%;
    }

    /* Toggle: visible pill on mobile */
    .view-toggle-wrap {
        display: inline-flex;
        margin: 0.4rem auto 0.5rem;
        flex-shrink: 0;
    }
    .view-toggle-btn { padding: 0.35rem 1rem; font-size: 0.65rem; }

    /* Char containers: fixed safe height, no aspect-ratio */
    .char-container {
        display: none;
        aspect-ratio: unset;
        width: min(90vw, 320px);
        height: 260px;
        max-width: min(90vw, 320px);
        margin: 0 auto;
        flex-shrink: 0;
    }
    .char-container.active-view { display: flex; }

    /* Pose info strip */
    .p-info {
        margin-top: 0.5rem;
        min-height: unset;
        padding-bottom: 0.5rem;
        flex-shrink: 0;
    }
    .p-sa { font-size: clamp(1rem, 5vw, 1.4rem); }
    .p-en { font-size: .6rem; }
    .p-num { font-size: .6rem; }
    .controls-hint { display: none; }

    /* ── SURYA NAVIGATION DOTS — move to left side ── */
    .surya-dots { right: .4rem; gap: 6px; }

    /* ── SKIP BUTTON ── */
    .skip-flow-btn { font-size: .62rem; padding: .5rem 1.1rem; letter-spacing: 2px; bottom: 1.2rem; }

    /* ── CLASSES CARDS ── */
    .cards { gap: 1rem; }
    .card { padding: 1.5rem 1.2rem; }
    .card h3 { font-size: 1.2rem; }

    /* ── SCHEDULE TABLE ── */
    .s-tbl th, .s-tbl td { padding: .85rem .75rem; font-size: .78rem; }
    .cn { font-size: .95rem; }

    /* ── INSTRUCTORS ── */
    .igrid { gap: 2.5rem; }
    .ia { width: 140px; height: 140px; }
    .ii h3 { font-size: 1.15rem; }
    .ii p { font-size: .8rem; }

    /* ── SEQUENCE BUILDER ── */
    .builder-container { gap: 1.2rem; }
    .builder-library, .builder-timeline { max-height: 420px; padding: 1rem; }
    .timeline-actions { flex-wrap: wrap; gap: 0.5rem; }
    .timeline-actions button { flex: 1; min-width: 70px; font-size: .65rem; }

    /* ── POSE LIBRARY ── */
    .pose-library-inner { padding: 0; }
    .pose-library-toolbar { flex-direction: column; gap: 0.75rem; }
    .pl-search-wrap { width: 100%; }
    .pl-filter-select { width: 100%; }

    /* ── POSE MODAL ── */
    .pose-modal-overlay { padding: 0.5rem; }
    .pose-modal { padding: 1.2rem; border-radius: 12px; }
    .pose-modal-left, .pose-modal-right { padding: 0; }
    .modal-2d-preview { display: flex; justify-content: center; }
    .modal-pose-name { font-size: 1.4rem; }

    /* ── TESTIMONIALS ── */
    .t-box { min-height: 280px; }
    .t-q { font-size: 1rem; }

    /* ── CTA ── */
    .cta h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }

    /* ── CONTACT ── */
    .cgrid { gap: 2rem; }
    .ci h2 { font-size: clamp(1.3rem, 6vw, 2rem); }

    /* ── FOOTER ── */
    .fgrid { gap: 1.8rem; grid-template-columns: 1fr 1fr; }
    .fb { grid-column: 1 / -1; }
    .fbot { flex-direction: column; text-align: center; gap: .6rem; }
}

/* ── Very small phones (≤380px) ── */
@media (max-width: 380px) {
    .hero h1 { font-size: 2rem; }
    .flow-cards-grid { grid-template-columns: 1fr; }
    .fgrid { grid-template-columns: 1fr; }
    .ia { width: 120px; height: 120px; }
    .surya-area { height: 180vh; }
    .char-container {
        width: 92vw;
        max-width: 92vw;
        height: 220px;
    }
}

/* ── Tablets (768px – 1023px) ── */
@media (min-width: 768px) and (max-width: 1023px) {
    .surya-area { height: 300vh; }
    .surya-sticky {
        padding-top: 3.5rem;
        justify-content: flex-start;
        overflow: visible;
    }
    .char-box { gap: 1rem; flex-direction: column; align-items: center; width: 100%; }
    .view-toggle-wrap { display: inline-flex; margin: 0.5rem auto; }
    .char-container {
        display: none;
        aspect-ratio: unset;
        width: min(460px, 90vw);
        height: 340px;
        max-width: min(460px, 90vw);
        margin: 0 auto;
    }
    .char-container.active-view { display: flex; }
    .igrid { gap: 2rem; }
    .fgrid { grid-template-columns: 1.6fr repeat(3, 1fr); }
}

/* ==============================================================
   SITE POLISH — NEW ADDITIONS
   ============================================================== */

/* === SKIP TO CONTENT (Accessibility) === */
.skip-to-content {
    position: fixed;
    top: -100%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9999;
    background: var(--gold);
    color: var(--bg-dark);
    padding: .7rem 1.5rem;
    font-family: var(--font-body);
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 0 0 8px 8px;
    transition: top .3s ease;
    text-decoration: none;
}
.skip-to-content:focus {
    top: 0;
    outline: 2px solid var(--gold-light);
    outline-offset: 2px;
}

/* === FOCUS VISIBLE STYLES (Accessibility) === */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    border-radius: 2px;
}
.btn:focus-visible,
.pill-btn:focus-visible,
.nav-cta:focus-visible {
    outline: 2px solid var(--gold-light);
    outline-offset: 3px;
    box-shadow: 0 0 12px rgba(201, 169, 110, 0.3);
}
.td:focus-visible,
.dot:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.15);
}

/* === COLOR CONTRAST FIX === */
/* Bumping .sub text from 0.55 opacity to 0.7 for WCAG AA compliance */
.sub {
    color: rgba(245, 240, 232, 0.7);
}
.sec-dark .sub {
    color: rgba(245, 240, 232, 0.7);
}

/* === FAQ SECTION === */
.faq-grid {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}
.faq-item {
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    overflow: hidden;
}
.faq-item:first-child {
    border-top: 1px solid rgba(201, 169, 110, 0.12);
}
.faq-item summary {
    font-family: var(--font-display);
    font-size: clamp(1rem, 3vw, 1.25rem);
    font-weight: 400;
    color: var(--text-light);
    padding: 1.4rem 2.5rem 1.4rem 0;
    cursor: pointer;
    position: relative;
    list-style: none;
    transition: color .3s ease;
    line-height: 1.4;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }
.faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--gold);
    font-weight: 300;
    transition: transform .3s ease;
    font-family: var(--font-body);
}
.faq-item[open] summary::after {
    content: '−';
    transform: translateY(-50%);
}
.faq-item summary:hover {
    color: var(--gold-light);
}
.faq-item p {
    font-size: .88rem;
    color: rgba(245, 240, 232, 0.7);
    line-height: 1.8;
    font-weight: 300;
    padding: 0 0 1.4rem;
    max-width: 680px;
    animation: faqSlideIn .3s ease;
}
@keyframes faqSlideIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === FORM SUCCESS STATE === */
.form-success {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: .8rem;
    text-align: center;
    padding: 2rem 1rem;
    animation: successFadeIn .5s ease;
}
.form-success.show {
    display: flex;
}
.form-success svg {
    animation: successCheck .6s ease;
}
.form-success p {
    font-size: .88rem;
    color: rgba(245, 240, 232, 0.75);
    line-height: 1.7;
    font-weight: 300;
    max-width: 360px;
}
@keyframes successFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes successCheck {
    0% { transform: scale(0) rotate(-90deg); opacity: 0; }
    60% { transform: scale(1.2) rotate(0deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); }
}

/* === SOCIAL ICON HOVER GLOW === */
.soc-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 110, 0.15);
    transition: all .35s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(245, 240, 232, 0.5);
}
.soc-icon:hover {
    color: var(--gold);
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.1);
    box-shadow: 0 0 18px rgba(201, 169, 110, 0.25);
    transform: translateY(-3px);
}
.socs {
    gap: .8rem;
}

/* === STATS COUNT-UP (animated class) === */
.stat h3 {
    transition: color .3s ease;
}
.stat h3.counting {
    color: var(--gold-light);
}

/* === SCHEDULE "TODAY" HIGHLIGHT === */
.s-tbl tr.today-row td {
    background: rgba(201, 169, 110, 0.08);
    color: var(--text-light);
    position: relative;
}
.s-tbl tr.today-row td:first-child::before {
    content: '•';
    color: var(--gold);
    font-size: 1.2rem;
    margin-right: .4rem;
    vertical-align: middle;
    line-height: 1;
    animation: todayPulse 2s ease infinite;
}
@keyframes todayPulse {
    0%, 100% { opacity: .5; }
    50% { opacity: 1; }
}

/* === SCHEDULE TABLE SCROLL INDICATOR (Mobile) === */
.s-wrap {
    position: relative;
}
.s-wrap::after {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 40px;
    background: linear-gradient(to right, transparent, rgba(6, 3, 2, 0.85));
    pointer-events: none;
    border-radius: 0 16px 16px 0;
    opacity: 0;
    transition: opacity .3s ease;
}
.s-wrap.can-scroll::after {
    opacity: 1;
}

/* === CTA FLOATING PARTICLES CANVAS === */
.cta {
    position: relative;
}
.cta-particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

/* === FOOTER LEGAL LINKS === */
.footer-legal {
    color: rgba(245, 240, 232, 0.5);
    transition: color .3s;
    font-size: .7rem;
}
.footer-legal:hover {
    color: var(--gold);
}

/* === WILL-CHANGE PERFORMANCE === */
.card,
.flow-card,
.pose-lib-card,
.ii .ia {
    will-change: transform;
}
.hero-glow,
.sun-el,
.rings circle {
    will-change: transform, opacity;
}

/* === TOUCH TARGETS (Mobile) === */
@media (max-width: 767px) {
    .burger {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .m-nav a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
    .td, .dot {
        min-width: 28px;
        min-height: 28px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .sbtn {
        min-height: 44px;
    }
    .soc-icon {
        min-width: 44px;
        min-height: 44px;
    }
    /* iOS font-size fix to prevent zoom on focus */
    .fld input,
    .fld textarea,
    .pl-search-input,
    .lib-search-wrap input,
    #flowSearchInput {
        font-size: 16px;
    }
}

/* === TESTIMONIAL AUTO-ROTATE PROGRESS BAR === */
.t-nav {
    position: relative;
}
.t-progress {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: rgba(201, 169, 110, 0.15);
    border-radius: 1px;
    overflow: hidden;
}
.t-progress-bar {
    height: 100%;
    background: var(--gold);
    border-radius: 1px;
    width: 0%;
    transition: width linear;
}

/* === COUNTRY/LANGUAGE PICKER STYLES === */
.lang-selector-container {
    position: relative;
    display: inline-block;
}

.lang-picker-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.8rem;
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 4px;
    background: rgba(26, 15, 10, 0.4);
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 0.7rem;
    letter-spacing: 1.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.lang-picker-btn:hover {
    border-color: var(--gold);
    background: rgba(201, 169, 110, 0.1);
}

.current-flag {
    font-size: 1rem;
}

.current-country-code {
    text-transform: uppercase;
}

.picker-arrow {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.lang-selector-container.open .picker-arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 240px;
    max-height: 360px;
    overflow-y: auto;
    background: rgba(18, 10, 6, 0.95);
    border: 1px solid var(--gold-dark);
    border-radius: 6px;
    padding: 0.4rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.lang-dropdown::-webkit-scrollbar {
    width: 4px;
}
.lang-dropdown::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
}
.lang-dropdown::-webkit-scrollbar-thumb {
    background: var(--gold-dark);
    border-radius: 2px;
}

.lang-selector-container.open .lang-dropdown {
    opacity: 1;
    pointer-events: all;
    transform: translateY(0);
}

.lang-option {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.7rem 1.2rem;
    border: none;
    background: transparent;
    color: rgba(245, 240, 232, 0.75);
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease;
    letter-spacing: 0.5px;
}

.lang-option:hover {
    color: var(--gold-light);
    background: rgba(201, 169, 110, 0.12);
}

.lang-option.active {
    color: var(--gold);
    font-weight: 600;
    background: rgba(201, 169, 110, 0.06);
    border-left: 2px solid var(--gold);
}

/* Mobile Language Selector styling */
.m-lang-selector-container {
    width: 90%;
    max-width: 320px;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 110, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    align-items: center;
}

.m-lang-lbl {
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--gold);
    opacity: 0.8;
    font-weight: 500;
}

.m-lang-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.4rem;
    width: 100%;
}

.m-lang-option {
    padding: 0.5rem 0.2rem;
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
    color: rgba(245, 240, 232, 0.7);
    font-family: var(--font-body);
    font-size: 0.65rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.m-lang-option:hover, .m-lang-option.active {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(201, 169, 110, 0.1);
}

/* Adjustments for desktop nav links list spacing on medium displays */
@media (max-width: 1024px) {
    .nav-links {
        gap: 1.2rem;
    }
}

/* ==============================================================
   CERTIFICATE INTEGRATION STYLES
   ============================================================== */

/* About Section Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    background: rgba(25, 15, 10, 0.45);
    border: 1px solid rgba(201, 169, 110, 0.18);
    border-radius: 12px;
    padding: 1.2rem 1.5rem;
    margin-top: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.trust-badge:hover {
    border-color: rgba(201, 169, 110, 0.45);
    box-shadow: 0 12px 40px rgba(201, 169, 110, 0.08);
    transform: translateY(-2px);
}
.trust-badge-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201, 169, 110, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 50%;
    color: var(--gold);
    flex-shrink: 0;
}
.trust-badge-icon svg {
    width: 22px;
    height: 22px;
}
.trust-badge-text {
    flex: 1;
}
.trust-badge-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-light);
    margin-bottom: 0.2rem;
    letter-spacing: 0.5px;
}
.trust-badge-desc {
    font-family: var(--font-body);
    font-size: 0.8rem;
    color: rgba(245, 240, 232, 0.6);
    line-height: 1.4;
    margin: 0;
}
.trust-badge-action {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.75rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}
.trust-badge-action:hover {
    background: var(--gold);
    color: #1A0F0A;
}

/* Instructor Certificate Button */
.inst-cert-btn {
    background: rgba(201, 169, 110, 0.06);
    border: 1px solid rgba(201, 169, 110, 0.25);
    color: var(--gold);
    padding: 0.6rem 1.4rem;
    border-radius: 6px;
    font-family: var(--font-body);
    font-size: 0.72rem;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    margin-top: 1.2rem;
    width: 100%;
    max-width: 180px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.inst-cert-btn:hover {
    background: var(--gold);
    color: #1A0F0A;
    border-color: var(--gold);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.18);
}

/* Certificate Lightbox Modal */
.cert-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 6, 4, 0.88);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    padding: 1.5rem;
}
.cert-modal-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.cert-modal-content {
    position: relative;
    width: 100%;
    max-width: min(85vw, 680px);
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: scale(0.92);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.cert-modal-overlay.active .cert-modal-content {
    transform: scale(1);
}
.cert-modal-close {
    position: absolute;
    top: -3.5rem;
    right: 0;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10002;
}
.cert-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--gold);
    transform: rotate(90deg);
}
.cert-modal-img-container {
    width: 100%;
    background: rgba(25, 15, 10, 0.3);
    border: 1px solid rgba(201, 169, 110, 0.2);
    border-radius: 8px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 75vh;
}
.cert-modal-img-container img {
    max-width: 100%;
    max-height: 75vh;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}
.cert-modal-caption {
    margin-top: 1.2rem;
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--gold-light);
    text-align: center;
    letter-spacing: 0.5px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.35s ease 0.15s;
}
.cert-modal-overlay.active .cert-modal-caption {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .trust-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.2rem 1.2rem;
    }
    .trust-badge-action {
        width: 100%;
    }
    .cert-modal-close {
        top: -3rem;
        right: 0;
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
    .cert-modal-overlay {
        padding: 1rem;
    }
    .cert-modal-img-container {
        max-height: 65vh;
    }
    .cert-modal-img-container img {
        max-height: 65vh;
    }
}

/* ==============================================================
   COOKIE CONSENT BANNER
   ============================================================== */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    width: calc(100% - 48px);
    max-width: 680px;
    background: rgba(26, 15, 10, 0.92);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    padding: 1.25rem 1.75rem;
    animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideUpCookie {
    to {
        transform: translateX(-50%) translateY(0);
    }
}

.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-banner-content p {
    font-family: var(--font-body);
    font-size: 0.82rem;
    color: rgba(245, 240, 232, 0.85);
    margin: 0;
    line-height: 1.6;
    flex: 1;
    min-width: 280px;
}

.cookie-banner-actions {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    flex-shrink: 0;
}

.cookie-btn {
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 0.5rem 1.2rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cookie-accept {
    background: var(--gold);
    border: 1px solid var(--gold);
    color: #1A0F0A;
}

.cookie-accept:hover {
    background: var(--gold-light);
    border-color: var(--gold-light);
    box-shadow: 0 4px 15px rgba(201, 169, 110, 0.25);
}

.cookie-decline {
    background: transparent;
    border: 1px solid rgba(245, 240, 232, 0.2);
    color: rgba(245, 240, 232, 0.65);
}

.cookie-decline:hover {
    border-color: rgba(245, 240, 232, 0.45);
    color: var(--text-light);
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 16px;
        padding: 1rem 1.25rem;
    }
    .cookie-banner-content {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    .cookie-banner-actions {
        justify-content: flex-end;
        width: 100%;
    }
    .cookie-btn {
        flex: 1;
        text-align: center;
    }
}




