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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    min-height: 100vh;
    background-color: #ffffff;
    color: #0f172a;
    line-height: 1.5;
}

a {
    text-decoration: none;
}

::selection {
    background-color: #0f172a;
    color: white;
}

/* Layout */
.header {
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 2rem;
    width: 2rem;
}

.logo-text {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.header-nav {
    display: none;
    gap: 1.5rem;
    font-size: 0.875rem;
    color: #475569;
}

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

.nav-link {
    color: #475569;
    transition: color 0.15s ease;
}

.nav-link:hover {
    color: #0f172a;
}

.main-content {
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

/* Hero Section */
.hero-section {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background: linear-gradient(to bottom, #f8fafc, #ffffff);
    padding: 2.5rem;
}

@media (min-width: 640px) {
    .hero-section {
        padding: 4rem;
    }
}

.hero-title {
    font-size: 1.875rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

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

.hero-description {
    margin-top: 1.25rem;
    max-width: 48rem;
    font-size: 1rem;
    line-height: 1.625;
    color: #334155;
}

@media (min-width: 640px) {
    .hero-description {
        font-size: 1.125rem;
    }
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
}

.hero-decoration {
    pointer-events: none;
    position: absolute;
    right: -6rem;
    top: -6rem;
    height: 18rem;
    width: 18rem;
    border-radius: 50%;
    background-color: rgba(226, 232, 240, 0.4);
    filter: blur(64px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-secondary {
    border: 1px solid #cbd5e1;
    padding: 0.75rem 1.25rem;
    color: #1e293b;
    background-color: transparent;
}

.btn-secondary:hover {
    background-color: #f8fafc;
}

.btn-primary {
    padding: 0.75rem 1.25rem;
    background-color: #0f172a;
    color: white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}

.btn-primary:hover {
    background-color: #1e293b;
}

/* Features Section */
.features-section {
    scroll-margin-top: 6rem;
    margin-top: 3.5rem;
}

@media (min-width: 640px) {
    .features-section {
        margin-top: 5rem;
    }
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

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

.features-grid {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

@media (min-width: 640px) {
    .features-grid {
        margin-top: 2rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

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

.feature-card {
    border-radius: 1rem;
    border: 1px solid #e2e8f0;
    background-color: #ffffff;
    padding: 1.25rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.15s ease;
}

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

.feature-content {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.feature-icon {
    margin-top: 0.125rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 0.5rem;
    color: #374151;
}

.feature-icon svg {
    height: 1.25rem;
    width: 1.25rem;
}

.feature-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0f172a;
}

.feature-desc {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: 1.625;
    color: #475569;
}

/* Contact Section */
.contact-section {
    scroll-margin-top: 6rem;
    margin-top: 4rem;
    border-radius: 1.5rem;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    padding: 2rem;
}

@media (min-width: 640px) {
    .contact-section {
        margin-top: 6rem;
        padding: 3rem;
    }
}

.contact-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    .contact-content {
        flex-direction: row;
        align-items: center;
    }
}

.contact-title {
    font-size: 1.125rem;
    font-weight: 600;
    letter-spacing: -0.025em;
}

.contact-info {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    color: #475569;
}

/* Footer */
.footer {
    margin-top: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid #e2e8f0;
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
    font-size: 0.75rem;
    color: #64748b;
}

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

.footer-link {
    color: #64748b;
    transition: color 0.15s ease;
}

.footer-link:hover {
    color: #334155;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-animation {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.stagger-animation.visible {
    opacity: 1;
    transform: translateY(0);
}
