/* =========================================================
   CandyCloud — ABOUT US PAGE (PREMIUM REDESIGN)
   Modern, Clean, Container-Based Design
   Dark Theme with Premium Aesthetics
   Matches Category Page Container Structure
========================================================= */

/* =========================================================
   DESIGN TOKENS & BASE STYLES
========================================================= */

:root {
  --cc-max: 1200px;
  --cc-radius: 24px;
  --cc-radius-sm: 16px;
  --cc-radius-lg: 32px;
  --cc-border: rgba(242, 244, 255, 0.15);
  --cc-glass: rgba(19, 18, 26, 0.4);
  --cc-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  --cc-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
  --cc-shadow-hover: 0 15px 40px rgba(0, 0, 0, 0.5);
  --cc-primary: #FF2F92;
  --cc-primary-dark: #C77DFF;
  --cc-primary-alt: #8F5BFF;
  --cc-text: #C6C9E3;
  --cc-text-light: #8B90B6;
  --cc-text-heading: #F2F4FF;
  --cc-text-button: #F2F4FF;
  --cc-bg: #0B0B10;
  --cc-bg-alt: #12121A;
  --cc-bg-card: #191A23;
  --cc-gunmetal: #191A23;
  --cc-gunmetal-light: #1E1F2A;
  --cc-gunmetal-dark: #12121A;
  --cc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   PAGE WRAPPER & CONTAINER
========================================================= */

.cc-aboutPage {
  background: var(--cc-bg);
  color: var(--cc-text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

body.page-id-about,
body.page-template-about {
  background: var(--cc-bg);
  color: var(--cc-text);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

/* Container matching category page */
.cc-container {
  max-width: var(--cc-max);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  box-sizing: border-box;
}

/* =========================================================
   HERO SECTION
========================================================= */

.cc-aboutHero {
  background: linear-gradient(135deg, var(--cc-gunmetal-dark) 0%, var(--cc-gunmetal) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.cc-aboutHero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255, 47, 146, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.cc-aboutHero__content {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cc-aboutHero__kicker {
  display: inline-block;
  font-size: clamp(14px, 2vw, 18px);
  font-weight: 600;
  color: var(--cc-primary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
  padding: 10px 24px;
  background: rgba(255, 47, 146, 0.1);
  border-radius: 999px;
  border: 1px solid rgba(255, 47, 146, 0.2);
  backdrop-filter: blur(10px);
}

.cc-aboutHero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 800;
  color: var(--cc-text-heading);
  margin: 0 0 32px 0;
  line-height: 1.1;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--cc-text-heading) 0%, var(--cc-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cc-aboutHero__description {
  font-size: clamp(16px, 2.2vw, 20px);
  color: var(--cc-text);
  line-height: 1.8;
  margin: 0 0 24px 0;
}

.cc-aboutHero__description:last-of-type {
  margin-bottom: 0;
}

/* =========================================================
   IMAGE GALLERY SECTION
========================================================= */

.cc-gallery {
  padding: 80px 0;
  background: var(--cc-bg);
}

.cc-gallery__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cc-gallery__item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--cc-radius);
  overflow: hidden;
  box-shadow: var(--cc-shadow-soft);
  transition: var(--cc-transition);
  background: var(--cc-gunmetal);
  border: 1px solid rgba(242, 244, 255, 0.1);
}

.cc-gallery__item:hover {
  transform: translateY(-8px);
  box-shadow: var(--cc-shadow-hover);
  border-color: rgba(255, 47, 146, 0.3);
}

.cc-gallery__image {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--cc-gunmetal-light) 0%, var(--cc-gunmetal) 100%);
}

.cc-gallery__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--cc-transition);
}

.cc-gallery__item:hover .cc-gallery__image img {
  transform: scale(1.05);
}

.cc-gallery__image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 47, 146, 0.1) 0%, rgba(199, 125, 255, 0.1) 100%);
  opacity: 0;
  transition: var(--cc-transition);
}

.cc-gallery__item:hover .cc-gallery__image::after {
  opacity: 1;
}

/* =========================================================
   ABOUT INTRO SECTION
========================================================= */

.cc-aboutIntro {
  padding: 100px 0;
  background: var(--cc-gunmetal-dark);
  position: relative;
}

.cc-aboutIntro__content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.cc-aboutIntro__text {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.cc-aboutIntro__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--cc-text-heading);
  margin: 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--cc-text-heading) 0%, var(--cc-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cc-aboutIntro__body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cc-aboutIntro__body p {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--cc-text);
  line-height: 1.8;
  margin: 0;
}

.cc-aboutIntro__visual {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--cc-radius-lg);
  overflow: hidden;
  box-shadow: var(--cc-shadow);
  border: 1px solid rgba(242, 244, 255, 0.1);
}

.cc-aboutIntro__gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-dark) 50%, var(--cc-primary-alt) 100%);
  position: relative;
}

.cc-aboutIntro__gradient::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
}

/* =========================================================
   WHY CHOOSE SECTION
========================================================= */

.cc-whyChoose {
  padding: 100px 0;
  background: var(--cc-bg);
  position: relative;
}

