/* Extracted from index.html */
@font-face {
    font-family: 'Golos Bold';
    src: local('Golos Bold'), url('fonts/Golos-Text_Bold.ttf') format('truetype');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'Lighthaus';
    src: local('Lighthaus'), url('fonts/Lighthaus.otf') format('opentype');
    font-display: swap;
}

@font-face {
    font-family: 'Golos Regular';
    src: local('Golos Regular'), url('fonts/Golos-Text_Regular.ttf') format('truetype');
    font-weight: 400;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Color System - Custom Palette */
    --text-main: #1C2B4B;
    /* Main Text - Dark Navy */
    --text-heading: #1C2B4B;
    /* Heading Text - Dark Navy */
    --text-secondary: #F0F4F8;
    /* Secondary Text - Pale Yellow */

    --bg-main: #93ABD8;
    /* Base Background */

    --accent-primary: #F0F4F8;
    /* Primary Accent - Pale Yellow */
    --accent-secondary: #e6e0b8;
    /* Lighter Accent */

    --accent-light: rgba(240, 244, 248, 0.2);
    /* Very pale highlight */
    --accent-dark: #829ac2;
    /* Deep Slate */

    --accent-warm: #F0F4F8;
    /* Warm Accent - Pale Yellow */
    --accent-warm-hover: #e6e0b8;

    /* Design Tokens: Glass System - Light Mode */
    /* Cards: Frosted Paper */
    --glass-surface-card: rgba(255, 255, 255, 0.4);
    /* More transparent */
    --glass-blur-card: 25px;
    /* Stronger blur */

    /* Primary surfaces: White Paper */
    --glass-surface-primary: rgba(255, 255, 255, 0.6);
    /* Adjusted for consistency */
    --glass-blur-primary: 30px;

    --glass-border: rgba(255, 255, 255, 0.6);
    /* Crystal white border */
    /* Subtle Pencil Line - Kept as fallback or for dividers */
    --glass-border-strong: rgba(255, 255, 255, 0.8);

    /* Design Tokens: Radius Scale (8pt Grid) */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;
    --radius-full: 9999px;
    --radius-bubble: 60px;

    /* Design Tokens: Shadows - Light Mode (Soft Natural Daylight) */
    --shadow-subtle: 0 4px 12px rgba(84, 110, 122, 0.08);
    --shadow-standard: 0 8px 32px 0 rgba(84, 110, 122, 0.1);
    /* Deep glass shadow */
    --shadow-cta: 0 8px 20px rgba(212, 140, 158, 0.4);
    /* Soft Rose Glow */

    /* Layout */
    --section-padding: 100px 20px;
    --section-margin: 80px;
}

/* Keyboard Focus Indicator */
*:focus-visible {
    outline: 3px solid var(--accent-primary);
    outline-offset: 4px;
    border-radius: var(--radius-sm);
    transition: outline-offset 0.2s ease;
    /* Smooth focus transition */
}



body {
    background-color: var(--bg-main);
    /* Subtle noise/texture could be added here if desired */
    color: var(--text-main);
    font-family: 'Golos Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    font-size: 1.1rem;
    min-height: 100vh;
    font-weight: 400;
}

/* Body text - paragraphs */
p {
    font-family: 'Golos Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
}

/* Typography Hierarchy - All headings use Golos Bold */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    color: var(--text-heading);
}

h1 {
    font-weight: 800;
    line-height: 1.2;
}

h2 {
    font-weight: 700;
    line-height: 1.3;
}

.section-title {
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-weight: 700;
    line-height: 1.3;
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-heading);
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: none;
    position: relative;
    z-index: 10;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }
}

h3 {
    font-weight: 600;
    line-height: 1.4;
}

h4 {
    font-weight: 600;
    line-height: 1.4;
}

h5,
h6 {
    font-weight: 600;
    line-height: 1.5;
}

.logo,
.price {
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-weight: 700;
}

