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

:root {
    --primary: #0ea5e9;
    --primary-dark: #0284c7;
    --primary-soft: #f0f9ff;
    --accent: #f43f5e;
    --bg: #ffffff;
    --bg-soft: #f8fafc;
    --text: #0f172a;
    --text-secondary: #64748b;
    --border: #e2e8f0;
    --shadow: 0 10px 30px rgba(14, 165, 233, 0.12);
    --radius: 16px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
}

.container,
.nav-container {
    width: min(1120px, 92%);
    margin: 0 auto;
}

.navbar {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid #f1f5f9;
    transition: 0.25s ease;
}

.navbar.scrolled {
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

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

.logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.02em;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 0.75rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 600;
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    transition: 0.2s ease;
}

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

.hero {
    padding: 160px 0 110px;
    background: linear-gradient(165deg, #f0f9ff 0%, #e0f2fe 55%, #bae6fd 100%);
    text-align: center;
}

.hero-container {
    width: min(900px, 92%);
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    color: #0f172a;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.2vw, 1.5rem);
    color: var(--primary-dark);
    margin-bottom: 1.1rem;
    font-weight: 600;
}

.hero-description {
    color: #334155;
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.07rem;
}

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

.btn {
    text-decoration: none;
    font-weight: 700;
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    transition: 0.2s ease;
    border: 1px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn-secondary {
    color: var(--primary);
    background: #ffffff;
    border-color: #bae6fd;
}

.btn-secondary:hover {
    background: #f0f9ff;
}

.features {
    padding: 90px 0;
    background: var(--bg);
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-align: center;
    margin-bottom: 0.8rem;
    color: #0f172a;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 1.1rem;
}

.feature-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.35rem;
    background: var(--bg-soft);
    transition: 0.2s ease;
}

.feature-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: #e0f2fe;
    color: var(--primary);
    display: grid;
    place-items: center;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 0.45rem;
    color: #0f172a;
}

.feature-description {
    color: #475569;
    font-size: 0.97rem;
}

.footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 2.1rem 0 1.3rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-logo .logo-text {
    color: #ffffff;
}

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

.footer-links a {
    text-decoration: none;
    color: #0ea5e9;
    border-radius: 999px;
    padding: 0.4rem 0.7rem;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
    margin-top: 1.2rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    font-size: 0.92rem;
}

.footer-contact {
    margin-top: 0.55rem;
    color: #f1f5f9;
}

.footer-contact a {
    color: #0ea5e9;
    text-decoration: none;
}

.footer-contact a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
