/* ============================================
   PRO ALGORITHM - Landing Page Styles
   Matching Figma Design 1:1
   ============================================ */

/* ---------- CSS Variables ---------- */
:root {
    --primary: #4cffdb;
    --primary-dark: #00b894;
    --primary-light: #55efc4;
    --accent: #a434ff;
    --accent-light: #9747ff;
    --dark: #000000;
    --dark-2: #000000;
    --dark-3: #181818;
    --dark-card: #181818;
    --light: #ffffff;
    --light-2: rgba(250,250,250,0.98);
    --light-3: #e9ecef;
    --gray: #9ca3af;
    --gray-dark: #6b7280;
    --text-dark: #000000;
    --text-light: #e0e0e0;
    --gradient-primary: linear-gradient(135deg, #4cffdb 0%, #a434ff 100%);
    --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
    --gradient-hero: linear-gradient(180deg, rgba(10,10,26,0.95) 0%, rgba(18,18,42,0.98) 100%);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 7px 15px rgba(0,0,0,0.15);
    --shadow-glow: 0 0 30px rgba(76,255,219,0.3);
    --radius: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-he: 'Heebo', sans-serif;
    --font-en: 'Inter', sans-serif;
    --font-poppins: 'Poppins', sans-serif;
    --font-rubik: 'Rubik', sans-serif;
    --font-handwritten: 'Just Me Again Down Here', cursive;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-he);
    background: var(--dark);
    color: var(--text-light);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html[lang="en"] body {
    font-family: var(--font-en);
}

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

ul {
    list-style: none;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-family: inherit;
    white-space: nowrap;
}

.btn-primary {
    background: #4cffdb;
    color: #000000;
    box-shadow: 0px 0px 25px rgba(76, 255, 219, 0.25);
    border-radius: 37px;
    font-family: var(--font-rubik);
    font-weight: 800;
    font-size: 20px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0px 0px 35px rgba(76, 255, 219, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(0, 212, 170, 0.1);
}

.btn-lg {
    padding: 16px 36px;
    font-size: 1.05rem;
}

.btn-full {
    width: 100%;
}

.btn-submit {
    background: linear-gradient(90deg, #9747ff, #4cffdb);
    color: rgba(255,255,255,0.98);
    border-radius: 12px;
    font-size: 20px;
    font-weight: 900;
    font-family: var(--font-en);
    height: 62px;
    gap: 10px;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(151, 71, 255, 0.4);
}

/* ---------- Section Titles ---------- */
.section-title {
    font-size: 47px;
    font-weight: 900;
    font-family: var(--font-en);
    text-align: center;
    margin-bottom: 16px;
    color: var(--text-dark);
}

.section-title span {
    font-weight: 800;
}

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

.section-subtitle {
    text-align: center;
    color: var(--gray-dark);
    font-size: 1.15rem;
    max-width: 600px;
    margin: 0 auto 60px;
}

.section-subtitle.light {
    color: var(--gray);
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

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

.logo {
    font-size: 30px;
    font-weight: 700;
    font-family: var(--font-poppins);
    background: linear-gradient(90deg, #4cffdb, #a434ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.logo span {
    background: inherit;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    color: white;
    font-size: 18px;
    font-weight: 700;
    font-family: var(--font-en);
    position: relative;
    padding: 4px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--light);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.lang-toggle {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: var(--light);
    padding: 6px 14px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
    font-family: var(--font-en);
}

.lang-toggle:hover {
    background: rgba(255,255,255,0.2);
}

.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.social-icons a {
    color: var(--gray);
    font-size: 1rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-cta {
    padding: 10px 24px;
    font-size: 0.9rem;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 8px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--light);
    transition: var(--transition);
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--dark);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Circuit Board Pattern Background */
.hero-circuit {
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image:
        /* Horizontal lines */
        linear-gradient(0deg, transparent 49.5%, rgba(0,212,170,0.5) 49.5%, rgba(0,212,170,0.5) 50.5%, transparent 50.5%),
        /* Vertical lines */
        linear-gradient(90deg, transparent 49.5%, rgba(0,212,170,0.5) 49.5%, rgba(0,212,170,0.5) 50.5%, transparent 50.5%),
        /* Dots at intersections */
        radial-gradient(circle 3px at 50% 50%, rgba(0,212,170,0.8) 100%, transparent 100%);
    background-size: 80px 80px, 80px 80px, 80px 80px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    z-index: 1;
}

.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 2;
}

.hero-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
    animation: floatParticle 8s infinite ease-in-out;
}

@keyframes floatParticle {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.2; }
    25% { opacity: 0.6; }
    50% { transform: translateY(-80px) translateX(30px); opacity: 0.4; }
    75% { opacity: 0.6; }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 120px 24px 80px;
}

.hero-text-area {
    max-width: 700px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(3rem, 8vw, 91px);
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 20px;
    color: var(--light);
    line-height: 1.1;
    font-family: var(--font-poppins);
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 4vw, 47px);
    font-weight: 600;
    color: var(--light);
    margin-bottom: 16px;
    font-family: var(--font-en);
    text-transform: uppercase;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-desc {
    font-size: 20px;
    color: var(--light);
    max-width: 658px;
    margin: 0 auto 40px;
    line-height: 1.5;
    font-family: var(--font-en);
    font-weight: 400;
    text-transform: uppercase;
    text-align: center;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.6s both;
    position: relative;
}

.hero-more-info {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    position: absolute;
    left: calc(50% + 110px);
    top: 50%;
    transform: translateY(-40%) rotate(5.74deg);
    white-space: nowrap;
    font-family: var(--font-handwritten);
    font-size: 25px;
    color: white;
}

/* RTL: align "למידע נוסף" – block on right, arrow points left toward button */
[dir="rtl"] .hero-more-info {
    right: calc(50% + 110px);
    left: auto;
    flex-direction: row-reverse;
}

[dir="rtl"] .more-info-arrow {
    transform: scaleX(-1);
}

[dir="rtl"] .hero-more-info:hover .more-info-arrow {
    transform: scaleX(-1) translateX(-4px);
}

[dir="ltr"] .hero-more-info {
    left: auto;
    right: calc(50% + 130px);
}

[dir="ltr"] .more-info-arrow {
    transform: scaleX(-1);
}

.more-info-text {
    height: auto;
    max-width: 130px;
    display: block;
}

.more-info-arrow {
    height: auto;
    width: auto;
    max-height: 22px;
    display: block;
    transition: var(--transition);
}

.hero-more-info:hover .more-info-arrow {
    transform: translateX(4px);
}

[dir="ltr"] .hero-more-info:hover .more-info-arrow {
    transform: scaleX(-1) translateX(-4px);
}

/* Hero Floating Badges */
.hero-badges {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    margin-top: 50px;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.8s both;
    direction: ltr;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 17px;
    background: #181818;
    border: none;
    overflow: hidden;
    box-shadow: 7px 7px 5px 0px rgba(0,0,0,0.5);
    color: var(--light);
    font-size: 18px;
    font-weight: 400;
    font-family: var(--font-en);
    transition: var(--transition);
    position: relative;
    direction: ltr;
    width: 315px;
    height: 80px;
}

/* Badge X decoration */
.badge-x {
    width: 21px;
    height: 21px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Badge 1 - צוות ישראלי 100% (LEFT) */
.badge-1 {
    transform: rotate(-2.61deg);
}

/* Badge 2 - בית תוכנה בוטיק (CENTER) */
.badge-2 {
    transform: rotate(2.85deg) translateY(37px);
    margin-left: -12px;
    margin-right: -12px;
}

/* Badge 3 - מומחי AI ואלגוריתמים (RIGHT) */
.badge-3 {
    transform: rotate(-3.42deg) translateY(10px);
}

.hero-badge:hover {
    box-shadow: 7px 7px 10px 0px rgba(0,0,0,0.6);
    transform: translateY(-3px) rotate(0deg);
}

.badge-icon {
    width: 55px;
    height: 55px;
    flex-shrink: 0;
    display: block;
    object-fit: contain;
}

.hero-badge i {
    color: var(--primary);
    font-size: 1rem;
}

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

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    animation: fadeInUp 1s ease-out 1s both;
}

.mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 13px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    animation: scrollWheel 2s infinite;
}

@keyframes scrollWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

/* ============================================
   STATISTICS
   ============================================ */
.statistics {
    background: #000000;
    padding: 60px 0;
    border-top: none;
    border-bottom: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    text-align: center;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    display: none;
}

.stat-number {
    font-size: 60px;
    font-weight: 700;
    background: linear-gradient(90deg, #4cffdb 12.27%, #a434ff 95.71%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-en);
}

.stat-label {
    color: white;
    font-size: 20px;
    font-weight: 500;
    font-family: var(--font-en);
}

/* ============================================
   LOGOS SECTION
   ============================================ */
.logos-section {
    background: #ffffff;
    padding: 50px 0;
    overflow: hidden;
    direction: ltr;
}

.logos-track {
    display: flex;
    animation: scrollLogos 30s linear infinite;
    width: max-content;
}

.logos-slide {
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 0 30px;
}

.logo-item {
    flex-shrink: 0;
    transition: var(--transition);
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.45;
    transition: var(--transition);
}

.logo-item:hover .logo-img {
    opacity: 0.7;
}

.logo-brand {
    font-size: 1.2rem;
    font-weight: 700;
    color: rgba(0,0,0,0.3);
    white-space: nowrap;
    letter-spacing: 0.5px;
    font-family: var(--font-en);
    transition: var(--transition);
}

.logo-item:hover .logo-brand {
    color: rgba(0,0,0,0.5);
}

.logo-brand.logo-netflix {
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 3px;
    color: rgba(0,0,0,0.3);
}

.logo-brand.logo-hot {
    font-size: 1.4rem;
    font-weight: 900;
    color: rgba(0,0,0,0.3);
}

.logo-brand.logo-zim {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: rgba(0,0,0,0.3);
}

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

/* ============================================
   SERVICES (3 PLATES)
   ============================================ */
.services {
    background: var(--light);
    padding: 100px 0 40px;
}

.services-grid.three-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(250,250,250,0.98);
    border: none;
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0px 7px 15px rgba(0,0,0,0.15);
}

.service-card::before {
    display: none;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.2);
}