.glass-panel {
    background: var(--glass-surface-primary);
    backdrop-filter: blur(var(--glass-blur-primary));
    -webkit-backdrop-filter: blur(var(--glass-blur-primary));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
header {
    padding: 20px 0;
    position: sticky;
    top: 20px;
    z-index: 9998;
}

/* Fix for blog post headers sticking */
.post-header {
    position: relative;
    top: auto;
    z-index: 1;
    padding: 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--accent-primary);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    border-radius: var(--radius-full);
    padding: 15px 40px;
    box-shadow: var(--shadow-subtle);
    max-width: 1000px;
    margin: 0 auto;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-heading);
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
}

.logo span {
    color: inherit;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    /* Consistent spacing */
    align-items: center;
    /* Baseline alignment */
}

nav li {
    margin-left: 0;
    /* Managed by gap */
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: var(--radius-full);
}

nav a:hover {
    color: var(--accent-primary);
    background: var(--text-main);
}

/* Hero Section */
.hero {
    background: transparent;
    color: var(--text-main);
    padding: 120px 20px 80px;
    margin-bottom: 20px;
    position: relative;
    overflow-x: clip;
    /* Prevent horizontal overflow from absolute elements */
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 5.5rem;
    margin-bottom: 25px;
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: none;
    line-height: 1.0;
    color: var(--text-heading);
}

.hero p {
    font-family: 'Golos Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.35rem;
    max-width: 600px;
    margin: 0 0 35px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Visual Side */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

/* Fan Cards Behind Hero */
.hero-fan-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 250px;
    /* Make cards wider */
    height: 350px;
    /* Make cards taller */
    z-index: -3;
}

.fan-card {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(28, 43, 75, 0.15);
    border: 3px solid rgba(255, 255, 255, 0.8);
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    transform-origin: bottom center;
    opacity: 0;
    transform: scale(0.8) translateY(20px) rotate(0deg);
}

/* Base Position (Hidden/Stacked) */
.hero-visual .fan-card {
    opacity: 0;
    transform: scale(0.6) translateY(20px) rotate(0deg);
}

/* Fan Out Animation on Hover */
.hero-visual:hover .card-1 {
    opacity: 0.95;
    transform: scale(1.0) translateY(-20px) translateX(-140px) rotate(-15deg);
}

.hero-visual:hover .card-2 {
    opacity: 0.95;
    transform: scale(1.0) translateY(-20px) translateX(140px) rotate(15deg);
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 320px;
    border-radius: var(--radius-xl);
    /* Organic shape or simple rounded? Let's go with rounded card first */
}

.hero-image-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 40px;
    /* Softer, modern radius */
    box-shadow: 20px 20px 60px rgba(84, 110, 122, 0.15);
    /* Soft deep shadow */
    filter: drop-shadow(0px 8px 16px rgba(28, 43, 75, 0.25));
    /* Soften edges */
    transform: rotate(2deg);
    /* Fun tilt */
    transition: transform 0.5s ease, filter 0.5s ease;
    border: 4px solid rgba(255, 255, 255, 0.6);
}

.hero-image-wrapper:hover img {
    transform: rotate(0deg) scale(1.02);
    filter: drop-shadow(0px 12px 24px rgba(28, 43, 75, 0.35));
    /* Deeper shadow on hover */
}

.visual-accent-circle {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 150px;
    height: 150px;
    background: var(--accent-warm);
    border-radius: 50%;
    opacity: 0.15;
    z-index: -1;
    filter: blur(40px);
}

.hero-depth-shape {
    position: absolute;
    top: 20px;
    left: -20px;
    width: 90%;
    height: 90%;
    background-color: #F0F4F8;
    opacity: 0.4;
    border-radius: 40px;
    transform: rotate(-4deg);
    z-index: -2;
    transition: transform 0.5s ease;
}

.hero-image-wrapper:hover .hero-depth-shape {
    transform: rotate(-6deg) translate(-10px, 10px);
}

/* Trust Signals Bar - Adjusted for Left Align & Horizontal Row */
.trust-signals {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 15px;
    /* Reduced gap slightly to fit in one row */
    margin-top: 40px;
    flex-wrap: nowrap;
    /* Force row on desktop */
    width: 100%;
}

.trust-item {
    background: var(--glass-surface-card);
    backdrop-filter: blur(var(--glass-blur-card));
    -webkit-backdrop-filter: blur(var(--glass-blur-card));
    padding: 10px 25px;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    gap: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: var(--shadow-subtle);
}

