:root {
    --primary: #2b2d42;
    --accent: #ef233c;
    --light: #edf2f4;
    --gray: #8d99ae;
}

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

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

header {
    background: var(--primary);
    color: white;
    padding: 1.2rem 0;
}

.container {
    width: 90%;
    max-width: 1000px;
    margin: auto;
}

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

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    margin-left: 1rem;
}

nav a:hover {
    text-decoration: underline;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: white;
    border-radius: 8px;
    margin-top: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

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

.hero p {
    font-size: 1.1rem;
    color: var(--gray);
    margin-bottom: 2rem;
}

.hero a.button {
    background: var(--accent);
    color: white;
    text-decoration: none;
    padding: 0.8rem 1.4rem;
    border-radius: 4px;
    font-weight: bold;
}

.hero a.button:hover {
    background: #d90429;
}

/* .hero a.button.secondary {
    background: #333;
} */

section.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 4rem 0;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

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

footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid #ddd;
    margin-top: 4rem;
}

footer a {
    color: var(--accent);
    text-decoration: none;
}

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


.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .nav-links {
    position: absolute;
    top: 65px;
    right: 0;
    background: #222;
    flex-direction: column;
    width: 100%;
    text-align: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    }

    .nav-links.open {
    max-height: 300px;
    }

    .hamburger {
    display: flex;
    }
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}