/* TestFLE - Institutional Minimalism Design */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Header */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid #e5e7eb;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
}

.nav {
    display: none;
    gap: 2rem;
}

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav a {
    text-decoration: none;
    color: #6a7282;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: #3b82f6;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 1rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background-color: #3b82f6;
    color: #ffffff;
}

.btn-primary:hover {
    background-color: #2563eb;
}

.btn-outline {
    background-color: transparent;
    color: #1f2937;
    border: 1px solid #e5e7eb;
}

.btn-outline:hover {
    background-color: #f9fafb;
}

.btn-large {
    padding: 1rem 3rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    padding: 6rem 0;
}

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

@media (min-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 1024px) {
    .hero-text h1 {
        font-size: 3.75rem;
    }
}

.hero-text h2 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #6a7282;
    margin-bottom: 2rem;
}

.subtitle {
    font-size: 1.125rem;
    color: #1f2937;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.description {
    font-size: 1rem;
    color: #6a7282;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.hero-image {
    display: none;
}

@media (min-width: 1024px) {
    .hero-image {
        display: block;
    }
}

.hero-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Problem Section */
.problem {
    background-color: #f9fafb;
    padding: 5rem 0;
}

.problem h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.divider {
    width: 4rem;
    height: 0.25rem;
    background-color: #3b82f6;
    margin-bottom: 2rem;
}

.problem-box {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    space-y: 1rem;
}

.problem-box p {
    margin-bottom: 1rem;
    color: #6a7282;
    line-height: 1.7;
}

.problem-box p:last-child {
    margin-bottom: 0;
}

/* Solution Section */
.solution {
    padding: 6rem 0;
}

.solution h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    margin-top: 3rem;
}

@media (min-width: 1024px) {
    .solution-content {
        grid-template-columns: 1fr 1fr;
    }
}

.solution-text p {
    font-size: 1rem;
    color: #6a7282;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.solution-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.point {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.point .icon {
    color: #3b82f6;
    font-weight: 700;
    font-size: 1.25rem;
}

.point span:last-child {
    color: #1f2937;
    font-weight: 500;
}

.solution-image img {
    width: 100%;
    height: auto;
    border-radius: 1rem;
}

/* Features Section */
.features {
    background-color: #f9fafb;
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('images/features-pattern.png');
    background-size: cover;
    opacity: 0.3;
    pointer-events: none;
}

.features h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 10;
}

.features .divider {
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    position: relative;
    z-index: 10;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.feature-card {
    background-color: #ffffff;
    padding: 2rem;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

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

@media (min-width: 768px) {
    .feature-card-full {
        grid-column: 1 / 2;
    }
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.feature-card p {
    font-size: 0.95rem;
    color: #6a7282;
    line-height: 1.6;
}

/* Use Cases Section */
.usecases {
    padding: 6rem 0;
}

.usecases h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.usecases-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .usecases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.usecase-card {
    padding: 2rem;
    border-left: 4px solid #3b82f6;
    background-color: #f9fafb;
    border-radius: 0 1rem 1rem 0;
}

.usecase-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.usecase-card p {
    font-size: 0.95rem;
    color: #6a7282;
    line-height: 1.6;
}

/* Audience Section */
.audience {
    background-color: #f9fafb;
    padding: 6rem 0;
}

.audience h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.audience-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-top: 3rem;
}

@media (min-width: 768px) {
    .audience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.audience-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background-color: #ffffff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
}

.dot {
    width: 0.5rem;
    height: 0.5rem;
    background-color: #3b82f6;
    border-radius: 50%;
    flex-shrink: 0;
}

.audience-item span:last-child {
    color: #1f2937;
    font-weight: 500;
}

/* CTA Section */
.cta {
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    padding: 6rem 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1f2937;
}

.cta p {
    font-size: 1.125rem;
    color: #6a7282;
    max-width: 42rem;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.cta-note {
    font-size: 0.875rem;
    color: #9ca3af;
    margin-top: 1.5rem;
}

/* Footer */
.footer {
    border-top: 1px solid #e5e7eb;
    background-color: #ffffff;
    padding: 3rem 0;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
}

.footer-content > div:first-child {
    color: #6a7282;
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    text-decoration: none;
    color: #6a7282;
    font-size: 0.875rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #1f2937;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-text h1 {
        font-size: 2.25rem;
    }

    .hero-text h2 {
        font-size: 1.25rem;
    }

    .problem h2,
    .solution h2,
    .features h2,
    .usecases h2,
    .audience h2,
    .cta h2 {
        font-size: 1.875rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
        text-align: center;
    }
}