.trust-item i {
    color: var(--accent-primary);
}

.cta-button {
    display: inline-block;
    text-align: center;
    background: linear-gradient(to right, #F0F4F8, #E6E0B8);
    /* Updated background gradient */
    color: #1C2B4B;
    padding: 18px 45px;
    border-radius: var(--radius-full);
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    box-shadow: var(--shadow-cta);
    font-family: 'Golos Regular', 'Helvetica Neue', Arial, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    z-index: 1;
}

#gradient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Custom Gradient Background */
    background: linear-gradient(180deg,
            #93ABD8 0%,
            #8aa1c9 25%,
            #9ab4e3 50%,
            #93ABD8 75%,
            #8aa1c9 100%);
    background-size: 100% 400%;
    /* Important: taller than viewport to allow scrolling */
    background-position: 50% 0%;
    /* Start at top */
    transition: background-position 0.1s linear;
    /* Smoothness fallback */
    pointer-events: none;
}

.cta-button:hover {
    background: linear-gradient(to right, #F0F4F8, #E6E0B8);
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 20px rgba(212, 140, 158, 0.3);
    /* ROSE glow */
    border: 2px solid #1C2B4B;
}

.cta-button:active {
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 6px 16px rgba(84, 110, 122, 0.2);
}

/* Scrolling Marquee */
.marquee-container {
    width: 100%;
    overflow: hidden;
    background: var(--accent-primary);
    color: var(--text-heading);
    padding: 15px 0;
    margin: 40px 0;
    transform: rotate(-2deg);
    /* Gen Z tilt */
    box-shadow: var(--shadow-md);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-item {
    font-family: 'Golos Bold', serif;
    font-size: 2rem;
    font-weight: 700;
    margin-right: 60px;
    text-transform: uppercase;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Marquee Hover Pause */
.marquee-container:hover .marquee-content {
    animation-play-state: paused;
}

/* ============================================
   JOURNEY SECTION - The English Journey
   ============================================ */

.journey-section {
    padding: var(--section-padding);
    margin-bottom: var(--section-margin);
    min-height: 600px;
}

/* ===== Stage 1: Entry Point ===== */
.journey-entry {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 400px;
    padding: 60px 20px;
}

.journey-start-card {
    position: relative;
    text-align: center;
    background: var(--glass-surface-primary);
    backdrop-filter: blur(var(--glass-blur-primary));
    -webkit-backdrop-filter: blur(var(--glass-blur-primary));
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-xl);
    padding: 60px 80px;
    box-shadow: var(--shadow-standard);
    max-width: 500px;
}

.pulse-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    border: 2px solid var(--accent-primary);
    border-radius: 50%;
    animation: pulse-subtle 2s ease-out infinite;
    opacity: 0;
}

@keyframes pulse-subtle {
    0% {
        transform: translate(-50%, -50%) scale(0.5);
        opacity: 0.4;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.journey-icon {
    position: relative;
    z-index: 2;
    color: var(--accent-primary);
    margin: 0 auto 30px;
    width: fit-content;
    animation: float 3s ease-in-out infinite;
}

.journey-start-card h3 {
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 15px;
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.3;
}

.journey-start-card p {
    font-family: 'Golos Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 30px;
    line-height: 1.6;
}

.journey-start-btn {
    background: var(--accent-primary);
    color: white;
    padding: 18px 45px;
    border: none;
    border-radius: var(--radius-full);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    font-family: 'Golos Regular', 'Helvetica Neue', Arial, sans-serif;
}

.journey-start-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-cta);
}

.journey-start-btn:active {
    transform: scale(0.95);
}

/* ===== Stage 2: Journey Path ===== */
.journey-path {
    position: relative;
    padding: 40px 0;
    min-height: 500px;
}

.path-connector {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    pointer-events: none;
}

#journeyPath {
    transition: stroke-dashoffset 2s ease-in-out;
}

#journeyPath.revealed {
    stroke-dashoffset: 0;
}

.stations-container {
    position: relative;
    z-index: 2;
    height: 400px;
}

