/* ═══════════════════════════════════════════════════════════════════════════
   BUSINESS ROOM - Clean & Elegant Design
   Inspired by sari-shitzer.co.il
   ═══════════════════════════════════════════════════════════════════════════ */

/* === CSS Variables === */
:root {
    /* Colors */
    --primary: #AA2319;
    --primary-light: #D4534A;
    --primary-dark: #71132D;
    --cream: #FAF7F2;
    --cream-dark: #F5F0E8;
    --charcoal: #2B2D2F;
    --text: #4A4A4A;
    --text-light: #6B6B6B;
    --white: #FFFFFF;
    
    /* Typography */
    --font-primary: 'Assistant', 'Heebo', sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    --space-3xl: 8rem;
    
    /* Transitions */
    --transition: 0.3s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-full: 50px;
}

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

/* === Loading Screen === */
.loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    text-align: center;
}

.loader-logo {
    margin-bottom: var(--space-xl);
    animation: logoFadeIn 0.8s ease;
}

.loader-logo img {
    height: 80px;
    width: auto;
    margin: 0 auto;
}

.loader-progress {
    width: 200px;
    height: 3px;
    background: var(--cream-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin: 0 auto;
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius-full);
    width: 0%;
    animation: loadingProgress 1.5s ease forwards;
}

@keyframes logoFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes loadingProgress {
    0% {
        width: 0%;
    }
    50% {
        width: 60%;
    }
    100% {
        width: 100%;
    }
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* === Container === */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }

p {
    margin-bottom: var(--space-sm);
}

/* === Buttons === */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 1.05rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    min-width: 180px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(170, 35, 25, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(170, 35, 25, 0.3);
}

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

.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(170, 35, 25, 0.2);
}

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

.btn-white:hover {
    background: var(--cream);
    transform: translateY(-2px);
}

/* === Section Styles === */
section {
    padding: var(--space-xl) 0;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    max-width: 600px;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* === Navigation === */
/* === New Navbar Design - Glassmorphism === */
.navbar {
    position: fixed;
    top: var(--space-sm);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    width: 96%;
    max-width: 1280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-full);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.navbar:hover {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-xs) var(--space-lg);
    gap: var(--space-md);
}

.nav-logo img {
    height: 35px;
    transition: transform 0.3s ease;
}

.nav-logo:hover img {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    justify-content: flex-end;
}

.nav-menu a {
    font-weight: 500;
    font-size: 0.88rem;
    color: var(--text);
    padding: var(--space-xs) 8px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-menu a:hover::after {
    width: 80%;
}

.nav-cta {
    background: var(--primary);
    color: var(--white) !important;
    padding: 6px 18px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    box-shadow: 0 2px 10px rgba(170, 35, 25, 0.3);
    transition: all 0.3s ease;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(170, 35, 25, 0.4);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: var(--charcoal);
    transition: var(--transition);
}

/* === Hero Section === */
.hero {
    padding-top: 100px;
    padding-bottom: var(--space-2xl);
    background: var(--cream);
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 35% 65%;
    gap: var(--space-lg);
    align-items: center;
}

.hero-content {
    padding-left: 0;
    padding-top: var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    width: 100%;
    direction: rtl;
    text-align: right;
}

.hero-badge {
    display: inline-block;
    background: var(--white);
    color: var(--primary);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: var(--space-xl);
    border: 1px solid rgba(170, 35, 25, 0.2);
}

.hero-title {
    font-size: clamp(2rem, 4.5vw, 3.5rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: var(--space-lg);
    margin-top: 0;
    color: var(--charcoal);
    text-align: right;
    width: 100%;
    direction: rtl;
}

.hero-title .highlight {
    color: var(--primary);
}

.hero-title .glow-word {
    color: var(--charcoal);
    text-shadow: 
        0 0 10px rgba(170, 35, 25, 0.3),
        0 0 20px rgba(170, 35, 25, 0.2),
        0 0 30px rgba(170, 35, 25, 0.1);
    animation: subtleGlow 3s ease-in-out infinite;
}

@keyframes subtleGlow {
    0%, 100% {
        text-shadow: 
            0 0 10px rgba(170, 35, 25, 0.3),
            0 0 20px rgba(170, 35, 25, 0.2),
            0 0 30px rgba(170, 35, 25, 0.1);
    }
    50% {
        text-shadow: 
            0 0 15px rgba(170, 35, 25, 0.4),
            0 0 25px rgba(170, 35, 25, 0.3),
            0 0 35px rgba(170, 35, 25, 0.2);
    }
}

@keyframes wordFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-5px) rotate(1deg);
    }
    50% {
        transform: translateY(0) rotate(0deg);
    }
    75% {
        transform: translateY(5px) rotate(-1deg);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: var(--space-sm);
    line-height: 1.9;
    max-width: 100%;
    font-weight: 400;
    text-align: right;
    direction: rtl;
    width: 100%;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: nowrap;
    margin-top: var(--space-sm);
    margin-bottom: 0;
    justify-content: center;
    align-self: center;
    width: 100%;
    direction: rtl;
}

