:root {
    --color-navy: #001f3f;
    --color-lime: #32cd32;
    --color-white: #ffffff;
    --color-bg-gray: #F4F4F4;
    /* Light Gray Background */
    --color-text: #001f3f;
    /* Deep Navy Text */
    --font-main: 'Heebo', sans-serif;
    --transition-speed: 0.3s;
    --container-max-width: 1200px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    cursor: none;
    /* Hide default cursor globally */
}

body {
    font-family: var(--font-main);
    color: var(--color-text);
    background-color: var(--color-bg-gray);
    line-height: 1.6;
    direction: rtl;
}

a,
button,
.btn {
    cursor: none;
    /* Ensure custom cursor is used */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Constants & Utilities */
.btn {
    display: inline-block;
    padding: 18px 45px;
    /* Larger, bolder button */
    border-radius: 4px;
    /* Square/Minimalist look */
    font-weight: 800;
    font-size: 1.4rem;
    transition: transform 0.2s, box-shadow 0.2s;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background-color: var(--color-lime);
    color: var(--color-navy);
    box-shadow: 0 10px 0 rgba(0, 31, 63, 0.2);
    /* Chunky shadow */
}

.btn-primary:hover {
    transform: translateY(4px);
    box-shadow: 0 6px 0 rgba(0, 31, 63, 0.2);
}

.btn-secondary {
    background-color: var(--color-navy);
    color: var(--color-white);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animations */
@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* Header */
header {
    background-color: transparent;
    position: absolute;
    /* Integrate into hero */
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 30px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 60px;
    /* Slightly larger log */
    mix-blend-mode: multiply;
    /* Ensure blends with gray */
}

nav ul {
    display: flex;
    gap: 40px;
    align-items: center;
}

nav a {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-navy);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-nav {
    display: none;
    /* Minimal header, hide CTA usually */
}

.hamburger {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

/* Hero Section - Goldie Style */
.hero {
    position: relative;
    min-height: 100vh;
    /* Full screen impact */
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--color-bg-gray);
    text-align: center;
    padding: 120px 0 100px;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 2;
    position: relative;
    max-width: 1000px;
    /* Constrain width for typography punch */
    margin: 0 auto;
}

.hero-text {
    width: 100%;
}

.hero-text h1 {
    font-size: 35rem;
    /* MASSIVE */
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 30px;
    color: var(--color-navy);
    letter-spacing: -4px;
    text-transform: uppercase;
}

.hero-text .subtitle {
    font-size: 1.8rem;
    color: var(--color-navy);
    margin: 0 auto 50px;
    font-weight: 500;
    max-width: 800px;
    line-height: 1.4;
    opacity: 0.9;
}

.hero-image {
    display: none;
    /* Removed for text-dominant layout */
}

/* Custom Inverse Cursor */
.cursor-square {
    width: 40px;
    height: 40px;
    background-color: white;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    /* The Magic */
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, transform 0.1s;
    border-radius: 0;
    /* Square as requested */
}

.cursor-dot {
    display: none;
    /* Simplify to just the square */
}

/* Auth Gate Overlay - restore normal cursor */
#auth-gate-overlay,
#auth-gate-overlay * {
    cursor: default;
}

#auth-gate-overlay button,
#auth-gate-overlay a,
#auth-gate-overlay .btn {
    cursor: pointer;
}

/* Hover state for links/buttons */
body.hovering .cursor-square {
    width: 60px;
    height: 60px;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 80px;
    color: var(--color-navy);
    letter-spacing: -1px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .nav {
        display: none;
        /* Simplified mobile */
    }

    .cursor-square {
        display: none;
        /* Hide custom cursor on touch */
    }

    * {
        cursor: auto;
    }
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    color: var(--color-navy);
    background-color: var(--color-white);
    line-height: 1.6;
    direction: rtl;
    /* Important for Hebrew */
}

a {
    text-decoration: none;
    color: inherit;
    transition: all var(--transition-speed);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Constants & Utilities */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    text-align: center;
}

