:root {
    --bg-color: #020c1b;
    --bg-alt: #0a192f;
    --text-primary: #ccd6f6;
    --text-secondary: #8892b0;
    --accent: #64ffda;
    --accent-glow: rgba(100, 255, 218, 0.3);
    --glass-bg: rgba(17, 34, 64, 0.7);
    --glass-border: rgba(100, 255, 218, 0.1);
    --white: #ffffff;
    --transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Assistant', 'Heebo', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    line-height: 1.6;
    width: 100%;
    overflow-x: hidden;
    direction: rtl;
}

html {
    overflow-x: hidden;
}

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

section {
    position: relative;
}

.section-padding {
    padding: 100px 0;
}

.alt-bg {
    background-color: var(--bg-alt);
}

h1, h2, h3 {
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    overflow-wrap: break-word;
}

p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    overflow-wrap: break-word;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    gap: 10px;
    border: 1px solid var(--accent);
    line-height: 1.25;
    text-align: center;
}

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

.btn-primary:hover {
    background-color: var(--accent-glow);
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.2rem;
}

.btn-glow {
    background-color: transparent;
    color: var(--accent);
    box-shadow: 0 0 10px var(--accent-glow);
}

.btn-glow:hover {
    box-shadow: 0 0 20px var(--accent-glow);
    background-color: var(--accent-glow);
}

.full-width {
    width: 100%;
}

/* Glassmorphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 30px;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

/* Header */
.main-header {
    height: 80px;
    display: flex;
    align-items: center;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 12, 27, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Hero Section */
.hero-section {
    padding: 160px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.hero-description {
    max-width: 500px;
    margin-bottom: 40px;
}

.hero-description p,
.advantage-text p {
    margin-bottom: 1.2rem;
}

.hero-description p:last-child,
.advantage-text p:last-child {
    margin-bottom: 0;
}

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

.profile-card {
    padding: 10px;
    max-width: 400px;
    position: relative;
}

.profile-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 100%;
    height: 100%;
    border: 2px solid var(--accent);
    border-radius: 12px;
    z-index: -1;
    transition: var(--transition);
}

.profile-card:hover::after {
    top: 10px;
    right: 10px;
}

.profile-img {
    width: 100%;
    border-radius: 8px;
    display: block;
}

/* Trust Bar */
.trust-bar {
    padding: 60px 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.trust-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.trust-category {
    text-align: center;
}

.category-title {
    font-size: 1.1rem;
    color: var(--accent);
    margin-bottom: 25px;
    opacity: 0.8;
    position: relative;
    display: inline-block;
}

.category-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    right: 0;
    width: 40px;
    height: 2px;
    background: var(--accent);
}

.category-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}

.logo-item {
    opacity: 0.6;
    filter: grayscale(1) brightness(1.5);
    transition: var(--transition);
}

.logo-item:hover {
    opacity: 1;
    filter: grayscale(0) brightness(1);
}

.logo-item img {
    height: 40px; /* Fixed height for all */
    width: auto;
    max-width: 120px;
    object-fit: contain;
}

.logo-zoho {
    transform: scale(1.2); /* Make Zoho slightly larger as requested */
}

/* Problem Section */
.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

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

.problem-card {
    text-align: center;
}

.icon-wrapper {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Services Section */
/* Services Section & Animated Title */
.animated-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.title-part {
    font-size: 2.5rem;
    color: var(--white);
}

.title-arrow {
    position: relative;
    font-size: 2.5rem;
    color: var(--accent);
    display: flex;
    align-items: center;
    padding: 0 10px;
}

.arrow-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    animation: moveParticle 2s infinite ease-in-out;
}

