/*
Theme Name: Candi Creations Theme
Author: THECOMISSION
Author URI: https://thecomissionsystem.com
Version: 2.0
Description: Custom WordPress theme for Candi Creations, created by THECOMISSION
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

*,*::before,*::after { margin:0; padding:0; box-sizing:border-box; }

:root {
  --bg: #0d0b1a;
  --bg-card: #141225;
  --bg-alt: #1a1730;
  --pink: #F7C6D9;
  --pink-light: #FDE4EC;
  --pink-glow: rgba(247,198,217,0.15);
  --purple: #c77dff;
  --lavender: #e0aaff;
  --text: #fff;
  --text-muted: #b8b5c8;
  --border: rgba(247,198,217,0.12);
  --radius: 16px;
  --font: 'DM Sans', -apple-system, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; }
.cc-nav img { max-width: none; height: auto; }

/* ═══════════ ANIMATIONS ═══════════ */
@keyframes fadeUp {
  from { opacity:0; transform:translateY(32px); }
  to { opacity:1; transform:translateY(0); }
}
.anim-up { animation: fadeUp .8s ease-out both; }

/* ═══════════ SPARKLES ═══════════ */
canvas#sparkles {
  position: fixed; inset:0; z-index:0; pointer-events:none;
}

/* ═══════════ NAV ═══════════ */
.cc-nav {
  position: fixed; top:0; left:0; right:0; z-index:100;
  background: rgba(13,11,26,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.cc-nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 68px;
}
.cc-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 20px; font-weight: 600;
  color: var(--text); text-decoration: none;
}
.cc-logo-avatar {
  width: 38px !important; height: 38px !important; border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
  box-shadow: 0 0 12px var(--pink-glow);
}
.cc-nav-links {
  display: flex; gap: 32px;
}
.cc-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color .2s; letter-spacing: 0.3px;
}
.cc-nav-links a:hover { color: var(--pink); }
.cc-nav-right { display: flex; align-items: center; gap: 16px; }
.cc-cart-btn {
  color: var(--text-muted); transition: color .2s; display:flex;
}
.cc-cart-btn:hover { color: var(--pink); }

/* Mobile menu toggle */
.cc-mobile-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.cc-mobile-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--text); transition: .3s;
}

/* ═══════════ HERO ═══════════ */
.cc-hero {
  position: relative;
  min-height: 100vh;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 100px 48px 60px;
  gap: 48px;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}
.cc-hero-bg {
  position: fixed; inset:0; z-index:-1;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(199,125,255,.06) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(247,198,217,.06) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(157,77,221,.04) 0%, transparent 50%),
    var(--bg);
}
.cc-hero-eyebrow {
  font-size: 13px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); margin-bottom: 20px; font-weight: 500;
}
.cc-hero h1 {
  font-family: var(--font-display); font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.1; color: var(--text); margin-bottom: 24px; font-weight: 700;
}
.cc-hero h1 span {
  background: linear-gradient(135deg, var(--pink), var(--lavender));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.cc-hero-sub {
  color: var(--text-muted); font-size: 17px; line-height: 1.7;
  margin-bottom: 36px; max-width: 440px;
}
.cc-hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.cc-hero-visual {
  display: flex; justify-content: center; align-items: center;
  position: relative;
}
.cc-hero-glow {
  position: absolute; width: 110%; height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-glow) 0%, rgba(199,125,255,.08) 40%, transparent 70%);
  filter: blur(30px);
  animation: pulse 4s ease-in-out infinite;
}
@keyframes pulse {
  0%,100% { opacity:.6; transform:scale(1); }
  50% { opacity:1; transform:scale(1.05); }
}
.cc-hero-image {
  width: 340px; height: 340px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(247,198,217,0.3);
  box-shadow: 0 0 60px var(--pink-glow), 0 20px 40px rgba(0,0,0,.3);
  position: relative; z-index: 1;
}

/* ═══════════ BUTTONS ═══════════ */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--pink), var(--pink-light));
  color: var(--bg); border: none; border-radius: 50px;
  padding: 15px 32px; font-size: 15px; font-weight: 600;
  cursor: pointer; font-family: var(--font);
  transition: transform .2s, box-shadow .2s;
  box-shadow: 0 4px 20px rgba(247,198,217,0.25);
  text-decoration: none;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(247,198,217,0.35);
}
.btn-outline {
  display: inline-block;
  background: transparent; color: var(--pink);
  border: 1px solid rgba(247,198,217,0.4); border-radius: 50px;
  padding: 15px 32px; font-size: 15px; font-weight: 500;
  cursor: pointer; font-family: var(--font); transition: .2s;
  text-decoration: none;
}
.btn-outline:hover {
  border-color: var(--pink); background: rgba(247,198,217,0.08);
}
.btn-sm { font-size:13px; padding:10px 22px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }

