/* === Variables === */
:root {
    /* Colors */
    --color-bg: #FFFFFF;
    --color-text-primary: #1A1A1A;
    --color-text-secondary: #666666;
    --color-text-muted: #999999;
    --color-accent: #000000;

    /* Typography */
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    --font-handwritten: 'Caveat', cursive;

    /* Spacing */
    --container-max-width: 1200px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;

    /* Transitions */
    --transition: all 0.3s ease;
}

/* === Base Styles === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* === HEADER === */
header {
    padding: var(--spacing-md) 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    align-items: center;
}

.header-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo-link:hover .header-logo {
    transform: scale(1.05);
}

.header-nav {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.header-nav a {
    text-decoration: none;
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: var(--transition);
    position: relative;
}

.header-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-accent);
    transition: var(--transition);
}

.header-nav a:hover {
    color: var(--color-accent);
}

.header-nav a:hover::after {
    width: 100%;
}

.header-right {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.social-link {
    color: var(--color-text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    opacity: 0.7;
}

.social-link:hover {
    color: var(--color-accent);
    opacity: 1;
    transform: translateY(-2px);
}

.social-link iconify-icon {
    display: block;
}

/* === Hero Section === */
#hero {
    padding: 120px 0 100px;
    min-height: 850px;
    max-height: 1000px;
    background: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.hero-bg-blur {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100%;
    max-width: 1400px;
    height: 100%;
    background: url('img/hero2.png') no-repeat center center;
    background-size: cover;
    filter: blur(8px);
    -webkit-filter: blur(8px);
    opacity: 0.5;
    z-index: 0;
    transform: translateX(-50%) scale(1.05);
    /* Soft edges transition */
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
}

#hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: url('img/hero-with-me2.png') no-repeat center 60px;
    background-size: auto 70%;
    /* Reduced size for better fit */
    z-index: 1;
    opacity: 1;
}

#hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
    z-index: 2;
}

.hero-inner {
    width: 100%;
    position: relative;
    z-index: 10;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 15;
    padding-top: 500px;
}

.hero-text {
    width: 100%;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.7);
    /* Solid white with some transparency */
    backdrop-filter: blur(20px);
    /* Frosted glass to neutralize the details behind */
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    /* Soft shadow for depth */
}

.serif-title {
    font-family: var(--font-serif);
    font-size: 4.5rem;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 0.5rem;
    color: #000000;
    letter-spacing: -0.01em;
}

.hero-subtitle {
    font-size: 1rem;
    color: #000000;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: var(--font-sans);
}

.hero-description {
    font-size: 1.2rem;
    color: #333333;
    line-height: 1.6;
    margin-bottom: 2.5rem;
    /* Space before button */
    max-width: 600px;
    font-family: var(--font-serif);
    font-style: italic;
    margin-left: auto;
    margin-right: auto;
}

.cta-container {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
}

.cta-button {
    background: #000000;
    color: white;
    text-decoration: none;
    padding: 20px 55px;
    border-radius: 100px;
    font-weight: 500;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    letter-spacing: 0.05em;
}

.cta-button:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

/* === Sections === */
.section-padding {
    padding: var(--spacing-xl) 0;
    min-height: auto;
    display: block;
    scroll-margin-top: 120px;
}

.section-description {
    max-width: 700px;
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-top: var(--spacing-md);
    font-family: var(--font-serif);
}

.section-padding h2.serif-title {
    font-size: 3.5rem;
}

.about-icon {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    color: var(--color-accent);
    opacity: 0.8;
}

.centered-text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* === Media Queries === */
@media (max-width: 900px) {
    #hero::before {
        background-size: auto 450px;
        background-position: center 80px;
    }

    .hero-content {
        padding-top: 0;
    }

    .serif-title {
        font-size: 4rem;
    }
}

@media (max-width: 992px) {
    .hero-bg-blur {
        background-position: center center;
        opacity: 0.4;
    }
    #hero {
        min-height: 850px;
        padding-top: 120px;
    }

    #hero::before {
        background-size: auto 650px;
        background-position: center 120px;
        transform: translate(-50%, 0);
        top: 0;
    }

    .hero-content {
        padding-top: 520px;
        gap: var(--spacing-md);
    }

    .hero-text {
        max-width: 90%;
        padding: 2.5rem 1.5rem;
    }

    .serif-title {
        font-size: 3.5rem;
    }
}

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

    .header-center {
        display: none;
    }

    #hero {
        min-height: 800px;
        padding-top: 100px;
    }

    #hero::before {
        background-size: auto 600px;
        background-position: center 100px;
    }

    .hero-content {
        padding-top: 480px;
    }

    .serif-title {
        font-size: 3rem;
    }
}

@media (max-width: 600px) {
    #hero {
        min-height: 750px;
        padding: 80px 0 40px;
    }

    #hero::before {
        background-size: auto 550px;
        background-position: center 80px;
    }

    .hero-content {
        padding-top: 420px;
    }

    .hero-text {
        padding: 2.5rem 1.5rem;
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        max-width: 92%;
    }

    .serif-title {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 2rem;
    }

    .section-padding {
        padding: var(--spacing-lg) 0;
    }
}