/* Journey Station */
.journey-station {
    position: absolute;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
    animation: stationFadeIn 0.6s ease forwards;
}

.journey-station:nth-child(1) {
    animation-delay: 0.5s;
}

.journey-station:nth-child(2) {
    animation-delay: 0.8s;
}

.journey-station:nth-child(3) {
    animation-delay: 1.1s;
}

.journey-station:nth-child(4) {
    animation-delay: 1.4s;
}

@keyframes stationFadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Neumorphic Station Node */
.station-node {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.4s ease;
    position: relative;
}

.station-node.neumorphic {
    /* background: var(--bg-main); */
    box-shadow: var(--shadow-standard);
}

.journey-station:hover .station-node,
.journey-station.active .station-node {
    transform: translateY(-8px) scale(1.05);
    box-shadow: var(--shadow-standard);
}

.station-icon {
    width: 70px;
    height: 70px;
    position: relative;
    z-index: 2;
}

.station-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 5px 10px rgba(112, 145, 230, 0.3));
    transition: all 0.3s ease;
}

.journey-station:hover .station-icon img {
    transform: scale(1.1) rotate(5deg);
    filter: none;
}

/* Station Info */
.station-info {
    text-align: center;
    max-width: 200px;
}

.station-info h4 {
    font-size: 1.3rem;
    color: var(--text-heading);
    margin-bottom: 8px;
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.4;
}

.station-subtitle {
    font-size: 0.95rem;
    color: var(--accent-primary);
    font-style: italic;
    margin-bottom: 10px;
    display: block;
}

.outcome-badge {
    display: inline-block;
    background: var(--accent-primary);
    color: var(--text-heading);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: var(--shadow-subtle);
}

/* ===== Stage 3: Detail Panel ===== */
.station-details {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    margin-top: 20px;
    background: var(--glass-surface-primary);
    backdrop-filter: blur(var(--glass-blur-primary));
    -webkit-backdrop-filter: blur(var(--glass-blur-primary));
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-standard);
    width: 400px;
    max-width: 90vw;
    z-index: 100;

    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(0) scale(0.9);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.journey-station:hover .station-details {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px) scale(1);
}

.detail-content {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Before/After Split */
/* Before/After Split */
.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
    background: rgba(84, 110, 122, 0.03);
    border-radius: var(--radius-md);
    border: 1px solid rgba(84, 110, 122, 0.1);
}

.before,
.after {
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 12px;
}

.before h5,
.after h5 {
    font-family: 'Golos Regular', sans-serif;
    font-size: 1.4rem;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin: 0;
    opacity: 0.7;
}

.before p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #D48C9E;
    /* Dusty Rose */
    font-style: italic;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 12px;
    border-left: 2px solid rgba(212, 140, 158, 0.3);
}

.after p {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #546E7A;
    /* Muted Slate */
    font-weight: 600;
    font-size: 1.15rem;
    line-height: 1.6;
    margin: 0;
    padding-left: 12px;
    border-left: 2px solid rgba(84, 110, 122, 0.3);
}



/* Responsive Adjustments */
@media (max-width: 768px) {
    .journey-path {
        min-height: 800px;
    }

    .stations-container {
        height: 750px;
    }

    .journey-station {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        margin-bottom: 60px;
        display: block;
    }

    .path-connector {
        display: none;
    }

    .station-details {
        position: relative;
        transform: none;
        margin-top: 20px;
        left: 0;
        width: 100%;
    }

    .journey-station:hover .station-details,
    .journey-station.active .station-details {
        transform: none;
    }
}

/* Reviews Section */
.reviews {
    padding: var(--section-padding);
    margin-bottom: var(--section-margin);
}

/* Responsive Adjustments */
/* Responsive Adjustments */
@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        align-items: center;
        order: 1;
        /* Text first */
    }

    .hero-visual {
        order: 2;
        margin-top: 0;
    }

    .hero h1 {
        font-size: 3.5rem;
    }

    .hero-image-wrapper {
        max-width: 350px;
        margin: 0 auto;
    }

    .trust-signals {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2.5rem;
    }

    .hero-image-wrapper img {
        transform: rotate(0deg);
        /* No tilt on mobile to save space */
    }

    .trust-signals {
        flex-wrap: wrap;
        /* Allow wrapping on tablets/mobile */
        justify-content: center;
    }
}

