/* ===== Hero Section — Candy Pop Centered Layout ===== */

.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: var(--nav-height);
  overflow: hidden;
  background: var(--gradient-hero);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 20%, rgba(255, 182, 213, 0.3) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 30%, rgba(196, 150, 255, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 50% 80%, rgba(147, 226, 255, 0.2) 0%, transparent 50%);
  pointer-events: none;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-color) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  opacity: 0.5;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
}

.hero-glow-1 {
  background: var(--accent-blue);
  top: -200px;
  right: -100px;
}

.hero-glow-2 {
  background: var(--accent-purple);
  bottom: -200px;
  left: -100px;
}

/* Centered hero layout */
.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 32px;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  order: 2;
}

.hero-photo {
  position: relative;
  z-index: 3;
  order: 1;
}

/* Circular photo with rainbow conic-gradient ring */
.hero-photo-frame {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: visible;
  border: none;
  padding: 5px;
  position: relative;
  isolation: isolate;
  box-shadow:
    0 0 40px rgba(255, 107, 157, 0.3),
    0 0 80px rgba(168, 85, 247, 0.15),
    0 0 120px rgba(56, 189, 248, 0.1);
}

.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    #FFB6D5,
    #D8B4FE,
    #93E2FF,
    #A7F3D0,
    #FDE68A,
    #FFB6D5
  );
  animation: rainbow-ring-spin 4s linear infinite;
  z-index: -1;
}

.hero-photo-frame::after {
  content: '';
  position: absolute;
  inset: -12px;
  border-radius: 50%;
  background: conic-gradient(
    from 180deg,
    rgba(255, 182, 213, 0.5),
    rgba(196, 150, 255, 0.4),
    rgba(147, 226, 255, 0.5),
    rgba(167, 243, 208, 0.4),
    rgba(253, 230, 138, 0.5),
    rgba(255, 182, 213, 0.5)
  );
  animation: rainbow-ring-spin 4s linear infinite reverse;
  z-index: -2;
  filter: blur(18px);
}

@keyframes rainbow-ring-spin {
  to { transform: rotate(360deg); }
}

.hero-photo-frame > img,
.hero-photo-frame > .hero-photo-placeholder {
  border-radius: 50%;
}

.hero-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-photo-placeholder {
  width: 100%;
  height: 100%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  font-weight: 800;
  color: var(--hero-code-color);
}

/* Decorative floating circles around photo */
.hero-photo-decor {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2;
}

.hero-photo-decor-1 {
  width: 32px;
  height: 32px;
  background: var(--pastel-pink);
  top: -10px;
  right: -20px;
  animation: decor-orbit 5s ease-in-out infinite;
  box-shadow: 0 4px 12px rgba(255, 182, 213, 0.4);
}

.hero-photo-decor-2 {
  width: 20px;
  height: 20px;
  background: var(--pastel-purple);
  bottom: 10px;
  right: -30px;
  animation: decor-orbit 6s ease-in-out infinite reverse;
  animation-delay: -1s;
  box-shadow: 0 4px 12px rgba(216, 180, 254, 0.4);
}

.hero-photo-decor-3 {
  width: 26px;
  height: 26px;
  background: var(--pastel-mint);
  top: 20px;
  left: -25px;
  animation: decor-orbit 7s ease-in-out infinite;
  animation-delay: -2s;
  box-shadow: 0 4px 12px rgba(167, 243, 208, 0.4);
}

.hero-photo-decor-4 {
  width: 18px;
  height: 18px;
  background: var(--pastel-yellow);
  bottom: -5px;
  left: -15px;
  animation: decor-orbit 5.5s ease-in-out infinite reverse;
  animation-delay: -0.5s;
  box-shadow: 0 4px 12px rgba(253, 230, 138, 0.4);
}

.hero-photo-decor-5 {
  width: 14px;
  height: 14px;
  background: var(--pastel-blue);
  top: 50%;
  right: -35px;
  animation: decor-orbit 4.5s ease-in-out infinite;
  animation-delay: -3s;
  box-shadow: 0 4px 12px rgba(147, 226, 255, 0.4);
}

.hero-photo-decor-6 {
  width: 22px;
  height: 22px;
  background: var(--pastel-peach);
  top: -20px;
  left: 30%;
  animation: decor-orbit 6.5s ease-in-out infinite reverse;
  animation-delay: -1.5s;
  box-shadow: 0 4px 12px rgba(254, 202, 202, 0.4);
}

