/* =============================================
   JUPITER PLANET XXL — Homepage Styles
   Design 1: Dark Luxury Gold
   ============================================= */

/* ── HERO SECTION ── */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: var(--navbar-height);
}

.hero__bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    background-size: 400% 400%;
    animation: heroGradient 15s ease infinite;
    z-index: 0;
}

@keyframes heroGradient {
    0%   { background-position: 0% 50%; }
    25%  { background-position: 50% 0%; }
    50%  { background-position: 100% 50%; }
    75%  { background-position: 50% 100%; }
    100% { background-position: 0% 50%; }
}

.hero__bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 70% 60%, rgba(212,168,83,0.06) 0%, transparent 60%);
}

.hero__container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    min-height: calc(100vh - var(--navbar-height));
    padding: var(--space-3xl) 0;
}

/* Hero Content (Left) */
.hero__content {
    animation: fadeInUp 1s ease 0.2s both;
}

.hero__badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1.25rem;
    background: var(--color-gold-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: var(--fs-xs);
    font-weight: var(--fw-semibold);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    margin-bottom: var(--space-xl);
}

.hero__badge i {
    animation: pulse 2s ease infinite;
}

.hero__title {
    font-size: clamp(2.5rem, 5vw, var(--fs-hero));
    font-weight: var(--fw-extrabold);
    line-height: 1.1;
    margin-bottom: var(--space-lg);
    color: var(--color-text-heading);
}

.hero__title span {
    background: var(--gradient-gold);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero__description {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    max-width: 500px;
    margin-bottom: var(--space-xl);
}

.hero__buttons {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
}

.hero__trust {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.hero__trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.hero__trust-item i {
    color: var(--color-gold);
    font-size: var(--fs-base);
}

/* Hero Visual (Right) */
.hero__visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeInRight 1s ease 0.5s both;
}

.hero__visual-main {
    width: 100%;
    max-width: 480px;
    aspect-ratio: 4 / 5;
    background: linear-gradient(145deg, #1a1510, #0d0b08);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero__visual-main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 30%, rgba(212,168,83,0.12) 0%, transparent 60%);
}

.hero__visual-main::after {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 5rem;
    color: var(--color-gold);
    opacity: 0.15;
}

.hero__visual-badge {
    position: absolute;
    bottom: -20px;
    right: -20px;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md) var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    box-shadow: var(--shadow-lg);
    animation: float 4s ease-in-out infinite;
}

.hero__visual-badge i {
    color: var(--color-gold);
    font-size: var(--fs-xl);
}

.hero__visual-badge-text {
    display: flex;
    flex-direction: column;
}

.hero__visual-badge-number {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    line-height: 1;
}

.hero__visual-badge-label {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to   { opacity: 1; transform: translateX(0); }
}

/* ── STATS SECTION ── */
.stats {
    padding: var(--space-3xl) 0;
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.3;
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.stats__item {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

.stats__item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: var(--color-border);
}

.stats__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-md);
    background: var(--color-gold-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-gold);
    font-size: var(--fs-xl);
    transition: all var(--transition-base);
}

.stats__item:hover .stats__icon {
    transform: scale(1.1);
    border-color: var(--color-gold);
    box-shadow: var(--shadow-gold);
}

.stats__number {
    font-family: var(--font-heading);
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: var(--space-sm);
}

.stats__label {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
}

/* ── PRODUCTS SECTION ── */
.products {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
}

.products__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.product-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-cubic);
    position: relative;
    group: product;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.product-card__image {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
}

.product-card__image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: rgba(255,255,255,0.08);
    transition: transform var(--transition-slow);
}

.product-card:hover .product-card__image-placeholder {
    transform: scale(1.05);
}

.product-card__image-placeholder--1 {
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
}

.product-card__image-placeholder--2 {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
}

.product-card__image-placeholder--3 {
    background: linear-gradient(145deg, #f0f0f0, #d0d0d0);
    color: rgba(0,0,0,0.08);
}

.product-card__image-placeholder--4 {
    background: linear-gradient(145deg, #1a1a30, #0f0f20);
}

.product-card__image-placeholder--5 {
    background: linear-gradient(145deg, #1a2a1a, #0f1a0f);
}

.product-card__image-placeholder--6 {
    background: linear-gradient(145deg, #2a1a1a, #1a0f0f);
}

.product-card__badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 0.3rem 0.75rem;
    background: var(--gradient-gold);
    color: var(--color-bg);
    font-size: var(--fs-xs);
    font-weight: var(--fw-bold);
    border-radius: var(--radius-sm);
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    z-index: 2;
}

.product-card__actions {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    z-index: 2;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}

.product-card__action-btn {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-text);
    font-size: var(--fs-sm);
    cursor: pointer;
    transition: all var(--transition-base);
    text-decoration: none;
}

.product-card__action-btn:hover {
    background: var(--color-gold);
    color: var(--color-bg);
    border-color: var(--color-gold);
}

.product-card__body {
    padding: var(--space-lg);
}

.product-card__category {
    font-size: var(--fs-xs);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: var(--ls-wider);
    font-weight: var(--fw-semibold);
    margin-bottom: var(--space-xs);
}

.product-card__name {
    font-family: var(--font-heading);
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-sm);
    transition: color var(--transition-base);
}

.product-card:hover .product-card__name {
    color: var(--color-gold);
}

.product-card__price {
    display: flex;
    align-items: baseline;
    gap: var(--space-sm);
}

.product-card__price-current {
    font-size: var(--fs-lg);
    font-weight: var(--fw-bold);
    color: var(--color-gold);
}

.product-card__price-old {
    font-size: var(--fs-sm);
    color: var(--color-text-dark);
    text-decoration: line-through;
}

.products__cta {
    text-align: center;
    margin-top: var(--space-3xl);
}

/* ── SERVICES SECTION ── */
.services {
    padding: var(--space-4xl) 0;
    background: var(--color-bg-alt);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    text-align: center;
    transition: all var(--transition-cubic);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    border-radius: 0 0 var(--radius-full) var(--radius-full);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.service-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    background: var(--color-gold-subtle);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    color: var(--color-gold);
    font-size: var(--fs-2xl);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--gradient-gold);
    color: var(--color-bg);
    border-color: transparent;
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-gold-lg);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: var(--fs-xl);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-md);
}

