/* ==============================================
   Asnova Online — Music School Theme
   ============================================== */

/* --- Tokens --- */
:root {
    --ao-primary: #1e3a5f;
    --ao-primary-light: #2c5a8f;
    --ao-accent: #c4964c;
    --ao-accent-light: #d4a853;
    --ao-bg: #fefaf5;
    --ao-bg-alt: #f5f0e8;
    --ao-text: #2d2b28;
    --ao-heading: #1a1820;
    --ao-muted: #6b6860;
    --ao-border: #e2ddd5;
    --ao-white: #ffffff;
    --ao-radius: 12px;
    --ao-radius-sm: 8px;
    --ao-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

body.theme-dark {
    --ao-bg: #070c14;
    --ao-bg-alt: #0d1524;
    --ao-primary: #5c8fc2;
    --ao-primary-light: #7cb2e8;
    --ao-text: #a5b3cd;
    --ao-heading: #ffffff;
    --ao-muted: #64748b;
    --ao-border: rgba(255, 255, 255, 0.08);
    --ao-white: #121b2d;
    --ao-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
    background-color: var(--ao-bg);
    color: var(--ao-text);
}

/* --- Reset & Base --- */
body {
    font-family: var(--ao-font);
    color: var(--ao-text);
    background: var(--ao-bg);
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ao-font-display, serif);
}

/* --- Layout --- */
.ao-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.ao-section {
    padding: 5rem 0;
}

.ao-section-alt {
    background: var(--ao-bg-alt);
}

.ao-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 3rem;
}

.ao-section-title {
    font-family: var(--ao-font-display, serif);
    font-size: clamp(2rem, 4.2vw, 3.125rem);
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.75rem;
    line-height: 1.05;
}

.ao-section-subtitle {
    font-size: 1.0625rem;
    color: var(--ao-muted);
    margin: 0;
    line-height: 1.5;
}

/* --- Buttons --- */
.ao-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--ao-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
    border: 2px solid transparent;
}

.ao-btn:active {
    transform: scale(0.98);
}

.ao-btn-primary {
    background: var(--ao-primary);
    color: var(--ao-white);
}

.ao-btn-primary:hover {
    background: var(--ao-primary-light);
}

.ao-btn-secondary {
    background: transparent;
    color: var(--ao-primary);
    border-color: var(--ao-primary);
}

.ao-btn-secondary:hover {
    background: var(--ao-primary);
    color: var(--ao-white);
}

/* --- Scroll Reveal Animations --- */
.ao-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.ao-reveal.ao-visible {
    opacity: 1;
    transform: translateY(0);
}

.ao-reveal-delay-1 {
    transition-delay: 0.1s;
}

.ao-reveal-delay-2 {
    transition-delay: 0.2s;
}
.ao-reveal-delay-3 {
    transition-delay: 0.3s;
}

/* --- Navigation --- */
.ao-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.3s, backdrop-filter 0.3s, box-shadow 0.3s;
}

.ao-nav.ao-scrolled {
    background: rgba(7, 12, 20, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 var(--ao-border);
}

.ao-nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ao-nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.ao-nav-brand:hover {
    opacity: 0.9;
}

.ao-nav-brand img {
    height: 40px;
    width: auto;
    display: block;
}

.ao-nav-links {
    display: flex;
    align-items: stretch;
    height: 64px;
    flex: 1;
    justify-content: center;
    gap: 0;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ao-nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

/* Trigger button */
.ao-nav-trigger {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 13px;
    height: 100%;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    letter-spacing: 0.01em;
    background: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    font-family: var(--ao-font-display, serif);
    position: relative;
    transition: color 0.2s ease;
}
.ao-nav-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--ao-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    border-radius: 2px 2px 0 0;
}
.ao-nav-item:hover .ao-nav-trigger,
.ao-nav-item.ao-open .ao-nav-trigger {
    color: #fff;
}
.ao-nav-item:hover .ao-nav-trigger::after,
.ao-nav-item.ao-open .ao-nav-trigger::after {
    transform: scaleX(1);
}
.ao-nav-trigger-chev {
    width: 10px;
    height: 10px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    transition: transform 0.2s ease;
    opacity: 0.55;
    flex-shrink: 0;
}
.ao-nav-item:hover .ao-nav-trigger-chev,
.ao-nav-item.ao-open .ao-nav-trigger-chev {
    opacity: 1;
}
.ao-nav-item.ao-open .ao-nav-trigger-chev {
    transform: rotate(180deg);
}

/* Plain anchor trigger (no dropdown) */
.ao-nav-plain {
    display: flex;
    align-items: center;
    padding: 0 13px;
    height: 100%;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    letter-spacing: 0.01em;
    white-space: nowrap;
    position: relative;
    transition: color 0.2s ease;
}
.ao-nav-plain::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--ao-accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    border-radius: 2px 2px 0 0;
}
.ao-nav-plain:hover {
    color: #fff;
}
.ao-nav-plain:hover::after {
    transform: scaleX(1);
}

/* Right CTA area */
.ao-nav-right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.ao-nav-btn-ghost {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 7px 16px;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}
.ao-nav-btn-ghost:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
}

.ao-nav-cta {
    font-size: 0.8125rem;
    font-weight: 700;
    padding: 8px 18px;
    background: linear-gradient(135deg, var(--ao-accent), var(--ao-accent-light));
    color: #fff !important;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(196, 150, 76, 0.25);
    border: none;
}
.ao-nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(196, 150, 76, 0.4);
}

/* ── Mega dropdown ───────────────────────────────────── */
.ao-mega {
    position: absolute;
    top: calc(64px + 4px);
    left: 0;
    background: rgba(10, 20, 40, 0.97);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04);
    padding: 22px;
    min-width: 560px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
    pointer-events: none;
    z-index: 200;
}
.ao-nav-item.ao-open .ao-mega {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: all;
}
.ao-mega--c {
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
}
.ao-nav-item.ao-open .ao-mega--c {
    transform: translateX(-50%) translateY(0);
}
.ao-mega--r {
    left: auto;
    right: 0;
}

/* Mega header */
.ao-mega-hd {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    margin-bottom: 16px;
}
.ao-mega-hd-ico {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.ao-mega-hd-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #fff;
    font-family: var(--ao-font-display, serif);
}
.ao-mega-hd-sub {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 2px;
}
.ao-mega-hd-all {
    margin-left: auto;
    font-size: 11px;
    font-weight: 700;
    color: var(--ao-accent);
    text-decoration: none;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: opacity 0.15s;
}
.ao-mega-hd-all:hover {
    opacity: 0.75;
}

/* Mega grid */
.ao-mega-grid {
    display: grid;
    gap: 18px;
}
.ao-mega-grid--2 {
    grid-template-columns: 1fr 1fr;
}
.ao-mega-grid--3 {
    grid-template-columns: 1fr 1fr 1fr;
}
.ao-mega-grid--1 {
    grid-template-columns: 1fr;
}

/* Category label */
.ao-m-cat {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 7px;
    padding-left: 2px;
}

/* Mega link with icon */
.ao-ml {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 10px;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
    margin-bottom: 1px;
}
.ao-ml:hover {
    background: rgba(255, 255, 255, 0.06);
}
.ao-ml:hover .ao-ml-name {
    color: #fff;
}
.ao-ml-ico {
    width: 27px;
    height: 27px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 1px;
}
.ao-ml-name {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.2;
    transition: color 0.15s;
    font-family: var(--ao-font-display, serif);
}
.ao-ml-desc {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.32);
    margin-top: 2px;
    line-height: 1.35;
}

/* Sub links */
.ao-sub-links {
    padding-left: 2px;
    margin-top: 2px;
}
.ao-sl {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.42);
    text-decoration: none;
    transition: all 0.15s ease;
    margin-bottom: 1px;
}
.ao-sl::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(196, 150, 76, 0.45);
    flex-shrink: 0;
    transition: background 0.15s;
}
.ao-sl:hover {
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.05);
}
.ao-sl:hover::before {
    background: var(--ao-accent);
}

/* Divider */
.ao-m-div {
    height: 1px;
    background: rgba(255, 255, 255, 0.07);
    margin: 12px 0;
}

/* Promo strip */
.ao-mega-promo {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    display: flex;
    align-items: center;
    gap: 8px;
}
.ao-mega-promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(196, 150, 76, 0.1);
    border: 1px solid rgba(196, 150, 76, 0.2);
    font-size: 11px;
    font-weight: 700;
    color: var(--ao-accent);
}
.ao-mega-promo-txt {
    font-size: 11.5px;
    color: rgba(255, 255, 255, 0.35);
}
.ao-mega-promo-lnk {
    margin-left: auto;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--ao-accent);
    text-decoration: none;
    white-space: nowrap;
}

/* ── Mobile Drawer ───────────────────────────────────── */
.ao-nav-mob-btn {
    display: none;
    padding: 8px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.75);
    margin-left: auto;
    cursor: pointer;
}
.ao-nav-mob-btn svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
}

.ao-nav-drawer {
    display: none;
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(8, 14, 28, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 999;
    overflow-y: auto;
    padding: 20px 20px 60px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
}
.ao-nav-drawer.ao-open {
    transform: translateX(0);
}

.ao-dm-sec {
    margin-bottom: 22px;
}
.ao-dm-sec-title {
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 9px;
    padding: 0 4px;
}
.ao-dm-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    margin-bottom: 2px;
    transition: all 0.15s ease;
    font-family: var(--ao-font-display, serif);
}
.ao-dm-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.07);
}
.ao-dm-link-ico {
    width: 30px;
    height: 30px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}
.ao-dm-sub {
    padding-left: 20px;
    margin-top: 2px;
}
.ao-dm-sub-link {
    display: block;
    padding: 6px 12px;
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.42);
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    text-decoration: none;
    margin-bottom: 2px;
    transition: all 0.15s ease;
}
.ao-dm-sub-link:hover {
    color: rgba(255, 255, 255, 0.8);
    border-left-color: var(--ao-accent);
}
.ao-dm-cta-row {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}
.ao-dm-cta {
    flex: 1;
    padding: 13px;
    border-radius: 9px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    text-decoration: none;
    font-family: var(--ao-font-display, serif);
}
.ao-dm-cta-ghost {
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.75);
}
.ao-dm-cta-gold {
    background: linear-gradient(135deg, var(--ao-accent), var(--ao-accent-light));
    color: #fff;
}

/* --- Hero --- */
.ao-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh; /* exact viewport, no overflow */
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 80px; /* mathematically clear fixed nav (~70px) and prevent overlaps */
    padding-bottom: 40px;
    box-sizing: border-box;
    background: linear-gradient(145deg, #080d18 0%, #0e1f38 40%, #0f2640 70%, #0a1a2e 100%);
}