/* Mobile Portrait */
@media (max-width: 480px) {
    .hero {
        padding: 80px 20px 40px;
    }

    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: 20px;
    }

    .hero p {
        font-size: 1.15rem;
    }

    .hero-image-wrapper {
        max-width: 280px;
    }

    .trust-signals {
        gap: 10px;
    }

    .trust-item {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}

/* Reviews Carousel */
.reviews-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
    background: var(--glass-surface-2);
    backdrop-filter: blur(var(--glass-blur-2));
    overflow: hidden;
    /* Ensure content stays contained */
}

.carousel-container {
    display: flex;
    transition: transform 0.5s ease;
    will-change: transform;
}

.review-card {
    min-width: 100%;
    flex-shrink: 0;
    padding: 60px;
    background-color: transparent;
    text-align: center;
    box-sizing: border-box;
}

.review-text {
    font-family: 'Golos Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 1.5rem;
    font-style: normal;
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--text-main);
    font-weight: 400;
}

.review-author {
    font-weight: 600;
    color: var(--text-heading);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.verified-badge {
    color: var(--accent-primary);
    font-size: 0.9em;
}

.carousel-nav {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--text-secondary);
    margin: 0 8px;
    cursor: pointer;
    transition: background-color 0.3s;
}

button.carousel-dot {
    border: none;
    padding: 0;
}

.carousel-dot.active {
    background-color: var(--accent-secondary);
}

/* Pricing Section */
.pricing {
    padding: var(--section-padding);
    background-color: transparent;
    color: var(--text-main);
    margin-bottom: var(--section-margin);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--glass-surface-card);
    backdrop-filter: blur(var(--glass-blur-card));
    -webkit-backdrop-filter: blur(var(--glass-blur-card));
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: var(--radius-xl);
    padding: 50px 30px;
    text-align: center;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s ease;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    background: var(--glass-surface-card);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-standard);
}

.pricing-card:active {
    transform: scale(0.98);
}

.pricing-card.popular {
    position: relative;
    transform: scale(1.1);
    /* 10% larger than other card */
    z-index: 10;
    box-shadow: 0 0 40px rgba(240, 244, 248, 0.3), 0 20px 40px rgba(0, 0, 0, 0.15);
    /* Subtle yellow outer glow */
}

.popular-badge {
    position: absolute;
    top: -20px;
    /* Float exactly over the top edge */
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--text-heading);
    /* Navy Blue Background */
    color: var(--accent-primary);
    /* Yellow text */
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(28, 43, 75, 0.2);
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--text-heading);
    margin: 20px 0;
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
}

.price span {
    font-size: 1rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    margin: 30px 0;
    text-align: left;
}

.pricing-features li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.pricing-features li:before {
    content: 'âœ“';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
    font-weight: bold;
}

/* Tutor Section */
.tutor {
    padding: var(--section-padding);
    margin-bottom: var(--section-margin);
}

.tutor-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.tutor-image {
    flex: 1;
    min-width: 300px;
}

.tutor-image img {
    width: 100%;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    display: block;
    /* Remove bottom space */
}

.tutor-info {
    flex: 1;
    min-width: 300px;
}

.tutor-info h2 {
    color: var(--text-heading);
    margin-bottom: 20px;
    font-size: 2.5rem;
    font-family: 'Golos Regular', 'Helvetica Neue', Arial, sans-serif;
}

.tutor-info p {
    font-family: 'Golos Regular', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    margin-bottom: 20px;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Social Media Section */
/* Social Media Section */
.social {
    padding: 80px;
    background: var(--glass-surface-card);
    backdrop-filter: blur(var(--glass-blur-card));
    -webkit-backdrop-filter: blur(var(--glass-blur-card));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    margin-bottom: var(--section-margin);
    box-shadow: var(--shadow-subtle);
}

.social-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 50px;
}

.social-links {
    flex: 1;
    min-width: 300px;
}