.btn-primary {
    background-color: var(--color-lime);
    color: var(--color-navy);
    border: none;
    box-shadow: 0 4px 15px rgba(50, 205, 50, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(50, 205, 50, 0.4);
    background-color: #2eb82e;
}

.btn-secondary {
    background-color: var(--color-lime);
    color: var(--color-navy);
    padding: 15px 40px;
}

.btn-secondary:hover {
    background-color: #ffffff;
    color: var(--color-navy);
}

.btn-block {
    display: block;
    width: 100%;
}

/* Animations */
@keyframes pulse-green {
    0% {
        box-shadow: 0 0 0 0 rgba(50, 205, 50, 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(50, 205, 50, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(50, 205, 50, 0);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

.pulse {
    animation: pulse-green 2s infinite;
}

/* Header */
header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

nav ul {
    display: flex;
    gap: 30px;
    align-items: center;
}

nav a {
    font-weight: 500;
    font-size: 1.1rem;
}

nav a:hover {
    color: var(--color-lime);
}

.btn-nav {
    background-color: var(--color-navy);
    color: var(--color-white) !important;
    padding: 8px 25px;
    border-radius: 20px;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

.btn-nav:hover {
    background-color: var(--color-lime);
    color: var(--color-navy) !important;
}

.hamburger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 100px 0 80px;
    overflow: hidden;
    background: linear-gradient(120deg, #fdfbfb 0%, #ebedee 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    z-index: 2;
    position: relative;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
    color: var(--color-navy);
    letter-spacing: -1.5px;
}

.hero-text .subtitle {
    font-size: 1.3rem;
    color: var(--color-navy);
    margin-bottom: 35px;
    font-weight: 400;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
}

.hero-visual {
    width: 480px;
    height: auto;
    filter: drop-shadow(0 20px 40px rgba(0, 31, 63, 0.15));
    animation: float 6s ease-in-out infinite;
}

.hero-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(var(--color-lime) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.08;
    z-index: 1;
}

/* Sections General */
.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 70px;
    color: var(--color-navy);
    position: relative;
    display: inline-block;
    width: 100%;
}

.bg-light {
    background-color: var(--color-gray-light);
}

/* Process Section */
.process-steps {
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: center;
    position: relative;
}

.step {
    flex: 1;
    padding: 20px;
    z-index: 2;
}

.step-icon {
    width: 110px;
    height: 110px;
    background-color: var(--color-white);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    border: 3px solid var(--color-lime);
    transition: transform 0.3s;
}

.step:hover .step-icon {
    transform: scale(1.1);
}

.step-icon img {
    width: 55px;
    height: 55px;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--color-navy);
    font-weight: 700;
}

.step-arrow {
    font-size: 2.5rem;
    color: var(--color-lime);
    font-weight: bold;
    opacity: 0.5;
    transform: rotate(180deg);
}

/* Features Section */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 50px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    transform: translateY(-15px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-color: rgba(50, 205, 50, 0.3);
}

.feature-icon {
    margin-bottom: 30px;
}

.feature-icon img {
    width: 70px;
    height: 70px;
}

.feature-card h3 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: var(--color-navy);
    font-weight: 700;
}

.feature-card p {
    color: #666;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--color-navy) 0%, #003366 100%);
    color: var(--color-white);
    text-align: center;
    padding: 100px 0;
}

.cta-section h2 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 800;
}

/* Sticky Mobile CTA */
.sticky-mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

/* Footer */
footer {
    background-color: #f1f1f1;
    padding: 30px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-text h1 {
        font-size: 3.5rem;
    }

    .hero-visual {
        width: 380px;
    }
}

@media (max-width: 768px) {
    .sticky-mobile-cta {
        display: block;
    }

    body {
        padding-bottom: 70px;
        /* Space for sticky CTA */
    }

    /* Higher Hero Title & Bigger Logo */
    .hero {
        padding-top: 90px;
        /* Reduced from 120px to move title up */
    }

    .logo img {
        height: 80px;
        /* Bigger logo for mobile */
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        width: 100%;
        right: 0;
        background-color: var(--color-white);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
        padding: 20px;
        text-align: center;
        gap: 15px;
    }

    nav ul.active {
        display: flex;
    }

    .hamburger {
        display: block;
        font-size: 2.5rem;
        /* Bigger hamburger to match logo */
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 4rem;
        /* Increased mobile font size for impact */
        line-height: 1;
    }

    .hero-visual {
        display: none;
    }

    .process-steps {
        flex-direction: column;
        gap: 20px;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 5px 0;
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: 40px;
    }
}

/* Intro Text Section */
#intro-text {
    padding: 80px 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-title {
    font-size: 3rem;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 30px;
    line-height: 1.2;
}

.intro-paragraph {
    font-size: 1.5rem;
    color: var(--color-navy);
    margin-bottom: 25px;
    line-height: 1.6;
}

/* Responsive adjustments for Intro Text */
@media (max-width: 768px) {
    .intro-title {
        font-size: 2rem;
    }

    .intro-paragraph {
        font-size: 1.2rem;
    }
}

/* Wizard Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.hidden {
    display: none;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
    background: none;
    border: none;
    color: #333;
}

.wizard-step h3 {
    color: #001f3f;
    margin-bottom: 1rem;
}

.question-text {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: #333;
}

.wizard-input {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-bottom: 1.5rem;
    font-family: inherit;
    direction: rtl;
}

.wizard-input:focus {
    border-color: #007bff;
    outline: none;
}