/* ============================================================
   ОРТОНИКСИЯ — Landing Page Styles
   Design approach: frontend-design skill (Anthropic)
   Aesthetic: Medical-luxury, dark theme with green/gold accents
   Typography: Unbounded (display) + Inter (body)
   ============================================================ */

/* === RESET & BASE === */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System */
    --bg-primary: #0a0f0a;
    --bg-secondary: #111a11;
    --bg-card: #162016;
    --bg-card-hover: #1c2c1c;
    --bg-elevated: #213121;

    --text-primary: #f0f5f0;
    --text-secondary: #9aaa9a;
    --text-muted: #5a6a5a;

    --accent: #2ecc71;
    --accent-dim: #1a7a42;
    --accent-glow: rgba(46, 204, 113, 0.15);
    --accent-gold: #d4a843;

    --border: rgba(46, 204, 113, 0.12);
    --border-subtle: rgba(255, 255, 255, 0.1);

    /* Typography Scale */
    --font-display: 'Unbounded', system-ui, sans-serif;
    --font-body: 'Inter', system-ui, sans-serif;

    --text-xs: clamp(0.7rem, 0.65rem + 0.25vw, 0.8rem);
    --text-sm: clamp(0.8rem, 0.75rem + 0.25vw, 0.9rem);
    --text-base: clamp(0.9rem, 0.85rem + 0.3vw, 1.05rem);
    --text-lg: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
    --text-xl: clamp(1.15rem, 1rem + 0.75vw, 1.5rem);
    --text-2xl: clamp(1.4rem, 1.1rem + 1.5vw, 2.2rem);
    --text-3xl: clamp(1.8rem, 1.2rem + 3vw, 3.5rem);
    --text-4xl: clamp(2.2rem, 1.4rem + 4vw, 5rem);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
    --space-3xl: 10rem;

    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;

    /* Transitions */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --duration: 0.4s;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.7;
    color: var(--text-primary);
    background: var(--bg-primary);
    overflow-x: hidden;
}

.container {
    width: min(90%, 1200px);
    margin: 0 auto;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color var(--duration) var(--ease-out);
}

a:hover {
    color: var(--text-primary);
}

/* === SECTION TITLE === */
.section-title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-xl);
    color: var(--text-primary);
}

/* === HERO === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: var(--space-3xl) 0 var(--space-2xl);
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, var(--accent-glow) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 30%, rgba(212, 168, 67, 0.05) 0%, transparent 50%),
        url('images/hero-bg.webp') center/cover no-repeat,
        var(--bg-primary);
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 15, 10, 0.3) 0%, var(--bg-primary) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: min(90%, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-lg);
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.4em 1.2em;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: var(--text-sm);
    color: var(--accent);
    font-weight: 500;
    width: fit-content;
}

.hero__badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s ease-in-out infinite;
}

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

.hero__title {
    font-family: var(--font-display);
    display: flex;
    flex-direction: column;
    gap: 0.1em;
}

.hero__title-line {
    font-size: var(--text-4xl);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-primary);
}

.hero__title-line--accent {
    color: var(--accent);
    font-weight: 900;
}

.hero__subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    font-weight: 400;
}

.hero__description {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.hero__stats {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.2em;
}

.hero__stat-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--accent);
}

.hero__stat-label {
    font-size: var(--text-sm);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 1em 2.5em;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    width: fit-content;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero__cta:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
}

.hero__video-placeholder {
    position: relative;
    margin-top: var(--space-lg);
    z-index: 2;
    width: min(90%, 1200px);
    margin-left: auto;
    margin-right: auto;
}

.hero__video-frame {
    aspect-ratio: 16/9;
    max-width: 700px;
    width: 100%;
    background: url('images/hero-video-poster.webp') center/cover no-repeat, var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    cursor: pointer;
    transition: all var(--duration) var(--ease-out);
}

.hero__video-frame:hover {
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

.hero__play-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.hero__play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 3px;
}

.hero__video-caption {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* === FOR WHOM === */
.for-whom {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.for-whom__carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.for-whom__card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration) var(--ease-out);
}

.for-whom__card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.for-whom__card-image {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    font-size: var(--text-sm);
    border: 1px dashed var(--border);
}

