/* ===== CSS VARIABLES ===== */
:root {
    /* Core palette */
    --background: hsl(200, 30%, 96%);
    --foreground: hsl(210, 50%, 20%);
    
    /* Primary - Deep navy blue */
    --primary: hsl(210, 60%, 25%);
    --primary-foreground: hsl(200, 30%, 98%);
    
    /* Accent - Cyan/Teal */
    --accent: hsl(185, 70%, 50%);
    --accent-light: hsl(185, 70%, 60%);
    --accent-lighter: hsl(185, 70%, 70%);
    
    /* Muted */
    --muted: hsl(200, 20%, 92%);
    --muted-foreground: hsl(210, 30%, 45%);
    
    /* Pain colors */
    --pain-red: hsl(0, 85%, 55%);
    --pain-glow: hsl(0, 90%, 60%);
    
    /* Dark section */
    --dark-bg: hsl(210, 55%, 25%);
    --dark-cloud-1: hsl(210, 50%, 30%);
    --dark-cloud-2: hsl(210, 45%, 28%);
    
    /* Light blue backgrounds */
    --light-blue-1: hsl(195, 40%, 95%);
    --light-blue-2: hsl(200, 35%, 92%);
    --light-blue-shape: hsl(195, 45%, 90%);
    
    /* Fonts */
    --font-sans: 'Inter', sans-serif;
    --font-display: 'Cormorant Garamond', serif;
    
    /* Shadows */
    --shadow-soft: 0 4px 30px -5px hsla(210, 50%, 20%, 0.08);
    --shadow-elevated: 0 20px 60px -15px hsla(210, 50%, 20%, 0.15);
    --shadow-glow: 0 0 40px -10px hsla(185, 70%, 50%, 0.3);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    background: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ===== SCROLL CONTAINER ===== */
.scroll-container {
    position: relative;
    height: 800vh;
}

/* ===== PROGRESS BAR ===== */
.progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    z-index: 100;
    width: 0%;
    transform-origin: left;
    box-shadow: 0 0 10px var(--accent);
}

/* ===== FIXED VIEWPORT ===== */
.fixed-viewport {
    position: fixed;
    inset: 0;
    overflow: hidden;
}

/* ===== BACKGROUNDS ===== */
.base-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        hsl(195, 50%, 97%) 0%, 
        hsl(200, 40%, 94%) 30%,
        hsl(195, 45%, 96%) 60%,
        hsl(200, 35%, 93%) 100%);
    z-index: 0;
}

.cloud-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 0;
}

.cloud-top {
    top: -15%;
    left: 10%;
    width: 80vw;
    height: 60vw;
    background: linear-gradient(135deg, hsl(195, 50%, 92%) 0%, hsl(200, 45%, 88%) 100%);
    opacity: 0.6;
}

.cloud-bottom {
    bottom: -15%;
    right: 5%;
    width: 70vw;
    height: 55vw;
    background: linear-gradient(225deg, hsl(200, 45%, 90%) 0%, hsl(195, 40%, 86%) 100%);
    opacity: 0.5;
}

/* ===== SECTIONS BASE ===== */
.section {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.active {
    opacity: 1;
    pointer-events: auto;
}

/* ===== HEADER ===== */
.main-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(180deg, hsla(200, 30%, 96%, 0.9) 0%, transparent 100%);
}

@media (min-width: 640px) {
    .main-header {
        padding: 1.5rem 2rem;
    }
}