/* ═══════════ TRUST BAR ═══════════ */
.cc-trust-bar {
  display: flex; justify-content: center; gap: 48px;
  padding: 40px 32px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  max-width: 1200px; margin: 0 auto;
}
.cc-trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 500; color: var(--text-muted);
}
.cc-trust-icon { font-size: 20px; }

/* ═══════════ SECTION LABELS ═══════════ */
.section-label {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--pink); font-weight: 600;
}
.cc-section-title {
  font-family: var(--font-display); font-size: clamp(28px, 3vw, 38px);
  color: var(--text); margin-top: 8px; font-weight: 700;
}

/* ═══════════ FEATURED PRODUCTS ═══════════ */
.cc-featured {
  padding: 80px 48px; max-width: 1200px; margin: 0 auto;
}
.cc-section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.cc-products-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.cc-product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color .3s, transform .3s, box-shadow .3s;
  cursor: pointer; text-decoration: none; color: var(--text);
}
.cc-product-card:hover {
  border-color: rgba(247,198,217,0.35);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,.3), 0 0 20px var(--pink-glow);
}
.cc-product-img {
  height: 200px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #1e1530 0%, #161428 100%);
  overflow: hidden;
}
.cc-product-img img { width:100%; height:100%; object-fit:cover; transition: transform .4s; }
.cc-product-card:hover .cc-product-img img { transform: scale(1.05); }
.cc-product-emoji { font-size: 52px; }
.cc-product-info { padding: 18px; }
.cc-product-info h3 { font-size: 15px; font-weight: 500; margin-bottom: 6px; }
.cc-product-info .p-price {
  color: var(--pink); font-weight: 700; font-size: 16px;
}

/* ═══════════ HOW IT WORKS ═══════════ */
.cc-hiw {
  padding: 80px 48px; background: var(--bg-alt);
  max-width: 100%;
}
.cc-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 48px; max-width: 1200px; margin-left: auto; margin-right: auto;
  margin-top: 48px;
}
.cc-step {
  padding: 36px 28px; background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius); text-align: center;
  transition: border-color .3s, transform .3s;
}
.cc-step:hover {
  border-color: rgba(247,198,217,0.3);
  transform: translateY(-3px);
}
.cc-step-icon {
  font-size: 36px; margin-bottom: 20px;
  display: block;
}
.cc-step h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.cc-step p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

/* ═══════════ CTA BANNER ═══════════ */
.cc-cta-section {
  padding: 80px 48px; max-width: 1200px; margin: 0 auto;
}
.cc-cta-banner {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, rgba(199,125,255,0.12) 0%, rgba(247,198,217,0.08) 100%);
  border: 1px solid rgba(199,125,255,0.25);
  border-radius: 24px; padding: 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
}
.cc-cta-glow {
  position: absolute; top:-50%; right:-20%; width:400px; height:400px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(199,125,255,.1) 0%, transparent 70%);
  pointer-events: none;
}
.cc-cta-banner h2 {
  font-family: var(--font-display); font-size: 32px;
  color: var(--text); margin-bottom: 10px; font-weight: 700;
}
.cc-cta-banner p { color: var(--text-muted); font-size: 16px; }

