/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(120deg, #e0eafc 0%, #cfdef3 100%);
    color: #222;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Container utility */
.container {
    max-width: 1200px;
    padding: 0 1.5rem;
    margin: 0 auto;
}

/* Header */
header {
    background-color: #2b2bbe;
    padding: 1rem 0;
    color: white;
}

header .brand {
    font-size: 2.4rem;
    font-weight: 700;
    display: inline-block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

nav ul li a:hover,
nav ul li a.btn-nav {
    color: #ffca08;
}

nav ul li a.btn-nav {
    background-color: transparent;
    border: 2px solid #ffca08;
    padding: 0.3rem 0.9rem;
    border-radius: 5px;
}

nav ul li a.btn-nav:hover {
    background-color: #ffca08;
    color: #2b2bbe;
}

/* Hero section */
.hero-magic {
    position: relative;
    background: linear-gradient(120deg, #2323ae 45%, #ffeca0 100%);
    min-height: 430px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    width: 90%;
    margin: 0 auto;
}

.ultra-heading {
    font-size: 3.5rem;
    font-weight: 800;
    color: #FFCA08;
    letter-spacing: 2px;
    text-shadow: 0 4px 24px #2323ae99, 0 2px 8px #ffca0877;
    margin-bottom: 0.6em;
    animation: fadeInDown 1.2s cubic-bezier(.4,0,.2,1);
}

.hero-desc {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1.2s cubic-bezier(.4,0,.2,1);
}

.hero-btn {
    font-size: 1.2rem;
    padding: 1rem 2.8rem;
    border-radius: 3rem;
    box-shadow: 0 8px 28px #ffca0880;
}

.hero-glow {
    position: absolute;
    bottom: -160px;
    left: 50%;
    width: 800px;
    height: 440px;
    background: radial-gradient(circle, #ffeca0 0%, #2323ae00 70%);
    transform: translateX(-50%);
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
}

/* Products */
.products {
    text-align: center;
    padding: 4rem 0 3rem 0;
}

.products h3 {
    font-size: 2.3rem;
    font-weight: 700;
    color: #2323ae;
    margin-bottom: 2rem;
    letter-spacing: 1px;
}

.product-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.3rem;
}

.product-card {
    background-color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(46, 49, 146, 0.1);
    width: 320px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-10px);
}

.product-card img {
    width: 120px;
    margin-bottom: 1.5rem;
}

.product-card h4 {
    color: #2b2bbe;
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.product-card ul {
    text-align: left;
    color: #515151;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.product-card ul li {
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.4rem;
    color: #ffca08;
    font-weight: 900;
    margin-bottom: 1.5rem;
}

.btn-secondary {
    background-color: #2b2bbe;
    border: none;
    color: #ffca08;
    padding: 0.8rem 1.8rem;
    border-radius: 7px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #1f198f;
}

/* Features / Why Us */
.why-us {
    padding: 3rem 1rem;
    background-color: #e9ebfc;
    border-radius: 14px;
    margin: 3rem 0;
    text-align: center;
}

.why-us h3 {
    font-size: 2.4rem;
    font-weight: 700;
    color: #2b2bbe;
    margin-bottom: 2rem;
}

.features {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    font-size: 1.1rem;
    font-weight: 700;
    color: #3d3d3d;
}

.features div {
    background-color: #ffca08;
    color: #2b2bbe;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 0 9px rgba(255,202,8,0.6);
}

/* Footer */
.footer {
    background-color: #2b2bbe;
    color: white;
    padding: 1rem 0;
    text-align: center;
    border-radius: 0 0 10px 10px;
}

.social-links {
    margin-top: 0.75rem;
}

.social-links a {
    color: #ffca08;
    margin: 0 1rem;
    text-decoration: none;
    font-weight: 700;
}

.social-links a:hover {
    text-decoration: underline;
}

/* Animations */
@keyframes fadeInDown {
    0% {
        opacity: 0;
        transform: translateY(-50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(50px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 900px) {
    .product-list {
        justify-content: center;
    }
}

@media (max-width: 550px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    .hero h2 {
        font-size: 2rem;
    }
    .product-card, .auth-form {
        width: 95vw;
    }
}
