/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    overflow-x: hidden;
}

:root {
    /* Color Palette */
    --primary-navy: #0D2C54;
    --secondary-slate: #6C7A89;
    --accent-gold: #FFB700;
    --neutral-off-white: #F8F9FA;
    --neutral-white: #FFFFFF;
    --neutral-dark: #212529;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --section-padding: 80px 0;
    --container-padding: 0 20px;
    --max-width: 1200px;
}

div.hp-email,
div.hp-email input,
div.hp-email label {
    display: none !important;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--neutral-dark);
    overflow-x: hidden;
    padding-top: 80px;
    /* Space for fixed header */
    width: 100%;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(13, 44, 84, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.header-logo {
    flex-shrink: 0;
}

.logo-img {
    height: 40px;
    width: auto;
}

.header-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--primary-navy);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-gold);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-gold);
}

.nav-link.active::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
}

.btn-small {
    padding: 0.5rem 2.4rem;
    font-size: 1.05rem;
    min-width: 145px;
    border-radius: 8px;
    border: 2px solid var(--accent-gold);
    background: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: 0 0 0 2.5px #fff;
    outline: none;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.btn-small:hover {
    background: #ffd24d;
    color: var(--primary-navy);
    box-shadow: 0 0 0 2.5px #fff;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--container-padding);
    width: 100%;
    box-sizing: border-box;
}

/* Typography */
h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-align: center;
    width: 100%;
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.5rem;
}

p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--accent-gold);
    color: var(--primary-navy);
}

.btn-primary:hover {
    background: #e6a500;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 183, 0, 0.3);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: var(--primary-navy);
    color: var(--neutral-white);
    overflow: hidden;
    margin-top: -80px;
    /* Compensate for body padding-top */
    padding-top: 80px;
    /* Add padding to account for fixed header */
    width: 100%;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    z-index: 1;
}

.network-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 183, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(108, 122, 137, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
    z-index: 2;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(1deg);
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    margin-top: 2rem;
    color: var(--neutral-white);
}

.hero-badge {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.ai-badge,
.trust-badge {
    background: rgba(255, 183, 0, 0.2);
    color: var(--accent-gold);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 183, 0, 0.3);
}

.trust-badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--neutral-white);
    border-color: rgba(255, 255, 255, 0.2);
}

