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

:root {
    --color-primary: #e94560;
    --color-primary-dark: #c23152;
    --color-bg: #0f0f1a;
    --color-bg-light: #1a1a2e;
    --color-bg-card: #16213e;
    --color-text: #e0e0e0;
    --color-text-light: #a0a0b0;
    --color-white: #ffffff;
    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --transition: 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 15, 26, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(233, 69, 96, 0.1);
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-white);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo::after {
    content: '';
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    transform: scaleX(0.4);
    transform-origin: left;
    transition: transform var(--transition);
}

.logo:hover::after {
    transform: scaleX(1);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--color-primary);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: var(--transition);
}

/* ===== Hero ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 80px;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(233, 69, 96, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 50%, rgba(15, 52, 96, 0.15) 0%, transparent 50%),
        var(--color-bg);
}

.hero-content {
    max-width: 700px;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2.5vw, 1.4rem);
    color: var(--color-primary);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.05rem;
    color: var(--color-text-light);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 50px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: all var(--transition);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
    box-shadow: 0 4px 20px rgba(233, 69, 96, 0.3);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(233, 69, 96, 0.4);
}

/* ===== Section Header ===== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--color-white);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--color-text-light);
    font-size: 1.05rem;
}

/* ===== Products ===== */
.products {
    padding: 100px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.product-card {
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow);
    border-color: rgba(233, 69, 96, 0.2);
}

.product-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
}

.product-image svg {
    width: 100%;
    height: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.product-card:hover .product-image svg {
    transform: scale(1.05);
}

.product-info {
    padding: 28px;
}

.product-tag {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    background: rgba(233, 69, 96, 0.15);
    color: var(--color-primary);
    margin-bottom: 12px;
}

.tag-new {
    background: rgba(0, 184, 148, 0.15);
    color: #00b894;
}

.tag-popular {
    background: rgba(225, 112, 85, 0.15);
    color: #e17055;
}

.tag-premium {
    background: rgba(108, 92, 231, 0.15);
    color: #a29bfe;
}

.product-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 12px;
}

.product-description {
    color: var(--color-text-light);
    font-size: 0.92rem;
    line-height: 1.7;
    margin-bottom: 16px;
}

.product-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.product-features li {
    font-size: 0.85rem;
    color: var(--color-text-light);
    padding-left: 20px;
    position: relative;
}

.product-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-primary);
    font-weight: 600;
}

/* ===== About ===== */
.about {
    padding: 100px 0;
    background: var(--color-bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-white);
    margin-bottom: 24px;
}

.about-text p {
    color: var(--color-text-light);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 36px;
    padding-top: 36px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--color-text-light);
}

.about-image svg {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
}

/* ===== Contact ===== */
.contact {
    padding: 100px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 36px 24px;
    background: var(--color-bg-light);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color var(--transition);
}

.contact-item:hover {
    border-color: rgba(233, 69, 96, 0.3);
}

.contact-icon {
    color: var(--color-primary);
    margin-bottom: 16px;
}

.contact-item h3 {
    font-size: 1rem;
    color: var(--color-white);
    margin-bottom: 8px;
}

.contact-item p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    padding: 48px 0 24px;
    background: var(--color-bg-light);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-brand p {
    color: var(--color-text-light);
    font-size: 0.9rem;
    margin-top: 8px;
}

.footer-links {
    display: flex;
    gap: 28px;
}

.footer-links a {
    color: var(--color-text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
}

.footer-bottom p {
    color: var(--color-text-light);
    font-size: 0.82rem;
}

/* ===== Animations ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        order: -1;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: rgba(15, 15, 26, 0.98);
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid rgba(233, 69, 96, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .product-grid {
        grid-template-columns: 1fr;
        max-width: 440px;
        margin: 0 auto;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }
}