@keyframes moveParticle {
    0% { right: 0; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { right: 100%; opacity: 0; }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 50px 30px;
    border-radius: 20px;
    background: rgba(10, 25, 47, 0.4);
    border: 1px solid rgba(100, 255, 218, 0.15);
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.service-card:hover {
    transform: translateY(-12px) scale(1.02);
    border-color: var(--accent);
    background: rgba(10, 25, 47, 0.8);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(100, 255, 218, 0.1);
}

/* Glowing accent corner */
.service-card::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: var(--accent);
    filter: blur(50px);
    opacity: 0.1;
    transition: var(--transition);
}

.service-card:hover::after {
    opacity: 0.3;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    background: rgba(100, 255, 218, 0.05);
    border: 1px solid rgba(100, 255, 218, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: var(--accent);
    transition: var(--transition);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.05);
}

.service-card:hover .service-icon {
    background: var(--accent);
    color: var(--bg-color);
    transform: rotateY(360deg);
    box-shadow: 0 0 25px var(--accent-glow);
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Advantage Section */
.advantage-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}

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

.placeholder-card {
    width: 100%;
    aspect-ratio: 1/1;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--accent);
    color: var(--accent);
    font-weight: 700;
}

.advantage-content {
    text-align: right;
}

.advantage-text {
    font-size: 1.25rem;
    line-height: 1.8;
}

/* Hero Animation Video */
.hero-animation-container {
    position: relative;
    width: 100%;
}

.video-container {
    padding: 10px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 50px rgba(100, 255, 218, 0.2);
}

.hero-video {
    width: 100%;
    height: auto;
    border-radius: 18px;
    display: block;
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.8; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

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

/* Process Section */
.process-table-wrapper {
    overflow-x: auto;
}

.process-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
}

.process-table th, .process-table td {
    padding: 20px;
    border-bottom: 1px solid var(--glass-border);
}

.process-table th {
    color: var(--accent);
    font-size: 1.1rem;
}

/* Scarcity Section */
.scarcity-card {
    max-width: 800px;
    margin: 0 auto;
}

.scarcity-text {
    font-size: 1.3rem;
    color: var(--text-primary);
}

/* Contact Section */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

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

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

.form-group label {
    font-weight: 600;
    color: var(--white);
}

.form-group input {
    padding: 12px;
    border-radius: 4px;
    border: 1px solid var(--glass-border);
    background: var(--bg-alt);
    color: var(--white);
    font-family: inherit;
    text-align: right;
}

.form-group input::placeholder {
    text-align: right;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form .btn.full-width {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    align-self: center;
    margin-inline: auto;
}

.consent-group {
    gap: 0;
}

.checkbox-label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    color: var(--slate);
    font-size: 0.95rem;
    line-height: 1.5;
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
    margin: 3px 0 0;
    accent-color: var(--accent);
}

.checkbox-label a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-success {
    text-align: center;
    padding: 20px;
}

.form-success i {
    font-size: 3rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.hidden {
    display: none;
}

/* Footer */
.main-footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
}

.footer-links {
    margin-top: 8px;
}