@media (max-width: 480px) {
    #hero {
        min-height: 700px;
    }

    #hero::before {
        background-size: auto 500px;
        background-position: center 60px;
    }

    .hero-content {
        padding-top: 380px;
    }

    .serif-title {
        font-size: 2.2rem;
    }

    .hero-image-wrapper {
        max-width: 250px;
    }
}

    #hero {
        padding-top: 100px;
    }
}

/* === Products Section === */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.product-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.product-card.featured {
    border-color: var(--color-accent);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.card-content {
    margin-bottom: var(--spacing-md);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-xs);
}

.product-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1.1;
    margin-bottom: var(--spacing-xs);
}

.product-price {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
}

.price-secondary {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 400;
}

.product-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

.product-meta {
    margin-top: var(--spacing-sm);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.03);
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
}

.badge {
    background: var(--color-accent);
    color: white;
    font-size: 0.75rem;
    text-transform: uppercase;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 0.05em;
}

.card-button {
    width: 100%;
}

.card-button.outlined {
    background: transparent;
    border: 1px solid var(--color-accent);
    color: var(--color-accent);
}

.card-button.outlined:hover {
    background: var(--color-accent);
    color: white;
}

/* Responsive Grid for Products */
@media (min-width: 993px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        display: grid !important;
    }
}

@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr !important;
    }
}

.blurred-card {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
    opacity: 0.8;
}

/* === Footer === */
footer {
    background-color: #000000;
    color: #FFFFFF;
    padding: var(--spacing-xl) 0;
    margin-top: 0;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1rem;
    transition: var(--transition);
    opacity: 0.8;
}

.footer-link:hover {
    opacity: 1;
}

.footer-copyright {
    color: #666666;
    font-size: 0.9rem;
}

@media (min-width: 768px) {
    .footer-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .footer-links {
        gap: var(--spacing-xs);
    }
}

/* === Business Experience Section === */
.experience-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

.experience-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    color: var(--color-text-primary);
    position: relative;
    overflow: hidden;
}

.experience-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.2);
}

.exp-image-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
    background: #f5f5f5;
    /* Slight contrast for the image holder if image has transparency */
    display: flex;
    align-items: center;
    justify-content: center;
}

.exp-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.exp-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 4px;
    color: var(--color-text-primary);
}

.exp-years {
    font-size: 0.9rem;
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    font-family: var(--font-sans);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.03);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
}

.exp-description {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .experience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* === For Whom Section === */
.for-whom-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
}

@media (max-width: 992px) {
    .for-whom-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        gap: var(--spacing-md);
    }
}

@media (max-width: 600px) {
    .for-whom-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        padding: 0 5px;
        max-width: none;
    }

    .fw-card {
        padding: var(--spacing-sm);
        min-height: 160px;
        justify-content: center;
    }

    .fw-title {
        font-size: 0.85rem;
    }

    .fw-icon iconify-icon {
        width: 32px !important;
        height: 32px !important;
    }
}

.fw-card {
    flex: 0 1 200px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.fw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.fw-icon {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
}

.fw-title {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-primary);
}

.section-padding h2.serif-title.text-center {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

/* === About Author Section === */
.bio-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    grid-template-areas:
        "coach photo builder"
        "father photo team"
        "system system system"
        "expertise expertise expertise";
    gap: var(--spacing-md);
    margin-top: var(--spacing-lg);
    align-items: stretch;
}

.bio-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 20px;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition);
    height: 100%;
    position: relative;
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
}

.bio-card.wide {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    border-color: var(--color-accent);
}

.expertise-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.expertise-tags .tag {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.04);
    color: var(--color-text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

@media (max-width: 900px) {
    .expertise-tags {
        gap: 6px;
    }
}
.bio-image-card {
    border-radius: 24px;
    overflow: hidden;
    height: 100%;
    min-height: 450px;
    background: #f5f5f5;
    /* Fallback placeholder */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    display: flex;
}

.bio-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    /* Adjust to keep face in frame if needed */
    display: block;
}

.bio-cert-link {
    display: inline-block;
    position: absolute;
    left: var(--spacing-md);
    bottom: var(--spacing-md);
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(8px);
}

.bio-cert-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.cert-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    padding: 20px;
}

.cert-modal-overlay.active {
    display: flex;
}

.cert-modal {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    max-width: 90vw;
    max-height: 90vh;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cert-modal img {
    display: block;
    max-width: 80vw;
    max-height: 80vh;
    border-radius: 12px;
}

.cert-close {
    position: absolute;
    top: 10px;
    left: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 8px 10px;
    cursor: pointer;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cert-close:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12);
}

.bio-icon {
    color: var(--color-accent);
    margin-bottom: var(--spacing-sm);
    background: rgba(0, 0, 0, 0.03);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bio-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    color: var(--color-text-primary);
}

.bio-desc {
    font-size: 1rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
}

