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

html {
    scroll-behavior: smooth;
}

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

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Page Loader */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.loader-content {
    text-align: center;
}

.loader-logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    animation: fadeInOut 2s ease-in-out infinite;
}

@keyframes fadeInOut {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 1;
    }
}

.loader-bar {
    width: 200px;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
    animation: loading 1.5s ease-in-out infinite;
}

@keyframes loading {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(350%);
    }
}

/* Scroll Progress Bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-hover));
    z-index: 9998;
    transform-origin: left;
    transform: scaleX(0);
    transition: transform 0.1s ease-out;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-primary);
    font-family: var(--font-heading);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-base);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    font-family: inherit;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gold-text {
    color: var(--accent-gold);
}

.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 50px;
    font-weight: 500;
    font-size: var(--text-base);
    transition: var(--transition-base);
    text-align: center;
}

.btn-primary {
    background-color: var(--accent-gold);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4);
}

.btn-outline {
    border: 1px solid var(--text-secondary);
    color: var(--text-primary);
}

.btn-outline:hover {
    border-color: var(--text-primary);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(15, 15, 15, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -1px;
}

.nav-links {
    display: flex;
    gap: var(--space-md);
}

.nav-links a {
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: 500;
}

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

.nav-cta {
    padding: 8px 24px;
    font-size: var(--text-sm);
}

.menu-toggle {
    display: none;
    /* Mobile only */
    flex-direction: column;
    gap: 6px;
    background: transparent;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background-color: var(--text-primary);
    transition: var(--transition-base);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    padding-top: var(--header-height);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
}

.hero-content {
    flex: 1;
    z-index: 2;
}

.hero-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img {
    width: 100%;
    max-width: 500px;
    animation: float 6s ease-in-out infinite;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

@keyframes float {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0);
    }
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    background-color: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    border-radius: 20px;
    font-size: var(--text-xs);
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    line-height: 1.1;
}

.hero-desc {
    font-size: var(--text-lg);
    margin-bottom: var(--space-md);
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
}

/* Features Section */
.features-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-primary);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-header h2 {
    font-size: var(--text-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-md);
}

.feature-card {
    background-color: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: var(--transition-base);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
}

.icon-box {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

/* Showcase Section */
.showcase-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-primary);
}

.showcase-item {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.showcase-item.reverse {
    flex-direction: row-reverse;
}

.showcase-text {
    flex: 1;
}

.showcase-text h3 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-sm);
}

.showcase-img {
    flex: 1;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
}

.showcase-img img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.showcase-img:hover img {
    transform: scale(1.05);
}

/* Footer */
.footer-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 100px;
    /* Space for mobile floating bar */
}

.footer-content {
    text-align: center;
}

.footer-cta {
    margin-bottom: var(--space-lg);
}

.footer-cta h2 {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-xs);
}

.footer-links {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    font-size: var(--text-sm);
    color: var(--text-muted);
}

.socials {
    display: flex;
    gap: var(--space-sm);
}

/* Specs Section */
.specs-section {
    padding: var(--space-xl) 0;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.spec-item {
    text-align: center;
    padding: var(--space-md);
    background-color: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.spec-item:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.spec-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-xs);
}

.spec-item h4 {
    color: var(--accent-gold);
    font-size: var(--text-lg);
    margin-bottom: var(--space-xs);
}

.spec-item p {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Reviews Section */
.reviews-section {
    padding: var(--space-xl) 0;
    background-color: var(--bg-primary);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.review-card {
    background-color: var(--bg-card);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition-base);
}

.review-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.stars {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.review-text {
    font-size: var(--text-base);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    color: var(--text-secondary);
}

.reviewer {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.reviewer .name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: var(--text-base);
}

.reviewer .title {
    font-size: var(--text-sm);
    color: var(--text-muted);
}

/* Enhanced hero glow effect */
.hero-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Parallax effect for showcase images */
.showcase-img {
    position: relative;
    overflow: hidden;
}

.showcase-img::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.showcase-img:hover::before {
    opacity: 1;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-hover));
    color: var(--bg-primary);
    border: none;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 998;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

/* Mobile Sticky Bar (Hidden by default on Desktop) */
.mobile-sticky-bar {
    display: none;
}