:root {
    --primary-blue: #1a3b70;
    /* Deeper, more professional blue */
    --primary-light: #2c5aa0;
    --accent-green: #88b04b;
    /* Slightly more muted, professional green */
    --accent-green-hover: #769a3e;
    --text-dark: #2c3e50;
    --text-light: #5f6c7b;
    --white: #ffffff;
    --bg-light: #f8f9fa;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --radius: 8px;
}

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

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

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

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    color: var(--white);
    padding: 60px 0 180px;
    /* Increased top/bottom padding for desktop */
    overflow: hidden;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
    gap: 50px;
    flex-wrap: wrap;
    /* Allow wrapping for logo */
}

.hero-logo {
    width: 100%;
    /* Full width to sit at top */
    margin-bottom: 40px;
}

.hero-logo .logo-text {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--white);
    /* White text for dark background */
    letter-spacing: -0.5px;
}

.hero-logo .logo-dot {
    color: var(--accent-green);
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* align-items: center; */
}

.main-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-align: center;
}

.slogan {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 30px;
    font-weight: 300;
    max-width: 500px;
    text-align: center;
}

.hero-services {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.service-tag {
    padding: 5px 15px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-green);
}

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

.btn-primary,
.btn-secondary {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;

}

.btn-primary {
    background-color: var(--accent-green);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(155, 195, 28, 0.4);
}

.btn-primary:hover {
    background-color: var(--accent-green-hover);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.hero-image img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.hero-wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    line-height: 0;
}

/* Features Section */
.features {
    background-color: #ffffff;
    padding: 100px 0;
}

.features h2 {
    text-align: center;
    color: var(--primary-blue);
    font-size: 2.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.features .subtitle {
    text-align: center;
    color: var(--text-light);
    font-size: 1.15rem;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

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

.feature-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 1px solid #f0ede5;
}

.feature-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.icon-wrapper {
    margin-bottom: 24px;
}

.icon-circle {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-light) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.icon-circle svg {
    width: 32px;
    height: 32px;
}

.feature-item .text h3 {
    color: var(--primary-blue);
    font-size: 1.35rem;
    margin-bottom: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.feature-item .text p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
    background-color: var(--white);
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.benefit-col {
    padding: 40px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border-left: 5px solid var(--accent-green);
}

.benefit-col h3 {
    color: var(--primary-blue);
    margin-bottom: 25px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-col p {
    margin-bottom: 15px;
    color: var(--text-light);
}

/* Integrations Section */
.integrations {
    padding: 120px 0;
    background: var(--primary-light);
}

.integrations .container {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.integrations h3 {
    color: var(--primary-blue);
    margin-bottom: 50px;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    letter-spacing: -0.5px;
}

.integrations-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}

.integration-category h4 {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 600;
    text-align: center;
}

.logos-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.logo-card {
    background: var(--white);
    border: 1px solid #e8eaed;
    border-radius: 12px;
    padding: 16px 12px;
    width: 110px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    gap: 8px;
    transition: all 0.2s ease;
}

.logo-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: #d0d3d9;
}

.logo-card img {
    max-width: 100%;
    max-height: 36px;
    object-fit: contain;
}

.logo-card span {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
    line-height: 1.2;
}

.integrations-text-only {
    grid-column: 1 / -1;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #e8eaed;
    text-align: center;
}

.integrations-text-only p {
    font-size: 1.1rem;
    color: var(--text-dark);
    font-weight: 400;
}

.integrations-text-only strong {
    color: var(--primary-blue);
    font-weight: 600;
}

/* Responsive Integrations */
@media (max-width: 768px) {
    .integrations {
        padding: 60px 0;
    }

    .integrations .container {
        padding: 40px 24px;
    }

    .integrations h3 {
        font-size: 1.8rem;
        margin-bottom: 40px;
    }

    .integrations-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .logo-card {
        width: 100px;
    }
}

/* VeriFactu Info */
.verifactu-info {
    padding: 100px 0;
    background-color: var(--white);
}

.verifactu-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 50px;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.verifactu-content {
    flex: 1;
    z-index: 2;
}

.verifactu-card h3 {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 30px;
}

.verifactu-card ul {
    list-style: none;
    margin-bottom: 0;
}

.verifactu-card ul li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 30px;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.verifactu-card ul li::before {
    content: "✓";
    color: var(--white);
    background: var(--accent-green);
    font-weight: bold;
    position: absolute;
    left: 0;
    top: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

.badge {
    background-color: var(--white);
    border: 4px solid var(--primary-blue);
    border-radius: 50%;
    width: 180px;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--primary-blue);
    box-shadow: var(--shadow-lg);
    margin-left: 50px;
    flex-shrink: 0;
    transform: rotate(10deg);
    z-index: 2;
}

/* Contact Section & Footer */
footer {
    position: relative;
    background-color: var(--primary-blue);
    color: var(--white);
    padding: 280px 0 100px;
    /* Increased top padding for wave */
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    line-height: 0;
    transform: rotate(180deg);
}

.contact-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--accent-green);
}

.contact-info p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.contact-details p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    padding: 50px 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form h3 {
    color: var(--accent-green);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: var(--text-dark);
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e1e4e8;
    border-radius: 10px;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fafbfc;
    color: var(--text-dark);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-green);
    background-color: var(--white);
    box-shadow: 0 0 0 4px rgba(136, 176, 75, 0.1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.btn-block {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    padding: 16px 32px;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 8px;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(136, 176, 75, 0.3);
}

.container-verifactu {
    width: 50%;
}

.verifactu {
    width: 100%;
}

@media (max-width: 950px) {
    .verifactu-card {
        flex-direction: column;
        padding: 30px;
        text-align: center;
    }
}

/* Responsive Footer */
@media (max-width: 768px) {
    .contact-wrapper {
        flex-direction: column;
        gap: 40px;
    }

    .contact-info {
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }

    .header-container {
        flex-direction: column;
        gap: 15px;
    }

    .main-nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }

    .slogan {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-services {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .features h2,
    .integrations h3,
    .verifactu-card h3,
    .contact-form h3 {
        font-size: 1.8rem;
    }

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

    .verifactu-card ul {
        display: inline-block;
        text-align: left;
        margin-top: 20px;
    }

    .verifactu-card ul li {
        text-align: left;
    }

    .badge {
        margin-left: 0;
        margin-top: 30px;
    }

    /* Reduced spacing for mobile */
    .hero {
        padding: 30px 0 100px;
    }

    .features,
    .benefits,
    .integrations,
    .verifactu-info {
        padding: 50px 0;
    }

    footer {
        padding: 180px 0 50px;
    }
}

/* Success Page Styles */
.hero-success {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 0;
}

.hero-content-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    z-index: 2;
    width: 100%;
}

.hero-logo-center {
    margin-bottom: 2rem;
    width: auto;
    text-align: center;
}

.success-card {
    background: var(--white);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-align: center;
    max-width: 500px;
    width: 90%;
    position: relative;
    z-index: 10;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: rgba(136, 176, 75, 0.1);
    color: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.success-icon svg {
    width: 40px;
    height: 40px;
}

.success-title {
    color: var(--primary-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.success-message {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-full-width {
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
}