/* Media Queries for Bio Grid */
@media (max-width: 900px) {
    .bio-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-areas:
            "photo photo"
            "coach builder"
            "father team"
            "system system"
            "expertise expertise";
    }

    .bio-image-card {
        width: 100% !important;
        max-width: 450px !important;
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        margin: 0 auto !important;
        justify-self: center;
    }

    .bio-card {
        min-height: 220px;
        padding-bottom: 4rem;
        /* Reserve space for absolute button */
    }
}

@media (max-width: 600px) {
    .bio-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "photo"
            "coach"
            "builder"
            "father"
            "team"
            "system"
            "expertise";
    }

    .bio-image-card {
        width: 100% !important;
        max-width: 350px !important;
        min-height: auto !important;
        height: auto !important;
        aspect-ratio: 1/1 !important;
        margin: 0 auto 1.5rem !important;
        justify-self: center;
    }

    .bio-card {
        min-height: 200px;
        padding-bottom: 4rem;
    }
}

/* === Taplink / Contacts Page === */
.taplink-container {
    max-width: 480px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.taplink-header {
    margin-bottom: var(--spacing-lg);
}

.taplink-logo {
    height: 120px;
    /* Increased from 60px */
    width: auto;
    margin-bottom: var(--spacing-sm);
    object-fit: contain;
}

.taplink-title {
    font-size: 2.5rem;
    margin-bottom: var(--spacing-xs);
}

.taplink-desc {
    color: var(--color-text-secondary);
}

.taplink-buttons {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    width: 100%;
}

.taplink-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 24px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: #fff;
    color: var(--color-text-primary);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.taplink-btn span {
    font-size: 1.1rem;
}

.taplink-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.taplink-btn.telegram:hover {
    background: #24A1DE;
    color: white;
    border-color: #24A1DE;
}

.taplink-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    color: white;
    border-color: transparent;
}

.taplink-btn.youtube:hover {
    background: #FF0000;
    color: white;
    border-color: #FF0000;
}

.taplink-btn.tiktok:hover {
    background: #000;
    color: white;
    border-color: #000;
}

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

.taplink-btn.primary:hover {
    background: #000;
    opacity: 0.9;
}

.taplink-divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
    margin: var(--spacing-md) 0;
}

.taplink-footer {
    text-align: center;
    padding-bottom: var(--spacing-md);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* === Floating Widgets (scroll + contact) === */
.floating-widgets {
    position: fixed;
    inset: auto 24px 24px 24px;
    z-index: 1200;
    pointer-events: none;
}

.scroll-ribbon {
    position: fixed;
    left: 16px;
    bottom: 24px;
    width: 54px;
    height: 54px;
    background: var(--color-text-primary);
    border: none;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
    backdrop-filter: blur(0px);
}

.scroll-ribbon:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.ribbon-arrow {
    font-size: 1.2rem;
    opacity: 0.85;
    display: inline-block;
    transform: none;
    margin: 0;
}

.ribbon-text {
    display: none;
}

.contact-fab {
    position: fixed;
    right: 24px;
    bottom: 28px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    background: var(--color-text-primary);
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    pointer-events: auto;
}

.contact-fab:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
}

.contact-panel {
    position: fixed;
    right: 24px;
    bottom: 96px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 180px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact-panel.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--color-text-primary);
    transition: background 0.2s ease, transform 0.2s ease;
}

.contact-link:hover {
    background: rgba(0, 0, 0, 0.04);
    transform: translateX(2px);
}

.contact-link.telegram:hover {
    color: #24A1DE;
}

.contact-link.instagram:hover {
    color: #d6249f;
}

.contact-link.youtube:hover {
    color: #ff0000;
}

.contact-link.tiktok:hover {
    color: #000;
}

.contact-link.whatsapp:hover {
    color: #25D366;
}

@media (max-width: 768px) {
    .scroll-ribbon {
        left: 10px;
        bottom: 150px;
        height: 120px;
        width: 40px;
    }

    .contact-panel {
        right: 16px;
        min-width: 170px;
    }

    .contact-fab {
        right: 16px;
        bottom: 24px;
    }
}

/* === Legal Pages === */
.legal-page {
    background-color: #F9F9F9;
    min-height: 100vh;
    padding-top: 140px;
    /* Space for fixed header + extra breathing room */
}