.hero-content h1 .highlight {
    background: linear-gradient(135deg, var(--accent-gold), #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: normal;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-content p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--neutral-off-white);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
    padding: 0 10px;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
    color: var(--neutral-white);
}

.stat-number {
    display: block;
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    color: var(--neutral-off-white);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.learn-more {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.learn-more:hover {
    color: #e6a500;
}

/* Who It's For Section */
.who-its-for {
    padding: var(--section-padding);
    background: var(--neutral-off-white);
    text-align: center;
}

.benefit-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.benefit-card {
    background: var(--neutral-white);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.card-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.benefit-card h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--secondary-slate);
}

/* Web Application Section */
.web-app {
    padding: var(--section-padding);
    background: var(--neutral-white);
}

.web-app-content {
    display: flex;
    align-items: flex-start;
    position: relative;
    overflow: visible;
}

.web-app-visual {
    position: sticky;
    top: 90px;
    /* Adjust for header height */
    align-self: flex-start;
    margin-top: 2.2rem;
    /* Adjust this value to align with first feature */
}

.laptop-mockup {
    background: #333;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    /* animation: float 20s ease-in-out infinite; */
}

.laptop-screen {
    background: var(--neutral-white);
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/10;
}

.dashboard-preview {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.dashboard-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.dashboard-placeholder {
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.dashboard-header {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.header-item {
    height: 8px;
    background: var(--secondary-slate);
    border-radius: 4px;
    flex: 1;
}

.dashboard-content {
    display: flex;
    gap: 20px;
    flex: 1;
}

.sidebar {
    width: 200px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.sidebar-item {
    height: 40px;
    background: var(--primary-navy);
    border-radius: 6px;
    opacity: 0.8;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.content-block {
    height: 60px;
    background: var(--accent-gold);
    border-radius: 8px;
    opacity: 0.7;
}

.web-app-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.0rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-item:hover {
    background: var(--neutral-off-white);
    transform: translateX(10px);
}

.feature-icon {
    color: var(--accent-gold);
    flex-shrink: 0;
}

.feature-content h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.feature-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.tech-badge {
    background: var(--accent-gold);
    color: var(--primary-navy);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feature-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
    flex-wrap: wrap;
}

.meta-item {
    background: rgba(108, 122, 137, 0.1);
    color: var(--secondary-slate);
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
}

.feature-content p {
    color: var(--secondary-slate);
    margin-bottom: 0;
}

/* Office Add-in Section */
.office-addin {
    padding: var(--section-padding);
    background: var(--neutral-off-white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--secondary-slate);
    max-width: 600px;
    margin: 0 auto 3rem;
}

.addin-visual {
    margin-bottom: 4rem;
    display: flex;
    justify-content: center;
}

/* Carousel Styles */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.carousel-slides {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    border-radius: 12px;
}

.carousel-slide.active {
    opacity: 1;
    position: relative;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot:hover {
    background: rgba(255, 183, 0, 0.3);
}

.dot.active {
    background: var(--accent-gold);
}

.addin-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.word-document-mockup {
    background: var(--neutral-white);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    max-width: 800px;
    width: 100%;
}

.word-header {
    background: #2b579a;
    padding: 10px 20px;
}

.word-tabs {
    display: flex;
    gap: 5px;
}

.tab {
    width: 80px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px 4px 0 0;
}

.tab.active {
    background: var(--neutral-white);
}

.word-content {
    display: flex;
    min-height: 400px;
}

.document-text {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.text-line {
    height: 12px;
    background: #e9ecef;
    border-radius: 6px;
    width: 100%;
}

.text-line.short {
    width: 60%;
}

.addin-panel {
    width: 300px;
    background: var(--primary-navy);
    color: var(--neutral-white);
    padding: 20px;
}

.panel-header {
    margin-bottom: 20px;
}

.panel-title {
    height: 8px;
    background: var(--accent-gold);
    border-radius: 4px;
    width: 80%;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.analysis-item {
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
}

.addin-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.benefit-column {
    text-align: center;
    padding: 2rem;
}

.benefit-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.benefit-column h3 {
    color: var(--primary-navy);
    margin-bottom: 1rem;
}

.benefit-column p {
    color: var(--secondary-slate);
}

/* AI Technology Section */
.ai-tech {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-navy) 0%, #1a365d 100%);
    color: var(--neutral-white);
    text-align: center;
}

.ai-tech h2 {
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.ai-tech .section-subtitle {
    color: var(--neutral-off-white);
    margin-bottom: 3rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.tech-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.tech-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.tech-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.tech-item h3 {
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.tech-item p {
    color: var(--neutral-off-white);
}

/* Why Choose Us Section */
.why-choose-us {
    padding: var(--section-padding);
    background: var(--neutral-white);
    text-align: center;
}

.advantage-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.advantage-block {
    padding: 2.5rem 2rem;
    border-radius: 12px;
    background: var(--neutral-off-white);
    transition: all 0.3s ease;
}

.advantage-block:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.advantage-block h3 {
    color: var(--primary-navy);
    margin-bottom: 0.5rem;
}

.advantage-block h4 {
    color: var(--accent-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.advantage-block p {
    color: var(--secondary-slate);
}

/* Final CTA Section */
.final-cta {
    padding: var(--section-padding);
    background: var(--primary-navy);
    color: var(--neutral-white);
    text-align: center;
}

.final-cta h2 {
    color: var(--neutral-white);
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--neutral-off-white);
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta .btn,
.final-cta .btn-primary {
    display: inline-block;
    width: auto;
    min-width: 120px;
    max-width: 260px;
    margin: 24px auto 0 auto;
    padding: 12px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    box-sizing: border-box;
}

.final-cta {
    text-align: center;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--neutral-off-white);
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item svg {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--neutral-dark);
    color: var(--neutral-white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: var(--neutral-off-white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-contact a {
    color: var(--accent-gold);
    text-decoration: none;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    color: var(--secondary-slate);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .hero {
        margin-top: -70px;
        padding-top: 70px;
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding: 0 15px;
        max-width: 100%;
    }

    .hero-content h1 {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }

    .hero-content p {
        max-width: 100%;
        padding: 0 10px;
        margin-bottom: 1.5rem;
    }

    .hero-stats {
        gap: 1rem;
        padding: 0 5px;
        max-width: 100%;
        margin-bottom: 1.5rem;
        margin-top: 0.5rem;
    }

    .stat-item {
        min-width: 70px;
    }

    .stat-number {
        font-size: clamp(1.5rem, 4vw, 2rem);
    }

    .stat-label {
        font-size: clamp(0.7rem, 2vw, 0.8rem);
    }

    .hero-cta {
        max-width: 100%;
        padding: 0 10px;
    }

    .header-content {
        padding: 0.75rem 0;
    }

    .logo-img {
        height: 32px;
    }

    .header-nav {
        display: none;
        /* Hide nav on mobile for now */
    }

    .header-cta {
        margin-left: auto;
    }

    .btn-small {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    .web-app-content {
        display: block;
    }

    .web-app-visual {
        position: static;
        margin-top: 2.5rem;
        margin-bottom: 2rem;
    }

    .word-content {
        flex-direction: column;
    }

    .addin-panel {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (min-width: 769px) {

    .web-app-section,
    .web-app-content,
    body,
    html {
        overflow: visible !important;
        overflow-x: visible !important;
        overflow-y: visible !important;
        transform: none !important;
    }

    .web-app-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
        align-items: start;
        position: relative;
        min-height: 600px;
    }

    .web-app-visual {
        position: sticky;
        top: 120px;
        align-self: flex-start;
        margin-top: 2.2rem;
        z-index: 2;
    }
}

@media (max-width: 768px) {
    .web-app-content {
        display: block;
    }

    .web-app-visual {
        position: static !important;
        top: auto !important;
        margin-top: 3rem !important;
        margin-bottom: 2rem !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        box-sizing: border-box;
        clear: both;
        width: 100%;
        max-width: 100%;
    }
}

/* If the header has a specific class, override it here as well */
.ai-insights-header,
.web-app-section h2 {
    text-align: center !important;
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }

    body {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .hero {
        width: 100%;
        min-width: 100%;
        max-width: 100%;
    }

    .hero-content {
        padding: 0 10px;
        max-width: 100%;
        margin-top: 1.5rem;
        /* Move content higher */
        margin-bottom: 1.5rem;
        /* Let content end lower */
    }

    .hero-content h1 {
        margin-top: 0.25rem;
        margin-bottom: 1.25rem;
        /* More space below headline */
        font-size: clamp(1.8rem, 6vw, 2.2rem);
    }

    .hero-content p {
        font-size: 0.9rem;
        padding: 0 5px;
        margin-bottom: 1.25rem;
        /* More space below paragraph */
    }

    .hero-stats {
        gap: 1.25rem;
        /* More space between stats */
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 100%;
        margin-bottom: 1.25rem;
        /* More space below stats */
        margin-top: 0.75rem;
    }

    .stat-item {
        min-width: auto;
        flex: 0 0 auto;
    }

    .stat-number {
        font-size: clamp(1.3rem, 5vw, 1.6rem);
    }

    .stat-label {
        font-size: clamp(0.6rem, 2.5vw, 0.7rem);
    }

    .hero-cta {
        padding: 0 5px;
        margin-bottom: 1.5rem;
        /* More space below CTA */
    }

    .btn {
        font-size: 0.9rem;
        padding: 12px 20px;
    }

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

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

    .addin-benefits {
        grid-template-columns: 1fr;
    }

    .web-app-content {
        overflow-y: visible !important;
        height: auto !important;
        max-height: none !important;
    }

    .web-app-visual,
    .web-app-features {
        width: 100% !important;
        max-width: 100vw !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .web-app-visual img,
    .web-app-visual .laptop-mockup,
    .web-app-visual .laptop-screen,
    .web-app-features img {
        max-width: 100%;
        height: auto;
        display: block;
        margin: 0 auto;
    }

    .feature-item {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .feature-header,
    .feature-content,
    .feature-meta {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        overflow-wrap: break-word;
    }

    .feature-icon svg,
    .tech-badge {
        max-width: 100%;
        height: auto;
        box-sizing: border-box;
    }

    .laptop-mockup {
        animation: none !important;
        margin-top: 1.5rem !important;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Loading Animation */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}

/* Modal Styles */
.modal {
    display: none;
    align-items: flex-start;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
}

.modal[style*="display: flex"] {
    display: flex !important;
}

/* Modern, Elegant Demo Form Modal Redesign */
.modal-content {
    background: #fff;
    border-radius: 18px;
    padding: 2.2rem 2rem 2.2rem 2rem;
    max-width: 420px;
    width: 96vw;
    margin: 2.5rem auto 0 auto;
    position: relative;
    box-shadow: 0 12px 48px rgba(13, 44, 84, 0.18);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.3rem;
    color: var(--primary-navy);
    letter-spacing: -0.5px;
}

.modal-content p {
    font-size: 1rem;
    color: var(--secondary-slate);
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.demo-form {
    margin-top: 0.2rem;
}

.form-group {
    margin-bottom: 0.7rem;
}

.form-group label {
    font-size: 1rem;
    color: var(--primary-navy);
    font-weight: 500;
    margin-bottom: 0.2rem;
    display: block;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1.5px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    padding: 0.7rem 1rem;
    font-size: 1rem;
    margin-bottom: 0.1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: none;
    color: var(--primary-navy);
    font-family: var(--font-body);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent-gold);
    box-shadow: 0 0 0 2px rgba(255, 183, 0, 0.08);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b0b6be;
    opacity: 1;
}

.btn {
    width: 100%;
    background: var(--accent-gold);
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1.08rem;
    border-radius: 8px;
    padding: 0.9rem 0;
    margin-top: 0.5rem;
    box-shadow: 0 2px 8px rgba(255, 183, 0, 0.08);
    transition: background 0.2s;
    border: none;
}

.btn:hover {
    background: #ffd24d;
}

.close {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
    font-size: 1.7rem;
    color: #b0b6be;
    background: none;
    border: none;
    padding: 0.2rem;
    line-height: 1;
    cursor: pointer;
    z-index: 10001;
    transition: color 0.2s;
}

.close:hover {
    color: var(--primary-navy);
}

@media (max-width: 600px) {
    .modal-content {
        max-width: 99vw;
        padding: 1.1rem 0.7rem 1.3rem 0.7rem;
    }

    .modal-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1.3rem;
    }

    .modal-content p {
        font-size: 0.97rem;
        margin-bottom: 0.7rem;
    }

    .form-group label {
        font-size: 0.97rem;
    }

    .form-group input,
    .form-group textarea {
        font-size: 0.97rem;
        padding: 0.5rem 0.7rem;
    }

    .btn {
        font-size: 0.99rem;
        padding: 0.7rem 0;
    }

    .close {
        font-size: 1.3rem;
        top: 0.5rem;
        right: 0.5rem;
    }
}

/* Success/Error Messages */
.form-message {
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.form-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading state for form */
.form-loading {
    opacity: 0.7;
    pointer-events: none;
}

.form-loading .btn {
    position: relative;
}

.form-loading .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Image Modal/Lightbox Styles */
.image-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    transition: opacity 0.2s;
}

.image-modal[style*="display:none"] {
    opacity: 0;
    pointer-events: none;
}

.image-modal-img {
    max-width: 90vw;
    max-height: 80vh;
    border-radius: 10px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    background: #fff;
    object-fit: contain;
}

.image-modal-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    font-size: 2.5rem;
    color: #fff;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.image-modal-close:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Image Modal/Lightbox Navigation Styles */
.image-modal-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    font-size: 2.2rem;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    opacity: 0.85;
}

.image-modal-arrow.left {
    left: 1.5rem;
}

.image-modal-arrow.right {
    right: 1.5rem;
}

.image-modal-arrow:hover {
    background: rgba(0, 0, 0, 0.7);
}

.image-modal-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    width: 100%;
}

.image-modal-dots .dot {
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: #fff;
    opacity: 0.5;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s, background 0.2s;
    display: inline-block;
}

.image-modal-dots .dot.active {
    opacity: 1;
    background: var(--accent-gold, #ffb700);
}

.image-modal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

@media (max-width: 600px) {
    .image-modal-arrow {
        font-size: 1.5rem;
        width: 2rem;
        height: 2rem;
        left: 0.5rem;
        right: 0.5rem;
    }

    .image-modal-arrow.left {
        left: 0.5rem;
    }

    .image-modal-arrow.right {
        right: 0.5rem;
    }

    .image-modal-dots {
        margin-top: 1rem;
    }

    .image-modal-dots .dot {
        width: 0.7rem;
        height: 0.7rem;
    }
}

/* Language Switcher */
.language-switcher {
    margin: 0 20px;
    position: relative;
}

.language-dropdown {
    position: relative;
    cursor: pointer;
}

.language-current {
    color: #ffb700;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.language-current::after {
    content: '▼';
    font-size: 10px;
    transition: transform 0.3s ease;
}

.language-dropdown:hover .language-current::after {
    transform: rotate(180deg);
}

.language-options {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.language-dropdown:hover .language-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    color: #333;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    padding: 10px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.language-option:last-child {
    border-bottom: none;
}

.language-option:hover {
    background-color: #f8f9fa;
}

.language-option.active {
    background-color: #007bff;
    color: white;
}

/* Header scrolled state adjustments */
.header.scrolled .language-current {
    color: #ffb700;
}

/* RTL Support for Hebrew */
[lang="he"] {
    direction: rtl;
    text-align: right;
}

[lang="he"] .header-content {
    flex-direction: row-reverse;
}

[lang="he"] .nav-menu {
    flex-direction: row-reverse;
}

[lang="he"] .hero-stats {
    flex-direction: row-reverse;
}

[lang="he"] .benefit-cards {
    flex-direction: row-reverse;
}

[lang="he"] .web-app-content {
    flex-direction: row-reverse;
}

[lang="he"] .addin-benefits {
    flex-direction: row-reverse;
}

[lang="he"] .tech-grid {
    flex-direction: row-reverse;
}

[lang="he"] .advantage-grid {
    flex-direction: row-reverse;
}

[lang="he"] .language-options {
    left: auto;
    right: 0;
}

/* Responsive adjustments for RTL */
@media (max-width: 768px) {
    [lang="he"] .header-content {
        flex-direction: column;
    }

    [lang="he"] .nav-menu {
        flex-direction: column;
    }

    [lang="he"] .hero-stats {
        flex-direction: column;
    }

    [lang="he"] .benefit-cards {
        flex-direction: column;
    }

    [lang="he"] .web-app-content {
        flex-direction: column;
    }

    [lang="he"] .addin-benefits {
        flex-direction: column;
    }

    [lang="he"] .tech-grid {
        flex-direction: column;
    }

    [lang="he"] .advantage-grid {
        flex-direction: column;
    }
}

/* Feature Tags for Services */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.feature-tag {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    color: #475569;
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: default;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    color: #1e293b;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px -2px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .header-content {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .header-logo {
        flex: 0 0 auto;
        max-width: 90px;
    }

    .header-logo img {
        max-width: 80px;
        height: auto;
    }

    .language-switcher {
        flex: 0 0 auto;
        margin: 0 8px;
    }

    .header-cta {
        flex: 0 0 auto;
        margin: 0 0 0 8px;
    }

    .header-cta .btn,
    .header-cta .btn-primary,
    .header-cta .btn-small {
        min-width: unset;
        max-width: 80px;
        width: auto;
        padding: 7px 10px;
        font-size: 15px;
        white-space: nowrap;
        box-sizing: border-box;
    }

    .language-current {
        font-size: 15px;
        padding: 6px 6px;
    }
}

/* Fix for RTL on mobile: force row direction for header-content */
@media (max-width: 600px) {

    [lang="he"] .header-content,
    [lang="ro"] .header-content {
        flex-direction: row !important;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }
}