/* service-card::before disabled */

/* 3D Icon Style */
.service-icon-3d {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    transition: var(--transition);
}

.service-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.service-card:hover .service-icon-3d {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 8px 25px rgba(0,212,170,0.2);
}

.service-card h3 {
    font-size: 36px;
    font-weight: 900;
    font-family: var(--font-en);
    color: #000000;
    margin-bottom: 14px;
    line-height: 41px;
}

.service-card p {
    color: #000000;
    font-size: 17px;
    font-family: var(--font-en);
    font-weight: 400;
    margin-bottom: 20px;
    line-height: 23px;
    text-align: right;
}

.service-link {
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
}

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

/* ============================================
   TEAM SECTION
   ============================================ */
.team-section {
    background: var(--light);
    padding: 20px 0 100px;
}

.team-collage {
    position: relative;
    max-width: 682px;
    margin: 0 auto;
}

.team-photos-grid {
    position: relative;
    width: 100%;
    aspect-ratio: 682 / 438;
}

.team-photo-item {
    position: absolute;
    overflow: hidden;
    transition: var(--transition);
}

.team-photo-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

/* === Shape types === */
.team-photo-item.landscape {
    width: 28.45%;
    height: 29.68%;
    border-radius: 48px;
}

.team-photo-item.tall {
    width: 19.06%;
    height: 44.29%;
    border-radius: 48px;
}