.legal-header {
    background: #FFFFFF;
    padding: var(--spacing-md) 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.legal-logo {
    height: 40px;
    width: auto;
}

.back-link {
    text-decoration: none;
    color: var(--color-text-primary);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

.legal-container {
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.legal-title {
    font-family: var(--font-serif);
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

/* Region Switcher */
.region-switcher {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-lg);
    background: #E0E0E0;
    padding: 4px;
    border-radius: 50px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.region-btn {
    border: none;
    background: transparent;
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    color: var(--color-text-secondary);
}

.region-btn.active {
    background: #FFFFFF;
    color: var(--color-text-primary);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Legal Content */
.legal-content {
    background: #FFFFFF;
    padding: var(--spacing-lg);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
    line-height: 1.7;
    color: var(--color-text-primary);
}

.legal-content h2 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-sm);
}

.legal-content p {
    margin-bottom: var(--spacing-sm);
}

.legal-content ul {
    margin-bottom: var(--spacing-sm);
    padding-left: 20px;
}

.legal-content li {
    margin-bottom: 8px;
}

.legal-footer {
    text-align: center;
    padding: var(--spacing-lg) 0;
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* Utility for switching */
[data-region] {
    display: none;
}

[data-region].visible {
    display: block;
}

/* === Video Carousel === */
.video-carousel-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-lg);
}

.video-track-wrapper {
    overflow-x: auto;
    width: 100%;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

.video-track-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari and Opera */
}

.video-track {
    display: flex;
    gap: var(--spacing-md);
    transition: transform 0.5s ease-in-out;
    padding: var(--spacing-xs);
    /* space for shadow */
}

.video-card {
    flex: 0 0 calc(50% - var(--spacing-sm));
    /* 2 items per view */
    background: #FFFFFF;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-thumbnail-container {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* 16:9 Aspect Ratio */
    background: #000;
    cursor: pointer;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.video-thumbnail-container:hover .video-thumbnail {
    opacity: 0.7;
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 3rem;
    pointer-events: none;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    transition: transform 0.3s ease;
}

.video-thumbnail-container:hover .play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    color: #FF0000;
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-track-wrapper {
    scroll-snap-type: x mandatory;
    scroll-padding: 8px;
}

.video-card {
    scroll-snap-align: start;
}

.carousel-btn {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    flex-shrink: 0;
    z-index: 2;
    color: var(--color-text-primary);
}

.carousel-btn:hover {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.carousel-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #F5F5F5;
    color: #CCC;
}

/* Response Carousel */
@media (max-width: 900px) {
    .video-card {
        flex: 0 0 calc(50% - var(--spacing-md));
        /* 2 items */
    }
}

@media (max-width: 600px) {
    .video-card {
        flex: 0 0 100%;
        /* 1 item */
    }


    .carousel-btn {
        width: 36px;
        height: 36px;
    }
}

/* Specific styling for Reviews to make them bigger */
#reviews .video-card {
    flex: 0 0 700px;
    max-width: 100%;
}

#reviews-track {
    justify-content: center;
}

#videos .video-card {
    flex: 0 0 calc(50% - var(--spacing-md));
}

.carousel-dots {
    display: none;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #DDD;
    transition: var(--transition);
    cursor: pointer;
}

.dot.active {
    background: var(--color-accent);
    transform: scale(1.2);
}

@media (max-width: 900px) {
    #reviews .video-card {
        flex: 0 0 100%;
    }
}

@media (max-width: 600px) {
    #videos .video-card {
        flex: 0 0 100%;
    }
    .carousel-dots {
        display: flex;
    }
}

/* === Free Consultation Section === */
.consultation-card {
    background: #FFFFFF;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 24px;
    padding: var(--spacing-lg) var(--spacing-md);
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.consultation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.08);
}

.consultation-header {
    margin-bottom: var(--spacing-md);
}

.consultation-badge {
    background: #4ADE80;
    /* Vibrant Green */
    color: #064E3B;
    /* Dark Green Text */
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 50px;
    display: inline-block;
    margin-bottom: var(--spacing-sm);
}

.consultation-subtitle {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 500;
    color: var(--color-text-primary);
    line-height: 1.2;
}

.consultation-list {
    text-align: left;
    margin-bottom: var(--spacing-lg);
    padding: 0 var(--spacing-md);
    list-style: none;
    display: inline-block;
    /* Centers the list block */
    width: 100%;
}

.consultation-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 1.1rem;
    color: var(--color-text-primary);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: rgba(74, 222, 128, 0.2);
    /* Light green bg */
    color: #16A34A;
    /* Green icon */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.check-icon iconify-icon {
    font-size: 14px;
}

.consultation-btn {
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    height: 54px;
    font-size: 1.1rem;
    text-decoration: none;
    transition: var(--transition);
}

/* === Cookie Banner === */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    z-index: 9999;
    transform: translateY(150%);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 450px;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-text {
    font-size: 0.9rem;
    color: var(--color-text-primary);
    line-height: 1.5;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
}

.cookie-text a:hover {
    text-decoration: underline;
}

.cookie-actions {
    display: flex;
    gap: 12px;
}

.cookie-btn {
    flex: 1;
    padding: 10px 20px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
}

.cookie-btn.accept {
    background: var(--color-text-primary);
    color: white;
    border: none;
}

.cookie-btn.accept:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cookie-btn.more {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--color-text-primary);
}

.cookie-btn.more:hover {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.2);
}

@media (min-width: 768px) {
    .cookie-banner {
        flex-direction: row;
        align-items: center;
        max-width: fit-content;
        left: 24px;
        right: auto;
        padding: 16px 20px;
        gap: 24px;
        transform: translateY(150%);
    }

    .cookie-banner.show {
        transform: translateY(0);
    }

    .cookie-text {
        max-width: 400px;
    }

    .cookie-btn {
        min-width: 100px;
    }
}