/* placeholder pseudo-element removed — now using <img> */

.for-whom__card-title {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    color: var(--accent);
}

.for-whom__card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

.for-whom__not {
    background: rgba(220, 53, 69, 0.08);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
}

.for-whom__not-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: #dc3545;
}

.for-whom__not-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.for-whom__not-list li {
    padding-left: 1.5em;
    position: relative;
    color: var(--text-secondary);
}

.for-whom__not-list li::before {
    content: '\2715';
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: 700;
}

/* === SKILLS === */
.skills {
    padding: var(--space-3xl) 0;
}

.skills__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--space-md);
    align-items: start;
}

.skills__card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration) var(--ease-out);
    position: relative;
    overflow: hidden;
}

.skills__card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
}

.skills__card-number {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--accent-glow);
    position: absolute;
    top: -10px;
    right: 10px;
    line-height: 1;
    opacity: 0.3;
}

.skills__card-image {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: var(--text-xs);
    border: 1px dashed var(--border);
}

/* placeholder pseudo-element removed — now using <img> */

.skills__card h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
    line-height: 1.3;
}

.skills__card p {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    line-height: 1.6;
}

/* Skills: expand / table */
.skills__expand {
    margin-top: var(--space-sm);
}

.skills__expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: var(--accent);
    font-family: var(--font-body);
    font-size: var(--text-sm);
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    transition: opacity 0.2s;
}

.skills__expand-btn:hover { opacity: 0.8; }

.skills__expand-arrow {
    transition: transform 0.3s var(--ease-out);
}

.skills__expand.open .skills__expand-arrow {
    transform: rotate(180deg);
}

.skills__expand-content {
    display: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-top: var(--space-sm);
}

.skills__expand.open .skills__expand-content {
    display: block;
}

.skills__table {
    min-width: 400px;
    width: 100%;
    border-collapse: collapse;
    font-size: var(--text-xs);
}

.skills__table th,
.skills__table td {
    padding: 8px 10px;
    border: 1px solid var(--border);
    text-align: center;
    vertical-align: middle;
}

.skills__table th {
    background: var(--bg-elevated);
    color: var(--accent);
    font-weight: 600;
    font-size: var(--text-xs);
    white-space: nowrap;
}

.skills__table-label {
    text-align: left !important;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
}

.skills__table td {
    color: var(--text-secondary);
    line-height: 1.4;
}

@media (max-width: 768px) {
    .skills__table {
        min-width: 420px;
        font-size: 0.65rem;
    }
    .skills__table th,
    .skills__table td {
        padding: 5px 4px;
    }
}

/* === FORMAT === */
.format {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.format__subtitle {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    color: var(--text-primary);
}

.format__testimonials {
    margin-bottom: var(--space-2xl);
}

.format__testimonials-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.format__video-card {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: var(--text-sm);
}

/* placeholder pseudo-element removed — now using <img> */

.format__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: var(--space-md);
}

.format__card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration) var(--ease-out);
}

.format__card:hover {
    border-color: var(--border);
}

.format__card-icon {
    width: 48px;
    height: 48px;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.format__card-icon svg {
    width: 100%;
    height: 100%;
}

.format__card-image {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-md);
    font-size: var(--text-xs);
    border: 1px dashed var(--border);
}

/* placeholder pseudo-element removed — now using <img> */