.ao-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(196, 150, 76, 0.12) 0%, transparent 70%),
                radial-gradient(ellipse 40% 40% at 20% 80%, rgba(44, 90, 143, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

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

.ao-hero .ao-container {
    width: 100%;
    display: grid;
    grid-template-columns: 52% 48%;
    gap: 1.5rem;
    align-items: center;
    padding-top: 2rem; /* reduced since parent hero now clears navigation */
    padding-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.ao-hero-content {
    max-width: 580px;
    z-index: 2;
}

.ao-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196, 150, 76, 0.12);
    color: var(--ao-accent);
    border: 1px solid rgba(196, 150, 76, 0.3);
    padding: 0.3rem 0.875rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ao-hero-badge::before {
    content: '';
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 50%;
    background: var(--ao-accent);
    animation: ao-pulse-dot 2s infinite;
}

@keyframes ao-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.6); }
}

.ao-hero-title {
    font-family: var(--ao-font-display, serif);
    font-size: clamp(2rem, 5.2vw, 4.0625rem);
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
    margin: 0 0 1rem;
    letter-spacing: -0.02em;
    white-space: nowrap;
}

@media(max-width: 900px) {
    .ao-hero-title {
        white-space: normal;
    }
}

.ao-hero-title em {
    color: var(--ao-accent);
    font-style: normal;
    position: relative;
    display: inline-block;
}

.ao-hero-title em::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--ao-accent), transparent);
    border-radius: 1px;
}

.ao-hero-subtitle {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.75rem;
    line-height: 1.5;
    max-width: 480px;
}

.ao-hero-cta {
    display: flex;
    gap: 0.875rem;
    flex-wrap: wrap;
    margin-bottom: 1.75rem;
}

.ao-hero .ao-btn {
    padding: 0.75rem 1.625rem;
    font-size: 0.9375rem;
}

.ao-hero .ao-btn-primary {
    background: linear-gradient(135deg, var(--ao-accent), var(--ao-accent-light));
    color: #fff;
    border: none;
    box-shadow: 0 6px 24px rgba(196, 150, 76, 0.35);
}

.ao-hero .ao-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 36px rgba(196, 150, 76, 0.5);
}

.ao-hero .ao-btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ao-hero .ao-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: none;
    transform: translateY(-2px);
}

/* Floating stats */
.ao-hero-stat-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 8;
}

.ao-hero-stat-card {
    position: absolute;
    background: rgba(14, 31, 56, 0.88);
    border: 1px solid rgba(196, 150, 76, 0.25);
    border-radius: 0.75rem;
    padding: 0.625rem 1rem;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5);
    animation: ao-float-card 6s ease-in-out infinite;
    display: flex;
    flex-direction: column;
}

.ao-hero-stat-card.ao-is-pill {
    flex-direction: row;
    align-items: center;
    gap: 0.375rem;
    border-radius: 999px;
    padding: 0.4rem 0.875rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    white-space: nowrap;
}

.ao-hero-stat-card.ao-is-pill .ao-sc-icon {
    font-size: 0.875rem;
    margin-bottom: 0;
}

.ao-hero-stat-card:nth-child(1) { top: 10%; left: -2%; animation-delay: 0s; }
.ao-hero-stat-card:nth-child(2) { bottom: 15%; right: -2%; animation-delay: 2s; }
.ao-hero-stat-card:nth-child(3) { top: 8%; right: -10%; animation-delay: 1s; }
.ao-hero-stat-card:nth-child(4) { top: 45%; left: -12%; animation-delay: 3s; }
.ao-hero-stat-card:nth-child(5) { bottom: 10%; left: -4%; animation-delay: 4s; }

@keyframes ao-float-card {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.ao-sc-val {
    font-family: var(--font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.ao-sc-label {
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.2rem;
    white-space: nowrap;
}

.ao-sc-icon {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.ao-hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.ao-orbit-stage {
    position: relative;
    width: 100%;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ao-singer-portal {
    position: relative;
    z-index: 5;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(196, 150, 76, 0.4);
    background: rgba(15, 38, 64, 0.6);
    box-shadow: 0 0 40px rgba(196, 150, 76, 0.35), inset 0 0 30px rgba(196, 150, 76, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: ao-singer-breathe 6s ease-in-out infinite;
}

.ao-singer-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    border-radius: 50%;
}

@keyframes ao-singer-breathe {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1.02) translateY(-4px); }
}

.ao-singer-aura {
    position: absolute;
    z-index: 2;
    width: 320px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(196, 150, 76, 0.22) 0%, rgba(44, 90, 143, 0.12) 50%, transparent 75%);
    animation: ao-aura-pulse 4s ease-in-out infinite;
    pointer-events: none;
}

@keyframes ao-aura-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.08); }
}

/* Three.js canvas under the singer */
.ao-hero-stage {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
    pointer-events: none;
}

.ao-hero-stage canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* ─── Orbits ─────────────────────────────────── */
.ao-orbit {
    position: absolute;
    z-index: 4;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(196, 150, 76, 0.15);
    transform-style: preserve-3d;
    pointer-events: none;
}

/* Orbit 1 — large, tilted */
.ao-orbit-1 {
    width: 380px;
    height: 200px;
    margin: -100px 0 0 -190px;
    transform: rotateX(70deg) rotateZ(-10deg);
    animation: ao-spin-o1 12s linear infinite;
}

/* Orbit 2 — medium, opposite tilt */
.ao-orbit-2 {
    width: 300px;
    height: 160px;
    margin: -80px 0 0 -150px;
    transform: rotateX(65deg) rotateZ(30deg);
    animation: ao-spin-o2 9s linear infinite reverse;
}

/* Orbit 3 — small, fast */
.ao-orbit-3 {
    width: 220px;
    height: 120px;
    margin: -60px 0 0 -110px;
    transform: rotateX(72deg) rotateZ(60deg);
    animation: ao-spin-o3 7s linear infinite;
}

@keyframes ao-spin-o1 {
    from { transform: rotateX(70deg) rotateZ(-10deg); }
    to { transform: rotateX(70deg) rotateZ(350deg); }
}

@keyframes ao-spin-o2 {
    from { transform: rotateX(65deg) rotateZ(30deg); }
    to { transform: rotateX(65deg) rotateZ(-330deg); }
}

@keyframes ao-spin-o3 {
    from { transform: rotateX(72deg) rotateZ(60deg); }
    to { transform: rotateX(72deg) rotateZ(420deg); }
}

/* Orbit items counter-rotate to stay upright */
.ao-orb-item {
    position: absolute;
    font-size: 1.75rem;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.6));
    animation: ao-counter-spin 12s linear infinite;
    pointer-events: none;
}

.ao-orbit-2 .ao-orb-item { animation-duration: 9s; animation-direction: reverse; }
.ao-orbit-3 .ao-orb-item { animation-duration: 7s; }

@keyframes ao-counter-spin {
    from { transform: rotateX(-70deg) rotateZ(10deg); }
    to { transform: rotateX(-70deg) rotateZ(-350deg); }
}

.ao-orb-1a { top: -1.1rem; left: 50%; margin-left: -1rem; }
.ao-orb-1b { bottom: -1.1rem; left: 50%; margin-left: -1rem; }
.ao-orb-2a { top: -1.1rem; left: 50%; margin-left: -1rem; }
.ao-orb-2b { bottom: -1.1rem; left: 50%; margin-left: -1rem; }
.ao-orb-3a { top: -1rem; left: 50%; margin-left: -.875rem; }
.ao-orb-3b { bottom: -1rem; left: 50%; margin-left: -.875rem; }

/* Free floating notes */
.ao-free-note {
    position: absolute;
    z-index: 6;
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 8px rgba(196, 150, 76, 0.4));
    pointer-events: none;
    animation: ao-note-float 8s ease-in-out infinite;
}

.ao-fn-1 { top: 15%; left: 10%; animation-delay: 0s; }
.ao-fn-2 { top: 30%; right: 8%; animation-delay: 2.5s; }
.ao-fn-3 { bottom: 20%; left: 20%; animation-delay: 5s; font-size: 1rem; }

@keyframes ao-note-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); opacity: 0.7; }
    50% { transform: translateY(-18px) rotate(8deg); opacity: 1; }
}

/* --- Trust Bar (Infinite Marquee Ribbon) --- */
.ao-trust-bar {
    padding: 1.75rem 0;
    border-top: 1px solid var(--ao-border);
    border-bottom: 1px solid var(--ao-border);
    background-color: var(--ao-bg);
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Gradient fade overlays for left and right edges */
.ao-trust-bar::before,
.ao-trust-bar::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}

.ao-trust-bar::before {
    left: 0;
    background: linear-gradient(to right, var(--ao-bg), rgba(7, 12, 20, 0));
}

.ao-trust-bar::after {
    right: 0;
    background: linear-gradient(to left, var(--ao-bg), rgba(7, 12, 20, 0));
}

.ao-marquee-wrapper {
    display: flex;
    overflow: hidden;
    width: 100%;
}

.ao-marquee-track {
    display: flex;
    gap: 5rem;
    width: max-content;
    animation: ao-marquee-scroll 30s linear infinite;
    align-items: center;
}

.ao-marquee-track:hover {
    animation-play-state: paused;
}

.ao-trust-item {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    flex-shrink: 0;
    text-align: left;
}

.ao-trust-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 48px;
    width: 48px;
    color: var(--ao-accent);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(196, 150, 76, 0.25));
}

.ao-trust-logo svg {
    height: 100%;
    width: auto;
}

.ao-trust-item:hover .ao-trust-logo {
    transform: scale(1.12) translateY(-2px);
    filter: drop-shadow(0 4px 12px rgba(196, 150, 76, 0.5));
}

.ao-trust-meta {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.ao-trust-value-text {
    font-family: var(--ao-font-display, serif);
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ao-heading, #fff);
    line-height: 1.2;
    white-space: nowrap;
}

.ao-trust-label {
    font-size: 0.8125rem;
    color: var(--ao-muted);
    line-height: 1.2;
    white-space: nowrap;
}

@keyframes ao-marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@media (max-width: 768px) {
    .ao-marquee-track {
        gap: 3.5rem;
        animation-duration: 22s;
    }
    .ao-trust-item {
        gap: 0.85rem;
    }
    .ao-trust-logo {
        height: 40px;
        width: 40px;
    }
    .ao-trust-value-text {
        font-size: 0.9375rem;
    }
    .ao-trust-label {
        font-size: 0.75rem;
    }
}

/* --- Unified How It Works Grid & Video Integration --- */
.ao-how-it-works-grid {
    display: block;
    max-width: 760px;
    margin: 3.5rem auto 0 auto;
}

.ao-video-column {
    position: relative;
    width: 100%;
}

.ao-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: var(--ao-radius);
    overflow: hidden;
    background: #050c14;
    border: 1px solid rgba(196, 150, 76, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4), 0 0 40px rgba(196, 150, 76, 0.05);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s ease, box-shadow 0.4s ease;
}