/* === Telegram CTA Section === */
#telegram-cta {
    background: linear-gradient(to bottom, #FFFFFF, #f8f9fa);
}

.tg-cta-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 32px;
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.03);
    transition: var(--transition);
}

.tg-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.06);
    border-color: rgba(0, 0, 0, 0.1);
}

.tg-cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
}

.tg-cta-icon {
    color: #24A1DE;
    margin-bottom: var(--spacing-xs);
    filter: drop-shadow(0 4px 10px rgba(36, 161, 222, 0.2));
}

#telegram-cta .serif-title {
    font-size: 3.5rem;
    margin-bottom: 0;
}

.tg-cta-desc {
    max-width: 550px;
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.tg-btn {
    padding: 16px 40px;
    font-size: 1.1rem;
    font-weight: 500;
    background: #000;
    color: #fff;
    border-radius: 60px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.tg-btn:hover {
    background: #24A1DE;
    transform: scale(1.05) translateY(-2px);
    box-shadow: 0 15px 30px rgba(36, 161, 222, 0.3);
}

@media (max-width: 768px) {
    #telegram-cta .serif-title {
        font-size: 2.5rem;
    }

    .tg-cta-desc {
        font-size: 1.1rem;
    }
}

/* === Rostok Hero Section === */
#rostok-hero {
    height: auto;
    /* Use auto height to fit content properly */
    min-height: min(80vh, 850px);
    /* Ensure it takes up most of the screen but caps at 850px for 4K */
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 140px;
    /* Increased to clear fixed header */
    padding-bottom: 60px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 50% 100%, #ffffff 0%, #f7f7f7 100%);
}

#rostok-hero .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    max-width: 900px;
    position: relative;
    z-index: 2;
    padding: var(--spacing-md);
    margin: 0 auto;
    /* Ensure strict centering */
    animation: fade-up 1.2s ease-out forwards;
}

.rostok-visual-container {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.rostok-hero-img {
    width: auto;
    height: 600px;
    max-height: 80vh;
    max-width: 90%;
    object-fit: contain;
    object-position: bottom center;
    transform-origin: bottom center;
    animation: grow-in 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    /* Ensure image doesn't interfere with text contrast too much */
    mask-image: linear-gradient(to top, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to top, black 60%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.85) 40%,
            rgba(255, 255, 255, 0.5) 100%);
    z-index: 1;
    backdrop-filter: blur(2px);
}

#rostok-hero .hero-text {
    margin-bottom: var(--spacing-md);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#rostok-hero .serif-title {
    font-size: 5rem;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
    text-align: center;
    background: linear-gradient(45deg, #1A1A1A, #4a4a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    width: 100%;
    display: block;
}

#rostok-hero .hero-description {
    font-size: 1.3rem;
    color: var(--color-text-secondary);
    text-align: center;
    line-height: 1.5;
    max-width: 650px;
    margin: 0 auto;
    font-weight: 400;
    display: block;
}

.cta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: var(--spacing-md);
    text-align: center;
}

/* Animations */
@keyframes grow-in {
    0% {
        transform: scale(0.9) translateY(50px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

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

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Media Queries for Rostok Hero */
@media (max-width: 768px) {
    #rostok-hero {
        height: auto;
        min-height: 100vh;
        /* Full height on mobile */
        padding-top: 100px;
    }

    #rostok-hero .serif-title {
        font-size: 3.5rem;
    }

    #rostok-hero .hero-description {
        font-size: 1.1rem;
    }

    .rostok-hero-img {
        height: 50%;
        max-width: 100%;
        opacity: 0.8;
    }
}

@media (max-width: 480px) {
    #rostok-hero .serif-title {
        font-size: 2.8rem;
    }
}

/* === Why Here Section === */
.why-here-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.why-here-item {
    display: flex;
    gap: var(--spacing-md);
    align-items: flex-start;
}

.why-here-icon-wrapper {
    flex-shrink: 0;
}

.why-here-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    position: relative;
}

.why-here-circle iconify-icon {
    color: var(--color-accent);
    opacity: 0.7;
}

.why-here-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--color-text-secondary);
}

.why-here-text strong {
    color: var(--color-text-primary);
    font-weight: 700;
}

@media (max-width: 900px) {
    .why-here-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
}

/* === CTA Banner === */
.cta-banner-section {
    padding: var(--spacing-xl) 0;
}

.cta-banner {
    background: linear-gradient(135deg, #fce4ec 0%, #fff3e0 100%);
    border-radius: 40px;
    padding: var(--spacing-xl);
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.05);
}

.cta-banner-content {
    position: relative;
    z-index: 2;
}

.cta-banner .serif-title {
    font-size: 4rem;
    margin-bottom: var(--spacing-md);
}

.cta-subtitle {
    font-size: 1.5rem;
    color: var(--color-text-secondary);
    margin-bottom: 0.5rem;
}