.format__card h4 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.format__card p {
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.format__faq {
    margin-top: var(--space-sm);
    border-top: 1px solid var(--border-subtle);
    padding-top: var(--space-sm);
}

.format__faq-question {
    color: var(--accent);
    font-size: var(--text-sm);
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.format__faq p {
    font-size: var(--text-sm);
    margin-top: var(--space-xs);
    color: var(--text-muted);
}

/* === WHY RUSTAM === */
.why-rustam {
    padding: var(--space-3xl) 0;
}

.why-rustam__table {
    display: grid;
    grid-template-columns: auto 1fr 1fr;
    gap: 1px;
    background: var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: var(--space-xl);
}

.why-rustam__cell {
    padding: var(--space-md);
    background: var(--bg-card);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.why-rustam__cell--empty {
    background: var(--bg-primary);
}

.why-rustam__cell--col-header {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-base);
    text-align: center;
    padding: var(--space-md);
}

.why-rustam__cell--col-typical {
    background: rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.why-rustam__cell--typical {
    background: rgba(220, 53, 69, 0.06);
    color: var(--text-secondary);
}

.why-rustam__cell--col-rustam {
    background: var(--accent-glow);
    color: var(--accent);
}

.why-rustam__cell--rustam {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

.why-rustam__cell--row-header {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--text-sm);
    color: var(--text-primary);
    background: var(--bg-secondary);
}

.why-rustam__proof {
    text-align: center;
    padding: var(--space-lg);
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.why-rustam__proof p {
    font-size: var(--text-lg);
    color: var(--text-primary);
}

.why-rustam__proof strong {
    color: var(--accent);
    font-family: var(--font-display);
}

/* === METHODOLOGY === */
.methodology {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.methodology__intro {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.methodology__gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.methodology__photo {
    aspect-ratio: 1;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    font-size: var(--text-xs);
    filter: brightness(0.7);
    transition: filter 0.3s ease;
}

.methodology__photo:hover {
    filter: brightness(0.9);
}

/* placeholder pseudo-element removed — now using <img> */

.methodology__quotes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.methodology__quote {
    background: var(--bg-card);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    padding: var(--space-lg);
}

.methodology__quote p {
    font-size: var(--text-lg);
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
    line-height: 1.5;
}

.methodology__quote cite {
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-style: normal;
}

.methodology__counter {
    text-align: center;
    padding: var(--space-xl);
    font-family: var(--font-display);
}

.methodology__counter-number {
    font-size: var(--text-4xl);
    font-weight: 900;
    color: var(--accent);
}

.methodology__counter-text {
    display: block;
    font-size: var(--text-lg);
    color: var(--text-secondary);
    font-family: var(--font-body);
    margin-top: var(--space-xs);
}

/* === PROGRAM === */
.program {
    padding: var(--space-3xl) 0;
}

.program__subtitle {
    font-size: var(--text-xl);
    color: var(--text-secondary);
    margin-top: calc(var(--space-lg) * -1);
    margin-bottom: var(--space-xl);
}

.program__modules {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.program__module {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--duration) var(--ease-out);
}

.program__module:hover {
    border-color: var(--border);
}

.program__module-header {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-lg);
    cursor: pointer;
}

.program__module-number {
    font-family: var(--font-display);
    font-size: var(--text-2xl);
    font-weight: 800;
    color: var(--accent);
    min-width: 60px;
}

.program__module-info {
    flex: 1;
}

.program__module-info h3 {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    line-height: 1.3;
}

.program__module-meta {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: 0.2em;
    display: block;
}

.program__module-toggle {
    background: none;
    border: 2px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    cursor: pointer;
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--duration) var(--ease-out), background 0.3s, border-color 0.3s;
    animation: pulse-circle 2s ease-in-out infinite;
    position: relative;
}

.program__module-toggle:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

@keyframes pulse-circle {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(46, 204, 113, 0);
    }
}

.program__module-toggle svg {
    width: 18px;
    height: 18px;
    transition: transform var(--duration) var(--ease-out);
}

.program__module.active .program__module-toggle {
    animation: none;
    background: var(--accent);
    color: var(--bg-primary);
}

.program__module.active .program__module-toggle svg {
    transform: rotate(180deg);
}

.program__module-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}

.program__module.active .program__module-content {
    max-height: 500px;
}

.program__module-content ul {
    list-style: none;
    padding: 0 var(--space-lg) var(--space-lg);
    padding-left: calc(60px + var(--space-md) + var(--space-lg));
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.program__module-content li {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    padding-left: 1.5em;
    position: relative;
}

.program__module-content li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    position: absolute;
    left: 0;
    top: 0.55em;
}

.program__cta {
    text-align: center;
    margin-top: var(--space-xl);
}

.program__cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
    padding: 1.1em 3em;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.program__cta-btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(46, 204, 113, 0.2);
}

/* === ENVIRONMENT === */
.environment {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.environment__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.environment__triggers h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-lg);
    line-height: 1.3;
}