.social-links h3 {
    color: var(--text-heading);
    margin-bottom: 30px;
    font-size: 2rem;
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    line-height: 1.3;
}

.social-icons {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: var(--bg-main);
    color: var(--text-heading);
    border-radius: 50%;
    font-size: 1.8rem;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background-color: var(--accent-primary);
    transform: translateY(-5px);
    color: var(--text-heading);
}

.social-preview {
    flex: 1;
    min-width: 300px;
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.preview-grid img {
    width: 100%;
    border-radius: var(--radius-sm);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    /* Minor shadow, keep or standardize? Let's standard to sm */
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s;
}

.preview-grid img:hover {
    transform: scale(1.03);
}

/* Footer */
footer {
    background: transparent;
    color: var(--text-main);
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--glass-border);
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-info {
    margin: 20px 0;
}

.copyright {
    margin-top: 20px;
    color: var(--accent-primary);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    nav ul {
        margin-top: 20px;
        justify-content: center;
    }

    nav li {
        margin: 0 10px;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .pricing-card.popular {
        transform: none;
    }

    /* Hero Fan Cards Mobile Animation Fix */
    .hero-fan-container {
        display: none;
    }

    /* Mobile Hero Image Circle & Softening */
    .hero-image-wrapper {
        border-radius: 50%;
        width: 200px; /* Force a square proportion for perfect circle */
        height: 200px;
        margin: 0 auto;
        overflow: hidden; /* Ensure image clips to circle */
    }

    .hero-image-wrapper img {
        border-radius: 50%;
        transform: none !important; /* Remove tilt */
        filter: drop-shadow(0px 4px 8px rgba(28, 43, 75, 0.15)); /* Softer less loud shadow */
        border: 2px solid rgba(255, 255, 255, 0.8); /* Thinner border */
        height: 100%;
        width: 100%;
        object-fit: cover; /* Ensures filling the circle without stretching */
        object-position: center 5%; /* Pulls the image down within the container so face is centered */
    }

    /* Hide the squiggly depth shape behind the circle on mobile to keep it clean */
    .hero-depth-shape {
        display: none;
    }

    /* Center Mobile Social Section */
    .social-links {
        text-align: center;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Scroll Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

/* Scroll Assembly System */
.assemble-item {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* BackOut for snap effect */
    will-change: transform, opacity;
}

.assemble-item.from-left {
    transform: translateX(-60px) scale(0.9);
}

.assemble-item.from-right {
    transform: translateX(60px) scale(0.9);
}

.assemble-item.from-bottom {
    transform: translateY(60px) scale(0.9);
}

.assemble-item.scale-in {
    transform: scale(0.7);
}

.assemble-item.assembled {
    opacity: 1;
    transform: translate(0) scale(1) rotate(0);
}

.fade-in-up {
    display: none;
}

/* Staggered Animation for assemble-item */
.testimonials .assemble-item:nth-child(1),
.pricing .assemble-item:nth-child(1) {
    transition-delay: 0s !important;
}

.testimonials .assemble-item:nth-child(2),
.pricing .assemble-item:nth-child(2) {
    transition-delay: 0.15s !important;
}

.testimonials .assemble-item:nth-child(3),
.pricing .assemble-item:nth-child(3) {
    transition-delay: 0.3s !important;
}

.testimonials .assemble-item:nth-child(n+4),
.pricing .assemble-item:nth-child(n+4) {
    transition-delay: 0.45s !important;
}

/* =========================================
   MOBILE MENU STYLES
   ========================================= */

/* Default State (Desktop) */
.mobile-menu-toggle {
    display: none;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(2, 6, 23, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: right 0.6s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.mobile-sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 30px;
    right: 30px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 2.5rem;
    cursor: pointer;
    transition: color 0.3s;
}

.sidebar-close:hover {
    color: white;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.mobile-nav li {
    margin: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s, transform 0.4s;
}

.mobile-sidebar.active .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger Animations */
.mobile-sidebar.active .mobile-nav li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-sidebar.active .mobile-nav li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-sidebar.active .mobile-nav li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-sidebar.active .mobile-nav li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-sidebar.active .mobile-nav li:nth-child(5) {
    transition-delay: 0.5s;
}

.mobile-nav a {
    font-family: 'Golos Bold', serif;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s;
}

.mobile-nav a:hover {
    color: var(--accent-warm);
    /* Pop color on hover */
}

.mobile-social {
    display: flex;
    gap: 30px;
    margin-top: 50px;
}

.mobile-social i {
    font-size: 1.8rem;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
}

.mobile-social i:hover {
    color: white;
    transform: scale(1.2);
}

/* Mobile Media Query Overrides */
@media (max-width: 768px) {
    .header-container {
        flex-direction: row !important;
        /* Override column layout */
        justify-content: space-between !important;
        align-items: center !important;
        padding: 15px 25px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: var(--text-heading);
        /* Fixed contrast: changed to text-heading to be visible on accent-primary background */
        cursor: pointer;
        padding: 5px;
        z-index: 1001;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact-section {
    padding: var(--section-padding);
    margin-bottom: var(--section-margin);
    display: flex;
    justify-content: center;
    position: relative;
}

.contact-container {
    background: var(--glass-surface-primary);
    backdrop-filter: blur(var(--glass-blur-primary));
    -webkit-backdrop-filter: blur(var(--glass-blur-primary));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 60px;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-standard);
    position: relative;
    z-index: 2;
}

.contact-title {
    font-family: 'Golos Bold', serif;
    font-size: 2.5rem;
    color: var(--text-heading);
    margin-bottom: 10px;
    text-align: center;
}

.contact-subtitle {
    font-family: 'Golos Regular', sans-serif;
    color: var(--text-heading);
    /* Updated to Navy Blue for better contrast */
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-family: 'Golos Regular', sans-serif;
    color: var(--text-heading);
    margin-bottom: 10px;
    font-weight: 600;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="url"] {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-md);
    font-family: 'Golos Regular', sans-serif;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    transition: all 0.3s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(84, 110, 122, 0.1);
    background: white;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.contact-method input {
    display: none;
}

.method-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 15px 10px;
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.3);
    font-family: 'Golos Regular', sans-serif;
    font-size: 0.9rem;
    color: var(--text-heading);
}

.method-btn i {
    font-size: 1.5rem;
    transition: transform 0.3s;
}

.contact-method input:checked+.method-btn {
    background: var(--accent-primary);
    color: var(--text-heading);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-subtle);
}

.contact-method:hover .method-btn {
    border-color: var(--accent-dark);
}

.contact-method:hover i {
    transform: scale(1.2);
    color: var(--text-heading);
}

.submit-btn {
    width: 100%;
    margin-top: 10px;
    border: none;
    cursor: pointer;
}

/* Mobile Adjustments */
@media (max-width: 480px) {
    .contact-container {
        padding: 40px 20px;
    }

    .contact-methods {
        grid-template-columns: 1fr;
    }

    .method-btn {
        flex-direction: row;
        justify-content: flex-start;
        padding: 12px 20px;
    }
}

/* ==========================================================================
     FOOTER SECTION
   ========================================================================== */
footer {
    background: var(--bg-main);
    border-top: 1px solid var(--glass-border);
    padding: 60px 0 40px;
    margin-top: 80px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 20px;
}

.footer-block h4 {
    color: var(--text-main);
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-block p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.legal-note {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-top: 10px;
}

.small-text {
    font-size: 0.85rem;
    opacity: 0.8;
}

.footer-block a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-block a:hover {
    color: var(--accent-primary);
}

.brand-block .logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
    display: block;
    color: var(--text-heading);
}

.policy-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 15px;
}

.policy-links a {
    font-size: 0.9rem;
    border-bottom: 1px dashed var(--glass-border-strong);
    width: fit-content;
}

.policy-links a:hover {
    border-bottom-color: var(--accent-primary);
}

/* Mobile Responsiveness for Footer */
@media (max-width: 768px) {
    footer {
        padding: 40px 0;
        text-align: center;
        /* Center align on mobile for better balance */
    }

    .footer-content {
        grid-template-columns: 1fr;
        /* Stack vertically */
        gap: 30px;
    }

    .policy-links {
        align-items: center;
        /* Center policy links */
    }
}

/* Qualifications Section */
.qualifications-section {
    margin-top: 30px;
}

.qualifications-section h4 {
    font-family: 'Golos Bold', Georgia, 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--text-heading);
    margin-bottom: 15px;
}

.qualifications-scroll-container {
    display: flex;
    flex-wrap: nowrap;
    /* Force single row */
    overflow-x: auto;
    gap: 15px;
    padding-bottom: 20px;
    /* Space for scrollbar */
    scrollbar-width: thin;
    scrollbar-color: var(--accent-primary) transparent;
    -webkit-overflow-scrolling: touch;
    width: 100%;
    /* Ensure container takes space */
}

/* ... scrollbar styles ... */
.qualifications-scroll-container::-webkit-scrollbar {
    height: 6px;
}

.qualifications-scroll-container::-webkit-scrollbar-track {
    background: transparent;
}

.qualifications-scroll-container::-webkit-scrollbar-thumb {
    background-color: var(--accent-primary);
    border-radius: 10px;
}

.qualification-item {
    flex: 0 0 360px;
    /* Fixed width of 360px */
    width: 360px;
    height: 255px;
    /* Fixed height for landscape aspect ratio ~1.4 */
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--glass-border);
    transition: transform 0.3s ease;
    cursor: pointer;
    background: #fff;
    /* Fallback */
    position: relative;
}

.qualification-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crop to fit */
    display: block;
}