/* ═══════════ TESTIMONIALS ═══════════ */
.cc-testimonials {
  padding: 80px 48px; background: var(--bg-alt);
}
.cc-testimonials-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px; max-width: 1200px; margin: 0 auto;
}
.cc-testimonial {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  transition: border-color .3s;
}
.cc-testimonial:hover { border-color: rgba(247,198,217,.3); }
.cc-stars { color: var(--pink); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.cc-testimonial p {
  color: var(--text-muted); font-size: 15px; line-height: 1.8;
  margin-bottom: 20px; font-style: italic;
}
.cc-reviewer { font-size: 14px; font-weight: 600; color: var(--text); }

/* ═══════════ INSTAGRAM CTA ═══════════ */
.cc-insta-cta {
  text-align: center; padding: 80px 48px;
  max-width: 1200px; margin: 0 auto;
}

/* ═══════════ FOOTER ═══════════ */
.cc-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}
.cc-footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 48px; padding: 64px 48px 48px;
}
.cc-footer-logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-size: 18px; font-weight: 600;
  margin-bottom: 16px;
}
.cc-footer-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--pink);
}
.cc-footer-tagline {
  color: var(--text-muted); font-size: 14px; line-height: 1.7;
  margin-bottom: 20px;
}
.cc-footer-social { display: flex; gap: 14px; }
.cc-footer-social a {
  color: var(--text-muted); transition: color .2s;
  display: flex; align-items: center;
}
.cc-footer-social a:hover { color: var(--pink); }
.cc-footer-links h4 {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 20px; color: var(--text);
}
.cc-footer-links a {
  display: block; color: var(--text-muted); font-size: 14px;
  padding: 6px 0; transition: color .2s;
}
.cc-footer-links a:hover { color: var(--pink); }
.cc-footer-newsletter h4 {
  font-size: 14px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 1px; margin-bottom: 12px; color: var(--text);
}
.cc-footer-newsletter p {
  color: var(--text-muted); font-size: 14px; margin-bottom: 16px; line-height: 1.6;
}
.cc-newsletter-form {
  display: flex; gap: 0; border-radius: 50px; overflow: hidden;
  border: 1px solid var(--border);
}
.cc-newsletter-form input {
  flex: 1; background: transparent; border: none; color: var(--text);
  padding: 12px 18px; font-family: var(--font); font-size: 14px; outline: none;
}
.cc-newsletter-form input::placeholder { color: #666; }
.cc-newsletter-form button {
  background: var(--pink); color: var(--bg); border: none;
  padding: 12px 20px; font-size: 16px; cursor: pointer;
  font-weight: 700; transition: background .2s;
}
.cc-newsletter-form button:hover { background: var(--pink-light); }
.cc-footer-bottom {
  border-top: 1px solid var(--border);
  text-align: center; padding: 24px; color: #666; font-size: 13px;
}
.cc-footer-bottom a { color: var(--text-muted); transition: color .2s; }
.cc-footer-bottom a:hover { color: var(--pink); }

/* ═══════════ CART DRAWER ═══════════ */
.cc-cart-drawer { position:fixed; inset:0; display:none; z-index:9999; }
.cc-cart-drawer.active { display:block; }
.cc-cart-overlay { position:absolute; inset:0; background:rgba(0,0,0,.6); }
.cc-cart-panel {
  position:absolute; right:0; top:0; width:380px; height:100%;
  background:var(--bg); border-left: 1px solid var(--border);
  padding:24px; transform:translateX(100%); transition:.3s;
}
.cc-cart-drawer.active .cc-cart-panel { transform:translateX(0); }
.cc-cart-header {
  display:flex; justify-content:space-between; align-items:center;
  margin-bottom:24px; padding-bottom:16px; border-bottom:1px solid var(--border);
}
.cc-cart-header h3 { font-family: var(--font-display); font-size:20px; }
.cc-cart-header button {
  background:none; border:none; color:var(--text); font-size:28px; cursor:pointer;
}

/* ═══════════ RESPONSIVE ═══════════ */
@media (max-width: 1024px) {
  .cc-hero { grid-template-columns: 1fr; text-align: center; padding: 100px 32px 60px; }
  .cc-hero-sub { margin-left: auto; margin-right: auto; }
  .cc-hero-btns { justify-content: center; }
  .cc-hero-image { width: 280px; height: 280px; }
  .cc-products-grid { grid-template-columns: repeat(3, 1fr); }
  .cc-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .cc-mobile-toggle { display: flex; }
  .cc-nav-links {
    display: none; position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(13,11,26,0.95); backdrop-filter: blur(20px);
    flex-direction: column; padding: 24px 32px; gap: 20px;
    border-bottom: 1px solid var(--border);
  }
  .cc-nav-links.active { display: flex; }
  .cc-hero { padding: 90px 24px 40px; }
  .cc-hero h1 { font-size: 32px; }
  .cc-hero-image { width: 220px; height: 220px; }
  .cc-trust-bar { flex-wrap: wrap; gap: 24px; padding: 32px 24px; }
  .cc-featured, .cc-cta-section, .cc-insta-cta { padding: 60px 24px; }
  .cc-hiw, .cc-testimonials { padding: 60px 24px; }
  .cc-products-grid { grid-template-columns: repeat(2, 1fr); }
  .cc-steps, .cc-testimonials-grid { grid-template-columns: 1fr; }
  .cc-cta-banner { flex-direction: column; text-align: center; padding: 40px 28px; }
  .cc-section-header { flex-direction: column; align-items: flex-start; gap: 16px; }
  .cc-footer-inner { grid-template-columns: 1fr; gap: 36px; padding: 48px 24px 36px; }
  .cc-cart-panel { width: 100%; }
}

@media (max-width: 480px) {
  .cc-hero-btns { flex-direction: column; width: 100%; }
  .cc-hero-btns a { width: 100%; text-align: center; }
  .cc-products-grid { grid-template-columns: 1fr; }
}

/* ═══════════ SCROLL REVEAL (visible by default) ═══════════ */
.cc-reveal {
  opacity: 0.85;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.cc-reveal.cc-visible {
  opacity: 1;
  transform: translateY(0);
}