.environment__list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.environment__list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    color: var(--text-secondary);
    line-height: 1.5;
}

.environment__icon {
    min-width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(220, 53, 69, 0.15);
    border: 1px solid rgba(220, 53, 69, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
}

.environment__icon::after {
    content: '!';
    color: #dc3545;
    font-size: 12px;
    font-weight: 700;
}

.environment__result {
    text-align: center;
}

.environment__image {
    aspect-ratio: 3/4;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* placeholder pseudo-element removed — now using <img> */

.environment__result h3 {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    color: var(--accent);
    line-height: 1.3;
}

/* === AUTHOR === */
.author {
    padding: var(--space-3xl) 0;
}

.author__layout {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: var(--space-xl);
    align-items: start;
}

.author__photo-frame {
    aspect-ratio: 3/4;
    width: 100%;
    object-fit: cover;
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    font-size: var(--text-sm);
    position: sticky;
    top: var(--space-lg);
}

/* placeholder pseudo-element removed — now using <img> */

.author__label {
    font-size: var(--text-sm);
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.author__name {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    margin: var(--space-xs) 0 var(--space-lg);
}

.author__facts {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-xl);
}

.author__facts li {
    padding-left: 1.5em;
    position: relative;
    color: var(--text-secondary);
}

.author__facts li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.author__trust-title {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.author__trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-sm);
}

.author__trust-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-md);
}

.author__trust-item strong {
    display: block;
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--accent);
    margin-bottom: 0.3em;
}

.author__trust-item span {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

/* === WHY NOW === */
.why-now {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.why-now__cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.why-now__card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration) var(--ease-out);
}

.why-now__card:hover {
    border-color: var(--border);
    transform: translateY(-2px);
}

.why-now__card-number {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 900;
    color: var(--accent);
    opacity: 0.3;
    line-height: 1;
    display: block;
    margin-bottom: var(--space-sm);
}

.why-now__card h3 {
    font-family: var(--font-display);
    font-size: var(--text-base);
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.why-now__card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pricing__summary {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    justify-content: center;
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--accent-glow);
    border-radius: var(--radius-lg);
    /* Секция тарифов темнее, чем бывший why-now, — на ней --border не читается */
    border: 1px solid var(--accent-dim);
}

.pricing__summary-item {
    font-size: var(--text-base);
    color: var(--text-secondary);
}

.pricing__summary-item strong {
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: 600;
}

/* === PRICING === */
.pricing {
    padding: var(--space-3xl) 0;
}

.pricing__cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    align-items: start;
}

.pricing__card {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    transition: all var(--duration) var(--ease-out);
    position: relative;
}

.pricing__card:hover {
    border-color: var(--border);
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.pricing__card--recommended {
    border-color: var(--accent);
    background: var(--bg-card-hover);
    transform: scale(1.02);
}

.pricing__card--recommended:hover {
    transform: scale(1.02) translateY(-4px);
}

.pricing__card--special {
    border-color: rgba(255, 255, 255, 0.25);
    background: var(--bg-card-hover);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.08), 0 0 40px rgba(255, 255, 255, 0.04);
}

.pricing__card--special:hover {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 25px rgba(255, 255, 255, 0.12), 0 0 50px rgba(255, 255, 255, 0.06);
}

.pricing__card-divider {
    border-top: 1px solid var(--border-subtle);
    margin-bottom: var(--space-md);
}

.pricing__card-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: var(--text-xs);
    font-weight: 700;
    padding: 0.3em 1.5em;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing__card-header {
    margin-bottom: var(--space-md);
}

.pricing__card-name {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 700;
    margin-bottom: 0.3em;
}

.pricing__card-desc {
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.pricing__card-price {
    padding: var(--space-md) 0;
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-md);
}

.pricing__card-amount {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.8rem);
    font-weight: 800;
    color: var(--accent);
    white-space: nowrap;
}

.pricing__card-amount--lg {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 3.2rem);
}

.pricing__card-currency {
    font-size: var(--text-lg);
    color: var(--text-muted);
    margin-left: 0.3em;
}

.pricing__card-old-prices {
    display: block;
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: 0.3em;
}

.pricing__card-old-prices s {
    opacity: 0.6;
    margin-right: 0.5em;
}