@media (min-width: 1024px) {
    .main-header {
        padding: 1.75rem 4rem;
    }
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===== SPINE LOGO ===== */
.spine-logo svg {
    display: block;
    filter: drop-shadow(0 2px 4px hsla(210, 60%, 25%, 0.1));
}

.spine-logo.small svg {
    width: 44px;
    height: 44px;
}

.spine-logo.medium svg {
    width: 60px;
    height: 60px;
}

.spine-logo.large svg {
    width: 88px;
    height: 88px;
}

.spine-logo.xlarge svg {
    width: 120px;
    height: 120px;
}

/* ===== LOGO TEXT ===== */
.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .logo-spine,
.logo-text .logo-wellness {
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .logo-text .logo-spine,
    .logo-text .logo-wellness {
        font-size: 1.1rem;
    }
}

.logo-text.dark .logo-spine,
.logo-text.dark .logo-wellness {
    color: var(--primary);
}

.logo-text.light .logo-spine,
.logo-text.light .logo-wellness {
    color: white;
}

.logo-text .logo-training {
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.12em;
    padding: 3px 8px;
    border-radius: 4px;
    margin-top: 4px;
    width: fit-content;
}

@media (min-width: 640px) {
    .logo-text .logo-training {
        font-size: 10px;
        padding: 3px 10px;
    }
}

.logo-text.dark .logo-training {
    color: var(--accent);
    background: linear-gradient(135deg, hsla(185, 70%, 50%, 0.15) 0%, hsla(185, 70%, 50%, 0.25) 100%);
}

.logo-text.light .logo-training {
    color: var(--accent-light);
    background: hsla(185, 70%, 50%, 0.25);
}

/* ===== HEADER BUTTONS ===== */
.header-buttons {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 640px) {
    .header-buttons {
        gap: 1rem;
    }
}

.btn-buy-program {
    display: none;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, hsl(185, 65%, 45%) 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.625rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 15px -3px hsla(185, 70%, 50%, 0.4);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .btn-buy-program {
        display: flex;
    }
}

.btn-buy-program:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px -5px hsla(185, 70%, 50%, 0.5);
}

.btn-menu {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, hsl(185, 50%, 60%) 0%, hsl(185, 60%, 50%) 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px -2px hsla(185, 70%, 50%, 0.3);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .btn-menu {
        width: 46px;
        height: 46px;
    }
}

.btn-menu:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px -3px hsla(185, 70%, 50%, 0.4);
}

.btn-menu svg {
    width: 18px;
    height: 18px;
    color: white;
}

@media (min-width: 640px) {
    .btn-menu svg {
        width: 20px;
        height: 20px;
    }
}

/* ===== CENTER LOGO ===== */
.center-logo {
    position: absolute;
    top: 70px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    display: none;
}

@media (min-width: 640px) {
    .center-logo {
        display: block;
        top: 85px;
    }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 30;
    transition: opacity 0.4s ease;
}

@media (min-width: 640px) {
    .scroll-indicator {
        bottom: 45px;
    }
}

.scroll-indicator span {
    color: hsla(210, 60%, 25%, 0.45);
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.scroll-mouse {
    width: 22px;
    height: 36px;
    border: 2px solid hsla(210, 60%, 25%, 0.25);
    border-radius: 11px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

@media (min-width: 640px) {
    .scroll-mouse {
        width: 26px;
        height: 42px;
        border-radius: 13px;
        padding-top: 10px;
    }
}

.scroll-dot {
    width: 4px;
    height: 4px;
    background: hsla(210, 60%, 25%, 0.5);
    border-radius: 50%;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@media (min-width: 640px) {
    .scroll-dot {
        width: 5px;
        height: 5px;
    }
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(12px); opacity: 0.5; }
}

/* ===== SPINE IMAGE STYLES - ПРЕЛИВАЊЕ ===== */
.spine-image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-image-wrapper {
    position: relative;
    display: inline-block;
}

.spine-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse at center, 
        hsla(195, 50%, 95%, 0.9) 0%,
        hsla(200, 40%, 94%, 0.7) 30%,
        hsla(195, 45%, 96%, 0.4) 60%,
        transparent 80%);
    z-index: -1;
    filter: blur(20px);
}

.spine-image-wrapper img {
    mask-image: linear-gradient(to bottom, 
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%,
        black 5%,
        black 95%,
        transparent 100%);
}

/* ===== HERO SECTION ===== */
.hero-section {
    z-index: 9;
    padding-top: 100px;
}

@media (min-width: 640px) {
    .hero-section {
        padding-top: 0;
    }
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .hero-content {
        flex-direction: row;
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-content {
        padding: 0 4rem;
    }
}

.hero-image {
    width: 100%;
    height: 38vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

@media (min-width: 640px) {
    .hero-image {
        width: 42%;
        height: 100vh;
    }
}

.hero-image .spine-image-wrapper {
    position: relative;
}

.hero-image .spine-image-wrapper::before {
    background: radial-gradient(ellipse at center, 
        hsla(195, 50%, 95%, 0.95) 0%,
        hsla(200, 40%, 94%, 0.8) 25%,
        hsla(195, 45%, 96%, 0.5) 50%,
        transparent 75%);
    inset: -40px;
    filter: blur(30px);
}

.hero-image img {
    height: 32vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px hsla(210, 50%, 20%, 0.08));
}

@media (min-width: 640px) {
    .hero-image img {
        height: 65vh;
    }
}

@media (min-width: 768px) {
    .hero-image img {
        height: 72vh;
    }
}

@media (min-width: 1024px) {
    .hero-image img {
        height: 78vh;
    }
}

.hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
    text-align: center;
}