.ao-video-wrapper:hover {
    transform: translateY(-6px) scale(1.01);
    border-color: rgba(196, 150, 76, 0.5);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 50px rgba(196, 150, 76, 0.15);
}

.ao-video-element {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: var(--ao-radius);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ao-video-element.ao-loaded {
    opacity: 1;
}

/* Custom Play Overlay */
.ao-video-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(5, 12, 20, 0.4), rgba(5, 12, 20, 0.85));
    cursor: pointer;
    z-index: 2;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.ao-video-overlay.ao-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.ao-video-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--ao-accent);
    color: var(--ao-white);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 0 0 rgba(196, 150, 76, 0.4), 0 10px 25px rgba(196, 150, 76, 0.3);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), background-color 0.3s ease, box-shadow 0.3s ease;
    outline: none;
    animation: ao-pulse-glow 2s infinite;
}

.ao-video-play-btn:hover {
    transform: scale(1.12);
    background: var(--ao-white);
    color: var(--ao-primary);
    box-shadow: 0 0 0 15px rgba(255, 255, 255, 0.1), 0 15px 30px rgba(196, 150, 76, 0.4);
}

.ao-play-icon {
    width: 32px;
    height: 32px;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

.ao-video-play-btn:hover .ao-play-icon {
    transform: scale(1.05);
}

.ao-video-overlay-title {
    margin-top: 1.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--ao-white);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    letter-spacing: 0.02em;
    font-family: var(--ao-font-display, serif);
}

@keyframes ao-pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(196, 150, 76, 0.5), 0 10px 25px rgba(196, 150, 76, 0.3);
    }
    70% {
        box-shadow: 0 0 0 18px rgba(196, 150, 76, 0), 0 10px 25px rgba(196, 150, 76, 0.3);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(196, 150, 76, 0), 0 10px 25px rgba(196, 150, 76, 0.3);
    }
}

/* Vertical Steps Timeline */
.ao-steps-column {
    display: flex;
    flex-direction: column;
}

.ao-vertical-steps {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 2.2rem;
    padding-left: 1rem;
}

.ao-vertical-steps::before {
    content: '';
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: calc(1rem + 24px);
    width: 2px;
    background: linear-gradient(to bottom, var(--ao-accent) 0%, rgba(196, 150, 76, 0.1) 100%);
    z-index: 1;
}

.ao-vertical-step-item {
    position: relative;
    display: flex;
    gap: 1.8rem;
    z-index: 2;
    transition: transform 0.4s ease;
}

.ao-vertical-step-item:hover {
    transform: translateX(6px);
}

.ao-step-badge {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #0f2640;
    border: 2px solid var(--ao-accent);
    color: var(--ao-accent);
    font-weight: 700;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.ao-vertical-step-item:hover .ao-step-badge {
    background: var(--ao-accent);
    color: #fff;
    box-shadow: 0 8px 24px rgba(196, 150, 76, 0.4);
}

.ao-step-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ao-step-content .ao-step-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ao-heading);
    margin: 0 0 0.4rem 0;
    line-height: 1.5;
    transition: color 0.3s ease;
}

.ao-vertical-step-item:hover .ao-step-title {
    color: var(--ao-accent);
}

.ao-step-content .ao-step-desc {
    font-size: 0.95rem;
    color: var(--ao-muted);
    margin: 0;
    line-height: 1.6;
}


/* --- Interactive Calculator --- */
.ao-calc-section {
    background: linear-gradient(160deg, #0f2640 0%, #1e3a5f 60%, #1a2e4a 100%);
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
}

.ao-calc-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4964c' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.ao-calc-section::after {
    content: '';
    position: absolute;
    top: -200px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196, 150, 76, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.ao-calc-header {
    text-align: center;
    margin-bottom: 3rem;
}

.ao-calc-header .ao-section-title {
    color: #fff;
    margin-bottom: 0.75rem;
}

.ao-calc-header .ao-section-subtitle {
    color: rgba(255, 255, 255, 0.6);
}

.ao-calc-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(196, 150, 76, 0.15);
    color: var(--ao-accent);
    border: 1px solid rgba(196, 150, 76, 0.3);
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.ao-calc-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 1.5rem;
    padding: 2.5rem;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.ao-calc-tabs {
    display: flex;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 0.875rem;
    padding: 0.25rem;
    gap: 0.25rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.ao-calc-tab {
    flex: 1;
    min-width: 120px;
    padding: 0.625rem 1.25rem;
    border: none;
    border-radius: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s var(--ao-ease);
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    text-align: center;
    position: relative;
    white-space: nowrap;
}

.ao-calc-tab.active {
    background: #fff;
    color: var(--ao-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.ao-calc-tab:not(.active):hover {
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.08);
}

.ao-calc-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 768px) {
    .ao-calc-body {
        grid-template-columns: 1fr;
    }
}

.ao-calc-controls {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.ao-ctrl-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.875rem;
}

.ao-ctrl-val {
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--ao-accent);
    font-variant-numeric: tabular-nums;
}

.ao-calc-static-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.75rem 1rem;
}

.ao-static-info-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(196, 150, 76, 0.15);
    border: 1px solid rgba(196, 150, 76, 0.3);
    color: #fff;
    padding: 0.375rem 0.75rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.ao-static-info-badge .ao-icon {
    font-size: 1rem;
}

.ao-static-info-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    line-height: 1.3;
}

.ao-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.15);
    transition: background 0.15s;
}

.ao-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 3px var(--ao-accent);
    cursor: pointer;
    transition: transform 0.15s var(--ao-ease-spring);
}

.ao-range::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

.ao-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3), 0 0 0 3px var(--ao-accent);
    border: none;
    cursor: pointer;
}

.ao-chip-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.ao-chip {
    padding: 0.4375rem 1rem;
    border-radius: 999px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s var(--ao-ease);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
}

.ao-chip.active {
    background: var(--ao-accent);
    border-color: var(--ao-accent);
    color: #fff;
    box-shadow: 0 4px 16px rgba(196, 150, 76, 0.4);
}

.ao-chip:not(.active):hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

.ao-calc-result {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 1.25rem;
    padding: 2rem;
    border: 1px solid rgba(196, 150, 76, 0.2);
    position: relative;
    overflow: hidden;
}

.ao-calc-result::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--ao-accent), transparent);
}

.ao-result-title {
    font-size: 0.8125rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1.5rem;
}

.ao-result-price {
    margin-bottom: 1.5rem;
}

.ao-result-price-label {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.375rem;
}

.ao-result-price-val {
    font-family: var(--ao-font-display, serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    line-height: 1;
    transition: all 0.4s var(--ao-ease-spring);
}

.ao-result-price-val span {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: var(--ao-font);
    font-weight: 400;
}

.ao-result-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ao-result-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.ao-result-row-label {
    color: rgba(255, 255, 255, 0.55);
}

.ao-result-row-val {
    color: rgba(255, 255, 255, 0.85);
    font-weight: 600;
}

.ao-result-row.discount .ao-result-row-val {
    color: #4ade80;
}

.ao-result-row.total {
    font-size: 1rem;
}

.ao-result-row.total .ao-result-row-label,
.ao-result-row.total .ao-result-row-val {
    color: #fff;
    font-weight: 700;
}

.ao-result-saving {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.12), rgba(74, 222, 128, 0.05));
    border: 1px solid rgba(74, 222, 128, 0.2);
    border-radius: 0.75rem;
    padding: 0.875rem 1.125rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.ao-saving-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.ao-saving-text strong {
    color: #4ade80;
}

.ao-calc-cta-btn {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, var(--ao-accent), var(--ao-accent-light));
    color: #fff;
    border: none;
    font-size: 1.0625rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s var(--ao-ease-spring), box-shadow 0.2s;
    box-shadow: 0 8px 24px rgba(196, 150, 76, 0.35);
}

.ao-calc-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(196, 150, 76, 0.5);
}

.ao-calc-cta-btn:active {
    transform: scale(0.97);
}

@keyframes ao-num-pop {
    0% { transform: scale(1.15) translateY(-4px); opacity: 0.6; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.ao-result-price-val.updating {
    animation: ao-num-pop 0.35s var(--ao-ease-spring) forwards;
}

.ao-tab-badge {
    display: inline-block;
    background: var(--ao-accent);
    color: #fff;
    font-size: 0.625rem;
    font-weight: 800;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    margin-left: 0.4rem;
    vertical-align: middle;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* --- Course Catalog --- */
.ao-catalog-filters {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.ao-filter-tab {
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ao-muted);
    background: var(--ao-bg-alt);
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s, color 0.2s, transform 0.2s;
}

.ao-filter-tab.active,
.ao-filter-tab:hover {
    background: var(--ao-primary);
    color: var(--ao-white);
}

.ao-filter-icon {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    object-fit: cover;
    background: rgba(255, 255, 255, 0.1);
    transition: transform 0.2s ease;
}

.ao-filter-tab:hover .ao-filter-icon,
.ao-filter-tab.active .ao-filter-icon {
    transform: scale(1.15);
}

.ao-catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.ao-course-card {
    background: var(--ao-white);
    border-radius: var(--ao-radius);
    overflow: hidden;
    box-shadow: var(--ao-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ao-course-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.ao-course-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--ao-bg-alt);
}

.ao-course-card-body {
    padding: 1.5rem;
}

.ao-course-card-title {
    font-family: var(--ao-font-display, serif);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.5rem;
    line-height: 1.4;
}

.ao-course-card-meta {
    font-size: 0.875rem;
    color: var(--ao-muted);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.ao-course-card-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ao-primary);
    margin: 0 0 1rem;
}

.ao-course-card .ao-btn {
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.9375rem;
}

/* --- How It Works --- */
.ao-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    counter-reset: step;
}

.ao-step-card {
    text-align: center;
    position: relative;
    padding: 2rem 1.5rem;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ao-step-card:hover {
    transform: translateY(-4px);
}

.ao-step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--ao-primary);
    color: var(--ao-white);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto 1.25rem;
}

.ao-step-title {
    font-family: var(--ao-font-display, serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ao-heading);
    margin: 0 0 0.5rem;
    line-height: 1.5;
}

.ao-step-desc {
    font-size: 0.9375rem;
    color: var(--ao-muted);
    margin: 0;
    line-height: 1.5;
}

.ao-step-arrow {
    display: none;
}

/* --- For Whom --- */
.ao-audience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ao-audience-card {
    background: var(--ao-white);
    border-radius: var(--ao-radius);
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: var(--ao-shadow);
    border: 1px solid var(--ao-border);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.ao-audience-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--ao-accent);
}