.service-card__text {
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-lg);
}

.service-card__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-gold);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: var(--ls-wide);
    transition: all var(--transition-base);
}

.service-card__link i {
    transition: transform var(--transition-base);
}

.service-card__link:hover {
    color: var(--color-gold-light);
}

.service-card__link:hover i {
    transform: translateX(5px);
}

/* ── TESTIMONIALS SECTION ── */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--color-bg);
    position: relative;
}

.testimonials__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-cubic);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-lg), var(--shadow-gold);
}

.testimonial-card__stars {
    display: flex;
    gap: 3px;
    margin-bottom: var(--space-lg);
}

.testimonial-card__stars i {
    color: var(--color-gold);
    font-size: var(--fs-sm);
}

.testimonial-card__quote {
    font-size: var(--fs-base);
    color: var(--color-text);
    line-height: var(--lh-relaxed);
    margin-bottom: var(--space-xl);
    font-style: italic;
    position: relative;
    padding-left: var(--space-lg);
}

.testimonial-card__quote::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -5px;
    font-family: var(--font-heading);
    font-size: var(--fs-3xl);
    color: var(--color-gold);
    opacity: 0.5;
    line-height: 1;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

.testimonial-card__avatar {
    width: 48px;
    height: 48px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: var(--fs-md);
    font-weight: var(--fw-bold);
    color: var(--color-bg);
    flex-shrink: 0;
}

.testimonial-card__info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.testimonial-card__name {
    font-size: var(--fs-sm);
    font-weight: var(--fw-semibold);
    color: var(--color-text-heading);
}

.testimonial-card__role {
    font-size: var(--fs-xs);
    color: var(--color-text-muted);
}

/* ── CTA SECTION ── */
.cta {
    padding: var(--space-4xl) 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1a1510 0%, #2a1f10 50%, #1a1510 100%);
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 50%, rgba(212,168,83,0.12) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(212,168,83,0.08) 0%, transparent 50%);
}

.cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.4;
}

.cta__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--space-xl);
    background: var(--color-gold-subtle);
    border: 1px solid var(--color-border);
    border-radius: 50%;
    color: var(--color-gold);
    font-size: var(--fs-2xl);
    animation: goldGlow 3s ease infinite;
}

.cta__title {
    font-size: var(--fs-4xl);
    font-weight: var(--fw-bold);
    color: var(--color-text-heading);
    margin-bottom: var(--space-md);
}

.cta__title span {
    color: var(--color-gold);
}

.cta__text {
    font-size: var(--fs-md);
    color: var(--color-text-muted);
    margin-bottom: var(--space-2xl);
    line-height: var(--lh-relaxed);
}

.cta__buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.cta__features {
    display: flex;
    justify-content: center;
    gap: var(--space-2xl);
    margin-top: var(--space-2xl);
    flex-wrap: wrap;
}

.cta__feature {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: var(--fs-sm);
    color: var(--color-text-muted);
}

.cta__feature i {
    color: var(--color-gold);
}

/* ── RESPONSIVE — HOME ── */
@media (max-width: 1024px) {
    .hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: var(--space-2xl);
    }

    .hero__description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero__buttons {
        justify-content: center;
    }

    .hero__trust {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero__visual-main {
        max-width: 350px;
        margin: 0 auto;
    }

    .hero__visual-badge {
        bottom: -10px;
        right: 10px;
    }

    .products__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .services__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats__grid {
        gap: var(--space-md);
    }
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: calc(var(--navbar-height) + var(--space-xl));
        padding-bottom: var(--space-xl);
    }

    .hero__container {
        min-height: auto;
        padding: var(--space-xl) 0;
    }

    .hero__title {
        font-size: clamp(2rem, 6vw, 3rem);
    }

    .hero__visual {
        order: -1;
    }

    .hero__visual-main {
        max-width: 280px;
        aspect-ratio: 3 / 4;
    }

    .stats__grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .stats__item:not(:last-child)::after {
        right: 20%;
        top: auto;
        bottom: 0;
        height: 1px;
        width: 60%;
    }

    .products__grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }

    .services__grid {
        grid-template-columns: 1fr;
    }

    .testimonials__grid {
        grid-template-columns: 1fr;
    }

    .cta__title {
        font-size: var(--fs-3xl);
    }

    .cta__features {
        gap: var(--space-md);
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero__badge {
        font-size: 0.65rem;
    }

    .hero__buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero__buttons .btn {
        width: 100%;
        max-width: 280px;
    }

    .hero__trust {
        flex-direction: column;
        gap: var(--space-sm);
    }

    .stats__number {
        font-size: var(--fs-3xl);
    }

    .product-card__body {
        padding: var(--space-md);
    }

    .service-card {
        padding: var(--space-xl);
    }

    .testimonial-card {
        padding: var(--space-xl);
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta__buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}
