:root {
    --primary: #2563eb;
    --primary-light: #60a5fa;
    --dark: #0f172a;
    --slate: #475569;
    --accent: #38bdf8;
    --white: #ffffff;
    --bg: #f8fafc;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    text-decoration: none;
}

.nav-back {
    text-decoration: none;
    color: var(--slate);
    font-weight: 600;
    transition: color 0.3s;
}

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

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 5%;
    background: linear-gradient(135deg, #ffffff 0%, #f1f5f9 100%);
    min-height: 80vh;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: #dbeafe;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: linear-gradient(to right, var(--dark), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: 1.5rem;
    color: var(--slate);
    margin-bottom: 3rem;
    font-weight: 300;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 25px -5px rgba(37, 99, 235, 0.4);
    background: #1d4ed8;
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-img {
    max-width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.pillars {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    padding: 100px 5%;
    background: white;
}

.pillar {
    text-align: center;
    padding: 2rem;
}

.pillar .icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.pillar h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.pillar p {
    color: var(--slate);
}

.main-features {
    padding: 100px 5%;
    background: #0f172a;
    color: white;
}

.main-features h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    font-weight: 900;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: scale(1.02);
}

.feature-card h3 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    color: #94a3b8;
}

.contact-cta {
    padding: 100px 5%;
    text-align: center;
    background: var(--primary);
    color: white;
}

.contact-cta h2 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.contact-cta p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    opacity: 0.9;
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 3rem;
    background: white;
    color: var(--primary);
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-secondary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

footer {
    padding: 3rem 5%;
    text-align: center;
    color: var(--slate);
    font-size: 0.9rem;
    border-top: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        padding: 60px 5%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-visual {
        margin-top: 50px;
    }
}