/* Floating Animation */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-element {
    animation: float 4s ease-in-out infinite;
}

.floating-element-delayed {
    animation: float 4s ease-in-out infinite;
    animation-delay: 2s;
    /* Offset for organic feel */
    /* will-change: transform; - Removed to prevent editor warning */
}

/* Ensure inline elements behave for transform */
h1 .floating-text {
    display: inline-block;
    animation: float 4s ease-in-out infinite;
}

/* Telegram Button Specific Override */
.tg-btn {
    background: var(--text-heading) !important;
    /* Solid Navy */
    color: white !important;
    border: 1px solid var(--accent-primary) !important;
    /* 1px yellow border */
}

.tg-btn:hover {
    background: var(--text-heading) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 12px 24px rgba(28, 43, 75, 0.4) !important;
    /* Navy Glow */
}

.tg-btn img {
    filter: brightness(0) invert(1);
    transition: transform 0.3s ease;
}

.tg-btn:hover img {
    transform: scale(1.1);
}

/* =========================================
   MOBILE ANIMATION OPTIMIZATIONS
   ========================================= */
@media (max-width: 768px) {

    /* Disable infinite floating animations on mobile to save battery and reduce lag */
    .floating-element,
    .floating-element-delayed,
    h1 .floating-text,
    .hero-image-wrapper img {
        animation: none !important;
        transform: none !important;
    }

    /* Speed up scroll assembly animations on mobile */
    .assemble-item {
        transition-duration: 0.4s !important;
        transition-delay: 0s !important;
        /* Remove staggered delays on mobile */
    }

    /* Remove hover transforms that might stick on mobile tap */
    .pricing-card:hover,
    .testimonial-card:hover,
    .service-card:hover {
        transform: none !important;
    }
}

/* Legal & Cookies Styling */
.form-consent {
    margin-top: 15px;
    font-size: 0.75rem;
    color: var(--text-heading);
    opacity: 0.7;
    text-align: center;
    line-height: 1.4;
}
.form-consent a {
    color: var(--text-heading);
    text-decoration: underline;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: var(--glass-surface-primary);
    backdrop-filter: blur(var(--glass-blur-primary));
    -webkit-backdrop-filter: blur(var(--glass-blur-primary));
    border: 1px solid var(--glass-border-strong);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-standard);
    padding: 20px;
    z-index: 9999;
}
.cookie-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    text-align: center;
}
.cookie-content p {
    font-size: 0.9rem;
    margin: 0;
}
.cookie-content a {
    color: var(--text-heading);
    font-weight: bold;
    text-decoration: underline;
}
.cookie-btn {
    padding: 10px 25px;
    font-size: 1rem;
}
@media (min-width: 768px) {
    .cookie-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}