* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --primary: #1d1d1f;
    --page-bg: #f5f5f7;
    --border: #d2d2d7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--page-bg);
    color: var(--primary);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: rgba(0,0,0,0.92);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    color: #f5f5f7;
    font-size: 21px;
    font-weight: 600;
    text-decoration: none;
}

.nav-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.nav-links a {
    color: #f5f5f7;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.2s;
}

.nav-links a:hover, .nav-links a.active {
    opacity: 0.7;
}

/* Hero */
.hero-block {
    text-align: center;
    padding: 56px 20px 50px;
    background: linear-gradient(to bottom, #000 0%, #000 66%, var(--page-bg) 66%, var(--page-bg) 100%);
    position: relative;
}

.hero-block__title {
    color: #f5f5f7;
    font-size: clamp(40px, 9vw, 80px);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 6px;
}

.hero-block__sub {
    color: #a1a1a6;
    font-size: clamp(17px, 2.5vw, 24px);
    font-weight: 400;
    margin-bottom: 22px;
}

.hero-block__btns {
    display: flex;
    gap: 18px;
    justify-content: center;
}

.hero-block__btns a {
    font-size: 15px;
    font-weight: 400;
    color: #0071e3;
    text-decoration: none;
    transition: opacity 0.2s;
}

.hero-block__btns a:hover {
    opacity: 0.7;
}

.hero-block__img {
    margin-top: 28px;
    position: relative;
    z-index: 5;
}

.hero-block__img img {
    width: auto;
    max-width: 100%;
    max-height: 480px;
    margin: 0 auto;
    display: block;
    animation: heroFloat 4s ease-in-out infinite;
}

@keyframes heroFloat {
    0%   { transform: translateY(0);     filter: drop-shadow(0 24px 30px rgba(0,0,0,0.5)); }
    50%  { transform: translateY(-18px); filter: drop-shadow(0 40px 42px rgba(0,0,0,0.35)); }
    100% { transform: translateY(0);     filter: drop-shadow(0 24px 30px rgba(0,0,0,0.5)); }
}

/* Page Header */
.page-header {
    background: #000;
    color: #f5f5f7;
    text-align: center;
    padding: 60px 20px;
}

.page-header h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.page-header p {
    color: #a1a1a6;
    font-size: 18px;
}

/* Sections */
.latest-section, .shop-section {
    padding: 60px 20px;
    background: var(--page-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 44px;
}

.section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
}

.section-header p {
    color: #86868b;
    font-size: 17px;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px;
    text-decoration: none;
    color: var(--primary);
    transition: all 0.2s;
    display: block;
}

.product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

.product-card__img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.product-card__img img {
    max-height: 200px;
    max-width: 100%;
    object-fit: contain;
}

.product-card__category {
    font-size: 12px;
    color: #e11d48;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.product-card__name {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 8px;
    min-height: 42px;
}

.product-card__price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary);
}

.product-card__ghs {
    font-size: 14px;
    color: #e11d48;
    font-weight: 600;
    margin-top: 2px;
}

/* How It Works */
.how-section {
    padding: 70px 20px;
    background: #fff;
}

.home-steps {
    display: flex;
    gap: 24px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.home-step {
    flex: 0 0 250px;
    text-align: center;
}

.home-step__num {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: #0071e3;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.home-step h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
}

.home-step p {
    color: #86868b;
    font-size: 15px;
}

.home-step__line {
    width: 80px;
    height: 2px;
    background: #d2d2d7;
    display: none;
}

/* Contact Section */
.contact-section {
    padding: 60px 20px;
    background: var(--page-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h2 {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.contact-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.contact-item__icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: #0071e3;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item p {
    color: #86868b;
    font-size: 14px;
}

/* Contact Form */
.contact-form {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #0071e3;
}

.form-group textarea {
    resize: vertical;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 980px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn--primary {
    background: #0071e3;
    color: #fff;
    width: 100%;
}

.btn--primary:hover {
    background: #0077ED;
    transform: translateY(-1px);
}

/* Footer */
footer {
    background: #f5f5f7;
    padding: 40px 20px;
    text-align: center;
    border-top: 1px solid var(--border);
}

footer p {
    color: #86868b;
    font-size: 14px;
}

footer a {
    color: #0071e3;
    text-decoration: none;
}

footer a:hover {
    opacity: 0.7;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-block {
        padding: 40px 16px 30px;
        background: linear-gradient(to bottom, #000 0%, #000 70%, var(--page-bg) 70%, var(--page-bg) 100%);
    }
    
    .hero-block__img img {
        max-height: 340px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 12px;
    }
    
    .home-step {
        flex: 0 0 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .contact-form {
        padding: 24px;
    }
}

@media (min-width: 769px) {
    .home-step__line {
        display: block;
    }
}
