@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    --bg: #090a0f;
    --bg-soft: #101118;
    --card: #12141c;
    --card-hover: #171a23;
    --text: #f5f7fb;
    --muted: #969baa;
    --border: rgba(255,255,255,0.08);
    --accent: #8b5cf6;
    --accent-light: #a78bfa;
    --accent-dark: #6d28d9;
    --white: #ffffff;
    --shadow: 0 25px 70px rgba(0,0,0,0.35);
    --radius: 24px;
    --transition: 0.3s ease;
}

body.light {
    --bg: #f5f6fa;
    --bg-soft: #ffffff;
    --card: #ffffff;
    --card-hover: #f0f1f5;
    --text: #11131a;
    --muted: #656a78;
    --border: rgba(0,0,0,0.08);
    --shadow: 0 25px 60px rgba(20,20,40,0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background var(--transition), color var(--transition);
}

button,
input {
    font: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: auto;
}

.page-loader {
    position: fixed;
    inset: 0;
    background: var(--bg);
    display: grid;
    place-items: center;
    z-index: 9999;
    animation: loaderOut 0.7s ease 1s forwards;
}

.loader-ring {
    width: 45px;
    height: 45px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes loaderOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(9,10,15,0.75);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
}

body.light .header {
    background: rgba(255,255,255,0.8);
}

.nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.logo {
    font-size: 25px;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.logo span {
    color: var(--accent-light);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 35px;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.icon-btn,
.cart-btn {
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
    transition: all var(--transition);
}

.icon-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}

.icon-btn:hover,
.cart-btn:hover {
    border-color: var(--accent);
    transform: translateY(-2px);
}

.cart-btn {
    height: 42px;
    padding: 0 14px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.cart-count {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.hero {
    min-height: 100vh;
    padding: 150px 0 90px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(139,92,246,0.15), transparent 65%);
    top: -200px;
    right: -150px;
    pointer-events: none;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--accent-light);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 22px;
}

.eyebrow span {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--accent);
}

.hero h1 {
    font-size: clamp(55px, 7vw, 88px);
    line-height: 0.98;
    letter-spacing: -5px;
    max-width: 700px;
}

.hero h1 span {
    display: block;
    color: var(--accent-light);
}

.hero-description {
    max-width: 560px;
    color: var(--muted);
    font-size: 17px;
    margin: 28px 0;
}

.hero-price {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.price {
    font-size: 32px;
    font-weight: 800;
}

.old-price {
    color: var(--muted);
    text-decoration: line-through;
}

.discount {
    padding: 5px 9px;
    border-radius: 6px;
    background: rgba(139,92,246,0.14);
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-btn,
.secondary-btn {
    min-height: 52px;
    padding: 0 22px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 700;
    font-size: 14px;
    transition: all var(--transition);
}

.primary-btn {
    background: var(--accent);
    color: white;
    box-shadow: 0 12px 30px rgba(139,92,246,0.25);
}

.primary-btn:hover {
    background: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 18px 35px rgba(139,92,246,0.35);
}

.secondary-btn {
    border: 1px solid var(--border);
    background: var(--card);
    color: var(--text);
}

.secondary-btn:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.trust-row {
    display: flex;
    align-items: center;
    gap: 25px;
    margin-top: 45px;
}

.trust-item {
    display: flex;
    flex-direction: column;
}

.trust-item strong {
    font-size: 19px;
}

.trust-item span {
    color: var(--muted);
    font-size: 11px;
    margin-top: 2px;
}

.trust-divider {
    width: 1px;
    height: 30px;
    background: var(--border);
}

.product-visual {
    min-height: 550px;
    position: relative;
    display: grid;
    place-items: center;
}

.glow {
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,0.28), transparent 65%);
    filter: blur(20px);
}

.product-circle {
    width: 420px;
    height: 420px;
    border-radius: 50%;
    border: 1px solid rgba(167,139,250,0.15);
    background: radial-gradient(circle, rgba(139,92,246,0.1), transparent 65%);
    position: absolute;
}

.product-image-wrap {
    width: 520px;
    height: 520px;
    position: relative;
    display: grid;
    place-items: center;
}

.product-image {
    width: 90%;
    max-width: 500px;
    position: relative;
    z-index: 2;
    object-fit: contain;
    filter: drop-shadow(0 35px 40px rgba(0,0,0,0.5));
    animation: productFloat 5s ease-in-out infinite;
    transition: transform 0.5s ease;
}

.product-image:hover {
    transform: scale(1.04) rotate(-2deg);
}

@keyframes productFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.product-badge {
    position: absolute;
    top: 60px;
    right: 15px;
    z-index: 5;
    background: var(--card);
    border: 1px solid var(--border);
    padding: 9px 13px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    box-shadow: var(--shadow);
}

.product-badge span {
    color: #fbbf24;
    margin-right: 4px;
}

.floating-card {
    position: absolute;
    bottom: 55px;
    left: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 13px 16px;
    background: rgba(18,20,28,0.88);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: var(--shadow);
    animation: cardFloat 4s ease-in-out infinite;
}

body.light .floating-card {
    background: rgba(255,255,255,0.9);
}

.floating-icon {
    width: 35px;
    height: 35px;
    display: grid;
    place-items: center;
    background: rgba(139,92,246,0.15);
    border-radius: 10px;
    color: var(--accent-light);
}

.floating-card strong,
.floating-card small {
    display: block;
}

.floating-card strong {
    font-size: 12px;
}

.floating-card small {
    color: var(--muted);
    font-size: 10px;
}

@keyframes cardFloat {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.features,
.reviews {
    padding: 110px 0;
    background: var(--bg-soft);
}

.section-heading {
    max-width: 650px;
    margin-bottom: 55px;
}

.section-heading.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.section-label {
    color: var(--accent-light);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
}

.section-heading h2,
.product-info h2,
.cta h2 {
    margin-top: 12px;
    font-size: clamp(38px, 5vw, 58px);
    line-height: 1.05;
    letter-spacing: -3px;
}

.section-heading h2 span,
.product-info h2 span,
.cta h2 span {
    color: var(--accent-light);
}

.section-heading p,
.product-info > p {
    color: var(--muted);
    margin-top: 17px;
    font-size: 15px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.feature-card {
    padding: 30px 25px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--card);
    transition: all var(--transition);
}

.feature-card:hover {
    transform: translateY(-7px);
    border-color: rgba(139,92,246,0.35);
    background: var(--card-hover);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: rgba(139,92,246,0.12);
    color: var(--accent-light);
    font-size: 20px;
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.product-section {
    padding: 120px 0;
}

.product-section-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 90px;
}

.product-showcase {
    height: 550px;
    position: relative;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at center,
            rgba(139,92,246,0.17),
            transparent 60%
        ),
        var(--card);
    border: 1px solid var(--border);
}

.showcase-label {
    position: absolute;
    top: 25px;
    left: 25px;
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--muted);
}