.footer-links a {
    color: var(--green);
    text-decoration: none;
    font-weight: 700;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Animations */
[data-reveal] {
    opacity: 0;
    transition: all 0.8s ease-out;
}

[data-reveal="top"] { transform: translateY(-30px); }
[data-reveal="bottom"] { transform: translateY(30px); }
[data-reveal="left"] { transform: translateX(30px); }
[data-reveal="right"] { transform: translateX(-30px); }
[data-reveal="zoom"] { transform: scale(0.9); }

.reveal-visible {
    opacity: 1;
    transform: translate(0) scale(1);
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid, .contact-grid {
        grid-template-columns: 1fr;
        text-align: center !important;
    }

    .hero-section {
        min-height: auto;
        padding: 150px 0 70px;
        align-items: flex-start;
    }

    .hero-grid {
        gap: 36px;
        min-width: 0;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        min-width: 0;
        text-align: center !important;
    }

    .hero-title {
        font-size: 2.2rem;
        text-align: center !important;
    }
    
    .hero-subtitle, .hero-description, .hero-description p {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-description {
        max-width: 100%;
        width: 100%;
    }

    .hero-image-wrapper {
        width: 100%;
        max-width: 560px;
        margin: 0 auto;
        min-width: 0;
    }
    
    .advantage-grid {
        grid-template-columns: 1fr;
        text-align: center !important;
        gap: 40px;
    }
    
    .advantage-content, .advantage-text p {
        text-align: center !important;
    }
    
    .advantage-image {
        order: -1;
    }

    .trust-categories, .problem-grid, .services-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center !important;
    }

    .problem-card, .service-card {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
    }

    .animated-title {
        flex-direction: column;
        gap: 15px;
        text-align: center !important;
        align-items: center;
    }

    .title-part {
        font-size: 1.8rem;
    }

    /* Header adjustments */
    .main-header .container {
        flex-direction: column;
        gap: 10px;
        padding: 10px;
    }

    .main-header {
        height: auto;
        padding: 10px 0;
    }

    .whatsapp-btn {
        width: 100%;
        font-size: 0.85rem;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 18px;
    }

    .section-padding {
        padding: 50px 0;
    }

    .main-header {
        position: sticky;
        padding: 8px 0;
    }

    .main-header .container {
        gap: 8px;
    }

    .main-nav {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .logo-text {
        font-size: 1.4rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        width: 100%;
        max-width: 340px;
        min-height: 48px;
        padding: 12px 16px;
    }

    .btn-large {
        padding: 14px 18px;
        font-size: 1.05rem;
    }

    .whatsapp-btn {
        max-width: 300px;
        font-size: 0.82rem;
        padding: 10px 12px;
    }

    .glass-card {
        padding: 22px;
        border-radius: 10px;
    }

    .hero-section {
        padding: 34px 0 46px;
    }

    .hero-grid {
        gap: 28px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.18;
        margin-bottom: 18px;
    }

    .hero-subtitle {
        font-size: 1.25rem;
        margin-bottom: 16px;
    }

    .hero-description {
        margin-bottom: 28px;
    }

    .video-container {
        padding: 8px;
        border-radius: 16px;
        box-shadow: 0 0 28px rgba(100, 255, 218, 0.16);
        max-width: 100%;
    }

    .hero-video {
        max-width: 100%;
        border-radius: 12px;
    }

    .trust-bar {
        padding: 42px 0;
    }

    .trust-categories,
    .problem-grid,
    .services-grid {
        gap: 28px;
    }

    .category-logos {
        gap: 20px;
    }

    .section-title {
        font-size: 1.9rem;
        line-height: 1.2;
        margin-bottom: 34px;
    }

    .problem-card {
        padding: 24px 20px;
    }

    .service-card {
        padding: 34px 22px;
        border-radius: 14px;
    }

    .service-icon {
        width: 68px;
        height: 68px;
        margin-bottom: 22px;
        font-size: 1.9rem;
    }

    .title-part {
        font-size: 1.75rem;
        line-height: 1.2;
    }

    .title-arrow {
        font-size: 2rem;
        transform: rotate(-90deg);
        padding: 0;
    }

    .advantage-text {
        font-size: 1rem;
        line-height: 1.75;
    }

    .profile-card {
        max-width: 320px;
    }

    .profile-card::after {
        top: 10px;
        right: 10px;
    }

    .contact-grid {
        gap: 28px;
    }

    .contact-form-wrapper {
        width: 100%;
    }

    .form-group input {
        min-height: 46px;
        font-size: 1rem;
    }
}

@media (max-width: 380px) {
    .container {
        padding: 0 14px;
    }

    .hero-title {
        font-size: 1.85rem;
    }

    .hero-subtitle {
        font-size: 1.15rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .logo-text {
        font-size: 1.3rem;
    }
}

@media (hover: none) {
    .glass-card:hover,
    .service-card:hover {
        transform: none;
    }

    .profile-card:hover::after {
        top: 10px;
        right: 10px;
    }
}
