@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:wght@700;900&display=swap');

:root {
    --primary: #ff4d00;
    --primary-glow: rgba(255, 77, 0, 0.3);
    --secondary: #ffb800;
    --bg-deep: #050505;
    --bg-surface: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-heavy: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --border: rgba(255, 255, 255, 0.08);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: default;
}

::selection {
    background: var(--primary);
    color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .playfair {
    font-family: 'Playfair Display', serif;
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.7);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(to right, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.95rem;
    font-weight: 400;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

.nav-icons {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-icons i {
    font-size: 1.2rem;
    color: var(--text-main);
    transition: var(--transition);
    cursor: pointer;
}

.nav-icons i:hover {
    color: var(--primary);
}

.hero {
    height: 100vh;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 5%;
    background: radial-gradient(circle at 50% 50%, rgba(255, 77, 0, 0.1) 0%, transparent 70%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(5, 5, 5, 0.5), rgba(5, 5, 5, 0.7)), url('hero_premium.png') center/cover no-repeat;
    opacity: 0.8;
    z-index: -1;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(to bottom, #fff 40%, #888);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slideUp 1.2s ease;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 700px;
    margin-bottom: 3rem;
    animation: slideUp 1.2s ease 0.2s backwards;
}

.cta-btn {
    padding: 1.2rem 3rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 100px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 15px 35px var(--primary-glow);
    transition: var(--transition);
    animation: slideUp 1.2s ease 0.4s backwards;
}

.cta-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 20px 45px var(--primary-glow);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    padding: 6rem 8%;
    background: var(--bg-surface);
}

.feature-item {
    padding: 3rem 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    text-align: center;
    transition: var(--transition);
}

.feature-item:hover {
    background: var(--glass-heavy);
    transform: translateY(-10px);
    border-color: var(--primary);
}

.feature-item i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-item h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-item p {
    color: var(--text-dim);
    font-size: 0.95rem;
}

section {
    padding: 8rem 8% 4rem;
}

.section-title {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    color: var(--text-dim);
    margin-bottom: 5rem;
    font-size: 1.1rem;
}

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

.product-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 35px;
    padding: 1.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    background: var(--glass);
    border-color: var(--primary);
    transform: scale(1.02);
}

.product-image-container {
    width: 100%;
    height: 220px;
    border-radius: 25px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    background: #111;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.product-card:hover img {
    transform: scale(1.1);
}

.product-info h4 {
    font-size: 1.6rem;
    margin-bottom: 0.8rem;
    font-family: 'Outfit', sans-serif;
}

.product-info p {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    min-height: 3rem;
}

.product-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

.add-cart-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.add-cart-btn:hover {
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 0 20px var(--primary-glow);
}

.testimonials {
    padding: 8rem 8%;
    background: var(--bg-surface);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.testimonial-card {
    background: var(--glass);
    padding: 3rem;
    border-radius: 40px;
    border: 1px solid var(--border);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 8rem;
    font-family: serif;
    color: var(--border);
    line-height: 1;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.user-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary);
}

footer {
    padding: 6rem 8% 3rem;
    background: #000;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 4rem;
    margin-bottom: 5rem;
}

.footer-logo {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: white;
}

.footer-about p {
    color: var(--text-dim);
    max-width: 300px;
}

.footer-links h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    color: var(--text-dim);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.newsletter h4 {
    margin-bottom: 1.5rem;
}

.newsletter-box {
    display: flex;
    background: var(--card-bg);
    border: 1px solid var(--border);
    padding: 0.5rem;
    border-radius: 100px;
}

.newsletter-box input {
    background: transparent;
    border: none;
    padding: 0.8rem 1.5rem;
    color: white;
    width: 100%;
    outline: none;
}

.newsletter-box button {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 100px;
    cursor: pointer;
    font-weight: 600;
}

.bottom-footer {
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    color: var(--text-dim);
    font-size: 0.9rem;
}

.social-icons {
    display: flex;
    gap: 1.5rem;
}

.social-icons a {
    color: white;
    font-size: 1.2rem;
    transition: var(--transition);
}

.social-icons a:hover {
    color: var(--primary);
    transform: translateY(-5px);
}

.nav-icons div {
    cursor: pointer;
}

.cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 400px;
    height: 100vh;
    background: var(--bg-surface);
    border-left: 1px solid var(--border);
    z-index: 2000;
    transition: var(--transition);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
}

.cart-sidebar.open {
    right: 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
}

.cart-header h2 {
    font-size: 1.5rem;
}

.close-cart {
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-dim);
    transition: var(--transition);
}

.close-cart:hover {
    color: var(--primary);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    margin-bottom: 2rem;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.cart-item-info p {
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

.remove-item {
    color: #ff4444;
    cursor: pointer;
    font-size: 0.9rem;
}

.cart-footer {
    border-top: 1px solid var(--border);
    padding-top: 1.5rem;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: #e64500;
    transform: translateY(-2px);
}

.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1999;
    display: none;
    backdrop-filter: blur(5px);
}

.cart-overlay.show {
    display: block;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .hero h1 { font-size: 4rem; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero h1 { font-size: 3.2rem; }
    .footer-content { grid-template-columns: 1fr; }
}