.showcase-image {
    width: 85%;
    max-width: 450px;
    object-fit: contain;
    filter: drop-shadow(0 30px 30px rgba(0,0,0,0.5));
    animation: productFloat 5s ease-in-out infinite;
}

.product-info {
    max-width: 520px;
}

.color-selection {
    margin-top: 35px;
}

.selection-title {
    display: block;
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 14px;
}

.selection-title strong {
    color: var(--text);
    margin-left: 4px;
}

.color-options {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 3px solid transparent;
    outline: 2px solid transparent;
    outline-offset: 3px;
    transition: all var(--transition);
}

.color-option.active {
    outline-color: var(--accent);
}

.color-option:hover {
    transform: scale(1.1);
}

.midnight {
    background: #171923;
}

.silver {
    background: #c9cdd5;
}

.sand {
    background: #c7b89b;
}

.purchase-box {
    margin-top: 35px;
    padding: 22px;
    border: 1px solid var(--border);
    border-radius: 20px;
    background: var(--card);
}

.quantity {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
}

.quantity-control {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px;
    border: 1px solid var(--border);
    border-radius: 10px;
}

.quantity-control button {
    width: 30px;
    height: 30px;
    background: transparent;
    color: var(--text);
    border-radius: 7px;
    font-size: 18px;
}

.quantity-control button:hover {
    background: var(--card-hover);
}

.quantity-control span {
    min-width: 20px;
    text-align: center;
    color: var(--text);
    font-weight: 700;
}

