:root {
    --bg: #f2f4f8;
    --text: #1e293b;
    --primary: #1d3557;
    --accent: #457b9d;
    --white: #ffffff;
    --radius: 0.75rem;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

header {
    background-color: var(--primary);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

header h1 {
    font-size: 1.5rem;
}

nav {
    display: flex;
    gap: 1rem;
}

nav a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(29, 53, 87, 0.95);
    color: white;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.mobile-nav a {
    font-size: 1.5rem;
    margin: 0.3rem;
    text-decoration: none;
    color: white;
}

.mobile-nav.active {
    display: flex;
}

.hero {
    padding: 6rem 2rem 4rem;
    text-align: center;
    background: linear-gradient(to right, #edf2f7, #dceefb);
    animation: fadeIn 1.2s ease-in-out;
}

.hero h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.hero p {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
}

.btn {
    background-color: var(--accent);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.3s;
}

.btn:hover {
    background-color: #2b5c80;
}

section {
    padding: 4rem 2rem;
    max-width: 1100px;
    margin: 0 auto;
}

.features,
.plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.card {
    background: white;
    border-radius: var(--radius);
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    animation: fadeInUp 0.7s ease-in-out both;
}

.card:hover {
    transform: translateY(-5px);
}

.card svg {
    width: 40px;
    height: 40px;
    margin-bottom: 1rem;
    fill: var(--accent);
}

.card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

footer {
    background-color: var(--primary);
    color: white;
    text-align: center;
    padding: 2rem 1rem;
}

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

    .menu-toggle {
        display: block;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(52, 105, 211, 0.2);
    outline: none;
}

.form-group textarea {
    min-height: 160px;
    resize: vertical;
}

.submit-button {
    background: var(--primary);
    color: var(--white);
    border: none;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    width: 100%;
}

.submit-button:hover {
    background: var(--accent);
    
    transform: scale(1.02);
}