/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #f9f9f9;
    color: #333;
    line-height: 1.6;
}

/* CONTAINER */
.container {
    max-width: 1100px;
    margin: auto;
    padding: 20px;
}

/* HERO */
.hero {
    text-align: center;
    padding: 56px 20px 40px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    font-size: 2.5rem;
    line-height: 1.2;
    color: #007BFF;
    margin-bottom: 12px;
}

.hero p {
    max-width: 680px;
    margin: 0 auto;
    color: #555;
    font-size: 1rem;
}

/* LOGO */
.logo-wrapper {
    text-align: center;
    margin-bottom: 16px;
}

.logo {
    display: inline-block;
    width: 100%;
    max-width: 120px;
    height: auto;
}

/* BUTTON */
.cta-buttons {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.15s ease,
                box-shadow 0.15s ease,
                background 0.2s ease,
                opacity 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.btn:active {
    transform: scale(0.97);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.btn:focus-visible {
    outline: 3px solid rgba(0, 123, 255, 0.25);
    outline-offset: 2px;
}

.btn-login {
    background: #007BFF;
}

.btn-login:hover {
    background: #0069d9;
}

.btn-register {
    background: #28a745;
}

.btn-register:hover {
    background: #218838;
}

/* FORM */
.lead-form {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    margin: 40px auto;
    max-width: 500px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.lead-form h2 {
    text-align: center;
    margin-bottom: 8px;
}

.lead-form p {
    text-align: center;
    margin-bottom: 15px;
}

.lead-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font: inherit;
}

.lead-form input:focus {
    outline: none;
    border-color: #007BFF;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.12);
}

.lead-form button {
    width: 100%;
    padding: 12px;
    background: #007BFF;
    color: #fff;
    border: none;
    border-radius: 8px;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.lead-form button:hover {
    opacity: 0.95;
}

.lead-form button:active {
    transform: scale(0.98);
}

.lead-form button:focus-visible {
    outline: 3px solid rgba(0, 123, 255, 0.25);
    outline-offset: 2px;
}

/* FEATURES */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.feature-box {
    background: #fff;
    padding: 22px 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.2s ease;
}

.feature-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-box h3 {
    margin-bottom: 8px;
    color: #222;
    font-size: 1.1rem;
}

.feature-box p {
    color: #666;
    font-size: 0.95rem;
}

/* STEPS */
.steps {
    margin-top: 40px;
}

.step {
    background: #fff;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.step span {
    background: #007BFF;
    color: #fff;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    flex-shrink: 0;
}

/* MENU ICON */
.menu-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.menu-item {
    text-align: center;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    width: 100px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333;
}

.menu-item:hover {
    transform: translateY(-5px);
}

.menu-item .icon {
    font-size: 28px;
    margin-bottom: 8px;
}

/* LINK BOX */
.link-box {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.link-box:active {
    transform: scale(0.98);
}

.link-box:focus-visible {
    outline: 3px solid rgba(0, 123, 255, 0.2);
    outline-offset: 3px;
}

/* FOOTER */
footer {
    text-align: center;
    margin-top: 40px;
    color: #777;
    font-size: 0.95rem;
    padding-bottom: 20px;
}

/* TABLET */
@media (max-width: 1024px) {
    .container {
        padding: 18px;
    }

    .hero {
        padding: 48px 18px 36px;
    }

    .hero h1 {
        font-size: 2.2rem;
    }
}

/* MOBILE */
@media (max-width: 768px) {
    .container {
        padding: 16px;
    }

    .hero {
        padding: 40px 12px 28px;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 0.95rem;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .btn {
        display: block;
        width: 100%;
        text-align: center;
    }

    .logo {
        max-width: 90px;
    }

    .features {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .menu-item {
        width: 80px;
        padding: 15px;
    }

    .menu-item .icon {
        font-size: 22px;
    }

    .menu-item p {
        font-size: 0.8rem;
    }

    footer {
        margin-top: 32px;
        font-size: 0.9rem;
    }
}

/* SMALL MOBILE */
@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.55rem;
    }

    .hero p {
        font-size: 0.92rem;
    }

    .feature-box {
        padding: 18px 16px;
    }

    .lead-form {
        padding: 20px 16px;
    }
}