@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --primary-color: #0088cc;
    /* Blue-Cyan from logo */
    --secondary-color: #a0aec0;
    --accent-color: #44bb66;
    /* Green from logo */
    --bg-color: #ffffff;
    --text-color: #2d3748;
    --text-light: #718096;
    --heading-color: #0d3d56;
    /* Dark Blue from SAARNOVA text */
    --light-bg: #f0f7fa;
    /* Light blue tint */
    --white: #ffffff;
    --border-radius: 8px;
    --container-width: 1200px;
}

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(95, 46, 234, 0.39);
}

.btn-primary:hover {
    background-color: #4c24ba;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

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

/* Header */
header {
    padding: 20px 0;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--heading-color);
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo span {
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-color);
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hero */
.hero {
    padding: 100px 0;
    background: linear-gradient(to right, #fdfbfb, #ebedee);
    /* Subtle gradient */
    background: #fff;
    overflow: hidden;
}

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

.hero-text h1 {
    font-size: 56px;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.hero-text h1 span {
    color: var(--primary-color);
}

.hero-text p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-image img {
    border-radius: 20px;
    /* transition: transform 0.5s ease; */
}

/* .hero-image:hover img {
    transform: translateY(-10px);
} */

/* Services */
.services {
    text-align: center;
    background-color: var(--light-bg);
}

.section-title {
    margin-bottom: 60px;
    text-align: center;
}

.section-title h2 {
    font-size: 36px;
    margin-bottom: 10px;
    color: var(--heading-color);
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

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

.service-card {
    background: var(--white);
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    text-align: left;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(95, 46, 234, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 24px;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 20px;
}

.service-card p {
    color: var(--text-light);
    font-size: 15px;
}

/* Features */
.features-section {
    position: relative;
    overflow: hidden;
}

.feature-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 100px;
}

.feature-block.reverse {
    direction: rtl;
    /* Quick hack for swapping, but better to rearrange in HTML or grid areas */
}

.feature-block.reverse .feature-text {
    direction: ltr;
}

.feature-content h2 {
    font-size: 36px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.feature-content p {
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.8;
}

.feature-img-wrapper {
    position: relative;
}

.feature-img-wrapper img {
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* App Showcase */
.app-showcase {
    background-color: var(--light-bg);
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.showcase-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.showcase-item:nth-child(even) {
    /* Alternate if needed, but the design seems consistent stack or grid */
}

.showcase-image img {
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.blog-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.blog-img {
    height: 200px;
    overflow: hidden;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-content {
    padding: 20px;
}

.blog-content h4 {
    margin-bottom: 10px;
    font-size: 18px;
}

.blog-content p {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 14px;
}

/* Stats */
.stats {
    background: var(--white);
    padding: 60px 0;
    border-top: 1px solid #edf2f7;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
}

.stat-item h3 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 14px;
    color: var(--text-light);
}

/* Footer */
footer {
    background-color: var(--light-bg);
    padding-top: 80px;
    font-size: 14px;
}

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

.footer-col h4 {
    margin-bottom: 20px;
    color: var(--heading-color);
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: var(--text-light);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

.newsletter p {
    margin-bottom: 20px;
    color: var(--text-light);
}

.subscribe-form {
    display: flex;
    gap: 10px;
}

.subscribe-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    outline: none;
}

.subscribe-form button {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
}

.footer-bottom {
    border-top: 1px solid #e2e8f0;
    padding: 20px 0;
    text-align: center;
    color: var(--text-light);
}

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

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-text p {
        margin: 0 auto 30px;
    }

    .feature-block {
        grid-template-columns: 1fr;
    }

    .feature-block.reverse {
        direction: ltr;
    }

    .services-grid,
    .blog-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 576px) {
    .nav-links {
        display: none;
        /* simple hide for now, hamburger later if requested */
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .services-grid,
    .blog-grid,
    .stats-grid,
    .footer-grid,
    .showcase-item {
        grid-template-columns: 1fr;
    }
}