@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700&family=Poppins:wght@300;400;600;700&display=swap');

:root {
    --bg-color: #0f0f0f;
    --primary-purple: #7b2cff;
    --primary-purple-hover: #9d4edd;
    --white: #ffffff;
    --gray-text: #aaaaaa;
    --gray-border: #2a2a2a;
    --radius: 12px;
    --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --glass-bg: rgba(15, 15, 15, 0.7);
    --glass-blur: blur(15px);
}

/* Base Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.brand-font {
    font-family: 'Poppins', sans-serif;
}

/* Custom Cursor */
.custom-cursor {
    display: none !important;
}

/* Grainy Texture Overlay */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://www.transparenttextures.com/patterns/carbon-fibre.png");
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

/* Layout Elements */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: #000;
    z-index: 1000;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8%;
}

.header.scrolled {
    height: 60px;
}

.header-left {
    flex: 1;
}

.logo-text {
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--white);
    font-size: 1.2rem;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.logo-img {
    height: 50px;
    filter: brightness(1.2);
}

.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

/* Hamburger */
.hamburger {
    width: 28px;
    height: 18px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1100;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Menu Overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    transition: var(--transition);
}

.menu-overlay nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.menu-overlay.active {
    right: 0;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 30px;
    font-size: 3rem;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition);
}

.menu-close:hover {
    color: var(--primary-purple);
    transform: rotate(90deg);
}

.menu-item {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 4px;
    padding: 10px;
}

.menu-item:hover {
    color: var(--primary-purple);
    transform: scale(1.05);
}

.production-notice {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

/* Hero */
.hero {
    height: 100vh;
    width: 100%;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 15, 15, 0.4), rgba(15, 15, 15, 0.9));
}

.hero-content {
    text-align: center;
    z-index: 10;
    animation: fadeInDown 1.5s ease;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 0.8rem;
    color: var(--gray-text);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    padding: 16px 40px;
    background: var(--primary-purple);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
    cursor: pointer;
}

.btn:hover {
    background: var(--primary-purple-hover);
    box-shadow: 0 0 20px rgba(123, 44, 255, 0.4);
    transform: translateY(-2px);
}

.btn-large {
    font-size: 1.2rem;
    padding: 20px 60px;
}

/* Swiper Section */
.swiper-section {
    background: #0a0a0a;
}

.swiper-container {
    width: 100%;
    padding: 50px 0;
}

.swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: var(--radius);
    filter: grayscale(0.2);
    transition: var(--transition);
    max-height: 80vh; /* Responsive height limit */
}

@media (min-width: 1024px) {
    .swiper-slide img {
        max-height: 650px; /* Refined desktop height */
    }
}

.swiper-slide-active img {
    filter: grayscale(0);
    transform: scale(1.05);
}

/* Text Banner */
.text-banner {
    text-align: center;
    background: var(--bg-color);
}

.text-banner h2 {
    font-size: 3rem;
    max-width: 800px;
    margin: 0 auto;
    margin-bottom: 40px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: var(--bg-color);
    border: 1px solid var(--gray-border);
    padding: 40px;
    border-radius: var(--radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Checkout Page Specific Styles */
.checkout-main {
    padding-top: 120px;
}

.progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 50px;
    position: relative;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.progress-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 2;
}

.step-num {
    width: 30px;
    height: 30px;
    background: var(--gray-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    font-weight: bold;
}

.progress-step.active .step-num {
    background: var(--primary-purple);
}

.progress-line {
    position: absolute;
    top: 15px;
    left: 10%;
    width: 80%;
    height: 2px;
    background: var(--gray-border);
    z-index: 1;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }
}

.color-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 15px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    vertical-align: middle;
}

.color-dot[data-color="Furta-cor"] {
    background: linear-gradient(135deg, #ff00ff, #00ffff) !important;
}

.color-dot.selected {
    border-color: var(--white);
    transform: scale(1.3);
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 30px 0;
}

.qty-btn {
    width: 40px;
    height: 40px;
    background: var(--gray-border);
    border: none;
    color: var(--white);
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
}

.cart-list {
    margin-top: 40px;
    border-top: 1px solid var(--gray-border);
    padding-top: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(42, 42, 42, 0.3);
    border-radius: 8px;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translate(-50%, 0);
    }

    40% {
        transform: translate(-50%, -10px);
    }

    60% {
        transform: translate(-50%, -5px);
    }
}

/* Loading */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--gray-border);
    border-top: 4px solid var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Utils */
.hidden {
    display: none !important;
}