@media (min-width: 640px) {
    .hero-text {
        width: 58%;
        align-items: flex-start;
        text-align: left;
        padding: 0 0 0 2rem;
    }
}

@media (min-width: 1024px) {
    .hero-text {
        padding: 0 0 0 4rem;
    }
}

.hero-text h1,
.hero-text p {
    color: var(--primary);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.02em;
}

.hero-text h1 {
    font-size: 1.75rem;
}

.hero-text p {
    font-size: 1.75rem;
    margin-top: 0.25rem;
}

@media (min-width: 640px) {
    .hero-text h1,
    .hero-text p {
        font-size: 2.5rem;
    }
    .hero-text p {
        margin-top: 0.5rem;
    }
}

@media (min-width: 768px) {
    .hero-text h1,
    .hero-text p {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .hero-text h1,
    .hero-text p {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .hero-text h1,
    .hero-text p {
        font-size: 5rem;
    }
}

@media (min-width: 1536px) {
    .hero-text h1,
    .hero-text p {
        font-size: 6rem;
    }
}

.italic {
    font-style: italic;
}

/* ===== SAFE SECTION ===== */
.safe-section {
    z-index: 8;
    padding-top: 100px;
}

@media (min-width: 640px) {
    .safe-section {
        padding-top: 0;
    }
}

.safe-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

@media (min-width: 640px) {
    .safe-content {
        flex-direction: row;
        padding: 0 2rem;
    }
}

@media (min-width: 1024px) {
    .safe-content {
        padding: 0 4rem;
    }
}

.safe-image {
    width: 100%;
    height: 38vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .safe-image {
        width: 42%;
        height: 100vh;
    }
}

.safe-image .spine-image-wrapper::before {
    background: radial-gradient(ellipse at center, 
        hsla(195, 50%, 95%, 0.95) 0%,
        hsla(200, 40%, 94%, 0.8) 25%,
        hsla(195, 45%, 96%, 0.5) 50%,
        transparent 75%);
    inset: -40px;
    filter: blur(30px);
}

.safe-image img {
    height: 32vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 10px 40px hsla(210, 50%, 20%, 0.08));
}

@media (min-width: 640px) {
    .safe-image img {
        height: 65vh;
    }
}

@media (min-width: 768px) {
    .safe-image img {
        height: 72vh;
    }
}

@media (min-width: 1024px) {
    .safe-image img {
        height: 78vh;
    }
}

.safe-text {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 0;
}

@media (min-width: 640px) {
    .safe-text {
        width: 58%;
        justify-content: flex-start;
        padding: 0 0 0 2rem;
    }
}

@media (min-width: 1024px) {
    .safe-text {
        padding: 0 0 0 4rem;
    }
}

.safe-text h2 {
    color: var(--primary);
    font-weight: 700;
    font-style: italic;
    font-size: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .safe-text h2 {
        font-size: 2.5rem;
        text-align: left;
    }
}

@media (min-width: 768px) {
    .safe-text h2 {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .safe-text h2 {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .safe-text h2 {
        font-size: 5rem;
    }
}

@media (min-width: 1536px) {
    .safe-text h2 {
        font-size: 6rem;
    }
}

/* ===== BUSINESS SECTION ===== */
.business-section {
    z-index: 7;
    flex-direction: column;
}

.business-shapes {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.business-shape {
    position: absolute;
    background: var(--light-blue-shape);
    transition: all 0.5s ease;
}

.shape-top {
    top: -5%;
    left: 50%;
    transform: translateX(-50%);
    width: 140vw;
    height: 45vh;
    border-radius: 0 0 50% 50%;
    background: linear-gradient(180deg, hsl(195, 50%, 92%) 0%, hsl(200, 45%, 90%) 100%);
    opacity: 0.85;
}

@media (min-width: 640px) {
    .shape-top {
        width: 110vw;
        height: 55vh;
    }
}

.shape-left {
    bottom: -5%;
    left: -5%;
    width: 45vw;
    height: 45vh;
    border-radius: 0 80% 0 0;
    background: linear-gradient(45deg, hsl(195, 50%, 91%) 0%, hsl(200, 45%, 89%) 100%);
    opacity: 0.75;
}

@media (min-width: 640px) {
    .shape-left {
        width: 40vw;
        height: 60vh;
    }
}

.shape-right {
    bottom: -5%;
    right: -5%;
    width: 45vw;
    height: 45vh;
    border-radius: 80% 0 0 0;
    background: linear-gradient(-45deg, hsl(195, 50%, 91%) 0%, hsl(200, 45%, 89%) 100%);
    opacity: 0.75;
}

@media (min-width: 640px) {
    .shape-right {
        width: 40vw;
        height: 60vh;
    }
}

.business-content {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 80px;
}

@media (min-width: 640px) {
    .business-content {
        margin-bottom: 110px;
    }
}

.business-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.03em;
    text-shadow: 0 4px 20px hsla(210, 60%, 25%, 0.1);
}

@media (min-width: 640px) {
    .business-number {
        font-size: 4.5rem;
    }
}

@media (min-width: 768px) {
    .business-number {
        font-size: 5.5rem;
    }
}

@media (min-width: 1024px) {
    .business-number {
        font-size: 7rem;
    }
}

@media (min-width: 1280px) {
    .business-number {
        font-size: 9rem;
    }
}

.business-text {
    font-size: 1.35rem;
    font-weight: 500;
    font-style: italic;
    color: var(--primary);
    margin-top: 0.5rem;
    opacity: 0.85;
}

@media (min-width: 640px) {
    .business-text {
        font-size: 1.75rem;
    }
}

@media (min-width: 768px) {
    .business-text {
        font-size: 2rem;
    }
}

@media (min-width: 1024px) {
    .business-text {
        font-size: 2.5rem;
    }
}

@media (min-width: 1280px) {
    .business-text {
        font-size: 3.25rem;
    }
}

/* ===== LOGO MARQUEE ===== */
.logo-marquee {
    position: absolute;
    bottom: 55px;
    left: 0;
    right: 0;
    z-index: 10;
    overflow: hidden;
    padding: 1.25rem 0;
}

@media (min-width: 640px) {
    .logo-marquee {
        bottom: 90px;
    }
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    animation: marquee 25s linear infinite;
}

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

.marquee-item {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 45px;
    flex-shrink: 0;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.marquee-item:hover {
    opacity: 1;
}

@media (min-width: 768px) {
    .marquee-item {
        margin: 0 70px;
    }
}

.wellness-plain {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.08em;
}

.wellness-text {
    color: var(--primary);
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: 0.03em;
}

.apartment-therapy {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
}

.therapy-icon {
    width: 42px;
    height: 42px;
}

.therapy-text {
    font-size: 0.9rem;
    font-weight: 500;
    line-height: 1.25;
}

.globe-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.globe-icon {
    width: 42px;
    height: 42px;
}

.tyco-text {
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
}

.zigzag-wellness {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--accent);
}

.zigzag-icon {
    width: 50px;
    height: 34px;
}

.zigzag-wellness span {
    font-weight: 700;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
}

/* ===== SPENDING SECTION ===== */
.spending-section {
    z-index: 6;
    padding: 0 1.5rem;
}

.circular-progress-container {
    position: relative;
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .circular-progress-container {
        max-width: 380px;
    }
}

@media (min-width: 768px) {
    .circular-progress-container {
        max-width: 420px;
    }
}

@media (min-width: 1024px) {
    .circular-progress-container {
        max-width: 480px;
    }
}

.circular-progress {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
    filter: drop-shadow(0 4px 20px hsla(210, 60%, 25%, 0.1));
}

.progress-circle {
    stroke-dasharray: 816.8;
    stroke-dashoffset: 816.8;
    transition: stroke-dashoffset 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.circular-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.dollar-bg {
    position: absolute;
    font-size: 90px;
    font-weight: 200;
    color: hsla(210, 60%, 25%, 0.06);
    line-height: 1;
    user-select: none;
}

@media (min-width: 640px) {
    .dollar-bg {
        font-size: 130px;
    }
}

@media (min-width: 768px) {
    .dollar-bg {
        font-size: 170px;
    }
}

@media (min-width: 1024px) {
    .dollar-bg {
        font-size: 210px;
    }
}

.dollar-bg.top {
    top: 8%;
}

.dollar-bg.bottom {
    bottom: 8%;
}

.spending-text {
    position: relative;
    z-index: 10;
    color: var(--primary);
    font-weight: 700;
    font-style: italic;
    font-size: 1.1rem;
    letter-spacing: -0.01em;
}

@media (min-width: 640px) {
    .spending-text {
        font-size: 1.35rem;
    }
}

@media (min-width: 768px) {
    .spending-text {
        font-size: 1.6rem;
    }
}

@media (min-width: 1024px) {
    .spending-text {
        font-size: 2rem;
    }
}

/* ===== TREATMENT SECTION ===== */
.treatment-section {
    z-index: 5;
    padding: 90px 1.5rem 0;
}

@media (min-width: 640px) {
    .treatment-section {
        padding: 0 2.5rem;
    }
}

@media (min-width: 768px) {
    .treatment-section {
        padding: 0 4rem;
    }
}

@media (min-width: 1024px) {
    .treatment-section {
        padding: 0 6rem;
    }
}

.treatment-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .treatment-content {
        flex-direction: row;
        align-items: center;
    }
}

.treatment-title-area {
    width: 100%;
    text-align: center;
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .treatment-title-area {
        width: 38%;
        text-align: left;
        padding-right: 2.5rem;
        margin-bottom: 0;
    }
}

.treatment-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .treatment-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    .treatment-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1024px) {
    .treatment-title {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .treatment-title {
        font-size: 4.75rem;
    }
}

.treatment-phases {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--accent);
}

@media (min-width: 640px) {
    .treatment-phases {
        font-size: 1.6rem;
    }
}

@media (min-width: 768px) {
    .treatment-phases {
        font-size: 2rem;
    }
}

.treatment-cards {
    width: 100%;
    position: relative;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 640px) {
    .treatment-cards {
        width: 62%;
        height: 380px;
        justify-content: flex-end;
    }
}

@media (min-width: 768px) {
    .treatment-cards {
        height: 420px;
    }
}

.phase-card {
    position: absolute;
    width: 92%;
    max-width: 650px;
    transform: translateX(100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (min-width: 640px) {
    .phase-card {
        width: 88%;
    }
}

.phase-card.visible {
    transform: translateX(0);
}

.phase-card-inner {
    height: 230px;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(210, 55%, 22%) 100%);
    border-radius: 12px;
    box-shadow: 0 25px 60px -15px hsla(210, 60%, 20%, 0.35);
    position: relative;
    overflow: hidden;
}

@media (min-width: 640px) {
    .phase-card-inner {
        height: 300px;
        border-radius: 16px;
    }
}

@media (min-width: 768px) {
    .phase-card-inner {
        height: 350px;
    }
}

.phase-accent-top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 100%);
}

@media (min-width: 640px) {
    .phase-accent-top {
        height: 6px;
    }
}

.phase-accent-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 5px;
    background: linear-gradient(180deg, var(--accent) 0%, var(--accent-light) 100%);
}