.ao-audience-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.ao-audience-title {
    font-family: var(--ao-font-display, serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--ao-heading);
    margin: 0 0 0.75rem;
    line-height: 1.5;
}

.ao-audience-desc {
    font-size: 0.9375rem;
    color: var(--ao-muted);
    margin: 0 0 1.5rem;
    line-height: 1.5;
}

.ao-audience-link {
    display: inline-block;
    font-weight: 600;
    color: var(--ao-primary);
    text-decoration: none;
    font-size: 0.9375rem;
}

.ao-audience-link:hover {
    text-decoration: underline;
}

/* --- Teachers --- */
.ao-teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ao-teacher-card {
    background: var(--ao-white);
    border-radius: var(--ao-radius);
    overflow: hidden;
    box-shadow: var(--ao-shadow);
    text-align: center;
    border: 1px solid var(--ao-border);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.ao-teacher-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--ao-accent);
}

.ao-teacher-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    background: var(--ao-bg-alt);
}

.ao-teacher-body {
    padding: 1.75rem;
}

.ao-teacher-name {
    font-family: var(--ao-font-display, serif);
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.25rem;
    line-height: 1.4;
}

.ao-teacher-role {
    font-size: 0.9375rem;
    color: var(--ao-accent);
    font-weight: 600;
    margin: 0 0 0.5rem;
}

.ao-teacher-credential {
    font-size: 0.8125rem;
    color: var(--ao-muted);
    margin: 0 0 1rem;
    line-height: 1.4;
}

.ao-teacher-quote {
    font-size: 0.9375rem;
    color: var(--ao-text);
    font-style: italic;
    margin: 0;
    line-height: 1.5;
    position: relative;
    padding-top: 0.75rem;
    border-top: 1px solid var(--ao-border);
}

/* --- Reviews --- */
.ao-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.ao-review-card {
    background: var(--ao-white);
    border-radius: var(--ao-radius);
    padding: 2rem;
    box-shadow: var(--ao-shadow);
    border: 1px solid var(--ao-border);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
}

.ao-review-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
    border-color: var(--ao-primary);
}

.ao-review-stars {
    color: var(--ao-accent);
    font-size: 1.125rem;
    letter-spacing: 0.15em;
    margin-bottom: 1rem;
}

.ao-review-text {
    font-size: 0.9375rem;
    color: var(--ao-text);
    line-height: 1.6;
    margin: 0 0 1.25rem;
    font-style: italic;
}

.ao-review-author {
    font-weight: 700;
    color: var(--ao-heading);
    font-size: 0.9375rem;
    margin: 0 0 0.125rem;
}

.ao-review-city {
    font-size: 0.8125rem;
    color: var(--ao-muted);
    margin: 0;
}

/* --- FAQ --- */
.ao-faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.ao-faq-item {
    border-bottom: 1px solid var(--ao-border);
}

.ao-faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 0;
    font-family: var(--ao-font-display, serif);
    font-size: 1.4375rem;
    font-weight: 600;
    color: var(--ao-heading);
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.ao-faq-question:hover {
    color: var(--ao-primary);
}

.ao-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--ao-accent);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.ao-faq-question:focus-visible {
    outline: 2px solid var(--ao-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

.ao-faq-question[aria-expanded="true"]::after {
    content: '\2212';
}

.ao-faq-answer {
    padding: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--ao-text);
    line-height: 1.6;
    display: none;
}

.ao-faq-question[aria-expanded="true"] + .ao-faq-answer {
    display: block;
}

/* --- CTA Form --- */
.ao-cta-form {
    max-width: 560px;
    margin: 0 auto;
    background: var(--ao-white);
    border-radius: var(--ao-radius);
    padding: 2.5rem;
    box-shadow: var(--ao-shadow);
    border: 1px solid var(--ao-border);
}

.ao-form-field {
    margin-bottom: 1.25rem;
}

.ao-form-label {
    display: block;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ao-heading);
    margin-bottom: 0.5rem;
}

.ao-form-input,
.ao-form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
    font-size: 1rem;
    font-family: inherit;
    color: var(--ao-text);
    background: var(--ao-bg);
    transition: border-color 0.2s;
}

