/* Inherit variables from main style, but override for this page's specific look */
:root {
    --page-bg: #0d1117;
    --card-surface: #1e2530;
    --text-primary: #ffffff;
    --text-blue: #3b82f6;
    --border-color: #30363d;
    --accent-orange: #f97316;
    /* For icon backgrounds in features */
}

body {
    background-color: var(--page-bg);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Sections */
section {
    padding: 80px 20px;
    border-bottom: 1px solid var(--border-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.hero-section {
    position: relative;
    background-image: url('../../assets/hero_bg.png');
    /* Fallback/Same used before */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 100px 20px 60px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 17, 23, 0.85);
    /* Dark overlay */
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-description {
    max-width: 700px;
    margin: 0 auto 50px;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.6;
}

/* Why Choose Section */
.why-choose-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.why-img img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.why-options h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #8b949e;
    /* Default text color part */
}

.highlight-purple {
    color: #a78bfa;
    /* Purple highlight */
}

.why-list {
    list-style: none;
    padding: 0;
    margin-bottom: 30px;
}

.why-list li {
    margin-bottom: 10px;
    color: #ccc;
}

.btn-primary {
    background-color: #007bff;
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 5px;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
}

/* Features Section */
.features-section {
    background-color: #0d1117;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    /* 4 columns per screenshot */
    gap: 20px;
}

.feature-card {
    background-color: #161b22;
    padding: 25px;
    border-radius: 12px;
    text-align: left;
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-blue);
}

.feature-img {
    width: 100%;
    height: 120px;
    object-fit: contain;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.85rem;
    color: #8b949e;
}

/* Clients Section */
.clients-section {
    background-color: #0d1117;
    text-align: center;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 cols per row per screenshot */
    gap: 20px;
}

.client-card {
    background-color: #161b22;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 150px;
}

.client-card img {
    max-width: 80px;
    max-height: 80px;
    margin-bottom: 10px;
}

.client-name {
    font-size: 0.8rem;
    color: #ccc;
    text-transform: capitalize;
}

.more-clients-link {
    display: inline-block;
    margin-top: 30px;
    color: var(--text-blue);
    text-decoration: none;
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials-section {
    background-color: #0d1117;
    text-align: center;
}

.testimonial-card-wrapper {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.testimonial-card {
    background-color: #161b22;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    max-width: 500px;
    text-align: left;
    flex: 1;
    min-width: 300px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: #ccc;
    margin-bottom: 20px;
    font-style: italic;
    line-height: 1.6;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.author-info p {
    margin: 0;
    font-size: 0.8rem;
    color: #8b949e;
}

/* Footer (Simplified) */
.footer {
    background-color: #0a0a0a;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid #333;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive */
@media (max-width: 992px) {
    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonial-card-wrapper {
        flex-direction: column;
    }
}