.pricing__card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-bottom: var(--space-lg);
}

.pricing__card-features + .pricing__card-disclaimer {
    margin-top: -1.8rem;
}

.pricing__card-features li {
    padding-left: 1.5em;
    position: relative;
    color: var(--text-secondary);
    font-size: var(--text-sm);
}

.pricing__card-features li::before {
    content: '\2713';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

.pricing__card-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.2s;
}

.pricing__card-link:hover {
    color: var(--text-primary);
}

.pricing__card-btn {
    display: block;
    text-align: center;
    padding: 0.9em 2em;
    background: transparent;
    border: 1px solid var(--accent);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing__card-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.pricing__card-btn--primary {
    background: var(--accent);
    color: var(--bg-primary);
}

.pricing__card-btn--primary:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
}

.pricing__card-btn--outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: var(--text-xs);
    padding: 0.6em 1.5em;
}

.pricing__card-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

.pricing__card-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.3rem;
    margin-bottom: var(--space-lg);
    line-height: 1.4;
    opacity: 0.85;
}

.pricing__card-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    margin-top: auto;
}

/* === FAQ === */
.faq {
    padding: var(--space-3xl) 0;
    background: var(--bg-secondary);
}

.faq__list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.faq__item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    text-align: left;
    cursor: pointer;
    transition: color var(--duration) var(--ease-out);
}

.faq__question:hover {
    color: var(--accent);
}

.faq__question svg {
    width: 20px;
    height: 20px;
    min-width: 20px;
    color: var(--text-muted);
    transition: transform var(--duration) var(--ease-out);
}

.faq__item.active .faq__question svg {
    transform: rotate(180deg);
}

.faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s var(--ease-out);
}

.faq__item.active .faq__answer {
    max-height: 300px;
}

.faq__answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === SIGNUP === */
.signup {
    padding: var(--space-3xl) 0;
    background:
        radial-gradient(ellipse at 50% 0%, var(--accent-glow) 0%, transparent 50%),
        var(--bg-primary);
}