@media (min-width: 640px) {
    .phase-accent-left {
        width: 6px;
    }
}

.phase-3 {
    right: 0;
}

.phase-2 {
    right: 10px;
    top: -12px;
}

@media (min-width: 640px) {
    .phase-2 {
        right: 18px;
        top: -22px;
    }
}

.phase-1 {
    right: 20px;
    top: -24px;
}

@media (min-width: 640px) {
    .phase-1 {
        right: 36px;
        top: -44px;
    }
}

.phase-card-content {
    display: flex;
    height: 100%;
}

.phase-card-content.centered {
    align-items: center;
    justify-content: center;
}

.phase-number {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.2rem;
}

@media (min-width: 640px) {
    .phase-number {
        font-size: 1.4rem;
    }
}

@media (min-width: 768px) {
    .phase-number {
        font-size: 1.65rem;
    }
}

@media (min-width: 1024px) {
    .phase-number {
        font-size: 2rem;
    }
}

.phase-text {
    width: 58%;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 640px) {
    .phase-text {
        width: 55%;
        padding: 1.75rem;
    }
}

@media (min-width: 768px) {
    .phase-text {
        padding: 2.25rem;
    }
}

@media (min-width: 1024px) {
    .phase-text {
        padding: 2.75rem;
    }
}

.phase-text h3 {
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .phase-text h3 {
        margin-bottom: 1.25rem;
    }
}

