:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --secondary: #0f172a;
    --text: #334155;
    --background: #f8fafc;
    --white: #ffffff;
}

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

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text);
    background-color: var(--background);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1,
h2,
h3 {
    color: var(--secondary);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    font-size: 1.125rem;
    color: #64748b;
    margin-bottom: 2rem;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
header {
    padding: 24px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(12px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--secondary);
    text-decoration: none;
}

.logo img {
    height: 32px;
    width: 32px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--secondary);
    padding: 8px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 99px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.3);
}

.btn-text {
    color: var(--text);
    padding: 12px;
}

.btn-text:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding-top: 160px;
    padding-bottom: 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 24px 48px -12px rgba(0, 0, 0, 0.15);
    transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
    transition: transform 0.3s ease;
}

.hero-image:hover {
    transform: perspective(1000px) rotateY(0) rotateX(0);
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

.badge-new {
    display: inline-block;
    background: #eff6ff;
    color: var(--primary);
    font-size: 0.875rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 99px;
    margin-bottom: 24px;
    border: 1px solid #dbeafe;
}

/* Features */
.features {
    padding: 100px 0;
    background: var(--white);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    padding: 32px;
    border-radius: 16px;
    background: #f8fafc;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.feature-card:hover {
    background: #fff;
    border-color: #e2e8f0;
    box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.icon-box {
    width: 56px;
    height: 56px;
    background: #eff6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--secondary);
}

.feature-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
    color: #64748b;
    text-align: center;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .mobile-menu-btn {
        display: block;
    }

    #main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 24px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid #e2e8f0;
    }

    #main-nav.active {
        display: flex;
    }

    .hero {
        grid-template-columns: 1fr;
        padding-top: 120px;
        text-align: center;
    }

    .hero-image {
        transform: none;
        margin-top: 40px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    h1 {
        font-size: 2.5rem;
    }
}