.purchase-bottom {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.purchase-bottom small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.purchase-bottom strong {
    display: block;
    font-size: 25px;
    margin-top: 2px;
}

.purchase-bottom .primary-btn {
    min-height: 46px;
}

.review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.review-card {
    padding: 30px;
    border-radius: var(--radius);
    background: var(--card);
    border: 1px solid var(--border);
}

.stars {
    color: #fbbf24;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 18px;
}

.review-card > p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.8;
    min-height: 80px;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.avatar {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    background: rgba(139,92,246,0.15);
    color: var(--accent-light);
    border-radius: 50%;
    font-size: 11px;
    font-weight: 800;
}

.review-author strong,
.review-author span {
    display: block;
}

.review-author strong {
    font-size: 12px;
}

.review-author span {
    color: var(--muted);
    font-size: 10px;
    margin-top: 2px;
}

.cta {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.cta-content {
    padding: 55px;
    border-radius: 30px;
    background:
        radial-gradient(
            circle at 85% 50%,
            rgba(139,92,246,0.25),
            transparent 40%
        ),
        var(--card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.cta h2 {
    font-size: 45px;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 30px 0;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer p,
.footer-links {
    color: var(--muted);
    font-size: 11px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a:hover {
    color: var(--text);
}

.cart-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 1999;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(430px, 100%);
    height: 100vh;
    background: var(--bg-soft);
    border-left: 1px solid var(--border);
    z-index: 2000;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.22,1,0.36,1);
    display: flex;
    flex-direction: column;
}

.cart-drawer.active {
    transform: translateX(0);
}

.cart-header {
    padding: 28px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    border-bottom: 1px solid var(--border);
}

.cart-header h2 {
    font-size: 22px;
    margin-top: 3px;
}

.close-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 25px;
}

.close-btn:hover {
    border-color: var(--accent);
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.cart-item {
    display: flex;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
}

.cart-item-image {
    width: 75px;
    height: 75px;
    border-radius: 12px;
    object-fit: contain;
    background: var(--card);
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    font-size: 13px;
    margin-bottom: 4px;
}

.cart-item-color {
    color: var(--muted);
    font-size: 10px;
}

.cart-item-price {
    font-size: 13px;
    font-weight: 700;
    margin-top: 7px;
}

.cart-item-controls {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
}

.cart-item-controls button {
    width: 24px;
    height: 24px;
    border-radius: 6px;
    background: var(--card);
    color: var(--text);
    border: 1px solid var(--border);
}

.remove-item {
    color: #ef4444 !important;
    background: transparent !important;
    border: 0 !important;
    font-size: 17px;
}

.cart-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px;
}

.empty-icon {
    width: 65px;
    height: 65px;
    display: grid;
    place-items: center;
    background: var(--card);
    border-radius: 20px;
    font-size: 25px;
    margin-bottom: 18px;
}

.cart-empty h3 {
    font-size: 16px;
}

.cart-empty p {
    color: var(--muted);
    font-size: 12px;
    margin-top: 5px;
}

.cart-footer {
    padding: 24px;
    border-top: 1px solid var(--border);
}

.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-summary span {
    color: var(--muted);
    font-size: 13px;
}

.cart-summary strong {
    font-size: 23px;
}

.shipping-note {
    color: var(--muted);
    font-size: 10px;
    margin: 6px 0 17px;
}

.checkout-btn {
    width: 100%;
    height: 52px;
    border-radius: 12px;
    background: var(--accent);
    color: white;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.checkout-btn:hover {
    background: var(--accent-dark);
}

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 3000;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 18px;
    border-radius: 12px;
    background: var(--card);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s ease;
}

.toast.active {
    transform: translateY(0);
    opacity: 1;
}

.toast span {
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    background: #22c55e;
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.toast p {
    font-size: 12px;
}

@media (max-width: 1000px) {

    .hero-grid,
    .product-section-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .hero-content {
        text-align: center;
    }

    .eyebrow,
    .hero-actions,
    .trust-row {
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .product-info {
        max-width: 100%;
    }

    .product-showcase {
        height: 500px;
    }
}

@media (max-width: 700px) {

    .container {
        width: min(100% - 28px, 1180px);
    }

    .nav {
        height: 68px;
    }

    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 120px;
    }

    .hero h1 {
        font-size: 58px;
        letter-spacing: -4px;
    }

    .product-visual {
        min-height: 400px;
    }

    .product-image-wrap {
        width: 100%;
        height: 400px;
    }

    .product-circle {
        width: 300px;
        height: 300px;
    }

    .product-image {
        width: 100%;
    }

    .product-badge {
        top: 20px;
        right: 0;
    }

    .floating-card {
        bottom: 10px;
        left: 0;
    }

    .trust-row {
        gap: 14px;
    }

    .feature-grid,
    .review-grid {
        grid-template-columns: 1fr;
    }

    .product-showcase {
        height: 400px;
    }

    .showcase-image {
        width: 95%;
    }

    .purchase-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .purchase-bottom .primary-btn {
        width: 100%;
    }

    .cta-content {
        padding: 35px 25px;
        flex-direction: column;
        align-items: flex-start;
    }

    .cta h2 {
        font-size: 38px;
    }

    .cta-content .primary-btn {
        width: 100%;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}