/* Base Styles */
:root {
    --primary: #2171f2;
    --background-light: #f5f7f8;
    --background-dark: #101722;
}

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

body {
    background-color: var(--background-light);
    font-family: 'Inter', sans-serif;
    color: #1f2937;
    min-height: 100vh;
}

.dark body {
    background-color: var(--background-dark);
    color: #e5e7eb;
}

/* Layout */
.page-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

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

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* Header & Navigation */
header {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(229, 231, 235, 0.5);
    padding: 0.75rem;
}

.dark header {
    background-color: rgba(16, 23, 34, 0.95);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(55, 65, 81, 0.5);
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 0;
    max-width: 1280px;
    margin: 0 auto;
}

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

.logo-icon {
    height: 2rem;
    width: 2rem;
    color: var(--primary);
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
}

.dark .logo-text {
    color: white;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: #4b5563;
    text-decoration: none;
    transition: color 0.2s;
}

.dark .nav-link {
    color: #d1d5db;
}

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

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

/* Buttons */
.btn {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.btn-secondary {
    background-color: transparent;
    color: #4b5563;
    border: 1px solid #e5e7eb;
}

.dark .btn-secondary {
    background-color: transparent;
    color: #d1d5db;
    border: 1px solid #374151;
}

.btn-secondary:hover {
    background-color: #f9fafb;
    border-color: #d1d5db;
}

.dark .btn-secondary:hover {
    background-color: rgba(55, 65, 81, 0.5);
    border-color: #4b5563;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: rgba(33, 113, 242, 0.9);
}

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

.btn-outline {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

.dark .btn-outline {
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.dark .btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

/* Hero Section */
.hero-section {
    position: relative;
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gradient-overlay {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5));
}

.hero-content {
    position: relative;
    text-align: center;
    color: white;
    padding: 1.5rem;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.025em;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-subtitle {
    font-size: 1.125rem;
    max-width: 48rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Content Sections */
main {
    flex-grow: 1;
}

.section {
    padding: 4rem 0;
}

@media (min-width: 768px) {
    .section {
        padding: 6rem 0;
    }
}

.section-alt {
    background-color: #f9fafb;
}

.dark .section-alt {
    background-color: rgba(17, 24, 39, 0.5);
}

.section-header {
    max-width: 48rem;
    margin: 0 auto 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .section-header {
        margin-bottom: 4rem;
    }
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.dark .section-title {
    color: white;
}

.section-description {
    color: #4b5563;
}

.dark .section-description {
    color: #d1d5db;
}

/* Grid Layouts */
.grid {
    display: grid;
    gap: 2rem;
    text-align: left;
}

.grid-3col {
    grid-template-columns: 1fr;
}

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

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

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

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

/* Feature Cards */
.feature-card,
.testimonial-card {
    background-color: var(--background-light);
    padding: 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid #e5e7eb;
}

.dark .feature-card {
    background-color: var(--background-dark);
    border-color: #1f2937;
}

.testimonial-card {
    background-color: white;
}

.dark .testimonial-card {
    background-color: var(--background-dark);
    border-color: #1f2937;
}

.testimonial-special {
    grid-column: span 1;
}

@media (min-width: 768px) {
    .testimonial-special {
        grid-column: span 2;
    }
}

@media (min-width: 1024px) {
    .testimonial-special {
        grid-column: span 1;
    }
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 1rem;
}

.feature-title,
.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.5rem;
}

.dark .feature-title,
.dark .card-title {
    color: white;
}

.feature-description,
.card-text {
    color: #4b5563;
}

.dark .feature-description,
.dark .card-text {
    color: #d1d5db;
}

.card-text {
    margin-bottom: 1rem;
}

/* Testimonials */
.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    margin-right: 1rem;
}

.testimonial-name {
    font-weight: 600;
    color: #111827;
}

.dark .testimonial-name {
    color: white;
}

.testimonial-role {
    font-size: 0.875rem;
    color: #6b7280;
}

.dark .testimonial-role {
    color: #9ca3af;
}

/* Footer */
footer {
    background-color: var(--background-light);
    border-top: 1px solid #e5e7eb;
}

.dark footer {
    background-color: var(--background-dark);
    border-top-color: #1f2937;
}

.footer-content {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #6b7280;
}

.dark .footer-content {
    color: #9ca3af;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.footer-icon {
    height: 1.5rem;
    width: 1.5rem;
    color: var(--primary);
}

.footer-text {
    font-size: 0.875rem;
}