.team-photo-item.short {
    width: 19.06%;
    height: 22.37%;
    border-radius: 42px;
}

.team-photo-item.glow {
    box-shadow: 1px 2px 17px 1px rgba(76, 255, 219, 0.46);
}

.team-photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* === Exact positions from Figma (682×438 container) === */
/* Top row: 3 landscape photos */
.team-photo-item:nth-child(1)  { left: 0.29%;  top: 0; }
.team-photo-item:nth-child(2)  { left: 30.35%; top: 0; }
.team-photo-item:nth-child(3)  { left: 60.41%; top: 0; }
/* Middle: short-tall alternating */
.team-photo-item:nth-child(4)  { left: 0;       top: 31.51%; }
.team-photo-item:nth-child(5)  { left: 20.53%;  top: 31.74%; }
.team-photo-item:nth-child(6)  { left: 40.47%;  top: 31.74%; }
.team-photo-item:nth-child(7)  { left: 60.41%;  top: 31.51%; }
.team-photo-item:nth-child(8)  { left: 80.94%;  top: 31.74%; }
/* Bottom: tall-short alternating */
.team-photo-item:nth-child(9)  { left: 0;       top: 55.25%; }
.team-photo-item:nth-child(10) { left: 20.53%;  top: 77.63%; }
.team-photo-item:nth-child(11) { left: 40.47%;  top: 55.48%; }
.team-photo-item:nth-child(12) { left: 60.70%;  top: 77.63%; }
.team-photo-item:nth-child(13) { left: 80.94%;  top: 55.48%; }