.hero-buttons .btn {
    min-width: auto;
    padding: var(--space-md) var(--space-lg);
    flex: 0 0 auto;
    animation: buttonPulse 2s ease-in-out infinite;
    transform-origin: center;
}

@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Hero image removed - now using background */

/* Image Placeholder */
.image-placeholder {
    width: 350px;
    height: 400px;
    background: linear-gradient(135deg, var(--cream-dark) 0%, var(--cream) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed rgba(170, 35, 25, 0.3);
    color: var(--text-light);
    font-size: 0.9rem;
}

.image-placeholder.large {
    width: 100%;
    max-width: 500px;
    height: 350px;
}

/* === Hero to Pain Divider - Cream V extending DOWN into white === */
.hero-divider {
    height: 60px;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.hero-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--cream);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* === Pain Section === */
.pain-section {
    background: var(--white);
    text-align: center;
}

.pain-section .section-title {
    max-width: 700px;
    margin: 0 auto var(--space-md);
}

.pain-section .section-subtitle {
    max-width: 700px;
    margin: 0 auto var(--space-lg);
}

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

.pain-card {
    background: var(--cream);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.pain-gif {
    width: 100%;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 200px;
}

.pain-gif img,
.pain-image {
    width: auto;
    max-width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    opacity: 0;
    filter: blur(3px);
    transform: scale(0.95);
}

.pain-card.fade-in .pain-image {
    animation: revealImage 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes revealImage {
    0% {
        opacity: 0;
        filter: blur(8px);
        transform: scale(0.9);
        clip-path: inset(0 100% 0 0);
    }
    30% {
        opacity: 0.3;
        filter: blur(5px);
    }
    60% {
        opacity: 0.7;
        filter: blur(2px);
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
        clip-path: inset(0 0 0 0);
    }
}

/* Staggered animation for each card - each reveals one after another */
.pain-card:nth-child(1) .pain-image {
    animation-delay: 0.1s;
}

.pain-card:nth-child(2) .pain-image {
    animation-delay: 0.4s;
}

.pain-card:nth-child(3) .pain-image {
    animation-delay: 0.7s;
}

.pain-card:nth-child(4) .pain-image {
    animation-delay: 1s;
}

.gif-placeholder {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 500;
}

.pain-card h3 {
    margin-bottom: var(--space-sm);
}

.pain-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

.pain-conclusion {
    font-size: 1.8rem;
    color: var(--charcoal);
    font-weight: 500;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
}

.pain-conclusion strong {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-block;
}

/* Amazing entrance animation */
.pain-conclusion.animate {
    animation: conclusionReveal 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

.pain-conclusion.animate strong {
    animation: strongPop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s forwards;
    opacity: 0;
    transform: scale(0.5);
}

@keyframes conclusionReveal {
    0% {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
        filter: blur(10px);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-10px) scale(1.02);
        filter: blur(2px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes strongPop {
    0% {
        opacity: 0;
        transform: scale(0.5) rotate(-5deg);
        text-shadow: none;
    }
    50% {
        transform: scale(1.3) rotate(2deg);
        text-shadow: 0 0 30px rgba(170, 35, 25, 0.5);
    }
    100% {
        opacity: 1;
        transform: scale(1) rotate(0deg);
        text-shadow: 0 0 20px rgba(170, 35, 25, 0.3);
    }
}

/* === Diagonal Dividers for Solution Section === */
/* Before solution: White V extending DOWN into burgundy */
.diagonal-divider {
    height: 60px;
    background: var(--primary-dark);
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.diagonal-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* After solution: Burgundy V extending DOWN into white */
.diagonal-divider-bottom {
    height: 60px;
    background: var(--white);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.diagonal-divider-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--primary-dark);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* === Solution Section === */
.solution-section {
    background: var(--cream);
}

.solution-section.dark-red {
    background: var(--primary-dark);
    padding: var(--space-xl) 0;
}

.solution-section .container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.solution-image {
    display: flex;
    justify-content: center;
}

.system-illustration {
    width: 100%;
    max-width: 700px;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    transition: transform 0.4s ease, filter 0.4s ease;
    /* Make the image blend with background - no frame */
    mix-blend-mode: lighten;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
}

.system-illustration:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.3));
}

/* Light text variants for dark background */
.section-tag.light {
    color: rgba(255,255,255,0.8);
}

.section-title.light {
    color: var(--white);
}

.section-text.light {
    color: rgba(255,255,255,0.9);
}

.section-text.light strong {
    color: var(--white);
}

.solution-list {
    margin: var(--space-xl) 0;
}

.solution-list.light li {
    color: rgba(255,255,255,0.9);
}

.solution-list.light .check {
    color: var(--white);
}

.solution-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    font-size: 1.1rem;
}

.solution-list .check {
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

/* === Process Section === */
.process-section {
    background: var(--white);
    padding-top: var(--space-md);
    padding-bottom: var(--space-md);
}

.process-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.process-step-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
    margin-bottom: var(--space-md);
    padding: var(--space-md) 0;
    opacity: 1;
    transform: translateY(0);
    visibility: visible;
}

/* Individual elements start hidden and animate in */
.process-step-row:not(.animate) .step-circle {
    stroke-dashoffset: 565;
}

.process-step-row:not(.animate) .step-number-text,
.process-step-row:not(.animate) .step-title,
.process-step-row:not(.animate) .step-description {
    opacity: 0;
}

.process-step-row:not(.animate) .step-image {
    opacity: 0;
    transform: scale(0.9);
}

.process-step-row.reverse {
    direction: ltr;
}

.process-step-row.reverse .step-content {
    direction: rtl;
}

.step-content {
    padding: var(--space-lg);
}

/* Step Number with SVG Drawing Animation */
.step-number-wrapper {
    width: 200px;
    height: 200px;
    margin-bottom: var(--space-lg);
    position: relative;
}

.step-number-svg {
    width: 100%;
    height: 100%;
}

.step-circle {
    stroke-dasharray: 565; /* 2 * π * 90 */
    stroke-dashoffset: 565;
    transition: stroke-dashoffset 0.1s;
}

.process-step-row.animate .step-circle {
    animation: drawCircle 1.5s ease-in-out forwards;
}

.step-number-text {
    opacity: 0;
}

.process-step-row.animate .step-number-text {
    animation: fadeInNumber 0.5s ease-out 0.8s forwards;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes fadeInNumber {
    to {
        opacity: 1;
    }
}

.step-title {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: var(--space-md);
    opacity: 0;
    transform: translateX(-30px);
}

.process-step-row.animate .step-title {
    animation: slideInText 0.6s ease-out 1s forwards;
}

.step-description {
    color: var(--text);
    font-size: 1.1rem;
    line-height: 1.8;
    opacity: 0;
    transform: translateX(-30px);
}

.process-step-row.animate .step-description {
    animation: slideInText 0.6s ease-out 1.2s forwards;
}

@keyframes slideInText {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.step-image {
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transform: scale(0.9);
}

.process-step-row.animate .step-image {
    animation: fadeInImage 0.8s ease-out 1.4s forwards;
}

@keyframes fadeInImage {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === Drawing Animation Container === */
.drawing-container {
    position: relative;
    width: 100%;
    max-width: 500px;
}

.step-drawing {
    width: 100%;
    height: auto;
    opacity: 0;
    filter: blur(10px) grayscale(100%);
    transform: scale(0.8);
    transition: none;
}

/* The magic drawing animation */
.process-step-row.animate .step-drawing {
    animation: drawingReveal 2s cubic-bezier(0.4, 0, 0.2, 1) 1.2s forwards;
}

@keyframes drawingReveal {
    0% {
        opacity: 0;
        filter: blur(15px) grayscale(100%);
        transform: scale(0.7);
        clip-path: circle(0% at 50% 50%);
    }
    30% {
        opacity: 0.5;
        filter: blur(8px) grayscale(80%);
        transform: scale(0.85);
        clip-path: circle(25% at 50% 50%);
    }
    60% {
        opacity: 0.8;
        filter: blur(3px) grayscale(30%);
        transform: scale(0.95);
        clip-path: circle(60% at 50% 50%);
    }
    100% {
        opacity: 1;
        filter: blur(0) grayscale(0%);
        transform: scale(1);
        clip-path: circle(100% at 50% 50%);
    }
}

/* Floating pencil strokes around the drawing */
.pencil-strokes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.stroke {
    position: absolute;
    background: var(--primary);
    border-radius: 2px;
    opacity: 0;
}

.process-step-row.animate .stroke-1 {
    width: 60px;
    height: 3px;
    top: -20px;
    right: 10%;
    transform: rotate(-15deg);
    animation: strokeAppear 0.5s ease 1.8s forwards, strokeFloat 3s ease-in-out 2.3s infinite;
}

.process-step-row.animate .stroke-2 {
    width: 40px;
    height: 3px;
    bottom: -15px;
    left: 15%;
    transform: rotate(10deg);
    animation: strokeAppear 0.5s ease 2s forwards, strokeFloat 3.5s ease-in-out 2.5s infinite;
}

.process-step-row.animate .stroke-3 {
    width: 50px;
    height: 3px;
    top: 30%;
    left: -30px;
    transform: rotate(-45deg);
    animation: strokeAppear 0.5s ease 2.2s forwards, strokeFloat 4s ease-in-out 2.7s infinite;
}

@keyframes strokeAppear {
    0% {
        opacity: 0;
        transform: scaleX(0) rotate(var(--rotation, -15deg));
    }
    100% {
        opacity: 0.6;
        transform: scaleX(1) rotate(var(--rotation, -15deg));
    }
}

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

/* Spotlight effect on hover */
.drawing-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(170,35,25,0.15) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
    pointer-events: none;
    z-index: -1;
}

.process-step-row.animate .drawing-container::before {
    animation: spotlightGrow 1s ease 2s forwards;
}

@keyframes spotlightGrow {
    to {
        width: 120%;
        height: 120%;
    }
}

.drawing-container:hover::before {
    width: 150%;
    height: 150%;
}

.drawing-container:hover .step-drawing {
    transform: scale(1.05);
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2));
    transition: transform 0.4s ease, filter 0.4s ease;
}


/* === About Section === */
.about-section {
    background: var(--white);
    padding-top: var(--space-sm);
    padding-bottom: var(--space-md);
}

.about-section .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
    align-items: center;
}

.about-role {
    color: var(--primary);
    font-weight: 500;
    margin-bottom: var(--space-lg);
}

.about-text {
    margin-bottom: var(--space-xl);
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
}

.about-stats {
    display: flex;
    gap: var(--space-xl);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image {
    display: flex;
    justify-content: center;
}

.racheli-image {
    max-width: 400px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.15));
    transition: transform 0.4s ease, filter 0.4s ease;
}

.racheli-image:hover {
    transform: scale(1.03);
    filter: drop-shadow(0 15px 40px rgba(0,0,0,0.2));
}

/* === Email Board Dividers === */
/* Before board: White V extending DOWN into cream */
.board-divider-top {
    height: 60px;
    background: var(--cream);
    position: relative;
    z-index: 2;
}

.board-divider-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* === Testimonials Section === */
.testimonials-section {
    background: var(--cream);
    text-align: center;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.testimonial-card {
    background: var(--white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: right;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.testimonial-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px);
}

.testimonial-content {
    margin-bottom: var(--space-lg);
}

.testimonial-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1.2rem;
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    color: var(--charcoal);
}

.author-info span {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* === CTA Dividers === */
/* Before CTA: Cream V extending DOWN into burgundy */
.cta-divider-top {
    height: 60px;
    background: var(--primary-dark);
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.cta-divider-top::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--cream);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* After CTA: Burgundy V extending DOWN into white */
.cta-divider-bottom {
    height: 60px;
    background: var(--white);
    position: relative;
    z-index: 2;
    margin-top: -1px;
}

.cta-divider-bottom::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--primary-dark);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* === CTA Section === */
.cta-section {
    background: var(--primary-dark);
    text-align: center;
    padding: var(--space-2xl) 0;
}

.cta-content h2 {
    color: var(--white);
    margin-bottom: var(--space-sm);
}

.cta-content p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

/* === Contact Section === */
.contact-section {
    background: var(--white);
}

.contact-section .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-2xl);
}

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

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    font-weight: 500;
    margin-bottom: var(--space-xs);
    color: var(--charcoal);
}