.hero-photo-decor-7 {
  width: 16px;
  height: 16px;
  background: var(--pastel-lavender);
  bottom: -15px;
  left: 40%;
  animation: decor-orbit 5s ease-in-out infinite;
  animation-delay: -2.5s;
  box-shadow: 0 4px 12px rgba(232, 218, 255, 0.4);
}

@keyframes decor-orbit {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(8px, -12px) scale(1.15); }
  50% { transform: translate(-5px, -8px) scale(0.9); }
  75% { transform: translate(10px, 5px) scale(1.1); }
}

/* Badge */
.hero .badge {
  margin-bottom: 20px;
}

/* Hero title — dark text with pastel gradient accent */
.hero h1 {
  margin-bottom: 20px;
  color: var(--text-primary);
}

.style-candy-pop .hero h1 {
  color: var(--text-primary);
  -webkit-text-fill-color: unset;
  background: none;
}

.style-candy-pop .hero h1 .gradient-text-animated {
  background: linear-gradient(135deg, #FF6B9D, #A855F7, #38BDF8);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

.hero p {
  font-size: 1.15rem;
  margin-bottom: 32px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  color: var(--text-secondary);
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-code {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.12;
  white-space: pre;
  line-height: 1.6;
  pointer-events: none;
  user-select: none;
}

[dir="rtl"] .hero-code {
  right: auto;
  left: 0;
}

/* ===== Stats Bar (Candy Pop Pills) ===== */

.stats-bar {
  background: transparent;
  border: none;
  padding: 20px 0 60px;
  margin-top: -20px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stats-pills {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
}

.stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  box-shadow: var(--shadow-candy);
  transition: all var(--transition-bounce);
  backdrop-filter: blur(8px);
}

.stat-pill:hover {
  transform: translateY(-5px) scale(1.08);
  box-shadow: 0 12px 32px rgba(255, 107, 157, 0.2);
}

.stat-pill-number {
  font-size: 1.4rem;
  font-weight: 800;
}

.stat-pill-label {
  font-weight: 500;
  font-size: 0.9rem;
}

.stat-pill-pink {
  background: rgba(255, 182, 213, 0.5);
  border-color: rgba(255, 182, 213, 0.6);
  color: #c73e6f;
}

.stat-pill-purple {
  background: rgba(216, 180, 254, 0.5);
  border-color: rgba(216, 180, 254, 0.6);
  color: #7c3aed;
}

.stat-pill-blue {
  background: rgba(147, 226, 255, 0.5);
  border-color: rgba(147, 226, 255, 0.6);
  color: #0284c7;
}

.stat-pill-green {
  background: rgba(167, 243, 208, 0.5);
  border-color: rgba(167, 243, 208, 0.6);
  color: #059669;
}

.stat-item h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.95rem;
}

/* ===== Services Section — Sweet Candy Cards ===== */

.services {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(180deg, rgba(232, 218, 255, 0.3) 0%, transparent 100%);
  pointer-events: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 24px;
}

/* Candy service cards with pastel colored tops */
.service-card.card {
  border-radius: var(--radius-lg);
  border: 2px solid rgba(255, 182, 213, 0.25);
  overflow: hidden;
  position: relative;
  background: rgba(255, 255, 255, 0.8);
}

.service-card.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.service-card.card:nth-child(1)::before { background: linear-gradient(90deg, #FFB6D5, #FF6B9D); }
.service-card.card:nth-child(2)::before { background: linear-gradient(90deg, #D8B4FE, #A855F7); }
.service-card.card:nth-child(3)::before { background: linear-gradient(90deg, #93E2FF, #38BDF8); }
.service-card.card:nth-child(4)::before { background: linear-gradient(90deg, #A7F3D0, #34D399); }
.service-card.card:nth-child(5)::before { background: linear-gradient(90deg, #FDE68A, #FBBF24); }

.service-card.card:hover {
  border-color: rgba(255, 107, 157, 0.45);
  transform: translateY(-8px) scale(1.02) rotateX(2deg) rotateY(-1deg);
  box-shadow: var(--shadow-pastel);
}

.service-card .card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
}

.service-card:nth-child(1) .card-icon { background: rgba(255, 182, 213, 0.4); }
.service-card:nth-child(2) .card-icon { background: rgba(216, 180, 254, 0.4); }
.service-card:nth-child(3) .card-icon { background: rgba(147, 226, 255, 0.4); }
.service-card:nth-child(4) .card-icon { background: rgba(167, 243, 208, 0.4); }
.service-card:nth-child(5) .card-icon { background: rgba(253, 230, 138, 0.4); }

.service-card .card-icon svg {
  width: 28px;
  height: 28px;
}

.service-card .card-price {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 16px;
}

.service-card ul {
  margin-bottom: 20px;
}

.service-card li {
  padding: 4px 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
  position: relative;
  padding-inline-start: 24px;
}

.service-card li::before {
  content: '🍬';
  position: absolute;
  inset-inline-start: 0;
  top: 4px;
  font-size: 0.75rem;
}

/* ===== How It Works — Sweet Process ===== */

.process {
  background: var(--bg-mid);
  position: relative;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

/* Dotted connecting line */
.process-steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: 12%;
  right: 12%;
  height: 3px;
  border-top: 3px dashed rgba(255, 182, 213, 0.5);
  background: none;
}

.step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.step-number {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
  margin: 0 auto 20px;
  transition: all var(--transition-bounce);
  position: relative;
}

/* Each step gets a different pastel gradient */
.step:nth-child(1) .step-number {
  background: linear-gradient(135deg, #FFB6D5, #FF6B9D);
  box-shadow: 0 6px 24px rgba(255, 107, 157, 0.35);
}
.step:nth-child(2) .step-number {
  background: linear-gradient(135deg, #D8B4FE, #A855F7);
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.35);
}
.step:nth-child(3) .step-number {
  background: linear-gradient(135deg, #93E2FF, #38BDF8);
  box-shadow: 0 6px 24px rgba(56, 189, 248, 0.35);
}
.step:nth-child(4) .step-number {
  background: linear-gradient(135deg, #A7F3D0, #34D399);
  box-shadow: 0 6px 24px rgba(52, 211, 153, 0.35);
}

.step:hover .step-number {
  transform: scale(1.15) rotate(8deg);
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.1rem;
}

.step p {
  font-size: 0.9rem;
}

/* ===== Portfolio Section ===== */

.portfolio {
  background: var(--bg-dark);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
  gap: 28px;
}

.portfolio-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 182, 213, 0.2);
  transition: all var(--transition-bounce);
}

.portfolio-card:hover {
  border-color: rgba(255, 107, 157, 0.45);
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-pastel);
}

.portfolio-img {
  aspect-ratio: 16/10;
  background: var(--bg-light);
  overflow: hidden;
  position: relative;
}

.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-card:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-body {
  padding: 24px;
}

.portfolio-body h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.portfolio-body p {
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tags span {
  padding: 5px 14px;
  background: linear-gradient(135deg, rgba(255, 182, 213, 0.35), rgba(196, 150, 255, 0.25));
  color: #d1477a;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 107, 157, 0.15);
}

/* ===== AI Advantage Section ===== */

.advantage {
  background: var(--bg-mid);
  position: relative;
  overflow: hidden;
}

.advantage::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
  pointer-events: none;
}

.comparison-table {
  max-width: 800px;
  margin: 0 auto;
  border: 2px solid rgba(255, 182, 213, 0.3);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
}

.comparison-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-bottom: 1px solid var(--border-subtle);
}

.comparison-row:last-child {
  border-bottom: none;
}

.comparison-row.header {
  background: linear-gradient(135deg, rgba(255, 182, 213, 0.15), rgba(196, 150, 255, 0.1));
}

.comparison-cell {
  padding: 16px 20px;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
}

.comparison-row.header .comparison-cell {
  font-weight: 700;
  color: var(--text-primary);
}

.comparison-cell:not(:last-child) {
  border-inline-end: 1px solid var(--border-subtle);
}

.comparison-cell.highlight {
  color: var(--accent-green);
  font-weight: 600;
}

.comparison-cell.dim {
  color: var(--text-muted);
}

/* ===== Testimonials ===== */

.testimonials {
  background: var(--bg-dark);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: 28px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 182, 213, 0.2);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition-bounce);
}

.testimonial-card:hover {
  border-color: rgba(255, 107, 157, 0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-candy);
}

.testimonial-stars {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ===== FAQ Section ===== */

.faq {
  background: var(--bg-mid);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

/* ===== Contact Section ===== */

.contact {
  background: var(--bg-dark);
  position: relative;
}

.contact::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(0deg, rgba(232, 218, 255, 0.15) 0%, transparent 100%);
  pointer-events: none;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h2 {
  margin-bottom: 16px;
}

.contact-info > p {
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.contact-detail svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--accent-blue);
}

.contact-form {
  background: rgba(255, 255, 255, 0.8);
  border: 2px solid rgba(255, 182, 213, 0.3);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-candy);
}

/* ===== Footer ===== */

.footer {
  background: var(--bg-mid);
  border-top: 2px solid rgba(255, 182, 213, 0.2);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand img {
  height: 46px;
  width: 46px;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  max-width: 300px;
}

.footer-col h4 {
  color: var(--text-primary);
  margin-bottom: 20px;
  font-size: 1rem;
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 6px 0;
  transition: color var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-social {
  display: flex;
  gap: 16px;
}

.footer-social a {
  color: var(--text-muted);
  transition: color var(--transition);
}

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

/* ===== Light Mode Section Defaults ===== */

.hero-glow {
  opacity: 0.08;
}

.hero-code {
  color: var(--text-muted);
  opacity: 0.12;
}

.portfolio-tags span {
  background: linear-gradient(135deg, rgba(255, 182, 213, 0.35), rgba(196, 150, 255, 0.25));
  color: #d1477a;
}

.comparison-row.header {
  background: linear-gradient(135deg, rgba(255, 182, 213, 0.15), rgba(196, 150, 255, 0.1));
}

.advantage::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.05) 0%, transparent 60%);
}

.contact-form {
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-candy);
}

.step-number {
  box-shadow: 0 6px 24px rgba(168, 85, 247, 0.25);
}

.footer-social a img {
  opacity: 0.6;
  transition: opacity var(--transition);
}

.footer-social a:hover img {
  opacity: 1;
}

/* ===== Dark Mode Section Overrides ===== */

[data-theme="dark"] .hero-glow {
  opacity: 0.15;
}

[data-theme="dark"] .hero-photo-frame {
  box-shadow: 0 0 60px rgba(255, 107, 157, 0.3), 0 0 120px rgba(168, 85, 247, 0.15);
}

[data-theme="dark"] .hero-code {
  color: rgba(255, 255, 255, 0.4);
  opacity: 0.28;
}

[data-theme="dark"] .portfolio-tags span {
  background: rgba(255, 107, 157, 0.08);
  color: var(--accent-blue);
}

[data-theme="dark"] .comparison-row.header {
  background: rgba(255, 107, 157, 0.08);
}

[data-theme="dark"] .advantage::before {
  background: radial-gradient(ellipse at 50% 100%, rgba(168, 85, 247, 0.1) 0%, transparent 60%);
}

[data-theme="dark"] .contact-form {
  background: var(--bg-card);
  box-shadow: none;
}

[data-theme="dark"] .step-number {
  box-shadow: 0 0 30px rgba(255, 107, 157, 0.3);
}

[data-theme="dark"] .footer-social a img {
  opacity: 0.8;
}

[data-theme="dark"] .footer-social a:hover img {
  opacity: 1;
}

[data-theme="dark"] .hero-photo-decor {
  opacity: 0.6;
}

/* ===== Portfolio Filters ===== */

.portfolio-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.filter-btn {
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 182, 213, 0.25);
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-bounce);
}

.filter-btn:hover {
  background: rgba(255, 182, 213, 0.25);
  border-color: rgba(255, 107, 157, 0.45);
  color: var(--text-primary);
  transform: translateY(-3px);
}

.filter-btn.active {
  background: linear-gradient(135deg, #FF6B9D, #A855F7);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 20px rgba(255, 107, 157, 0.35);
}

.portfolio-card.hidden-extra {
  display: none;
}

.portfolio-card.show-extra {
  animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.show-more-wrapper {
  text-align: center;
  margin-top: 40px;
}

/* ===== Video Showcase ===== */

.video-showcase {
  background: var(--bg-mid);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr));
  gap: 28px;
}

.video-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid rgba(255, 182, 213, 0.2);
  transition: all var(--transition-bounce);
}

.video-card:hover {
  border-color: rgba(255, 107, 157, 0.45);
  transform: translateY(-6px);
  box-shadow: var(--shadow-pastel);
}

.video-wrapper {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg-light);
}

.video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-wrapper {
  cursor: pointer;
}

.video-play-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(4px);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  pointer-events: none;
}

.video-play-btn.playing {
  opacity: 0;
}

.video-play-btn svg {
  width: 64px;
  height: 64px;
  fill: #fff;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.video-card-body {
  padding: 20px 24px;
}

.video-card-body h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.video-card-body p {
  font-size: 0.9rem;
}