.team-label {
    position: absolute;
    top: 0;
    right: -75px;
    left: auto;
    font-family: var(--font-handwritten);
    font-size: 35px;
    color: var(--text-dark);
    font-weight: 400;
    line-height: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: rotate(7.34deg);
    direction: ltr;
}

.team-label-arrow {
    font-size: 2rem;
    margin-top: 6px;
    transform: scaleY(-1);
}

/* ============================================
   ABOUT / WHY CHOOSE US
   ============================================ */
.about-sections {
    overflow: hidden;
}

.about-block {
    padding: 100px 0;
}

.dark-block {
    background: #000000;
    color: white;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    direction: ltr;
}

.about-grid > * {
    direction: rtl;
}

/* Person Image */
.person-image {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 5/6;
}

.person-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-lg);
}

.person-image::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-lg);
    background: linear-gradient(to top, rgba(10,10,26,0.3) 0%, transparent 40%);
    pointer-events: none;
}

.about-text h2 {
    font-size: 47px;
    font-weight: 700;
    font-family: var(--font-poppins);
    margin-bottom: 20px;
    color: white;
}

.about-text h2 span {
    color: white;
}

.about-text > p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: white;
    font-family: var(--font-en);
    font-weight: 400;
    text-align: right;
}

/* Features Vertical List */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
    justify-content: space-between;
}

.feature-icon-box {
    width: 64px;
    height: 64px;
    min-width: 64px;
    border-radius: 15px;
    background: linear-gradient(147.53deg, rgba(24, 24, 24, 0.38) 67.01%, rgba(53, 162, 140, 0.38) 80.56%);
    border: none;
    box-shadow: 1px 1px 7px 2px rgba(53, 162, 140, 0.89);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    transition: var(--transition);
    overflow: hidden;
}

.feature-icon-img {
    width: 33px;
    height: 33px;
    object-fit: contain;
}

.feature-item:hover .feature-icon-box {
    transform: scale(1.05);
    box-shadow: 1px 1px 12px 3px rgba(53, 162, 140, 0.95);
}

.feature-text {
    flex: 1;
}

.feature-text h4 {
    font-size: 29px;
    font-weight: 600;
    font-family: var(--font-en);
    color: white;
    margin-bottom: 6px;
    text-align: right;
}