@media (min-width: 768px) {
    .phase-text h3 {
        margin-bottom: 1.75rem;
    }
}

.phase-description {
    color: hsla(0, 0%, 100%, 0.75);
    font-size: 0.8rem;
    line-height: 1.7;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 640px) {
    .phase-description {
        font-size: 0.9rem;
        -webkit-line-clamp: unset;
    }
}

@media (min-width: 768px) {
    .phase-description {
        font-size: 1rem;
    }
}

.phase-cyan-area {
    width: 42%;
    background: linear-gradient(135deg, var(--accent) 0%, hsl(185, 65%, 45%) 100%);
    position: relative;
}

@media (min-width: 640px) {
    .phase-cyan-area {
        width: 45%;
    }
}

.phase-corner {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary) 0%, hsl(210, 55%, 22%) 100%);
    border-radius: 0 35px 0 0;
}

@media (min-width: 640px) {
    .phase-corner {
        width: 70px;
        height: 70px;
        border-radius: 0 45px 0 0;
    }
}

@media (min-width: 768px) {
    .phase-corner {
        width: 100px;
        height: 100px;
        border-radius: 0 65px 0 0;
    }
}

/* ===== PHOTOS SECTION ===== */
.photos-section {
    z-index: 4;
    padding-top: 75px;
}

