/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: #1a3a5c;
    background: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

/* ============= TOP BAR ============= */
.top-bar {
    background: #0d1f33;
    color: #b8c9dc;
    padding: 10px 0;
    font-size: 13px;
    font-weight: 500;
}

.top-bar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: center;
    gap: 40px;
    align-items: center;
}

.top-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-bar-item svg {
    flex-shrink: 0;
    opacity: 0.8;
}

/* ============= MAIN HEADER ============= */
.main-header {
    background: #ffffff;
    border-bottom: 1px solid #eef2f6;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(26, 58, 92, 0.04);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 18px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #4a9eff 0%, #2d7dd2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(45, 125, 210, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-title {
    font-size: 19px;
    font-weight: 800;
    color: #1a3a5c;
    letter-spacing: -0.3px;
}

.logo-subtitle {
    font-size: 10.5px;
    font-weight: 500;
    color: #6b8299;
    letter-spacing: 0.3px;
    margin-top: 2px;
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-link {
    padding: 10px 16px;
    font-size: 14.5px;
    font-weight: 600;
    color: #4a6580;
    border-radius: 8px;
    transition: all 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #1a3a5c;
    background: #f5f8fb;
}

.nav-link.active {
    color: #1a3a5c;
    background: #f0f5fa;
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -19px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: #2d7dd2;
    border-radius: 2px 2px 0 0;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f5f8fb;
    border: 1px solid #e6edf3;
    border-radius: 10px;
    padding: 9px 14px;
    width: 220px;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    background: #ffffff;
    border-color: #2d7dd2;
    box-shadow: 0 0 0 3px rgba(45, 125, 210, 0.1);
}

.search-box svg {
    color: #8a9bae;
    flex-shrink: 0;
}

.search-box input {
    border: none;
    background: none;
    outline: none;
    font-family: inherit;
    font-size: 13.5px;
    color: #1a3a5c;
    width: 100%;
}

.search-box input::placeholder {
    color: #8a9bae;
}

.cart-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #1a3a5c;
    color: #ffffff;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.cart-btn:hover {
    background: #0d2540;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(26, 58, 92, 0.25);
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ff6b6b;
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 700;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ffffff;
}

/* ============= HERO ============= */
.hero {
    position: relative;
    background: linear-gradient(135deg, #e8f3fc 0%, #f5fbff 50%, #ffffff 100%);
    padding: 90px 40px 110px;
    overflow: hidden;
    min-height: 560px;
    display: flex;
    align-items: center;
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #b8dfff 0%, transparent 70%);
    top: -150px;
    right: -100px;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #c5e8ff 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    opacity: 0.6;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, #d4edff 0%, transparent 70%);
    top: 40%;
    left: 30%;
    opacity: 0.4;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffffff;
    color: #2d7dd2;
    padding: 8px 18px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 4px 16px rgba(45, 125, 210, 0.12), 0 0 0 1px rgba(45, 125, 210, 0.08);
    margin-bottom: 28px;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: #2d7dd2;
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(45, 125, 210, 0.2);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(45, 125, 210, 0.2); }
    50% { box-shadow: 0 0 0 8px rgba(45, 125, 210, 0.05); }
}

.hero-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(48px, 6.5vw, 88px);
    font-weight: 900;
    color: #1a3a5c;
    line-height: 1.05;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 18px;
    color: #5a7593;
    max-width: 620px;
    margin: 0 auto 40px;
    font-weight: 400;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.25s ease;
    cursor: pointer;
    letter-spacing: 0.2px;
}

.btn-primary {
    background: linear-gradient(135deg, #2d7dd2 0%, #1a5ba8 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(45, 125, 210, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(45, 125, 210, 0.45);
}

.btn-secondary {
    background: #ffffff;
    color: #1a3a5c;
    border: 1.5px solid #e0e8f0;
}

.btn-secondary:hover {
    background: #f5f8fb;
    border-color: #c8d4e0;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 58, 92, 0.08);
}

/* ============= RESPONSIVE ============= */
@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }

    .header-content {
        padding: 16px 24px;
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        gap: 6px;
        padding: 8px 20px;
        text-align: center;
    }

    .search-box {
        display: none;
    }

    .hero {
        padding: 60px 24px 80px;
    }

    .hero-title {
        letter-spacing: -1px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}