.cta-subtitle.bold {
    color: var(--color-text-primary);
    font-weight: 700;
}

.cta-banner-btn {
    margin-top: var(--spacing-lg);
    padding: 20px 48px;
    font-size: 1.1rem;
    background: linear-gradient(to right, #8d6e63, #5d4037);
    box-shadow: 0 10px 20px rgba(93, 64, 55, 0.2);
}

/* Background elements for banner */
.cta-pattern {
    position: absolute;
    opacity: 0.1;
    pointer-events: none;
}

.cta-pattern.mandala {
    left: -50px;
    bottom: -50px;
    width: 300px;
    height: 300px;
}

.cta-pattern.hourglass {
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    width: 200px;
    height: 200px;
}

@media (max-width: 768px) {
    .cta-banner {
        padding: var(--spacing-lg) var(--spacing-md);
    }

    .cta-banner .serif-title {
        font-size: 2.5rem;
    }

    .cta-subtitle {
        font-size: 1.2rem;
    }

    .cta-pattern {
        display: none;
    }
}

/* === For Whom Rostok Section === */
.for-whom-rostok-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
    margin-top: var(--spacing-xl);
}

.fwr-card {
    background: #FFFFFF;
    border-radius: 30px;
    padding: var(--spacing-md);
    text-align: center;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.fwr-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.fwr-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: var(--spacing-md);
}