.cc-whyChoose__header {
  text-align: center;
  margin-bottom: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cc-whyChoose__title {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  color: var(--cc-text-heading);
  margin: 0 0 16px 0;
  line-height: 1.2;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--cc-text-heading) 0%, var(--cc-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cc-whyChoose__subtitle {
  font-size: clamp(16px, 2vw, 18px);
  color: var(--cc-text-light);
  margin: 0;
  line-height: 1.6;
}

.cc-whyChoose__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.cc-featureCard {
  padding: 48px 40px;
  background: linear-gradient(135deg, var(--cc-gunmetal) 0%, var(--cc-gunmetal-light) 100%);
  border-radius: var(--cc-radius);
  border: 1px solid rgba(242, 244, 255, 0.1);
  box-shadow: var(--cc-shadow-soft);
  transition: var(--cc-transition);
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
  overflow: hidden;
}

.cc-featureCard::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
  transform: scaleX(0);
  transition: var(--cc-transition);
}

.cc-featureCard:hover::before {
  transform: scaleX(1);
}

.cc-featureCard:hover {
  transform: translateY(-8px);
  box-shadow: var(--cc-shadow-hover);
  border-color: rgba(255, 47, 146, 0.3);
}

.cc-featureCard__icon {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(255, 47, 146, 0.15) 0%, rgba(199, 125, 255, 0.15) 100%);
  border-radius: var(--cc-radius-sm);
  color: var(--cc-primary);
  flex-shrink: 0;
  border: 1px solid rgba(255, 47, 146, 0.2);
}

.cc-featureCard__title {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 700;
  color: var(--cc-text-heading);
  margin: 0;
  line-height: 1.3;
}

.cc-featureCard__text {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--cc-text);
  line-height: 1.7;
  margin: 0;
}

/* =========================================================
   DELIVERY SECTION
========================================================= */

.cc-delivery {
  padding: 100px 0;
  background: var(--cc-gunmetal-dark);
  position: relative;
}

.cc-delivery__card {
  background: linear-gradient(135deg, var(--cc-primary) 0%, var(--cc-primary-dark) 100%);
  border-radius: var(--cc-radius-lg);
  padding: 64px;
  text-align: center;
  box-shadow: 0 20px 60px rgba(255, 47, 146, 0.3), var(--cc-shadow);
  border: 1px solid rgba(255, 47, 146, 0.2);
  position: relative;
  overflow: hidden;
  max-width: 1000px;
  margin: 0 auto;
}

.cc-delivery__card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cc-delivery__icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: var(--cc-text-heading);
  position: relative;
  z-index: 1;
  backdrop-filter: blur(10px);
}

.cc-delivery__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 800;
  color: var(--cc-text-heading);
  margin: 0 0 48px 0;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.cc-delivery__info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  position: relative;
  z-index: 1;
}

.cc-delivery__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--cc-radius-sm);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--cc-transition);
}

.cc-delivery__item:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
}

.cc-delivery__label {
  font-size: clamp(14px, 1.8vw, 16px);
  font-weight: 600;
  color: var(--cc-text-heading);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.9;
}

.cc-delivery__value {
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  color: var(--cc-text-heading);
  line-height: 1.4;
}

/* =========================================================
   RESPONSIVE DESIGN
========================================================= */

@media (max-width: 1024px) {
  .cc-container {
    padding: 0 20px;
  }

  .cc-aboutHero {
    padding: 80px 0;
  }

  .cc-gallery {
    padding: 60px 0;
  }

  .cc-gallery__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .cc-aboutIntro {
    padding: 80px 0;
  }

  .cc-aboutIntro__content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .cc-whyChoose {
    padding: 80px 0;
  }

  .cc-whyChoose__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .cc-delivery {
    padding: 80px 0;
  }

  .cc-delivery__card {
    padding: 48px 32px;
  }

  .cc-delivery__info {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .cc-container {
    padding: 0 16px;
  }

  .cc-aboutHero {
    padding: 60px 0;
  }

  .cc-gallery {
    padding: 48px 0;
  }

  .cc-gallery__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cc-aboutIntro {
    padding: 60px 0;
  }

  .cc-aboutIntro__content {
    gap: 32px;
  }

  .cc-whyChoose {
    padding: 60px 0;
  }

  .cc-whyChoose__header {
    margin-bottom: 48px;
  }

  .cc-featureCard {
    padding: 32px 24px;
    gap: 20px;
  }

  .cc-featureCard__icon {
    width: 64px;
    height: 64px;
  }

  .cc-delivery {
    padding: 60px 0;
  }

  .cc-delivery__card {
    padding: 40px 24px;
  }

  .cc-delivery__item {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .cc-aboutHero {
    padding: 48px 0;
  }

  .cc-aboutHero__kicker {
    font-size: 12px;
    padding: 8px 20px;
  }

  .cc-gallery {
    padding: 40px 0;
  }

  .cc-aboutIntro {
    padding: 48px 0;
  }

  .cc-whyChoose {
    padding: 48px 0;
  }

  .cc-featureCard {
    padding: 28px 20px;
  }

  .cc-delivery {
    padding: 48px 0;
  }

  .cc-delivery__card {
    padding: 32px 20px;
  }

  .cc-delivery__icon {
    width: 64px;
    height: 64px;
    margin-bottom: 24px;
  }
}