.ao-form-input:focus,
.ao-form-select:focus {
    outline: none;
    border-color: var(--ao-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

.ao-form-submit {
    width: 100%;
    padding: 0.875rem;
    font-size: 1.0625rem;
    font-weight: 700;
    background: var(--ao-accent);
    color: var(--ao-white);
    border: none;
    border-radius: var(--ao-radius-sm);
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}

.ao-form-submit:hover {
    background: var(--ao-accent-light);
}

/* --- Footer --- */
.ao-footer {
    padding: 2.5rem 0;
    color: var(--ao-muted);
    font-size: 0.875rem;
    border-top: 1px solid var(--ao-border);
}

.ao-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ao-footer-inner p {
    margin: 0;
}

.ao-footer a {
    color: var(--ao-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.ao-footer a:hover {
    color: var(--ao-accent);
    text-decoration: none;
}

.ao-footer-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.ao-footer-links a {
    font-size: 0.8125rem;
    color: var(--ao-muted);
    opacity: 0.75;
    transition: opacity 0.2s, color 0.2s;
}

.ao-footer-links a:hover {
    opacity: 1;
    color: var(--ao-accent);
}

@media (max-width: 640px) {
    .ao-footer-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .ao-footer-links {
        gap: 1rem;
    }
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .ao-hero {
        height: auto !important;
        min-height: auto !important;
        padding-top: 100px !important;
        padding-bottom: 3rem !important;
    }

    .ao-hero .ao-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .ao-hero-content {
        max-width: 100%;
    }

    .ao-hero-cta {
        justify-content: center;
    }

    .ao-orbit-stage {
        height: 320px;
    }

    .ao-singer-portal {
        width: 220px;
        height: 220px;
        border-width: 2px;
    }

    .ao-orbit-1 {
        width: 260px;
        height: 140px;
        margin: -70px 0 0 -130px;
    }

    .ao-orbit-2 {
        width: 200px;
        height: 110px;
        margin: -55px 0 0 -100px;
    }

    .ao-orbit-3 {
        display: none;
    }

    .ao-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ao-how-it-works-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .ao-hero-stat-card:nth-child(1) { top: 5%; left: 5%; }
    .ao-hero-stat-card:nth-child(2) { bottom: 5%; right: 5%; }
    .ao-hero-stat-card:nth-child(3) { top: 5%; right: 5%; }
    .ao-hero-stat-card:nth-child(4),
    .ao-hero-stat-card:nth-child(5) { display: none; }
}

@media (max-width: 768px) {
    .ao-container {
        padding: 0 1rem;
    }

    .ao-section {
        padding: 2.5rem 0;
    }

    .ao-section-header {
        margin-bottom: 1.75rem;
    }

    .ao-cta-form {
        padding: 1.75rem 1.25rem;
        border-radius: 1rem;
    }

    .ao-calc-card {
        padding: 1.75rem 1.25rem;
        border-radius: 1rem;
    }

    .ao-section-title {
        font-size: 1.625rem;
        margin-bottom: 0.75rem;
    }

    .ao-section-subtitle {
        font-size: 0.9375rem;
    }

    .ao-hero {
        height: auto !important;
        min-height: auto !important;
        padding-top: 7.5rem !important;
        padding-bottom: 3.5rem !important;
    }

    .ao-hero-title {
        font-size: 2rem;
    }

    .ao-hero-visual {
        display: none !important;
    }

    .ao-free-note {
        font-size: 1rem;
    }

    .ao-trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .ao-catalog-grid {
        grid-template-columns: 1fr;
    }

    .ao-steps-grid {
        grid-template-columns: 1fr;
    }

    .ao-audience-grid {
        grid-template-columns: 1fr;
    }

    .ao-teachers-grid {
        grid-template-columns: 1fr;
    }

    .ao-reviews-grid {
        grid-template-columns: 1fr;
    }

    .ao-teacher-photo {
        height: 200px;
    }

    .ao-nav-links {
        display: none;
    }

    .ao-hero-stat-card {
        display: none !important;
    }
}

/* Rating Badge & SVG Img Adjustments */
.ao-hero-rating {
    display: inline-flex;
    align-items: center;
    flex-wrap: nowrap;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50px;
    padding: 0.5rem 1.25rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.ao-rating-stars {
    color: #ffbe1a;
    font-size: 1.1rem;
    letter-spacing: -2px;
    filter: drop-shadow(0 0 5px rgba(255, 190, 26, 0.5));
    white-space: nowrap;
    flex-shrink: 0;
}

.ao-rating-text {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
}

.ao-rating-text strong {
    color: #fff;
    font-weight: 600;
}

.ao-rating-platforms {
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.platform-ya { color: #ff3333; font-weight: bold; }
.platform-go { color: #4285f4; font-weight: bold; }
.platform-dg { color: #00b0ff; font-weight: bold; }

img.ao-orb-item {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 4px 12px rgba(196, 150, 76, 0.45));
}

img.ao-free-note {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 2px 8px rgba(196, 150, 76, 0.4));
}

/* --- Responsive Tablet & Mobile Improvements --- */
@media (max-width: 960px) {
    .ao-nav-links {
        display: none !important;
    }
    .ao-nav-right {
        display: none !important;
    }
    .ao-nav-mob-btn {
        display: flex !important;
    }
    .ao-nav-drawer {
        display: block !important;
    }
    .ao-calc-body {
        grid-template-columns: 1fr !important;
    }
    .ao-teachers-grid {
        grid-template-columns: 1fr !important;
    }
    .ao-reviews-grid {
        grid-template-columns: 1fr !important;
    }
    .ao-audience-grid {
        grid-template-columns: 1fr !important;
    }
    .ao-hero-visual {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .ao-calc-tabs {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .ao-calc-tabs::-webkit-scrollbar {
        display: none;
    }
    .ao-calc-tab {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
    }
    
    .ao-catalog-filters {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        justify-content: flex-start !important;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .ao-catalog-filters::-webkit-scrollbar {
        display: none;
    }
    .ao-filter-tab {
        flex: 0 0 auto !important;
        scroll-snap-align: start;
    }
}

/* --- Mobile Bottom Tab Bar --- */
.ao-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(56px + env(safe-area-inset-bottom));
    padding-bottom: env(safe-area-inset-bottom);
    background: rgba(8, 14, 28, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 999;
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

.ao-mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: color 0.2s ease;
    flex: 1;
    height: 100%;
}

.ao-mobile-nav-item svg {
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.ao-mobile-nav-item:hover,
.ao-mobile-nav-item:active,
.ao-mobile-nav-item.ao-active,
.ao-mobile-nav-item.active {
    color: #fff;
}

.ao-mobile-nav-item.ao-active svg,
.ao-mobile-nav-item.active svg {
    stroke: var(--ao-accent);
    transform: scale(1.1);
}

.ao-mobile-nav-item.ao-is-cta {
    color: var(--ao-accent);
}

.ao-mobile-nav-item.ao-is-cta:hover,
.ao-mobile-nav-item.ao-is-cta.ao-active,
.ao-mobile-nav-item.ao-is-cta.active {
    color: var(--ao-accent-light);
}

@media (max-width: 768px) {
    .ao-mobile-bottom-nav {
        display: flex;
    }
    body {
        padding-bottom: calc(56px + env(safe-area-inset-bottom)) !important;
    }
}

/* --- Inner Page Layouts & Typography --- */
.ao-inner-hero {
    background: linear-gradient(135deg, #0d1524 0%, #070c14 100%);
    padding: 7rem 0 3.5rem;
    border-bottom: 1px solid var(--ao-border);
    position: relative;
    overflow: hidden;
}

.ao-inner-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(196, 150, 76, 0.12), transparent 60%);
    pointer-events: none;
}

.ao-breadcrumbs {
    margin-bottom: 1.5rem;
}

.ao-breadcrumbs-list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.625rem;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.5rem 1rem;
    border-radius: 30px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
}

.ao-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.ao-breadcrumb-link {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ao-breadcrumb-link:hover {
    color: var(--ao-accent-light, #e0b368);
    transform: translateY(-1px);
}

.ao-breadcrumbs .ao-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
    user-select: none;
}

.ao-breadcrumb-current {
    color: var(--ao-accent, #c4964c);
    font-weight: 600;
    text-shadow: 0 0 12px rgba(196, 150, 76, 0.2);
}

.ao-inner-title {
    font-size: clamp(2.2rem, 5.2vw, 3rem);
    font-weight: 800;
    color: var(--ao-heading);
    margin: 0;
    line-height: 1.15;
}

/* Page content styles */
.ao-page-content-sec {
    padding: 4.5rem 0 5.5rem;
    background: var(--ao-bg);
}

.ao-page-content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--ao-text);
}

.ao-page-content-wrapper p {
    margin: 0 0 1.5rem;
}

.ao-page-content-wrapper h2 {
    font-size: 1.875rem;
    color: var(--ao-heading);
    margin: 2.75rem 0 1.25rem;
}

.ao-page-content-wrapper h3 {
    font-size: 1.5rem;
    color: var(--ao-heading);
    margin: 2.25rem 0 1.25rem;
}

/* Single Post Specifics */
.ao-post-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.25rem;
    font-size: 0.875rem;
    color: var(--ao-muted);
}

.ao-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.ao-meta-category {
    background: rgba(196, 150, 76, 0.15);
    color: var(--ao-accent);
    padding: 0.25rem 0.75rem;
    border-radius: 99px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-decoration: none;
    margin-right: 0.5rem;
}

.ao-meta-category:hover {
    background: var(--ao-accent);
    color: #fff;
}

/* Rich text blocks inside posts */
.ao-post-content blockquote {
    border-left: 4px solid var(--ao-accent);
    padding: 0.75rem 1.5rem;
    margin: 2rem 0;
    background: var(--ao-bg-alt);
    border-radius: 0 var(--ao-radius) var(--ao-radius) 0;
    font-style: italic;
    color: var(--ao-heading);
}

.ao-post-content ul,
.ao-post-content ol {
    margin: 0 0 1.5rem 1.5rem;
    padding: 0;
}

.ao-post-content li {
    margin-bottom: 0.5rem;
}

.ao-post-content figure {
    margin: 2.5rem 0;
    text-align: center;
}

.ao-post-content figcaption {
    font-size: 0.875rem;
    color: var(--ao-muted);
    margin-top: 0.5rem;
}

/* Headings H4-H6 */
.ao-post-content h4 {
    font-size: 1.3125rem;
    color: var(--ao-heading);
    margin: 2rem 0 1rem;
}
.ao-post-content h5 {
    font-size: 1.125rem;
    color: var(--ao-heading);
    margin: 1.75rem 0 1rem;
}
.ao-post-content h6 {
    font-size: 1rem;
    color: var(--ao-heading);
    margin: 1.5rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Tables styling */
.ao-post-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    font-size: 0.9375rem;
    line-height: 1.5;
}
.ao-post-content th,
.ao-post-content td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--ao-border);
    text-align: left;
}
.ao-post-content th {
    background: var(--ao-bg-alt);
    color: var(--ao-heading);
    font-weight: 700;
    border-bottom: 2px solid var(--ao-border);
}
.ao-post-content tr:hover {
    background: rgba(196, 150, 76, 0.03);
}
.ao-table-wrapper {
    overflow-x: auto;
    margin: 2rem 0;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
}
.ao-table-wrapper table {
    margin: 0;
}

/* Code & Pre */
.ao-post-content code {
    background: var(--ao-bg-alt);
    color: var(--ao-accent);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-size: 0.9em;
    font-family: monospace, Courier, monospace;
}
.ao-post-content pre {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
    padding: 1.25rem;
    overflow-x: auto;
    margin: 2rem 0;
}
.ao-post-content pre code {
    background: transparent;
    color: var(--ao-text);
    padding: 0;
    border-radius: 0;
    font-size: 0.875rem;
}

/* Gutenberg Buttons */
.ao-post-content .wp-block-button {
    margin: 2rem 0;
}
.ao-post-content .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    border-radius: var(--ao-radius-sm);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    background: var(--ao-accent);
    color: #fff !important;
    transition: background 0.2s, transform 0.15s;
    cursor: pointer;
    border: none;
}
.ao-post-content .wp-block-button__link:hover {
    background: var(--ao-accent-light);
    color: #fff !important;
}
.ao-post-content .wp-block-button__link:active {
    transform: scale(0.98);
}

/* Responsive Embeds / YouTube */
.ao-post-content .wp-block-embed {
    margin: 2.5rem 0;
}
.ao-post-content .wp-block-embed__wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
    border-radius: var(--ao-radius);
    border: 1px solid var(--ao-border);
}
.ao-post-content .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Dividers */
.ao-post-content hr {
    border: 0;
    height: 1px;
    background: var(--ao-border);
    margin: 3rem 0;
}

/* Pros & Cons Block styling */
.ao-pros-cons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.ao-pros-box,
.ao-cons-box {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 1.75rem;
}
.ao-pros-box {
    border-left: 4px solid #22c55e;
}
.ao-cons-box {
    border-left: 4px solid #ef4444;
}
.ao-pros-title,
.ao-cons-title {
    font-family: var(--ao-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.ao-pros-title { color: #22c55e; }
.ao-cons-title { color: #ef4444; }

.ao-list-pros,
.ao-list-cons {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
.ao-list-pros li,
.ao-list-cons li {
    position: relative;
    padding-left: 1.75rem;
    margin-bottom: 0.75rem;
}
.ao-list-pros li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #22c55e;
    font-weight: bold;
}
.ao-list-cons li::before {
    content: '✗';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: bold;
}

/* Inline CTA Box */
.ao-content-cta {
    background: linear-gradient(135deg, var(--ao-bg-alt) 0%, rgba(196, 150, 76, 0.08) 100%);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2.25rem;
    margin: 2.5rem 0;
    text-align: center;
    box-shadow: var(--ao-shadow);
}
.ao-content-cta-title {
    font-family: var(--ao-font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.5rem;
}
.ao-content-cta-desc {
    font-size: 0.9375rem;
    color: var(--ao-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

/* Gutenberg Galleries */
.ao-post-content .wp-block-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
    padding: 0;
    list-style: none;
}
.ao-post-content .wp-block-gallery .wp-block-image {
    margin: 0;
}
.ao-post-content .wp-block-gallery img {
    border-radius: var(--ao-radius-sm);
    border: 1px solid var(--ao-border);
    transition: transform 0.3s ease;
}
.ao-post-content .wp-block-gallery img:hover {
    transform: scale(1.02);
}

/* --- Advanced Post Blocks & Callouts --- */

/* Alert/Callout Boxes */
.ao-alert-box {
    position: relative;
    padding: 1.5rem 1.75rem;
    margin: 2rem 0;
    border-radius: var(--ao-radius);
    border-left: 4px solid var(--ao-muted);
    font-size: 0.96875rem;
    line-height: 1.6;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.ao-alert-box::before {
    font-size: 1.25rem;
    line-height: 1.2;
    flex-shrink: 0;
}

/* Green Alert (Success/Keys) */
.ao-alert-success {
    background: rgba(34, 197, 94, 0.05);
    border-color: #22c55e;
    border-left-width: 5px;
    color: var(--ao-text);
}
.ao-alert-success::before {
    content: '💡';
}
.theme-dark .ao-alert-success {
    background: rgba(34, 197, 94, 0.08);
}

/* Yellow Alert (Warning/Caution) */
.ao-alert-warning {
    background: rgba(234, 179, 8, 0.06);
    border-color: #eab308;
    border-left-width: 5px;
    color: var(--ao-text);
}
.ao-alert-warning::before {
    content: '⚠️';
}
.theme-dark .ao-alert-warning {
    background: rgba(234, 179, 8, 0.09);
}

/* Red Alert (Danger/Important) */
.ao-alert-danger {
    background: rgba(239, 68, 68, 0.05);
    border-color: #ef4444;
    border-left-width: 5px;
    color: var(--ao-text);
}
.ao-alert-danger::before {
    content: '🚨';
}
.theme-dark .ao-alert-danger {
    background: rgba(239, 68, 68, 0.08);
}

/* Blue Alert (Info/Tip) */
.ao-alert-info {
    background: rgba(59, 130, 246, 0.05);
    border-color: #3b82f6;
    border-left-width: 5px;
    color: var(--ao-text);
}
.ao-alert-info::before {
    content: '📌';
}
.theme-dark .ao-alert-info {
    background: rgba(59, 130, 246, 0.08);
}

/* Social Share Bar */
.ao-post-share-bar {
    border-top: 1px dashed var(--ao-border);
    padding-top: 1.75rem;
    margin-top: 3.5rem;
}
.ao-share-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.ao-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.625rem 1.25rem;
    border-radius: 30px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff !important;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.2s ease, opacity 0.2s;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}
.ao-share-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
}
.ao-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.12);
    opacity: 0.95;
}
.ao-share-btn:active {
    transform: translateY(0);
}
.ao-share-vk { background-color: #0077ff; }
.ao-share-tg { background-color: #2ca5e0; }
.ao-share-wa { background-color: #25d366; }
.ao-share-max { 
    background: linear-gradient(135deg, var(--ao-primary) 0%, var(--ao-accent) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Quote + Author Card */
.ao-quote-author-card {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2.25rem;
    margin: 2.5rem 0;
    position: relative;
    box-shadow: var(--ao-shadow);
}
.ao-quote-author-card::before {
    content: '“';
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--ao-accent);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}
.ao-quote-author-card blockquote {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
    background: transparent !important;
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
    color: var(--ao-heading);
    position: relative;
    z-index: 1;
}
.ao-quote-profile-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1;
    position: relative;
}
.ao-quote-profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--ao-accent);
    background: var(--ao-border);
}
.ao-quote-profile-info {
    display: flex;
    flex-direction: column;
}
.ao-quote-profile-name {
    font-family: var(--ao-font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--ao-heading);
}
.ao-quote-profile-role {
    font-size: 0.8125rem;
    color: var(--ao-muted);
    margin-top: 2px;
}

/* Quote + Expert + Ask Question Card */
.ao-quote-expert-card {
    background: linear-gradient(135deg, var(--ao-white) 0%, rgba(196,150,76,0.03) 100%);
    border: 2px solid var(--ao-accent);
    border-radius: var(--ao-radius);
    padding: 2.25rem;
    margin: 2.5rem 0;
    position: relative;
    box-shadow: var(--ao-shadow);
}
.ao-quote-expert-card::before {
    content: '“';
    position: absolute;
    top: -1.5rem;
    right: 1.5rem;
    font-size: 8rem;
    font-family: Georgia, serif;
    color: var(--ao-accent);
    opacity: 0.15;
    line-height: 1;
    pointer-events: none;
}
.ao-quote-expert-card blockquote {
    border: none !important;
    padding: 0 !important;
    margin: 0 0 1.5rem 0 !important;
    background: transparent !important;
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 500;
    font-style: italic;
    color: var(--ao-heading);
    position: relative;
    z-index: 1;
}
.ao-quote-expert-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.25rem;
    margin-top: 1.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--ao-border);
}
.ao-ask-expert-btn {
    border-radius: 30px !important;
    font-size: 0.875rem !important;
    padding: 0.5rem 1.25rem !important;
    border: 2px solid var(--ao-accent) !important;
    background: transparent !important;
    color: var(--ao-accent) !important;
    transition: all 0.25s ease !important;
    box-shadow: none !important;
}
.ao-ask-expert-btn:hover {
    background: var(--ao-accent) !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* X10 Block: Table of Contents (TOC) */
.ao-toc-card {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 1.75rem;
    margin: 2.5rem 0;
}
.ao-toc-title {
    font-family: var(--ao-font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 1.25rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.ao-toc-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ao-toc-item {
    font-size: 0.96875rem;
    line-height: 1.4;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.ao-toc-link {
    color: var(--ao-text);
    text-decoration: none;
    transition: color 0.2s, padding-left 0.2s;
    font-weight: 500;
}
.ao-toc-link:hover {
    color: var(--ao-accent-light);
    padding-left: 4px;
}
.ao-toc-num {
    color: var(--ao-accent);
    font-weight: 700;
}

/* X10 Block: Key Takeaway (Важно помнить) */
.ao-takeaway-card {
    background: linear-gradient(135deg, rgba(196,150,76,0.08) 0%, rgba(196,150,76,0.02) 100%);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2rem;
    margin: 2.5rem 0;
    position: relative;
}
.ao-takeaway-card::before {
    content: '🎯';
    position: absolute;
    top: -1.1rem;
    left: 2rem;
    font-size: 1.5rem;
    background: var(--ao-bg);
    border: 1px solid var(--ao-border);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: var(--ao-shadow);
}
.ao-takeaway-title {
    font-family: var(--ao-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0.5rem 0 1rem;
}
.ao-takeaway-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--ao-text);
}

/* X10 Block: Infographics / Factoid Card */
.ao-factoid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2.5rem 0;
}
.ao-factoid-card {
    background: var(--ao-white);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 1.75rem;
    text-align: center;
    box-shadow: var(--ao-shadow);
    transition: transform 0.2s ease;
}
.ao-factoid-card:hover {
    transform: translateY(-3px);
}
.ao-factoid-num {
    font-family: var(--ao-font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--ao-accent);
    line-height: 1.1;
    margin-bottom: 0.5rem;
}
.ao-factoid-label {
    font-size: 0.875rem;
    color: var(--ao-muted);
    line-height: 1.4;
}

/* Archive Grid */
.ao-archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.ao-post-card {
    background: var(--ao-white);
    border-radius: var(--ao-radius);
    overflow: hidden;
    box-shadow: var(--ao-shadow);
    border: 1px solid var(--ao-border);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ao-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: var(--ao-accent);
}

.ao-post-card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.ao-post-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--ao-bg-alt);
}

.ao-post-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ao-post-card-title {
    font-size: 1.3125rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.75rem;
    line-height: 1.35;
    transition: color 0.2s;
}

.ao-post-card:hover .ao-post-card-title {
    color: var(--ao-accent-light);
}

.ao-post-card-excerpt {
    font-size: 0.9375rem;
    color: var(--ao-text);
    margin: 0 0 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.ao-post-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8125rem;
    color: var(--ao-muted);
    border-top: 1px solid var(--ao-border);
    padding-top: 1rem;
}

.ao-pagination {
    margin-top: 4rem;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.ao-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--ao-radius-sm);
    text-decoration: none;
    color: var(--ao-text);
    border: 1px solid var(--ao-border);
    font-weight: 600;
    transition: all 0.2s;
}

.ao-pagination .page-numbers:hover {
    border-color: var(--ao-accent);
    color: var(--ao-accent);
}

.ao-pagination .page-numbers.current {
    background: var(--ao-accent);
    color: #fff;
    border-color: var(--ao-accent);
}

/* 404 Page Styling */
.ao-error-404 {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8rem 0;
    text-align: center;
}

.ao-error-inner {
    max-width: 600px;
    padding: 0 1.5rem;
}

.ao-error-badge {
    display: inline-block;
    background: rgba(196, 150, 76, 0.12);
    color: var(--ao-accent);
    border: 1px solid rgba(196, 150, 76, 0.25);
    padding: 0.375rem 1.125rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.ao-error-num {
    font-family: var(--ao-font-display, serif);
    font-size: clamp(5rem, 15vw, 9rem);
    font-weight: 800;
    line-height: 1;
    color: var(--ao-heading);
    margin-bottom: 1rem;
    position: relative;
}

.ao-error-num::after {
    content: '🎼';
    font-size: 2.5rem;
    position: absolute;
    top: 0;
    right: 20%;
    animation: floatingNote 4s ease-in-out infinite;
}

@keyframes floatingNote {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(15deg); }
}

.ao-error-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 1.25rem;
}

.ao-error-desc {
    font-size: 1.0625rem;
    color: var(--ao-muted);
    margin-bottom: 2.5rem;
    line-height: 1.65;
}

.ao-error-shortcuts {
    margin: 2.5rem 0;
    border-top: 1px solid var(--ao-border);
    border-bottom: 1px solid var(--ao-border);
    padding: 1.5rem 0;
}

.ao-error-shortcuts-title {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.ao-shortcuts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.ao-shortcut-link {
    display: block;
    padding: 0.75rem;
    border-radius: var(--ao-radius-sm);
    background: var(--ao-bg-alt);
    color: var(--ao-text);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9375rem;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.ao-shortcut-link:hover {
    border-color: var(--ao-accent);
    color: var(--ao-heading);
    background: rgba(196, 150, 76, 0.05);
}

/* WP Search Form Custom Styling for 404 */
.ao-error-search form {
    display: flex;
    gap: 0.5rem;
}

.ao-error-search input[type="search"] {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
    background: var(--ao-bg-alt);
    color: var(--ao-heading);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
}

.ao-error-search input[type="search"]:focus {
    border-color: var(--ao-primary);
}

.ao-error-search input[type="submit"] {
    padding: 0.75rem 1.5rem;
    border-radius: var(--ao-radius-sm);
    border: none;
    background: var(--ao-accent);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.ao-error-search input[type="submit"]:hover {
    background: var(--ao-accent-light);
}

/* --- Blog Filter Tags (home.php / category.php) --- */
.ao-blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.ao-filter-tag {
    display: inline-flex;
    align-items: center;
    padding: 0.375rem 1rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--ao-muted);
    border: 1px solid var(--ao-border);
    background: transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.ao-filter-tag:hover {
    border-color: var(--ao-accent);
    color: var(--ao-accent);
    background: rgba(196, 150, 76, 0.06);
}

.ao-filter-tag--active {
    background: var(--ao-accent);
    border-color: var(--ao-accent);
    color: #fff;
}

.ao-filter-tag--active:hover {
    background: var(--ao-accent-light);
    border-color: var(--ao-accent-light);
    color: #fff;
}

/* Post card category badge */
.ao-post-card-cat {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--ao-accent);
    background: rgba(196, 150, 76, 0.12);
    border-radius: 999px;
    padding: 0.2rem 0.625rem;
    margin-bottom: 0.625rem;
}

/* Search form (search.php global) */
.search-form {
    display: flex;
    gap: 0.5rem;
    width: 100%;
}

.search-form label {
    flex-grow: 1;
}

.search-field {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
    background: var(--ao-bg-alt);
    color: var(--ao-heading);
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s;
    font-family: var(--ao-font);
}

.search-field:focus {
    border-color: var(--ao-primary);
}

.search-submit {
    flex-shrink: 0;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ao-radius-sm);
    border: none;
    background: var(--ao-accent);
    color: #fff;
    font-weight: 600;
    font-size: 0.9375rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.search-submit:hover {
    background: var(--ao-accent-light);
}

/* --- Inner Page Mobile --- */
@media (max-width: 768px) {

    .ao-inner-hero {
        padding: 6rem 0 2.5rem; /* top = nav height (64px) + breathing room */
    }

    .ao-inner-title {
        font-size: clamp(1.625rem, 7vw, 2.25rem);
    }

    /* Archive grid: single column on small screens */
    .ao-archive-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .ao-page-content-sec {
        padding: 2.5rem 0 3.5rem;
    }

    /* Blog filter tags: allow wrap */
    .ao-blog-filters {
        gap: 0.375rem;
        margin-bottom: 1.5rem;
    }

    .ao-filter-tag {
        font-size: 0.75rem;
        padding: 0.3rem 0.75rem;
    }

    /* 404 shortcuts: single column */
    .ao-shortcuts-grid {
        grid-template-columns: 1fr;
    }

    /* Search form stacked */
    .search-form {
        flex-direction: column;
    }

    .search-submit {
        width: 100%;
    }

    /* Pagination: tight spacing */
    .ao-pagination {
        margin-top: 2.5rem;
        flex-wrap: wrap;
    }

    .ao-pagination .page-numbers {
        width: 38px;
        height: 38px;
        font-size: 0.875rem;
    }

    /* Post card */
    .ao-post-card-body {
        padding: 1.25rem;
    }

    .ao-post-card-title {
        font-size: 1.125rem;
    }

    /* Error page */
    .ao-error-404 {
        padding: 4rem 0;
    }

    .ao-error-title {
        font-size: 1.5rem;
    }

    .ao-error-search form {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .ao-inner-hero {
        padding: 5.5rem 0 2rem;
    }

    .ao-breadcrumbs-list {
        font-size: 0.8rem;
        padding: 0.375rem 0.75rem;
    }

    .ao-post-meta {
        gap: 0.75rem;
    }
}

/* ============================================================
   Contact Page (page-kontakty.php)
   ============================================================ */

.ao-contacts-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

/* Contact info blocks (left column) */
.ao-contacts-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.ao-contact-block {
    background: var(--ao-white);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 1.75rem;
    box-shadow: var(--ao-shadow);
}

.ao-contact-block--legal {
    background: var(--ao-bg-alt);
}

.ao-contact-block-title {
    font-family: var(--ao-font-display);
    font-size: 1.1875rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 1.25rem;
}

/* Channel links (Telegram, WhatsApp, Email) */
.ao-contact-channels {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.ao-contact-channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.875rem 1rem;
    border-radius: var(--ao-radius-sm);
    border: 1px solid var(--ao-border);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s, background 0.2s, transform 0.15s;
    background: var(--ao-bg);
}

.ao-contact-channel:hover {
    border-color: var(--ao-accent);
    background: rgba(196, 150, 76, 0.04);
    transform: translateX(4px);
}

.ao-channel-ico {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ao-channel-ico svg {
    width: 20px;
    height: 20px;
}

.ao-channel-name {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--ao-muted);
    margin-bottom: 0.2rem;
}

.ao-channel-val {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ao-heading);
}

/* Working hours */
.ao-hours-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ao-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--ao-border);
}

.ao-hours-row:last-child {
    border-bottom: none;
}

.ao-hours-day {
    font-size: 0.9375rem;
    color: var(--ao-muted);
}

.ao-hours-time {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ao-heading);
}

/* Legal requisites */
.ao-legal-grid {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ao-legal-row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.5rem;
    padding: 0.375rem 0;
    border-bottom: 1px solid var(--ao-border);
    font-size: 0.9rem;
}

.ao-legal-row:last-child {
    border-bottom: none;
}

.ao-legal-label {
    color: var(--ao-muted);
    font-size: 0.8125rem;
}

.ao-legal-val {
    color: var(--ao-heading);
    font-weight: 500;
}

/* Contact form card (right column) */
.ao-contacts-form-wrap {
    position: sticky;
    top: 90px; /* below fixed nav */
}

.ao-contacts-form-card {
    background: var(--ao-white);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2.25rem;
    box-shadow: var(--ao-shadow);
}

.ao-contacts-form-title {
    font-family: var(--ao-font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.375rem;
}

/* Textarea */
.ao-form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.5;
    font-family: var(--ao-font);
}

/* Consent checkbox */
.ao-form-consent {
    margin-bottom: 1.25rem;
}

.ao-consent-label {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    font-size: 0.875rem;
    color: var(--ao-muted);
    cursor: pointer;
    line-height: 1.5;
}

.ao-consent-check {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    accent-color: var(--ao-accent);
    cursor: pointer;
}

/* ============================================================
   Legal / Privacy pages
   ============================================================ */

.ao-legal-content h2 {
    font-size: 1.375rem;
    margin: 2.5rem 0 1rem;
    color: var(--ao-heading);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--ao-border);
}

.ao-legal-content h2:first-child {
    margin-top: 0;
}

.ao-legal-content ul {
    padding-left: 1.5rem;
    margin: 0 0 1.25rem;
}

.ao-legal-content li {
    margin-bottom: 0.5rem;
    line-height: 1.65;
}

.ao-legal-content a {
    color: var(--ao-accent);
    text-decoration: none;
}

.ao-legal-content a:hover {
    text-decoration: underline;
}

.ao-legal-contacts {
    margin-top: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--ao-bg-alt);
    border-radius: var(--ao-radius-sm);
    border: 1px solid var(--ao-border);
}

.ao-legal-contacts p {
    margin: 0 0 0.375rem;
    font-size: 0.9375rem;
}

/* ============================================================
   Contact + Legal — Mobile
   ============================================================ */

@media (max-width: 900px) {
    .ao-contacts-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .ao-contacts-form-wrap {
        position: static;
    }
}

@media (max-width: 768px) {
    .ao-contact-block {
        padding: 1.25rem;
    }

    .ao-contacts-form-card {
        padding: 1.5rem;
    }

    .ao-legal-row {
        grid-template-columns: 100px 1fr;
        font-size: 0.8125rem;
    }

    .ao-contact-channel:hover {
        transform: none;
    }
}

/* ==============================================
   Comments, Authors & Teachers Page Additions
   ============================================== */

/* --- Comments Layout & Forms --- */
.ao-comments-area {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid var(--ao-border);
}

.ao-comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ao-comment-list ol.children {
    list-style: none;
    margin-left: 3rem;
    padding-left: 0;
    border-left: 2px solid var(--ao-border);
    padding-top: 0.5rem;
}

@media (max-width: 768px) {
    .ao-comment-list ol.children {
        margin-left: 1.5rem;
    }
}

.ao-comment-card {
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.ao-comment-card:hover {
    border-color: var(--ao-accent) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12) !important;
}

body.theme-dark .ao-comment-card:hover {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4) !important;
}