.fwr-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fwr-title {
    font-family: var(--font-serif);
    font-size: 2rem;
    color: var(--color-text-primary);
    margin-bottom: var(--spacing-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fwr-desc-title {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
}

.fwr-text {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .for-whom-rostok-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* === Reworked CTA Banner === */
.cta-banner.premium-banner {
    background: linear-gradient(135deg, #F9F4F0 0%, #EFE4DC 100%);
    border: 1px solid rgba(166, 124, 101, 0.2);
    border-radius: 50px;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 20px 40px rgba(141, 123, 109, 0.08),
        inset 0 0 100px rgba(255, 255, 255, 0.4);
}

.cta-banner.premium-banner::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 140%;
    background: radial-gradient(circle, rgba(182, 141, 120, 0.05) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

.cta-banner.premium-banner .serif-title {
    font-size: 4.5rem;
    color: #2D2D2D;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.cta-banner.premium-banner .cta-subtitle {
    font-size: 1.6rem;
    color: #4A4A4A;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.cta-banner.premium-banner .cta-banner-btn {
    margin-top: 3rem;
    background: #1A1A1A;
    color: #fff;
    font-weight: 700;
    padding: 20px 50px;
    border-radius: 60px;
    letter-spacing: 0.1em;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 2;
}

.cta-banner.premium-banner .cta-banner-btn:hover {
    background: #000;
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.cta-banner.premium-banner .cta-pattern {
    display: none;
    /* Removed icons as we use photo background */
}

/* === What is Rostok Section === */
.what-is-rostok-section {
    background: #ffffff;
}

.what-is-rostok-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3rem;
}

.wir-plate {
    background: #F2E7DE;
    /* Soft beige from reference */
    border-radius: 40px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 3.5rem;
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.02);
}

.wir-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.wir-header {
    margin-bottom: 1.5rem;
}

.wir-number {
    background: #A67C65;
    color: #fff;
    width: 130px;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 800;
    font-family: var(--font-serif);
    border-radius: 30px;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(166, 124, 101, 0.15);
}

.wir-title {
    font-family: var(--font-serif);
    font-size: 3.8rem;
    text-transform: uppercase;
    color: #2D2D2D;
    margin: 0;
    letter-spacing: 0.05em;
    line-height: 1;
}

.wir-description {
    font-family: var(--font-sans);
    font-size: 1.15rem;
    line-height: 1.7;
    color: #4A4A4A;
    margin-bottom: 2.5rem;
}

.wir-expand-wrap {
    display: flex;
    gap: 1rem;
}

.wir-expand-btn {
    background: #B68D78;
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(182, 141, 120, 0.2);
}

.wir-expand-btn:hover {
    background: #966F5B;
    transform: translateY(-2px);
}

.wir-icon-side {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #A67C65;
    opacity: 0.25;
    transition: var(--transition);
}

.wir-plate:hover .wir-icon-side {
    opacity: 0.45;
    transform: translateY(-50%) rotate(5deg) scale(1.1);
}

@media (max-width: 1024px) {
    .wir-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .wir-plate {
        padding: 2.5rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .wir-number {
        width: 100px;
        height: 100px;
        font-size: 3.5rem;
    }

    .wir-title {
        font-size: 2.5rem;
    }

    .wir-icon-side {
        position: static;
        transform: none;
        margin-top: 2rem;
        display: flex;
        justify-content: flex-end;
        opacity: 0.6;
    }

    .wir-plate:hover .wir-icon-side {
        transform: none;
    }
}

/* === FAQ Section === */
.faq-section {
    background: #F2E7DE;
    /* Matches the plates and user screenshot */
    padding: 6rem 0;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-list {
    margin-top: 3rem;
    border-top: 1px solid rgba(0, 0, 0, 0.4);
}

.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.4);
}

.faq-question {
    padding: 1.5rem 0;
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question span {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    font-weight: 500;
    color: #1A1A1A;
    padding-right: 2rem;
}

.faq-toggle-icon {
    font-size: 1.5rem;
    color: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    /* Turns + into x or just rotate slightly */
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    /* Large enough to fit content */
    padding-bottom: 1.5rem;
}

.faq-answer-inner {
    font-size: 1rem;
    line-height: 1.6;
    color: #4A4A4A;
    opacity: 0.8;
}

.faq-question:hover span {
    color: #000;
}

/* === Improved Pricing Section === */
.pricing-section {
    background: #fdfaf7;
    padding: 8rem 0;
}

.pricing-card {
    max-width: 650px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 50px;
    padding: 5rem 4rem;
    text-align: center;
    border: 1px solid rgba(166, 124, 101, 0.15);
    position: relative;
    box-shadow:
        0 40px 100px rgba(141, 123, 109, 0.1),
        0 10px 25px rgba(141, 123, 109, 0.05);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 60px 120px rgba(141, 123, 109, 0.15);
}

.pricing-card::before {
    content: "ВЫГОДНОЕ ПРЕДЛОЖЕНИЕ";
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #B68D78;
    color: white;
    padding: 10px 30px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    box-shadow: 0 5px 15px rgba(182, 141, 120, 0.3);
}

.price-title {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    color: #1A1A1A;
    margin-bottom: 0.5rem;
}

.price-subtitle {
    font-family: var(--font-sans);
    font-size: 1.1rem;
    color: #888;
    margin-bottom: 3rem;
}

.price-value {
    font-family: var(--font-serif);
    font-size: 5.5rem;
    color: #1A1A1A;
    margin-bottom: 2.5rem;
    line-height: 1;
    font-weight: 500;
}

.price-value span {
    display: block;
    font-size: 1.6rem;
    font-family: var(--font-sans);
    color: #B68D78;
    font-weight: 600;
    margin-top: 10px;
}

.price-features {
    list-style: none;
    padding: 0;
    margin: 3rem 0;
    text-align: left;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.price-features li {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: #333;
}

.price-features iconify-icon {
    color: #B68D78;
    font-size: 1.5rem;
}

/* === Benefits Carousel Improvements === */
.benefits-section {
    padding: 8rem 0;
    overflow: hidden;
}

.benefits-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    gap: 2rem;
}

.benefits-section .serif-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin: 0;
}

.benefits-header-right {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.scroll-hint {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    line-height: 1.4;
    text-align: right;
    margin-bottom: 5px;
}

.scroll-hint span {
    display: block;
    color: var(--color-accent);
    letter-spacing: 2px;
    margin-top: 4px;
    font-weight: 700;
}

.carousel-nav {
    display: flex;
    gap: 1rem;
}

.nav-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 1px solid rgba(166, 124, 101, 0.2);
    background: #fff;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nav-btn:hover {
    background: var(--color-accent);
    color: #fff;
    border-color: var(--color-accent);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(166, 124, 101, 0.2);
}

.nav-btn iconify-icon {
    font-size: 1.5rem;
}

.benefits-carousel-wrapper {
    margin: 0 -2rem;
    padding: 0 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.benefits-carousel-wrapper::-webkit-scrollbar {
    display: none;
}

.benefits-track {
    display: flex;
    gap: 2.5rem;
    padding-bottom: 2rem;
}

.benefit-card {
    position: relative;
    flex: 0 0 550px;
    min-height: 600px;
    background: #1a1a1a;
    border-radius: 40px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-image-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
    z-index: 1;
    transition: transform 1.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.8) contrast(1.1);
}

.benefit-card:hover .benefit-image-bg {
    transform: scale(1.08);
}

.benefit-card-content {
    position: relative;
    z-index: 2;
    padding: 4rem 3.5rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    color: #fff;
    width: 100%;
}

.benefit-title {
    color: #fff;
    font-size: 2.2rem;
    font-weight: 500;
    margin-bottom: 1.2rem;
    font-family: var(--font-serif);
    letter-spacing: 0.5px;
}

.benefit-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 90%;
}

.final-cta-section {
    padding: 8rem 0;
    background: #fdfaf7;
}

@media (max-width: 768px) {
    .benefits-header {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 2rem;
    }

    .benefits-header-right {
        display: flex;
        width: 100%;
        justify-content: space-between;
        align-items: center;
        margin-top: 1rem;
    }

    .scroll-hint {
        display: none;
        /* Hide text hint on mobile to save space */
    }

    .benefits-section .serif-title {
        font-size: 2.5rem;
    }

    .benefit-card {
        flex: 0 0 85vw;
        min-height: 500px;
        border-radius: 30px;
    }

    .benefit-card-content {
        padding: 2.5rem 2rem;
    }

    .benefit-title {
        font-size: 1.8rem;
    }
}

.final-cta-card {
    background: #ffffff;
    border-radius: 50px;
    padding: 5rem 2rem;
    border: 1px solid rgba(166, 124, 101, 0.1);
    box-shadow: 0 30px 60px rgba(141, 123, 109, 0.08);
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.final-cta-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 40px 80px rgba(141, 123, 109, 0.12);
}

.final-cta-card .serif-title {
    font-size: 3.5rem;
    color: #1A1A1A;
}

@media (max-width: 768px) {
    .final-cta-card {
        padding: 3rem 1.5rem;
    }

    .final-cta-card .serif-title {
        font-size: 2.2rem;
    }
}

.payment-note {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-top: -1rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0.8;
}

.payment-note iconify-icon {
    color: #B68D78;
    font-size: 1.1rem;
}

/* For cards in grid */
.product-card .payment-note {
    margin-top: 5px;
    margin-bottom: 15px;
    justify-content: flex-start;
    font-size: 0.8rem;
}

/* === Currency & Payments Updates === */
.pricing-card {
    position: relative;
    padding-top: 5rem;
    /* Make space for switcher */
}

/* Currency Switcher */
.pricing-header-actions {
    position: absolute;
    top: 2rem;
    right: 2rem;
    display: flex;
    justify-content: flex-end;
}

.currency-switcher {
    display: flex;
    background: #f0f0f0;
    padding: 4px;
    border-radius: 12px;
    gap: 4px;
}

.currency-btn {
    border: none;
    background: transparent;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.currency-btn.active {
    background: #fff;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.currency-btn:hover:not(.active) {
    color: #1a1a1a;
    background: rgba(255, 255, 255, 0.5);
}

/* Payment Badges */
.payment-badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.payment-badge {
    background: #f8f8f8;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
}

.payment-badge:hover {
    background: #fff;
    border-color: rgba(166, 124, 101, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transform: translateY(-2px);
}

.pb-icon {
    width: 40px;
    height: 40px;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.pb-content {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.pb-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1a1a1a;
    line-height: 1.2;
}

.pb-sub {
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

@media (max-width: 600px) {
    .payment-badges-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .pricing-header-actions {
        position: relative;
        top: auto;
        right: auto;
        justify-content: center;
        margin-bottom: 2rem;
        margin-top: 1rem;
    }

    .pricing-card {
        padding-top: 3.5rem;
        /* Increased to clear the badge */
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* === Mobile Navigation === */
.mobile-menu-btn {
    display: none;
    /* Hidden on desktop */
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--color-text-primary);
    cursor: pointer;
    z-index: 1001;
    margin-left: 1rem;
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.mobile-menu-nav {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-menu-link {
    font-size: 1.5rem;
    font-family: var(--font-serif);
    color: var(--color-text-primary);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.mobile-menu-link:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    .header-inner {
        display: flex;
        /* Switch grid to flex for better control on mobile */
        justify-content: space-between;
        padding: 0 1rem;
    }

    .header-left,
    .header-right {
        width: auto;
    }

    .header-nav {
        display: none;
        /* Explicitly hide desktop nav */
    }
}

.mobile-menu-close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    font-size: 2.5rem;
    color: var(--color-text-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-close-btn:hover {
    transform: rotate(90deg);
    color: var(--color-accent);
}

/* === Results Section === */
.results-section {
    background-color: #fdfaf7;
    padding: var(--spacing-lg) 0;
}

.results-card {
    background: #FFFFFF;
    border-radius: 40px;
    padding: var(--spacing-lg);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-top: var(--spacing-lg);
}

.results-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.results-subtitle {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    margin-bottom: var(--spacing-sm);
    color: var(--color-text-primary);
}

.results-list {
    list-style: none;
    padding: 0;
}

.results-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--spacing-sm);
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--color-text-secondary);
}

.results-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--color-text-primary);
    font-weight: bold;
}

.results-carousel-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.results-track-wrapper {
    overflow: hidden;
    width: 100%;
    border-radius: 30px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.results-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.results-slide {
    flex: 0 0 100%;
}

.slide-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 3/2;
}

.results-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 40%;
    background: linear-gradient(to right, rgba(242, 231, 222, 0.95) 0%, rgba(242, 231, 222, 0) 100%);
    display: flex;
    align-items: center;
    padding: 0 1rem;
    pointer-events: none;
}

.slide-name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-primary);
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    opacity: 0.7;
}

.results-carousel-container .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.results-carousel-container .prev {
    left: -24px;
}

.results-carousel-container .next {
    right: -24px;
}

#results-dots {
    display: flex;
    margin-top: 1rem;
}

/* Responsive Results */
@media (max-width: 992px) {
    .results-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .results-card {
        padding: var(--spacing-lg);
        border-radius: 30px;
    }
    
    .results-carousel-container {
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 600px) {
    .results-subtitle {
        font-size: 1.5rem;
    }
    
    .results-list li {
        font-size: 1rem;
    }
    
    .results-carousel-container .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .results-carousel-container .prev { left: -10px; }
    .results-carousel-container .next { right: -10px; }
}