.feature-text p {
    font-size: 17px;
    color: white;
    font-family: var(--font-en);
    font-weight: 400;
    line-height: 1.5;
    text-align: right;
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials {
    background: var(--light);
    padding: 100px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(250,250,250,0.98);
    border: none;
    border-radius: 16px;
    padding: 68px 36px 36px 36px;
    transition: var(--transition);
    box-shadow: 0px 7px 15px rgba(0,0,0,0.15);
    position: relative;
    overflow: hidden;
    min-height: 304px;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 12px 25px rgba(0,0,0,0.2);
}

.testimonial-quote {
    margin-bottom: 16px;
    position: absolute;
    top: 8px;
    right: 28px;
    left: auto;
    z-index: 1;
}

[dir="rtl"] .testimonial-quote {
    right: 28px;
    left: auto;
}

.testimonial-quote i {
    font-size: 2rem;
    color: #8b5cf6;
    opacity: 0.8;
}

.quote-icon-img {
    width: 61px;
    height: 61px;
    object-fit: contain;
}

.testimonial-stars {
    color: #f59e0b;
    margin-bottom: 16px;
    font-size: 0.9rem;
    display: flex;
    gap: 3px;
}

.testimonial-card > p {
    color: #000000;
    font-size: 21px;
    font-family: var(--font-en);
    font-weight: 300;
    line-height: 32px;
    margin-bottom: 24px;
    text-align: right;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}

.author-avatar {
    width: 129px;
    height: 129px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar.purple {
    background: none;
}

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

.testimonial-author strong {
    display: block;
    color: #000000;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-en);
}

.testimonial-author span {
    color: #000000;
    font-size: 16px;
    font-weight: 300;
    font-family: var(--font-en);
}

/* ============================================
   PROJECTS
   ============================================ */
.projects {
    background: #000000;
    padding: 0;
    overflow: hidden;
}

.mockups-fullwidth {
    width: 100%;
    max-height: 888px;
    overflow: hidden;
}

.mockups-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* ============================================
   CONTACT - Glass Card
   ============================================ */
.contact {
    background: #000000;
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.contact::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,170,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.contact-card-wrapper {
    max-width: 663px;
    margin: 0 auto;
    background: linear-gradient(260.16deg, rgba(24, 24, 24, 0.61) 28.91%, rgba(53, 162, 140, 0.61) 179.34%);
    border: none;
    border-radius: 15px;
    padding: 50px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 1px 1px 12px 1px rgba(76, 255, 219, 0.76);
}

/* Remove gradient border glow - replaced with box-shadow */
.contact-card-wrapper::before {
    display: none;
}

.contact-card-wrapper h2 {
    font-size: 47px;
    font-weight: 900;
    font-family: var(--font-en);
    color: white;
    margin-bottom: 12px;
}

.contact-card-wrapper h2 span {
    color: white;
}

.contact-subtitle {
    color: white;
    font-size: 18px;
    font-family: var(--font-en);
    font-weight: 400;
    margin-bottom: 36px;
}

.contact-form-inline {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form-inline .form-group {
    position: relative;
}

.contact-form-inline .form-group input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(24, 24, 24, 0.78);
    border: 1px solid #464646;
    border-radius: 12px;
    color: var(--light);
    font-size: 17px;
    font-family: var(--font-en);
    transition: var(--transition);
    outline: none;
    height: 62px;
}

.contact-form-inline .form-group input:focus {
    border-color: #4cffdb;
    background: rgba(24, 24, 24, 0.9);
}

.contact-form-inline .form-group label {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    color: rgba(138, 137, 137, 0.98);
    font-size: 17px;
    font-family: var(--font-en);
    transition: var(--transition);
    pointer-events: none;
}

[dir="ltr"] .contact-form-inline .form-group label {
    right: auto;
    left: 20px;
}

.contact-form-inline .form-group input:focus ~ label,
.contact-form-inline .form-group input:not(:placeholder-shown) ~ label {
    top: -10px;
    right: 14px;
    font-size: 0.8rem;
    color: var(--primary);
    background: var(--dark-3);
    padding: 0 6px;
}

[dir="ltr"] .contact-form-inline .form-group input:focus ~ label,
[dir="ltr"] .contact-form-inline .form-group input:not(:placeholder-shown) ~ label {
    right: auto;
    left: 14px;
}

/* ============================================
   FOOTER - Simple
   ============================================ */
.footer {
    background: #000000;
    padding: 40px 0;
    border-top: none;
}

.footer-simple {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-simple .logo {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 41px;
    font-weight: 900;
    font-family: var(--font-en);
}

.footer-copyright {
    color: white;
    font-size: 17px;
    font-family: var(--font-en);
    font-weight: 400;
}

.footer-disclaimer {
    color: white;
    font-size: 17px;
    font-family: var(--font-en);
    font-weight: 400;
    opacity: 1;
    max-width: 500px;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: var(--light);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,212,170,0.4);
    z-index: 999;
}

[dir="ltr"] .back-to-top {
    left: auto;
    right: 30px;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,212,170,0.5);
}

/* ============================================
   AOS-LIKE ANIMATIONS (Custom)
   ============================================ */
[data-aos] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-aos="fade-left"] {
    transform: translateX(40px);
}

[dir="ltr"] [data-aos="fade-left"] {
    transform: translateX(-40px);
}

[data-aos="fade-right"] {
    transform: translateX(-40px);
}

[dir="ltr"] [data-aos="fade-right"] {
    transform: translateX(40px);
}

[data-aos].aos-animate {
    opacity: 1;
    transform: translateX(0) translateY(0);
}

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

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

    .about-grid {
        gap: 40px;
    }

    .features-list {
        gap: 16px;
    }
}

