/* === CSS RESET & BASE === */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Premium Dark Theme: Deep Jewel Palette */
  --bg-dark: #05070a;
  --bg-card: rgba(13, 17, 23, 0.7);
  --accent: #ff4d94; /* Jewel Pink/Candy */
  --accent-glow: rgba(255, 77, 148, 0.5);
  --text: #f8fafc;
  --text-muted: #94a3b8;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-glass: 0 8px 32px 0 rgba(0,0,0,0.4);
  --font-heading: 'Clash Grotesk', sans-serif;
  --font-body: 'Archivo', sans-serif;
}

body, html {
    overflow-x: clip;
    width: 100%;
    max-width: 100vw;
    background: var(--bg-dark);
    color: var(--text);
    font-family: var(--font-body);
    line-height: 1.6;
    scroll-behavior: smooth;
}

h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.1;
}

img { max-width: 100%; height: auto; display: block; border-radius: var(--radius-md); object-fit: cover; }
a { text-decoration: none; color: inherit; transition: 0.3s; }

/* === STRUCTURAL BASELINES === */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 5%;
    width: 100%;
}

section {
    padding: 120px 0;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    section { padding: 80px 0; }
}

/* === PREMIUM UI BLOCKS === */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-glass);
}

.glow-border {
    position: relative;
    border: 1px solid var(--glass-border);
}

.glow-border::after {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(45deg, transparent, var(--accent), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    animation: border-glow 4s linear infinite;
}

@keyframes border-glow {
    0% { filter: hue-rotate(0deg); opacity: 0.5; }
    50% { opacity: 1; }
    100% { filter: hue-rotate(360deg); opacity: 0.5; }
}

/* === BUTTONS === */
.btn-primary {
    background: linear-gradient(135deg, var(--accent), #7d2ae8);
    color: #fff;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: rotate(45deg);
    transition: 0.5s;
    pointer-events: none;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px -10px var(--accent-glow);
}

/* === NAVIGATION === */
.sweet-nav {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: all 0.4s ease;
}

.sweet-nav.scrolled {
    background: rgba(5, 7, 10, 0.85);
    backdrop-filter: blur(15px);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
}

.mobile-toggle {
    display: none;
    font-size: 2rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .mobile-toggle {
        display: block;
    }
}

/* === HERO SECTION === */
.bonanza-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #1a1033 0%, #0c081a 30%, #05070a 70%);
    overflow: hidden;
    padding-top: 100px;
}

.hero-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle at center, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.4;
    filter: blur(80px);
    z-index: -1;
}

.hero-card {
    text-align: center;
    max-width: 900px;
}

.hero-icon-wrapper {
    margin-bottom: 2rem;
    display: inline-block;
}

.hero-main-title {
    font-size: clamp(2.5rem, 8vw, 5.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(180deg, #fff 0%, #888 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 30px rgba(255,255,255,0.1));
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 100px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.hero-ctas {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* === GALLERY === */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

.bonanza-gallery {
    position: relative;
    min-height: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    position: absolute;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.gallery-item.active {
    opacity: 1;
    pointer-events: auto;
}

.gallery-img {
    max-height: 550px;
    width: auto;
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.slider-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    left: 0;
    padding: 0 20px;
    pointer-events: none;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border: 1px solid var(--glass-border);
    transition: 0.3s;
    pointer-events: auto;
}

.slider-btn:hover {
    background: var(--accent);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: var(--accent);
    width: 24px;
    border-radius: 4px;
}

/* === HOW IT WORKS === */
.step-row {
    display: flex;
    align-items: center;
    gap: 5%;
    margin-bottom: 120px;
}

.step-row:nth-child(even) {
    flex-direction: row-reverse;
}

.step-content {
    flex: 0 1 35%;
}

.step-visual {
    flex: 0 1 60%;
    display: flex;
    justify-content: center;
}

.step-number {
    font-size: 3rem;
    font-family: var(--font-heading);
    color: var(--accent);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.step-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.step-desc {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .step-row, .step-row:nth-child(even) {
        flex-direction: column;
        text-align: center;
        gap: 40px;
    }
}

/* === BENTO FEATURES === */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 32px;
}

.bento-card {
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.bento-card:hover {
    background: rgba(255,255,255,0.06);
    transform: translateY(-8px);
}

.bento-card.large {
    grid-column: span 2;
    background: linear-gradient(135deg, rgba(255, 77, 148, 0.1), rgba(125, 42, 232, 0.1));
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

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

.feature-description {
    color: var(--text-muted);
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-card.large {
        grid-column: span 1;
    }
}

/* === STATS === */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4rem;
    text-align: center;
}

.stat-item {
    flex: 1 1 250px;
}

.stat-number {
    font-size: clamp(3rem, 8vw, 6rem);
    font-family: var(--font-heading);
    color: var(--accent);
    display: block;
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

/* === REVIEWS === */
.reviews-summary {
    text-align: center;
    margin-bottom: 80px;
}

.aggregate-badge {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.rating-score {
    font-size: 4rem;
    font-weight: 800;
    color: var(--text);
}

.rating-stars {
    color: #ffd700;
    font-size: 1.5rem;
    letter-spacing: 4px;
}

.bars-chart {
    max-width: 400px;
    margin: 30px auto;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.bar-label { font-size: 0.8rem; min-width: 20px; }
.bar-track {
    height: 6px;
    flex: 1;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}
.bar-fill {
    height: 100%;
    background: var(--accent);
    border-radius: 3px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.review-card {
    padding: 2rem;
    border-radius: var(--radius-md);
    background: var(--glass-bg);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1.5rem;
}

.user-initials {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
}

.review-text {
    font-style: italic;
    color: var(--text-muted);
}

/* === FOOTER === */
.contextual-footer {
    border-top: 1px solid var(--glass-border);
    padding-top: 80px;
    padding-bottom: 40px;
}

.footer-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 60px;
}

.mini-card {
    padding: 1.5rem;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.mini-card-tag {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 10px;
    display: block;
}

.mini-card-title {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 4rem;
    padding-bottom: 60px;
}

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

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

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

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

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

.newsletter-form {
    display: flex;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 0.8rem;
    color: #fff;
}

.copyright {
    padding-top: 40px;
    border-top: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
}

.social-btn:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-3px);
}

@media (max-width: 900px) {
    .footer-main {
        grid-template-columns: 1fr 1fr;
    }
    .footer-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .footer-main {
        grid-template-columns: 1fr;
    }
    .copyright {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

/* === ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.17, 0.85, 0.438, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === OVERLAP EFFECT === */
.overlap-section {
    margin-top: -60px;
    z-index: 2;
}

.section-icon-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 40vw;
    opacity: 0.02;
    z-index: -1;
    pointer-events: none;
}
