* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1a1a2e;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}

.navbar .logo a {
    display: flex;
    align-items: center;
}

.navbar .logo img {
    width: 170px;
    height: auto;
}

/* HERO */
.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78vh;
    padding: 80px 60px 40px;
    gap: 60px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 40%, #f5f0ff 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(41, 80, 151, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb1 12s ease-in-out infinite;
}

.hero::after {
    content: "";
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(99, 60, 200, 0.06) 0%, transparent 70%);
    border-radius: 50%;
    animation: heroOrb2 10s ease-in-out infinite;
}

@keyframes heroOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.1); }
}

@keyframes heroOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(20px, -15px) scale(1.05); }
}

.hero-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 1;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1.5px;
    color: #111827;
    animation: fadeInUp 0.6s ease-out;
}

.hero h1 .gradient-text {
    background: linear-gradient(135deg, #295097 0%, #5b3cc4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #6b7280;
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 16px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #295097 0%, #1d3a6e 100%);
    color: #fff;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(41, 80, 151, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(41, 80, 151, 0.4);
}

.btn-primary svg {
    transition: transform 0.3s ease;
}

.btn-primary:hover svg {
    transform: translateX(3px);
}

.hero-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-img img {
    width: 420px;
    max-width: 100%;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.08));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-14px); }
}

/* PRODUCTS SECTION */
.section {
    padding: 24px 60px;
}

.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 17px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto;
}

.products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1280px;
    margin: 0 auto;
}

/* Staggered entrance animation */
@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    text-decoration: none;
    color: inherit;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 0;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: cardFadeIn 0.5s ease-out both;
}

.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
.product-card:nth-child(7) { animation-delay: 0.35s; }

.product-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #295097, #3b82f6, #8b5cf6);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.product-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.product-card:hover::before {
    opacity: 1;
}

/* Coming soon card style */
.product-card.coming-soon {
    opacity: 0.65;
    cursor: default;
}

.product-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: #e5e7eb;
}

.product-card.coming-soon:hover::before {
    opacity: 0;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.product-icon {
    width: 46px;
    min-width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8eeff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-card:hover .product-icon {
    transform: scale(1.1) rotate(-3deg);
    box-shadow: 0 4px 12px rgba(41, 80, 151, 0.15);
}

.product-icon img {
    width: 26px;
    height: 26px;
}

.product-card h4 {
    font-size: 17px;
    font-weight: 650;
    color: #111827;
    margin: 0;
}

.product-card p {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.7;
    margin: 0;
}

.product-card .card-arrow {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 600;
    color: #295097;
    opacity: 0;
    transform: translateX(-8px);
    transition: all 0.35s ease;
}

.product-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

/* FOOTER */
.footer {
    text-align: center;
    padding: 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.footer p {
    font-size: 13px;
    color: #9ca3af;
}

.footer a {
    color: #295097;
    text-decoration: none;
    font-weight: 500;
}

.footer a:hover {
    text-decoration: underline;
}

/* RESPONSIVE */
@media (max-width: 1100px) {
    .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 120px 32px 60px;
        min-height: auto;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-img img {
        width: 300px;
    }

    .section {
        padding: 60px 24px;
    }

    .navbar {
        padding: 0 20px;
    }
}

@media (max-width: 640px) {
    .products {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 30px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .section-header h2 {
        font-size: 28px;
    }
}
