:root {
    --primary-color: #4a90e2;
    --primary-hover-color: #357ABD;
    --dark-bg-color: #1a202c;
    --light-bg-color: #f7fafc;
    --light-bg-alt: #ffffff;
    --text-color-dark: #f7fafc;
    --text-color-light: #2d3748;
    --border-color: #e2e8f0;
    --section-padding: 60px 0;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: var(--text-color-light);
    background-color: var(--light-bg-color);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header */
.page-header {
    background-color: var(--light-bg-alt);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-color-light);
}

.logo img {
    height: 40px;
    margin-right: 12px;
}

.logo h1 {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Buttons */
.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.cta-button:hover {
    background-color: var(--primary-hover-color);
    transform: translateY(-2px);
}

.header-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-color-dark);
    padding: 120px 0;
    text-align: center;
    background-size: cover;
    background-position: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

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

.hero h2 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* General Page Section */
.page-section {
    padding: var(--section-padding);
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
    color: var(--text-color-light);
}

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

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

.feature-card {
    background-color: var(--light-bg-alt);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.feature-card h4 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card p {
    font-size: 0.95rem;
    color: #4a5568;
}

/* Use Cases Section */
.use-case-row {
    display: flex;
    align-items: center;
    gap: 50px;
    margin-bottom: 60px;
}

.use-case-row:last-child {
    margin-bottom: 0;
}

.use-case-row.reverse {
    flex-direction: row-reverse;
}

.use-case-image {
    flex: 1;
}

.use-case-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.use-case-text {
    flex: 1;
}

.use-case-text h4 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--primary-color);
}

.use-case-text p {
    font-size: 1rem;
}

/* Feature Details Section */
.details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.detail-item {
    background: #f9f9f9;
    padding: 25px;
    border-left: 4px solid var(--primary-color);
}

.detail-item h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* CTA Section */
.cta-section {
    background-color: var(--dark-bg-color);
    color: var(--text-color-dark);
    padding: var(--section-padding);
    text-align: center;
}

.cta-section h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

/* Footer */
.page-footer {
    background-color: #e2e8f0;
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.9rem;
    color: #4a5568;
}


/* Responsive Styles */
@media (max-width: 768px) {
    .page-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .use-case-row,
    .use-case-row.reverse {
        flex-direction: column;
        text-align: center;
    }
}
