:root {
    --primary-color: #0f2c4a;
    /* Deep Blue - Trustworthy/Legal */
    --accent-color: #c5a059;
    /* Gold - Premium/Official */
    --text-color: #333;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --success-color: #25d366;
    /* WhatsApp Green */
    --font-heading: 'Heebo', sans-serif;
    --font-body: 'Rubik', sans-serif;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--white);
    line-height: 1.6;
    direction: rtl;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 700;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo h1 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin: 0;
    line-height: 1.2;
}

.logo span {
    font-size: 0.9rem;
    color: #666;
}

.header-cta {
    font-size: 0.9rem;
    padding: 8px 16px;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--success-color);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    transform: translateY(-2px);
    background-color: #1ebc57;
}

.cta-button.primary {
    background-color: var(--accent-color);
    color: var(--primary-color);
}

.cta-button.primary:hover {
    background-color: #b38f4d;
}

.cta-button i {
    margin-left: 8px;
}

/* Hero Section */
.hero {
    background-color: #0f172a;
    /* Slate 900 */
    background-image: linear-gradient(rgba(15, 23, 42, 0.9), rgba(15, 23, 42, 0.9));
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.badge {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.3;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero p {
    max-width: 600px;
    margin: 0 auto 30px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.features h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2rem;
}

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

.feature-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s;
}

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

.feature-card i {
    font-size: 2.5rem;
    color: var(--accent-color);
    margin-bottom: 20px;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.feature-card.full-width {
    grid-column: 1 / -1;
}

/* How It Works */
.how-it-works {
    padding: 80px 0;
}

.how-it-works h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
    font-size: 2rem;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    counter-reset: step-counter;
}

.step {
    text-align: center;
    position: relative;
    padding: 20px;
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 20px;
    font-family: var(--font-heading);
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

/* Document Types */
.document-types {
    padding: 80px 0;
    background-color: var(--light-bg);
}

.document-types h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 50px;
}

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

.doc-category {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border-top: 4px solid var(--accent-color);
}

.doc-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.doc-category ul {
    list-style: none;
}

.doc-category ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.doc-category ul li i {
    color: var(--success-color);
    margin-left: 10px;
    font-size: 0.8rem;
}

.doc-category.full-width {
    grid-column: 1/-1;
    text-align: center;
    border-top: none;
    background: none;
    box-shadow: none;
    padding: 0;
}

.doc-category.full-width h3 {
    font-size: 1.5rem;
}

.doc-category.full-width h3 i {
    margin-left: 10px;
    color: var(--accent-color);
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
}

.cta-section h2 {
    margin-bottom: 40px;
}

.cta-steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.cta-step i {
    font-size: 3rem;
    color: var(--accent-color);
}

.cta-step span {
    font-weight: 500;
}

.cta-button.big {
    font-size: 1.2rem;
    padding: 15px 40px;
}

.summary-text {
    margin-top: 30px;
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Footer */
footer {
    background-color: #08192b;
    color: #aaa;
    text-align: center;
    padding: 20px 0;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .cta-steps {
        flex-direction: column;
        gap: 30px;
    }

    .logo h1 {
        font-size: 1.2rem;
    }

    .main-header .cta-button {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
}