.ao-comment-reply-link,
.comment-reply-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ao-primary-light);
    text-decoration: none;
    padding: 0.4rem 0.875rem;
    background: var(--ao-bg-alt);
    border-radius: var(--ao-radius-sm);
    border: 1px solid var(--ao-border);
    transition: all 0.2s ease;
}

.ao-comment-reply-link:hover,
.comment-reply-link:hover {
    background: var(--ao-accent);
    color: #fff;
    border-color: var(--ao-accent);
    transform: translateY(-1px);
}

.ao-comment-input,
.ao-comment-textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ao-comment-input:focus,
.ao-comment-textarea:focus,
.ao-antispam-math-input:focus {
    outline: none;
    border-color: var(--ao-accent) !important;
    box-shadow: 0 0 0 3px rgba(196, 150, 76, 0.2) !important;
}

/* --- Author Profiles --- */
.ao-author-social-btn {
    transition: all 0.2s ease;
}

.ao-author-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0.95;
}

/* --- Teachers Catalog Grid --- */
.ao-teacher-card:hover {
    transform: translateY(-5px);
    border-color: var(--ao-accent) !important;
    box-shadow: var(--ao-shadow) !important;
}

body.theme-dark .ao-teacher-card:hover {
    box-shadow: 0 16px 40px rgba(0,0,0,0.45) !important;
}