@media (min-width: 640px) {
    .photos-section {
        padding-top: 90px;
    }
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    max-width: 68rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) {
    .photo-grid {
        gap: 1rem;
        padding: 0 1.75rem;
    }
}

@media (min-width: 768px) {
    .photo-grid {
        gap: 1.25rem;
    }
}

@media (min-width: 1024px) {
    .photo-grid {
        gap: 1.75rem;
    }
}

.photo-item {
    aspect-ratio: 4/3;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px -10px hsla(210, 50%, 20%, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

@media (min-width: 640px) {
    .photo-item {
        border-radius: 16px;
        box-shadow: 0 20px 50px -15px hsla(210, 50%, 20%, 0.18);
    }
}

.photo-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 60px -15px hsla(210, 50%, 20%, 0.22);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.photo-item:hover img {
    transform: scale(1.03);
}

/* ===== TESTIMONIALS SECTION ===== */
.testimonials-section {
    z-index: 3;
    padding: 0 1.25rem;
}

.testimonial-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) {
    .testimonial-card {
        padding: 0 1.75rem;
    }
}

.testimonial-title {
    font-size: 2rem;
    font-weight: 700;
    font-style: italic;
    color: var(--primary);
    margin-bottom: 1.75rem;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .testimonial-title {
        font-size: 2.5rem;
        margin-bottom: 2.25rem;
    }
}

@media (min-width: 768px) {
    .testimonial-title {
        font-size: 3.25rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .testimonial-title {
        font-size: 4rem;
    }
}

@media (min-width: 1280px) {
    .testimonial-title {
        font-size: 4.75rem;
    }
}

.testimonial-quote {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary);
    margin-bottom: 1.75rem;
    line-height: 1.5;
}

@media (min-width: 640px) {
    .testimonial-quote {
        font-size: 1.4rem;
        margin-bottom: 2.25rem;
    }
}

@media (min-width: 768px) {
    .testimonial-quote {
        font-size: 1.65rem;
        margin-bottom: 3rem;
    }
}

@media (min-width: 1024px) {
    .testimonial-quote {
        font-size: 2rem;
    }
}

@media (min-width: 1280px) {
    .testimonial-quote {
        font-size: 2.35rem;
    }
}

.testimonial-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--muted);
    margin-bottom: 1rem;
    box-shadow: 0 15px 40px -10px hsla(210, 50%, 20%, 0.2);
    border: 3px solid hsla(255, 255%, 255%, 0.5);
}

@media (min-width: 640px) {
    .testimonial-avatar {
        width: 88px;
        height: 88px;
        margin-bottom: 1.25rem;
        border-width: 4px;
    }
}