.form-group input,
.form-group textarea {
    padding: var(--space-sm);
    border: 1px solid #E0E0E0;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(170, 35, 25, 0.1);
}

.contact-form .btn {
    grid-column: span 2;
    justify-self: start;
    margin-top: var(--space-sm);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    padding-top: var(--space-xl);
}

.info-card {
    background: var(--cream);
    padding: var(--space-lg);
    border-radius: var(--radius-md);
}

.info-card h3 {
    margin-bottom: var(--space-md);
    color: var(--primary);
}

.info-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--text);
}

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

.info-icon {
    font-size: 1.2rem;
}

/* === Footer Divider - White V extending DOWN into burgundy === */
.footer-divider {
    height: 60px;
    background: var(--primary-dark);
    position: relative;
    z-index: 2;
    margin-bottom: -1px;
}

.footer-divider::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: var(--white);
    clip-path: polygon(0 0, 100% 0, 50% 100%);
}

/* === Footer === */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: var(--space-2xl) 0;
    text-align: center;
}

.footer-logo img {
    height: 60px;
    margin: 0 auto var(--space-md);
}

.footer-text {
    font-style: italic;
    opacity: 0.8;
    margin-bottom: var(--space-xl);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    opacity: 0.7;
}

.footer-credit {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.credit-logo {
    height: 20px;
    opacity: 0.7;
    transition: var(--transition);
}

.credit-logo:hover {
    opacity: 1;
}

/* === Floating Actions === */
.floating-actions {
    position: fixed;
    bottom: var(--space-lg);
    left: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 100;
}

.fab {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.fab svg {
    width: 24px;
    height: 24px;
}

.fab-phone {
    background: var(--primary);
    color: var(--white);
}

.fab-whatsapp {
    background: #25D366;
    color: var(--white);
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* === Animations === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

.fade-in {
    animation: fadeInUp 0.8s ease forwards !important;
}

.slide-in-right {
    animation: slideInRight 0.8s ease forwards !important;
}

.slide-in-left {
    animation: slideInLeft 0.8s ease forwards !important;
}

.scale-in {
    animation: scaleIn 0.6s ease forwards !important;
}

/* Apply fade-in to pain cards */
.pain-card.fade-in {
    animation: scaleIn 0.6s ease forwards !important;
}

/* Hero Image - Static */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-main-image {
    width: 110%;
    max-width: none;
    height: auto;
    object-fit: contain;
}

/* Image is completely static - no animations or hover effects */

/* Hover animations */
.pain-card,
.testimonial-card,
.process-step-row {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pain-card:hover {
    transform: translateY(-8px) scale(1.02);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Button animations removed - using smooth transitions */

/* === Responsive === */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        order: -1;
        margin-bottom: var(--space-xl);
    }
    
    .solution-section .container,
    .about-section .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .solution-image,
    .about-image {
        order: -1;
    }
    
    .system-illustration {
        max-width: 100%;
    }
    
    .diagonal-divider,
    .diagonal-divider-bottom {
        height: 50px;
    }
    
    .diagonal-divider::after,
    .diagonal-divider-bottom::before {
        height: 50px;
    }
    
    .pain-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-step-row,
    .process-step-row.reverse {
        grid-template-columns: 1fr;
        text-align: center;
        direction: rtl;
    }
    
    .process-step-row.reverse .step-content {
        direction: rtl;
    }
    
    .step-image {
        order: -1;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-section .container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        top: var(--space-sm);
        width: calc(100% - var(--space-lg));
        max-width: none;
        border-radius: var(--radius-lg);
    }
    
    .navbar .container {
        padding: var(--space-xs) var(--space-md);
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + var(--space-sm));
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        padding: var(--space-lg);
        border-radius: var(--radius-lg);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.5);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .pain-cards {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .contact-form .btn {
        grid-column: span 1;
        width: 100%;
    }
    
    .hero-content {
        padding-left: 0;
        text-align: center;
    }
    
    .hero-title {
        text-align: center;
    }
    
    .hero-subtitle {
        max-width: 100%;
        text-align: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-sm);
    }
    
    .floating-actions {
        bottom: var(--space-md);
        left: var(--space-md);
    }
    
    .fab {
        width: 50px;
        height: 50px;
    }
}

/* === Email Board Section - Cork Board Style === */
.email-board-section {
    background: var(--cream);
    padding: var(--space-xl) 0;
    overflow: hidden;
    text-align: center;
}

.email-board-section .section-tag {
    color: var(--primary);
}

.email-board-section .section-title {
    color: var(--primary);
    margin-bottom: var(--space-lg);
}

.cork-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl);
    background: 
        linear-gradient(135deg, rgba(113, 19, 45, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(170, 35, 25, 0.02) 20px,
            rgba(170, 35, 25, 0.02) 21px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 20px,
            rgba(170, 35, 25, 0.02) 20px,
            rgba(170, 35, 25, 0.02) 21px
        ),
        var(--white);
    border: 3px solid var(--primary-dark);
    border-radius: var(--radius-lg);
    box-shadow: 
        inset 0 0 30px rgba(0,0,0,0.05),
        0 10px 40px rgba(0,0,0,0.1);
}

.pinned-note {
    position: relative;
    transform: rotate(var(--rotation, 0deg));
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), z-index 0s;
    opacity: 0;
    animation: pinDrop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--delay, 0s) + 0.2s) forwards;
}