.ao-teacher-card:hover .ao-teacher-img {
    transform: scale(1.04);
}

.ao-filter-btn {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.ao-filter-btn:hover {
    border-color: var(--ao-accent) !important;
    color: var(--ao-accent) !important;
    background: var(--ao-bg-alt) !important;
}

.ao-filter-btn.active {
    background: var(--ao-accent) !important;
    color: #fff !important;
    border-color: var(--ao-accent) !important;
    box-shadow: 0 4px 14px rgba(196, 150, 76, 0.3);
}

body.theme-dark .ao-filter-btn.active {
    box-shadow: 0 4px 16px rgba(196, 150, 76, 0.5);
}

.ao-teacher-bio-toggle:hover {
    color: var(--ao-accent) !important;
}

/* --- Vacancies System --- */
.ao-vacancy-item-card {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), border-color 0.3s ease, box-shadow 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ao-vacancy-item-card:hover {
    transform: translateY(-4px);
    border-color: var(--ao-accent) !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12) !important;
}

body.theme-dark .ao-vacancy-item-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}

.ao-v-badge {
    transition: transform 0.2s ease;
}

.ao-vacancy-item-card:hover .ao-v-badge {
    transform: scale(1.02);
}

.ao-vacancy-app-form input[type="text"],
.ao-vacancy-app-form input[type="email"],
.ao-vacancy-app-form input[type="tel"],
.ao-vacancy-app-form input[type="url"],
.ao-vacancy-app-form textarea,
.ao-vacancy-app-form select {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ao-vacancy-app-form input:focus,
.ao-vacancy-app-form textarea:focus,
.ao-vacancy-app-form select:focus {
    outline: none;
    border-color: var(--ao-accent) !important;
    box-shadow: 0 0 0 3px rgba(196, 150, 76, 0.2) !important;
}

.ao-vacancy-detail-toggle svg {
    transition: transform 0.2s ease;
}

.ao-vacancy-split-layout {
    grid-template-columns: 2.2fr 1fr;
}

@media (max-width: 900px) {
    .ao-vacancy-split-layout {
        grid-template-columns: 1fr;
    }
    .ao-vacancy-sidebar-col {
        position: static !important;
    }
}

/* --- HTML Sitemap --- */
.ao-sitemap-tab-btn {
    padding: 0.625rem 1.5rem;
    border-radius: 99px;
    border: 1px solid var(--ao-border);
    background: var(--ao-white);
    color: var(--ao-text);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: var(--ao-font-display);
}

.ao-sitemap-tab-btn:hover {
    border-color: var(--ao-accent);
    color: var(--ao-accent);
}

.ao-sitemap-tab-btn.active {
    background: var(--ao-accent) !important;
    color: #fff !important;
    border-color: var(--ao-accent) !important;
    box-shadow: 0 4px 14px rgba(196, 150, 76, 0.3);
}

body.theme-dark .ao-sitemap-tab-btn.active {
    box-shadow: 0 4px 16px rgba(196, 150, 76, 0.5);
}

.ao-sitemap-pane {
    display: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.ao-sitemap-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.ao-sitemap-list .ao-sitemap-item::before {
    content: '🎵';
    position: absolute;
    left: -1.35rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.75rem;
    color: var(--ao-accent);
    opacity: 0.65;
    transition: opacity 0.2s ease;
}

.ao-sitemap-list .ao-sitemap-item:hover::before {
    opacity: 1;
}

.ao-sitemap-link:hover {
    color: var(--ao-accent-light) !important;
    text-decoration: underline !important;
}

#ao-sitemap-filter-input {
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

#ao-sitemap-filter-input:focus {
    outline: none;
    border-color: var(--ao-accent) !important;
    box-shadow: 0 0 0 3px rgba(196, 150, 76, 0.2) !important;
}

/* --- New Interactive UX Blocks for Blog Posts --- */

/* Before/After Audio Player */
.ao-audio-compare {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: var(--ao-shadow);
}
.ao-audio-compare-header {
    margin-bottom: 1.5rem;
}
.ao-audio-compare-subtitle {
    display: block;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--ao-accent);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}