@media (min-width: 768px) {
    .testimonial-avatar {
        width: 104px;
        height: 104px;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .testimonial-avatar {
        width: 120px;
        height: 120px;
    }
}

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

.testimonial-name {
    color: var(--primary);
    font-weight: 500;
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
    .testimonial-name {
        font-size: 1.15rem;
        margin-bottom: 1rem;
    }
}

@media (min-width: 768px) {
    .testimonial-name {
        font-size: 1.3rem;
        margin-bottom: 1.25rem;
    }
}

.testimonial-stars {
    display: flex;
    gap: 0.35rem;
    margin-bottom: 1.75rem;
}

@media (min-width: 640px) {
    .testimonial-stars {
        gap: 0.45rem;
        margin-bottom: 2.25rem;
    }
}

@media (min-width: 768px) {
    .testimonial-stars {
        margin-bottom: 3rem;
    }
}

.star {
    width: 22px;
    height: 22px;
}

@media (min-width: 640px) {
    .star {
        width: 26px;
        height: 26px;
    }
}

@media (min-width: 768px) {
    .star {
        width: 30px;
        height: 30px;
    }
}

.star.filled {
    fill: var(--primary);
    color: var(--primary);
}

.star.half {
    fill: var(--primary);
    color: var(--primary);
    clip-path: inset(0 50% 0 0);
}

.star.empty {
    fill: none;
    stroke: hsla(210, 60%, 25%, 0.25);
    stroke-width: 1.5;
}

.btn-comment {
    background: linear-gradient(135deg, var(--accent) 0%, hsl(185, 65%, 45%) 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.75rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 30px -8px hsla(185, 70%, 50%, 0.4);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .btn-comment {
        padding: 0.875rem 2.25rem;
        font-size: 1.05rem;
    }
}

@media (min-width: 768px) {
    .btn-comment {
        padding: 1rem 3rem;
        font-size: 1.15rem;
    }
}

.btn-comment:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px -10px hsla(185, 70%, 50%, 0.5);
}

/* ===== PAIN SECTION ===== */
.pain-section {
    z-index: 2;
    overflow: hidden;
}

.pain-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, hsl(210, 55%, 28%) 0%, hsl(210, 60%, 22%) 100%);
}

.pain-clouds {
    position: absolute;
    inset: 0;
}

.pain-cloud {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
}

.pain-cloud-top {
    top: -15%;
    left: 5%;
    width: 65vw;
    height: 55vw;
    background: linear-gradient(135deg, hsl(210, 50%, 32%) 0%, hsl(210, 45%, 28%) 100%);
    opacity: 0.35;
}

.pain-cloud-bottom {
    bottom: -15%;
    right: 5%;
    width: 60vw;
    height: 50vw;
    background: linear-gradient(225deg, hsl(210, 45%, 30%) 0%, hsl(210, 50%, 26%) 100%);
    opacity: 0.3;
}

.pain-logo {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 20;
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

@media (min-width: 640px) {
    .pain-logo {
        top: 2rem;
        left: 2rem;
        gap: 0.85rem;
    }
}

/* ===== SPINE WITH PAIN - ПОДОБРЕНО ===== */
.spine-with-pain {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-with-pain .spine-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spine-with-pain .spine-image-wrapper::before {
    content: '';
    position: absolute;
    inset: -30px;
    background: radial-gradient(ellipse at center, 
        hsla(210, 55%, 28%, 0.95) 0%,
        hsla(210, 55%, 26%, 0.8) 30%,
        transparent 70%);
    z-index: -1;
    filter: blur(25px);
}

.spine-with-pain .spine-image {
    height: 55vh;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px hsla(210, 60%, 20%, 0.3));
    mask-image: linear-gradient(to bottom, 
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, 
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%);
}

@media (min-width: 640px) {
    .spine-with-pain .spine-image {
        height: 65vh;
    }
}

@media (min-width: 768px) {
    .spine-with-pain .spine-image {
        height: 72vh;
    }
}

@media (min-width: 1024px) {
    .spine-with-pain .spine-image {
        height: 78vh;
    }
}

/* ===== PAIN GLOW - ПОДОБРЕНО ПОЗИЦИОНИРАЊЕ ===== */
.pain-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, 
        hsla(0, 90%, 55%, 0.85) 0%, 
        hsla(0, 85%, 50%, 0.6) 20%, 
        hsla(0, 80%, 50%, 0.35) 40%, 
        hsla(0, 75%, 50%, 0.15) 60%, 
        transparent 80%);
    animation: painPulse 2.5s ease-in-out infinite;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

@media (min-width: 640px) {
    .pain-glow {
        width: 180px;
        height: 180px;
    }
}

@media (min-width: 768px) {
    .pain-glow {
        width: 220px;
        height: 220px;
    }
}

@media (min-width: 1024px) {
    .pain-glow {
        width: 260px;
        height: 260px;
    }
}

.pain-glow.visible {
    opacity: 1;
}

@keyframes painPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 1;
    }
}