.signup__content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.signup__title {
    font-family: var(--font-display);
    font-size: var(--text-3xl);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.signup__badge {
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 600;
    color: var(--accent);
    margin-bottom: var(--space-xs);
}

.signup__date {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

.signup__cta {
    display: inline-flex;
    align-items: center;
    padding: 1.2em 3em;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: var(--text-lg);
    font-weight: 700;
    border-radius: 100px;
    transition: all var(--duration) var(--ease-out);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.signup__cta:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(46, 204, 113, 0.3);
}

.signup__consent {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

.signup__closing {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border-subtle);
}

.signup__closing-text {
    font-family: var(--font-display);
    font-size: var(--text-xl);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.signup__closing-desc {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* === PRICING TIMER === */
.pricing__timer {
    text-align: center;
    margin-top: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.pricing__timer-label {
    font-family: var(--font-display);
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.pricing__timer-digits {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.pricing__timer-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pricing__timer-number {
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 3vw, 3.5rem);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.pricing__timer-unit {
    font-size: var(--text-xs);
    color: var(--text-muted);
    margin-top: var(--space-xs);
}

/* === RESULTS === */
.results {
    padding: var(--space-3xl) 0;
}

.results__intro {
    font-size: var(--text-lg);
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.results__photos {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
}

.results__photo {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    object-fit: cover;
}

.results__photo {
    aspect-ratio: 1;
}

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

.results__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
}

.results__card {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.results__card-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
    font-weight: 800;
    color: var(--accent);
    margin-bottom: var(--space-sm);
}

.results__card p {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: 1.4;
}

/* === STICKY CTA === */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: var(--space-sm) var(--space-md);
    background: rgba(10, 10, 10, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out);
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta__btn {
    display: inline-flex;
    align-items: center;
    padding: 0.8em 2.5em;
    background: var(--accent);
    color: var(--bg-primary);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 700;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.sticky-cta__btn:hover {
    background: var(--text-primary);
    color: var(--bg-primary);
    transform: translateY(-1px);
}

/* === FOOTER === */
.footer {
    padding: var(--space-lg) 0;
    padding-bottom: 5rem;
    border-top: 1px solid var(--border-subtle);
}

.footer__content {
    text-align: center;
    padding: var(--space-md) 0;
}

.footer__content p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.footer__inn {
    font-size: var(--text-xs) !important;
    color: var(--text-muted) !important;
    opacity: 0.7;
    margin-top: var(--space-xs);
}

.footer__support {
    text-align: center;
    padding-bottom: var(--space-lg);
    margin-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-subtle);
}

.footer__support-text {
    font-size: var(--text-base);
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.footer__support-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.7em 2em;
    background: transparent;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: var(--text-sm);
    font-weight: 600;
    border: 1px solid var(--accent);
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: all 0.3s var(--ease-out);
}

.footer__support-btn:hover {
    background: var(--accent);
    color: var(--bg-primary);
}

.footer__legal {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    padding-top: var(--space-md);
    margin-top: var(--space-md);
    border-top: 1px solid var(--border-subtle);
}

.footer__legal a {
    font-size: var(--text-xs);
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.footer__legal a:hover {
    color: var(--text-secondary);
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

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

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    .pricing__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing__card--recommended {
        transform: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Reduce section padding on mobile — 10rem is way too much */
    .for-whom, .skills, .format, .why-rustam,
    .methodology, .program, .environment, .author,
    .why-now, .pricing, .faq, .signup {
        padding: var(--space-xl) 0;
    }

    .hero {
        min-height: auto;
        padding: var(--space-xl) 0 var(--space-lg);
    }

    .hero__title-line {
        font-size: clamp(1.8rem, 1rem + 5vw, 3rem);
    }

    .hero__title-line--accent {
        font-size: clamp(2rem, 1.2rem + 5vw, 3.2rem);
    }

    .hero__stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }

    .hero__video-placeholder {
        margin-top: var(--space-md);
    }

    .hero__video-frame {
        max-width: 100%;
    }

    .for-whom__carousel {
        grid-template-columns: 1fr;
    }

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

    /* Comparison table: stack on mobile */
    .why-rustam__table {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .why-rustam__cell--empty {
        display: none;
    }

    .why-rustam__cell--row-header {
        margin-top: var(--space-sm);
    }

    .why-rustam__cell--col-header {
        font-size: var(--text-lg);
        padding: var(--space-md);
    }

    .environment__content {
        grid-template-columns: 1fr;
    }

    .environment__result {
        order: -1;
    }

    .environment__image {
        max-height: 300px;
        aspect-ratio: auto;
    }

    .author__layout {
        grid-template-columns: 1fr;
    }

    .author__photo-frame {
        position: static;
        max-width: 300px;
        margin: 0 auto;
    }

    /* Author trust grid: single column on mobile */
    .author__trust-grid {
        grid-template-columns: 1fr;
    }

    .pricing__cards {
        grid-template-columns: 1fr;
    }

    .pricing__card--recommended {
        transform: none;
    }

    .pricing__card-amount {
        font-size: clamp(2rem, 1.5rem + 2vw, 2.8rem);
    }

    .format__grid {
        grid-template-columns: 1fr;
    }

    .skills__grid {
        grid-template-columns: 1fr;
    }

    .why-now__cards {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: clamp(1.5rem, 1rem + 3vw, 2.5rem);
        margin-bottom: var(--space-lg);
    }

    .signup__cta {
        width: 100%;
        justify-content: center;
    }

    .footer__content {
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .pricing__summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    /* Program module: reduce left padding on mobile */
    .program__module-content ul {
        padding-left: var(--space-lg);
    }

    .program__module-number {
        min-width: 40px;
        font-size: var(--text-xl);
    }

    .program__module-header {
        padding: var(--space-md);
        gap: var(--space-sm);
    }

    /* Methodology: reduce spacing */
    .methodology__counter {
        padding: var(--space-lg);
    }

    .methodology__quotes {
        grid-template-columns: 1fr;
    }
}

/* Small Mobile */
@media (max-width: 380px) {
    .container {
        width: 94%;
    }

    .hero__title-line {
        font-size: 1.6rem;
    }

    .hero__title-line--accent {
        font-size: 1.8rem;
    }

    .pricing__card-amount {
        font-size: 1.8rem;
    }
}