.ao-audio-compare-title {
    font-family: var(--ao-font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0;
}
.ao-audio-track-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.ao-audio-track-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--ao-white);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
    padding: 1rem 1.25rem;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s ease;
}
.ao-audio-track-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--ao-shadow);
}
.ao-audio-play-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: var(--ao-accent);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.15s;
    outline: none;
}
.ao-audio-play-btn:hover {
    background: var(--ao-accent-light);
}
.ao-audio-play-btn:active {
    transform: scale(0.92);
}
.ao-audio-play-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}
.ao-audio-info {
    flex-grow: 1;
}
.ao-audio-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    gap: 1rem;
}
.ao-audio-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ao-heading);
}
.ao-audio-time {
    font-size: 0.8125rem;
    color: var(--ao-muted);
    font-family: monospace;
}
.ao-audio-progress-bar {
    height: 6px;
    background: var(--ao-border);
    border-radius: 3px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
}
.ao-audio-progress-fill {
    height: 100%;
    width: 0%;
    background: var(--ao-accent);
    border-radius: 3px;
    transition: width 0.1s linear;
}

/* Quiz Block */
.ao-quiz-card {
    background: var(--ao-white);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2.25rem;
    margin: 2.5rem 0;
    box-shadow: var(--ao-shadow);
}
.ao-quiz-question {
    font-family: var(--ao-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}
.ao-quiz-options {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ao-quiz-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: var(--ao-radius-sm);
    border: 1px solid var(--ao-border);
    background: var(--ao-bg-alt);
    color: var(--ao-text);
    text-align: left;
    cursor: pointer;
    transition: all 0.2s ease, transform 0.15s;
    font-size: 0.9375rem;
    width: 100%;
}
.ao-quiz-option:hover:not(:disabled) {
    border-color: var(--ao-accent);
    background: var(--ao-white);
    transform: translateY(-1px);
}
.ao-quiz-option:active:not(:disabled) {
    transform: scale(0.99);
}
.ao-quiz-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--ao-border);
    color: var(--ao-muted);
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
    transition: all 0.2s ease;
}
.ao-quiz-option:hover .ao-quiz-badge {
    background: var(--ao-accent);
    color: #fff;
}
.ao-quiz-option.ao-selected-correct {
    border-color: #22c55e;
    background: rgba(34, 197, 94, 0.05);
    color: var(--ao-heading);
}
.ao-quiz-option.ao-selected-correct .ao-quiz-badge {
    background: #22c55e;
    color: #fff;
}
.ao-quiz-option.ao-selected-incorrect {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.05);
    color: var(--ao-heading);
}
.ao-quiz-option.ao-selected-incorrect .ao-quiz-badge {
    background: #ef4444;
    color: #fff;
}
.ao-quiz-feedback {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px dashed var(--ao-border);
    animation: ao-fade-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ao-quiz-feedback-title {
    font-family: var(--ao-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}
.ao-quiz-feedback.ao-correct .ao-quiz-feedback-title {
    color: #22c55e;
}
.ao-quiz-feedback.ao-incorrect .ao-quiz-feedback-title {
    color: #ef4444;
}
.ao-quiz-feedback-text {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin: 0;
    color: var(--ao-text);
}

/* Interactive Checklist */
.ao-checklist-card {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2rem;
    margin: 2.5rem 0;
    box-shadow: var(--ao-shadow);
}
.ao-checklist-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--ao-border);
}
.ao-checklist-title {
    font-family: var(--ao-font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0;
}
.ao-checklist-progress {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.ao-checklist-bar {
    width: 100px;
    height: 6px;
    background: var(--ao-border);
    border-radius: 3px;
    overflow: hidden;
}
.ao-checklist-fill {
    height: 100%;
    background: var(--ao-accent);
    transition: width 0.3s ease;
}
.ao-checklist-percent {
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--ao-muted);
}
.ao-checklist-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.ao-checklist-item {
    background: var(--ao-white);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius-sm);
    padding: 0.875rem 1.25rem;
    transition: all 0.2s ease;
}
.ao-checklist-label {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    cursor: pointer;
    user-select: none;
    width: 100%;
    margin: 0;
}
.ao-checklist-checkbox {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.ao-checklist-custom-box {
    width: 20px;
    height: 20px;
    border: 2px solid var(--ao-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
    transition: all 0.2s ease;
}
.ao-checklist-checkbox:checked + .ao-checklist-custom-box {
    border-color: var(--ao-accent);
    background: var(--ao-accent);
}
.ao-checklist-custom-box svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: #fff;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    transform: scale(0);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.ao-checklist-checkbox:checked + .ao-checklist-custom-box svg {
    transform: scale(1);
}
.ao-checklist-text {
    font-size: 0.9375rem;
    line-height: 1.4;
    color: var(--ao-text);
    transition: color 0.2s ease;
}
.ao-checklist-item.ao-checked {
    opacity: 0.7;
    background: transparent;
}
.ao-checklist-item.ao-checked .ao-checklist-text {
    text-decoration: line-through;
    color: var(--ao-muted);
}

/* Steps / Timeline Block */
.ao-steps-timeline {
    position: relative;
    padding-left: 2rem;
    margin: 3rem 0;
    display: flex;
    flex-direction: column;
    gap: 2.25rem;
}
.ao-steps-timeline::before {
    content: '';
    position: absolute;
    left: 17px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    background: repeating-linear-gradient(to bottom, var(--ao-border) 0, var(--ao-border) 6px, transparent 6px, transparent 12px);
}
.ao-step-item {
    position: relative;
}
.ao-step-badge {
    position: absolute;
    left: -2.35rem;
    top: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--ao-white);
    border: 2px solid var(--ao-accent);
    color: var(--ao-accent);
    font-weight: 700;
    font-size: 0.8125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--ao-shadow);
    z-index: 1;
}
.ao-step-content {
    background: var(--ao-bg-alt);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 1.5rem 1.75rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
}
.ao-step-content:hover {
    transform: translateX(4px);
    border-color: var(--ao-accent);
}
.ao-step-title {
    font-family: var(--ao-font-display);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.5rem;
}
.ao-step-desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ao-text);
    margin: 0;
}

/* Lead Magnet Block */
.ao-lead-magnet-card {
    background: linear-gradient(135deg, var(--ao-white) 0%, rgba(196, 150, 76, 0.03) 100%);
    border: 1px solid var(--ao-border);
    border-radius: var(--ao-radius);
    padding: 2.5rem;
    margin: 3rem 0;
    box-shadow: var(--ao-shadow);
    display: grid;
    grid-template-columns: 160px 1fr;
    gap: 2.5rem;
    align-items: center;
}
@media (max-width: 640px) {
    .ao-lead-magnet-card {
        grid-template-columns: 1fr;
        gap: 1.75rem;
        padding: 2rem;
        text-align: center;
    }
}
.ao-lm-image-col {
    display: flex;
    justify-content: center;
    perspective: 800px;
}
.ao-lm-book-mockup {
    width: 120px;
    height: 170px;
    position: relative;
    transform: rotateY(-18deg) rotateX(5deg);
    transform-style: preserve-3d;
    box-shadow: 12px 12px 24px rgba(0, 0, 0, 0.25);
    border-radius: 3px 8px 8px 3px;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.ao-lead-magnet-card:hover .ao-lm-book-mockup {
    transform: rotateY(-8deg) rotateX(2deg) translateY(-4px);
    box-shadow: 16px 16px 32px rgba(0, 0, 0, 0.3);
}
.ao-lm-book-cover {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #0d1524 0%, #070c14 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-left: 5px solid var(--ao-accent);
    border-radius: 3px 8px 8px 3px;
    padding: 1.25rem 0.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    z-index: 2;
}
.ao-lm-book-title {
    font-family: var(--ao-font-display);
    font-size: 0.9375rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.2;
}
.ao-lm-book-subtitle {
    font-size: 0.6875rem;
    color: var(--ao-accent);
    font-weight: 700;
    text-transform: uppercase;
}
.ao-lm-book-badge {
    background: var(--ao-accent);
    color: #fff;
    font-size: 0.5625rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 3px;
}
.ao-lm-content-col {
    display: flex;
    flex-direction: column;
}
.ao-lm-title {
    font-family: var(--ao-font-display);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--ao-heading);
    margin: 0 0 0.5rem;
    line-height: 1.3;
}
.ao-lm-desc {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: var(--ao-text);
    margin: 0 0 1.5rem;
}
.ao-lm-form {
    display: flex;
    gap: 0.75rem;
    max-width: 480px;
}
@media (max-width: 480px) {
    .ao-lm-form {
        flex-direction: column;
        width: 100%;
    }
}
.ao-lm-input {
    flex-grow: 1;
    padding: 0.75rem 1rem;
    border-radius: var(--ao-radius-sm);
    border: 1px solid var(--ao-border);
    background: var(--ao-bg);
    color: var(--ao-text);
    font-size: 0.9375rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ao-lm-input:focus {
    border-color: var(--ao-accent) !important;
    box-shadow: 0 0 0 3px rgba(196, 150, 76, 0.2) !important;
}
.ao-lm-submit-btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--ao-radius-sm);
    background: var(--ao-accent);
    color: #fff;
    border: none;
    font-weight: 700;
    font-size: 0.9375rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease, transform 0.15s;
}
.ao-lm-submit-btn:hover {
    background: var(--ao-accent-light);
}
.ao-lm-submit-btn:active {
    transform: scale(0.97);
}
.ao-lm-spinner {
    animation: ao-spin 1s linear infinite;
    width: 18px;
    height: 18px;
}
.ao-lm-spinner circle {
    stroke-dasharray: 42;
    stroke-dashoffset: 14;
    transform-origin: center;
}
.ao-lm-success {
    font-size: 0.9375rem;
    font-weight: 700;
    color: #22c55e;
    animation: ao-fade-slide-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.ao-lm-success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #22c55e;
    color: #fff;
    font-size: 0.75rem;
    margin-right: 6px;
    vertical-align: middle;
}

/* Animations helper */
@keyframes ao-fade-slide-in {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes ao-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* --- Additional Mobile Tweaks for Templates (Audit fixes) --- */
@media (max-width: 768px) {
    /* Sitemap list vertical item marker alignment (when text wraps) */
    .ao-sitemap-list .ao-sitemap-item::before {
        top: 6px !important;
        transform: none !important;
    }
    
    /* Sitemap card container padding */
    .ao-sitemap-card {
        padding: 1.75rem 1rem !important;
    }
}

@media (max-width: 600px) {
    /* Vacancy Form responsive updates */
    .ao-app-card {
        padding: 1.75rem 1.25rem !important;
    }
    
    .ao-form-row-two {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    /* FAQ Page Answer left padding (avoids content narrowing on small screens) */
    .ao-faq-answer {
        padding: 0 1.25rem 1.25rem 1.25rem !important;
    }
    
    .ao-faq-trigger {
        padding: 1.25rem !important;
    }
}