/* ===== PAIN ARROWS - ПОДОБРЕНО ПОЗИЦИОНИРАЊЕ ===== */
.pain-arrows {
    position: absolute;
    inset: 0;
    z-index: 30;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.pain-arrows.visible {
    opacity: 1;
}

.pain-arrow {
    position: absolute;
    width: 0;
    height: 0;
    filter: drop-shadow(0 0 6px hsla(0, 85%, 55%, 0.6));
}

/* Стрелки - центрирани околу средината */
.arrow-top-1 {
    top: 38%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-top: 18px solid var(--pain-red);
}

.arrow-top-2 {
    top: 42%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-top: 14px solid var(--pain-red);
}

.arrow-left-1 {
    top: 50%;
    left: 30%;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 18px solid var(--pain-red);
}

@media (min-width: 640px) {
    .arrow-left-1 {
        left: 33%;
    }
}

@media (min-width: 768px) {
    .arrow-left-1 {
        left: 35%;
    }
}

.arrow-left-2 {
    top: 50%;
    left: 35%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-left: 12px solid var(--pain-red);
}

@media (min-width: 640px) {
    .arrow-left-2 {
        left: 38%;
    }
}

@media (min-width: 768px) {
    .arrow-left-2 {
        left: 40%;
    }
}

.arrow-right-1 {
    top: 50%;
    right: 30%;
    transform: translateY(-50%);
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-right: 18px solid var(--pain-red);
}

@media (min-width: 640px) {
    .arrow-right-1 {
        right: 33%;
    }
}

@media (min-width: 768px) {
    .arrow-right-1 {
        right: 35%;
    }
}

.arrow-right-2 {
    top: 50%;
    right: 35%;
    transform: translateY(-50%);
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 12px solid var(--pain-red);
}

@media (min-width: 640px) {
    .arrow-right-2 {
        right: 38%;
    }
}

@media (min-width: 768px) {
    .arrow-right-2 {
        right: 40%;
    }
}

.arrow-bottom-1 {
    top: 58%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 14px solid var(--pain-red);
}

.arrow-bottom-2 {
    top: 62%;
    left: 50%;
    transform: translateX(-50%);
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 11px solid var(--pain-red);
}

.pain-buy-btn {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

@media (min-width: 640px) {
    .pain-buy-btn {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        left: auto;
        right: 2.5rem;
    }
}

@media (min-width: 768px) {
    .pain-buy-btn {
        right: 4rem;
    }
}

.btn-buy {
    background: linear-gradient(135deg, hsl(185, 50%, 55%) 0%, hsl(185, 60%, 45%) 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 0.875rem 1.75rem;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 10px 35px -8px hsla(185, 70%, 50%, 0.5);
    transition: all 0.3s ease;
}

@media (min-width: 640px) {
    .btn-buy {
        padding: 1rem 2.25rem;
        font-size: 1.15rem;
    }
}

.btn-buy:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px -10px hsla(185, 70%, 50%, 0.6);
}

/* ===== CTA SECTION ===== */
.cta-section {
    z-index: 1;
    padding: 0 1.25rem;
}

.cta-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, 
        hsl(195, 50%, 97%) 0%, 
        hsl(200, 40%, 94%) 50%,
        hsl(195, 45%, 96%) 100%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 52rem;
    margin: 0 auto;
    padding: 0 1.25rem;
}

@media (min-width: 640px) {
    .cta-content {
        padding: 0 1.75rem;
    }
}

.cta-title {
    font-size: 1.65rem;
    font-weight: 700;
    color: var(--primary);
    margin-top: 1.75rem;
    margin-bottom: 1.25rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2rem;
        margin-top: 2.25rem;
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3.25rem;
    }
}

@media (min-width: 1280px) {
    .cta-title {
        font-size: 4rem;
    }
}

.cta-description {
    color: var(--muted-foreground);
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
    line-height: 1.6;
}

@media (min-width: 640px) {
    .cta-description {
        font-size: 1.05rem;
        margin-bottom: 2.5rem;
    }
}

@media (min-width: 768px) {
    .cta-description {
        font-size: 1.15rem;
    }
}

@media (min-width: 1024px) {
    .cta-description {
        font-size: 1.3rem;
    }
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, hsl(185, 65%, 45%) 100%);
    color: white;
    border: none;
    border-radius: 9999px;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 35px -8px hsla(185, 70%, 50%, 0.45);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px -10px hsla(185, 70%, 50%, 0.55);
}

.btn-large {
    padding: 1.1rem 1.75rem;
    font-size: 1.05rem;
}

@media (min-width: 640px) {
    .btn-large {
        padding: 1.25rem 2.75rem;
        font-size: 1.15rem;
    }
}