@keyframes pinDrop {
    0% {
        opacity: 0;
        transform: rotate(var(--rotation, 0deg)) translateY(-50px) scale(0.8);
    }
    60% {
        opacity: 1;
        transform: rotate(var(--rotation, 0deg)) translateY(10px) scale(1.05);
    }
    100% {
        opacity: 1;
        transform: rotate(var(--rotation, 0deg)) translateY(0) scale(1);
    }
}

.pinned-note:hover {
    transform: rotate(0deg) scale(1.08);
    z-index: 10;
}

.pinned-note img {
    width: 100%;
    height: auto;
    max-height: 180px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    border: 3px solid var(--white);
    box-shadow: 
        0 5px 20px rgba(0,0,0,0.4),
        0 2px 5px rgba(0,0,0,0.2);
    background: var(--white);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.pinned-note:hover img {
    box-shadow: 
        0 15px 40px rgba(0,0,0,0.5),
        0 5px 15px rgba(0,0,0,0.3);
    border-color: var(--primary);
}

/* The Pin */
.pin {
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    z-index: 5;
}

.pin::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: radial-gradient(circle at 30% 30%, var(--primary-light) 0%, var(--primary) 50%, var(--primary-dark) 100%);
    border-radius: 50%;
    box-shadow: 
        0 2px 4px rgba(0,0,0,0.4),
        inset 0 -2px 4px rgba(0,0,0,0.2),
        inset 0 2px 4px rgba(255,255,255,0.3);
}

.pin::after {
    content: '';
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 8px;
    background: linear-gradient(to bottom, #666 0%, #333 100%);
    border-radius: 0 0 2px 2px;
}

/* Responsive */
@media (max-width: 1024px) {
    .cork-board {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .pinned-note:nth-child(n+7) {
        display: none;
    }
}

@media (max-width: 768px) {
    .cork-board {
        grid-template-columns: repeat(2, 1fr);
        padding: var(--space-md);
        gap: var(--space-md);
    }
    
    .pinned-note:nth-child(n+5) {
        display: none;
    }
    
    .pinned-note img {
        max-height: 140px;
    }
}

/* === Custom Pencil Cursor with Trail === */
body {
    cursor: url('cursor-pencil.png') 2 30, auto;
}

/* Pencil trail dot */
.pencil-trail {
    position: fixed;
    pointer-events: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.6;
    z-index: 9998;
    animation: trailFade 0.8s ease forwards;
}

@keyframes trailFade {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.3);
    }
}

/* Different trail colors for variety */
.pencil-trail:nth-child(3n) {
    background: var(--primary-light);
}

.pencil-trail:nth-child(5n) {
    background: var(--primary-dark);
}

/* === Selection === */
::selection {
    background: var(--primary);
    color: var(--white);
}