/* ============================================
   RESPONSIVE - Mobile
   ============================================ */
@media (max-width: 768px) {
    .nav-links,
    .nav-actions .social-icons,
    .nav-cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--dark-2);
        flex-direction: column;
        padding: 100px 40px 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    [dir="ltr"] .nav-links {
        right: auto;
        left: 0;
        transform: translateX(-100%);
    }

    .nav-links.active {
        display: flex;
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .hero-title {
        letter-spacing: 3px;
    }

    .hero-badges {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-top: 30px;
    }

    .hero-badge {
        font-size: 0.85rem;
        padding: 10px 18px;
    }

    .badge-1,
    .badge-2,
    .badge-3 {
        transform: none;
        margin: 0;
    }

    .hero-more-info {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .stat-item:not(:last-child)::after {
        display: none;
    }

    .stat-number {
        font-size: 36px;
    }

    .services-grid.three-cards {
        grid-template-columns: 1fr;
    }

    .team-section {
        padding: 40px 0 60px;
    }

    .team-collage {
        max-width: 340px;
    }

    .team-label {
        font-size: 18px;
        line-height: 16px;
        top: -5px;
        right: -15px;
    }

    .team-photo-item.landscape {
        border-radius: 24px;
    }
    .team-photo-item.tall {
        border-radius: 24px;
    }
    .team-photo-item.short {
        border-radius: 20px;
    }

    .services {
        padding: 60px 0;
    }

    .about-block {
        padding: 60px 0;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about-text {
        order: 1;
    }

    .about-image {
        order: 2;
    }

    .about-text h2 {
        font-size: 28px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .section-title {
        font-size: 28px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 40px;
    }

    .testimonials {
        padding: 60px 0;
    }

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

    .testimonial-card {
        padding: 68px 24px 24px 24px;
    }

    .author-avatar {
        width: 80px;
        height: 80px;
    }

    .quote-icon-img {
        width: 45px;
        height: 45px;
    }

    .testimonial-card > p {
        font-size: 17px;
        line-height: 28px;
    }

    .about-grid {
        direction: rtl;
    }

    .about-grid > * {
        direction: rtl;
    }

    [dir="ltr"] .about-grid,
    [dir="ltr"] .about-grid > * {
        direction: ltr;
    }

    [dir="ltr"] .team-label {
        right: auto;
        left: -15px;
    }

    .projects {
        padding: 0;
    }

    .contact {
        padding: 60px 0;
    }

    .contact-card-wrapper {
        padding: 30px 24px;
    }

    .contact-card-wrapper h2 {
        font-size: 32px;
    }

    .logos-slide {
        gap: 40px;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-desc {
        font-size: 0.95rem;
    }

    .person-image {
        aspect-ratio: 4/3;
    }

    /* Disable AOS on mobile to prevent blank spaces */
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .about-text h2 {
        font-size: 24px;
    }

    .contact-card-wrapper h2 {
        font-size: 28px;
    }

    .contact-card-wrapper {
        padding: 24px 18px;
    }

    .service-card {
        padding: 30px 20px;
    }

    .person-image {
        aspect-ratio: 16/10;
    }
}

/* ============================================
   Mobile Menu Overlay
   ============================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RTL – uniform Hebrew font (Heebo)
   ============================================ */
[dir="rtl"] .btn-primary,
[dir="rtl"] .btn-submit,
[dir="rtl"] .section-title,
[dir="rtl"] .section-subtitle,
[dir="rtl"] .logo,
[dir="rtl"] .logo span,
[dir="rtl"] .nav-links a,
[dir="rtl"] .lang-toggle,
[dir="rtl"] .hero-title,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-desc,
[dir="rtl"] .hero-more-info,
[dir="rtl"] .hero-badge,
[dir="rtl"] .stat-number,
[dir="rtl"] .stat-label,
[dir="rtl"] .logo-brand,
[dir="rtl"] .service-card h3,
[dir="rtl"] .service-card p,
[dir="rtl"] .service-link,
[dir="rtl"] .about-text h2,
[dir="rtl"] .about-text h2 span,
[dir="rtl"] .about-text > p,
[dir="rtl"] .feature-text h4,
[dir="rtl"] .feature-text p,
[dir="rtl"] .testimonial-card > p,
[dir="rtl"] .testimonial-author strong,
[dir="rtl"] .testimonial-author span,
[dir="rtl"] .contact-card-wrapper h2,
[dir="rtl"] .contact-card-wrapper h2 span,
[dir="rtl"] .contact-subtitle,
[dir="rtl"] .contact-form-inline .form-group input,
[dir="rtl"] .contact-form-inline .form-group label,
[dir="rtl"] .footer-simple .logo,
[dir="rtl"] .footer-copyright,
[dir="rtl"] .footer-disclaimer {
    font-family: var(--font-he);
}

/* Team label: same font in Hebrew as in English (handwritten) */
[dir="rtl"] .team-label,
[dir="rtl"] .team-label .team-label-text {
    font-family: var(--font-handwritten);
}

/* ============================================
   LTR Support
   ============================================ */
[dir="ltr"] .nav-links {
    right: auto;
}

[dir="ltr"] .nav-links.active {
    transform: translateX(0);
}

[dir="ltr"] .nav-links a::after {
    right: auto;
    left: 0;
}

/* LTR: about section - direction so punctuation (?.!) is at end of sentences */
[dir="ltr"] .about-grid > * {
    direction: ltr;
}

/* LTR text alignment */
[dir="ltr"] .service-card p {
    text-align: left;
}

[dir="ltr"] .about-text h2 {
    text-align: left;
}

[dir="ltr"] .about-text > p {
    text-align: left;
}

[dir="ltr"] .feature-text h4 {
    text-align: left;
}

[dir="ltr"] .feature-text p {
    text-align: left;
}

[dir="ltr"] .testimonial-card > p {
    text-align: left;
}

[dir="ltr"] .testimonial-quote {
    right: auto;
    left: 28px;
}
