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

body {
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  color: #12212b;
  background: #ffffff;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1180px, 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid #e4e7eb;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  font-weight: 600;
}

.brand-title {
  font-size: 14px;
  letter-spacing: 1px;
  color: #6a7380;
}

.brand-name {
  font-size: 20px;
}

.nav {
  display: flex;
  gap: 18px;
  font-size: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
}

.nav-instagram {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #12212b;
  transition: opacity 0.2s;
}

.nav-instagram:hover {
  opacity: 0.7;
}

.cta-link {
  color: #c41e3a;
  font-weight: 600;
}

.hero {
  background: #c41e3a;
  padding: 80px 0 0;
  position: relative;
  overflow: visible;
  color: #ffffff;
  margin-bottom: 0;
}

.hero-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('PhyImg1.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
  opacity: 1;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-close {
  position: absolute;
  top: 0;
  right: 0;
  background: transparent;
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
  transition: opacity 0.2s;
  z-index: 10;
}

.hero-close:hover {
  opacity: 1;
}

.hero-copy {
  position: relative;
}

.hero-kicker {
  color: #fff1ba;
  margin-bottom: 0;
  font-size: 36px;
  font-weight: 700;
  font-family: "Noto Serif TC", serif;
}

.hero h1 {
  font-size: 86px;
  margin-bottom: 6px;
  margin-top: -30px;
  color: #fff1ba;
  font-weight: 700;
  font-family: "Noto Serif TC", serif;
  letter-spacing: 1px;
}

.hero-description {
  margin-bottom: 32px;
}

.hero-description p {
  color: #ffffff;
  font-size: 26px;
  margin-bottom: 16px;
  line-height: 1.8;
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 700;
  font-family: "Noto Sans TC", sans-serif;
}

.description-bar {
  display: inline-block;
  width: 80px;
  height: 6px;
  background: linear-gradient(to right, rgba(255, 240, 245, 0.95), rgba(255, 200, 220, 0.6), transparent);
  flex-shrink: 0;
  border-radius: 0;
  align-self: center;
}

.hero-actions {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.button-instagram-icon {
  margin-right: 8px;
  flex-shrink: 0;
}

.hero-arrows {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.arrow-icon {
  color: #ffffff;
  opacity: 0.7;
  transform: translateY(0);
  animation: arrowFloat 2s ease-in-out infinite;
}

.arrow-icon:nth-child(2) {
  animation-delay: 0.3s;
}

.arrow-icon:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes arrowFloat {
  0%, 100% {
    transform: translateX(0);
    opacity: 0.7;
  }
  50% {
    transform: translateX(4px);
    opacity: 1;
  }
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 20px;
  position: relative;
  z-index: 2;
  object-fit: cover;
}

.hero-image {
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  top: 10%;
  right: -10%;
  width: 100%;
  height: 100%;
  background: #fff8dc;
  border-radius: 50%;
  z-index: 1;
  transform: rotate(-15deg);
}

.hero-photo-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 3/4;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}

.hero-photo-placeholder::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 150%;
  height: 150%;
  background: #fff8dc;
  border-radius: 50%;
  z-index: -1;
  transform: rotate(-15deg);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 18px;
}

.button.primary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.button.primary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.button.instagram-button {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(4px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  min-width: 50px;
}

.button.instagram-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.button.instagram-button .button-instagram-icon {
  margin: 0;
}

.button.secondary {
  background: #12212b;
  color: #fff;
}

.button.ghost {
  border-color: #2251ff;
  color: #2251ff;
  background: transparent;
}

.service-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.highlight-card,
.panel-card,
.info-card,
.bundle-card,
.product-card,
.video-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(18, 33, 43, 0.08);
}

.highlight-card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.hero-panel .panel-card {
  padding: 28px;
}

.panel-card ul {
  margin: 16px 0 24px;
  padding-left: 18px;
  color: #4d5a66;
}

.section {
  padding: 72px 0;
}

.section.muted {
  background: #f1f4f8;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.instagram-grid blockquote {
  margin: 0;
  width: 100%;
}

.instagram-placeholder {
  aspect-ratio: 1;
  background: #e5e5e5;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.instagram-placeholder:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

/* General container for the section */
.about-section {
    background: #ffffff;
    position: relative;
    overflow: visible;
    padding: 80px 0;
}

/* Decorative pattern in the background */
.about-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 150px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(135, 206, 235, 0.3) 5px,
        rgba(135, 206, 235, 0.3) 10px
    );
    pointer-events: none;
    z-index: 1;
}

/* === FIX STARTS HERE === */
/* This rule creates a centered container with a maximum width. */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 15px; /* Adds some space on the sides */
}

/* This rule turns the container into a two-column layout using Flexbox. */
.two-column {
    display: flex;
    align-items: center; /* Vertically centers the content in each column */
    gap: 48px; /* Creates space between the image and the text */
}

/* This rule makes each column take up an equal amount of space. */
.two-column > .about-image,
.two-column > .about-content {
    flex: 1;
}
/* === FIX ENDS HERE === */

/* Image container styling */
/* General container for the section */
.about-section {
  background: #ffffff;
  position: relative;
  overflow: visible;
  padding: 80px 0;
}

/* Decorative pattern in the background */
.about-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 150px;
  background: repeating-linear-gradient(
      45deg,
      transparent,
      transparent 5px,
      rgba(135, 206, 235, 0.3) 5px,
      rgba(135, 206, 235, 0.3) 10px
  );
  pointer-events: none;
  z-index: 1;
}

/* === LAYOUT RULES (Previously Missing) === */
/* This rule creates a centered container with a maximum width. */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 15px; /* Adds some space on the sides */
}

/* This rule turns the container into a two-column layout using Flexbox. */
.two-column {
  display: flex;
  align-items: center; /* Vertically centers the content in each column */
  gap: 48px;         /* Creates space between the image and the text */
}

/* This rule makes each column take up an equal amount of space. */
.two-column > .about-image,
.two-column > .about-content {
  flex: 1;
}
/* === END LAYOUT RULES === */


/* This makes sure the fonts load */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+TC:wght@400;600&family=Noto+Serif+TC:wght@700&display=swap');

/* General container for the section */
.about-section {
    background: #ffffff;
    position: relative;
    overflow: visible;
    padding: 80px 0;
}

/* Decorative pattern in the background */
.about-bg-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 200px;
    height: 150px;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(135, 206, 235, 0.3) 5px,
        rgba(135, 206, 235, 0.3) 10px
    );
    pointer-events: none;
    z-index: 1;
}

/* === MODIFIED RULES FOR LARGER SIZE === */
.container {
    max-width: 1200px; /* Increased from 1100px */
    margin: 0 auto;
    padding: 0 15px;
}

.two-column {
    display: flex;
    align-items: center;
    gap: 60px; /* Increased from 48px */
}

.two-column > .about-image {
    flex: 0 0 400px; /* Increased from 320px */
}

.two-column > .about-content {
    flex: 1;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.about-photo-circle {
    width: 400px;  /* Increased from 320px */
    height: 400px; /* Increased from 320px */
    border-radius: 50%;
    background: #ffa500;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

/* And change it to this to bring the border back */
.about-photo {
  width: 95%;           /* Make photo smaller to reveal the circle behind it */
  height: 95%;          /* This creates the orange border effect */
  border-radius: 50%;
  object-fit: cover;      /* Keep the zoom */
  object-position: 50% 20%; /* Keep the focus on the person */
  position: relative;
  z-index: 3;
}


.about-content {
    position: relative;
    z-index: 2;
}

.about-dashed-line {
    width: 60px;
    height: 2px;
    background: repeating-linear-gradient(to right, #87ceeb 0px, #87ceeb 4px, transparent 4px, transparent 8px);
    margin-bottom: 12px;
}

.about-content h2 {
    color: #8b4513;
    font-size: 44px; /* Increased from 40px */
    margin-bottom: 12px;
    font-weight: 700;
    font-family: "Noto Serif TC", serif;
    line-height: 1.2;
}

.about-name {
    font-size: 30px; /* Increased from 26px */
    color: #ff8c00;
    margin-bottom: 20px;
    font-weight: 600;
    font-family: "Noto Sans TC", sans-serif;
}

.about-description {
    color: #8b4513;
    margin-bottom: 32px;
    line-height: 2;
    font-size: 18px; /* Increased from 16px */
    font-family: "Noto Sans TC", sans-serif;
}

.feature-icons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 32px;
}

.feature-icon {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.icon-c-shape {
    width: 26px;
    height: 26px;
    border: 3px solid #ff8c00;
    border-radius: 50%;
    border-right: none;
    border-bottom: none;
    flex-shrink: 0;
    margin-top: 4px;
    transform: rotate(-45deg);
}

.feature-icon p {
    font-size: 17px; /* Increased from 15px */
    color: #12212b;
    margin: 0;
    line-height: 1.8;
    font-family: "Noto Sans TC", sans-serif;
}



.courses-section {
  background: #c41e3a;
  position: relative;
  overflow: hidden;
  color: #ffffff;
}

.courses-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.courses-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.carousel-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.3);
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  flex: 1;
  align-items: start;
}

.course-item {
  width: 100%;
}

.course-item.hidden {
  display: none;
}

.courses-grid .instagram-media {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
}

.courses-grid iframe,
.courses-grid .instagram-media > div {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.course-placeholder {
  aspect-ratio: 4/3;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

.bundle-icons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 900px;
  margin: 0 auto;
}

.bundle-icon-item {
  text-align: center;
}

.bundle-icon-circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #87ceeb;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 40px;
  background: #ffffff;
}

.bundle-icon-item p {
  font-size: 14px;
  color: #12212b;
  line-height: 1.5;
}

/* PHY system section (bundles replacement) */
.phy-suite {
  background: linear-gradient(180deg, #f2a640 0%, #f6bf66 45%, #f7c97a 100%);
  color: #ffffff;
  padding: 90px 0;
  border-top-left-radius: 160px 40px;
  border-top-right-radius: 160px 40px;
}

.phy-suite-header {
  text-align: center;
  margin-bottom: 40px;
}

.phy-suite-header h2 {
  font-size: 40px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 2px;
}

.phy-suite-header p {
  margin: 6px 0;
  font-size: 18px;
  color: #fff7e8;
}

.phy-suite-highlight {
  margin: 16px auto;
  padding: 10px 18px;
  background: #5bb8b2;
  color: #ffffff;
  font-size: 22px;
  font-weight: 700;
  border-radius: 8px;
  max-width: 620px;
}

.phy-suite-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 40px;
  align-items: center;
}

.phy-suite-image img {
  width: 100%;
  max-width: 380px;
  display: block;
  margin: 0 auto;
}

.phy-suite-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.phy-suite-card {
  background: #fdf1c8;
  border-radius: 26px;
  padding: 28px 24px;
  color: #7a5a2b;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.phy-suite-card h3 {
  text-align: center;
  font-size: 22px;
  color: #4f9d95;
  margin-bottom: 14px;
  font-weight: 700;
}

.phy-suite-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.phy-suite-card li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.phy-suite-card li::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: #4f9d95;
  font-size: 15px;
}

.phy-system-section {
  background: #fff8dc;
  padding: 80px 0;
}

.phy-system-inner {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 60px;
  align-items: start;
}

.phone-placeholder {
  width: 200px;
  height: 350px;
  background: rgba(200, 200, 200, 0.3);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.phy-system-content h2 {
  color: #c41e3a;
  font-size: 32px;
  margin-bottom: 16px;
  font-weight: 700;
}

.phy-system-intro {
  color: #12212b;
  font-size: 16px;
  margin-bottom: 8px;
  line-height: 1.8;
}

.phy-feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}

.phy-feature-card {
  background: #fffacd;
  border-radius: 16px;
  padding: 24px;
}

.phy-feature-card h3 {
  color: #c41e3a;
  font-size: 18px;
  margin-bottom: 16px;
  font-weight: 700;
}

.phy-feature-card ul {
  list-style: none;
  padding: 0;
}

.phy-feature-card li {
  color: #12212b;
  font-size: 14px;
  margin-bottom: 8px;
  padding-left: 20px;
  position: relative;
}

.phy-feature-card li:before {
  content: "•";
  position: absolute;
  left: 0;
  color: #c41e3a;
}

.juke-text {
  margin-top: 12px;
  font-size: 12px;
  color: #666;
}

.video-section {
  background: #fff8dc;
  padding: 80px 0;
}

.video-container {
  max-width: 900px;
  margin: 0 auto;
}

.video-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border: 0;
  border-radius: 16px;
  background: #000;
}

#video .section-header h2 {
  color: #c41e3a;
  font-weight: 700;
}

.achievements-section {
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.achievements-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: 
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 20px,
      rgba(135, 206, 235, 0.05) 20px,
      rgba(135, 206, 235, 0.05) 40px
    );
  pointer-events: none;
}

.achievements-subtitle {
  color: #12212b;
  font-size: 14px;
  margin-top: 8px;
}

.achievements-content {
  min-height: 200px;
}

.achievements-marquee {
  overflow: hidden;
  border-radius: 20px;
  position: relative;
}

.achievements-marquee::before,
.achievements-marquee::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.achievements-marquee::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, rgba(255, 255, 255, 0));
}

.achievements-marquee::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, rgba(255, 255, 255, 0));
}

.achievements-track {
  display: flex;
  align-items: center;
  gap: 16px;
  width: max-content;
  animation: achievements-scroll 120s linear infinite;
  padding: 8px 0;
}

.achievements-marquee:hover .achievements-track {
  animation-play-state: paused;
}

.achievement-card {
  flex: 0 0 auto;
  width: 280px;
  height: 280px;
  border-radius: 16px;
  overflow: hidden;
  background: #f5f5f5;
  box-shadow: 0 8px 22px rgba(18, 33, 43, 0.14);
}

.achievement-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@keyframes achievements-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .achievement-card {
    width: 220px;
    height: 220px;
  }

  .achievements-marquee::before,
  .achievements-marquee::after {
    width: 40px;
  }
}

.section-header {
  margin-bottom: 32px;
}

.section-header.centered {
  text-align: center;
}

.section-header h2 {
  font-size: 32px;
  margin-bottom: 8px;
}

.news-section {
  background: #ffffff;
  padding: 80px 0 72px;
  position: relative;
  margin-top: 0;
}

.news-divider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: #ffffff;
  clip-path: ellipse(100% 100% at 50% 0%);
  z-index: 1;
}

.news-section .container {
  position: relative;
  z-index: 2;
}

#news .section-header h2 {
  color: #d4af37;
  font-weight: 700;
  font-size: 48px;
  font-family: "Noto Serif TC", serif;
  margin-bottom: 0;
}

#courses .section-header h2 {
  color: #ffffff;
  font-weight: 700;
}

#bundles .section-header h2 {
  color: #87ceeb;
  font-weight: 700;
}

#achievements .section-header h2 {
  color: #d4af37;
  font-weight: 700;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card h3 {
  margin-bottom: 10px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-section .two-column {
  align-items: center;
  gap: 50px;
}

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

.stat {
  background: #ffffff;
  padding: 18px;
  border-radius: 16px;
  text-align: center;
}

.stat-number {
  font-size: 28px;
  font-weight: 700;
  display: block;
}

.stat-label {
  color: #6a7380;
  font-size: 14px;
}

.bundle-grid,
.product-list,
.achievement-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.timeline-item {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid #e4e7eb;
}

.product-list {
  align-content: center;
}

.achievement-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 20px;
  border: 1px solid #e4e7eb;
}

.video-card {
  display: grid;
  gap: 16px;
}

.video-placeholder {
  background: #dfe7ff;
  border-radius: 16px;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #2251ff;
  font-weight: 600;
}

.video-note {
  color: #6a7380;
  font-size: 14px;
}

.cta-section {
  background: url("PhyImg1.png") center/cover no-repeat;
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  pointer-events: none;
}

.cta-banner {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 50px 0 60px;
}

.cta-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: 3px;
  font-family: "Noto Serif TC", serif;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.cta-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.cta-qr-block {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.cta-qr {
  width: 120px;
  height: 120px;
  background: #ffffff;
  padding: 6px;
  border-radius: 6px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.cta-avatar img {
  width: 190px;
  height: auto;
  border-radius: 50%;
  border: 8px solid #ffffff;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.cta-button {
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #fff1ba;
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 16px;
  line-height: 1.1;
  text-align: center;
  font-size: 18px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(2px);
}

.cta-qr-block--reverse {
  flex-direction: row;
}

.cta-button.whatsapp {
  color: #fff1ba;
}

.cta-button.course {
  color: #fff1ba;
}

.signup-form {
  display: grid;
  gap: 16px;
}

.signup-form label {
  display: grid;
  gap: 8px;
  font-size: 14px;
}

.signup-form input,
.signup-form textarea {
  border-radius: 10px;
  border: 1px solid #d7dce2;
  padding: 10px 12px;
  font-size: 14px;
  font-family: inherit;
}

.site-footer {
  background: #0f1b23;
  color: #d9e1e8;
  padding: 18px 0;
  font-size: 13px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .hero-inner,
  .two-column,
  .cta-inner,
  .phy-system-inner {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .bundle-grid,
  .product-list,
  .timeline,
  .service-highlights,
  .achievement-grid,
  .instagram-grid,
  .courses-grid,
  .bundle-icons-grid,
  .phy-feature-cards {
    grid-template-columns: 1fr;
  }

  .feature-icons {
    grid-template-columns: repeat(3, 1fr);
  }

  .nav {
    justify-content: flex-start;
  }

  .hero h1 {
    font-size: 40px;
  }

  .courses-carousel {
    flex-direction: column;
  }

  .carousel-arrow {
    order: 2;
  }
}

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

  .hero h1 {
    font-size: 36px;
  }

  .hero-description p {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  .button.primary,
  .button.instagram-button {
    width: 100%;
    justify-content: center;
  }

  .section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .nav {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .feature-icons {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .bundle-icons-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero-description p {
    font-size: 14px;
  }

  .container {
    width: 95vw;
    padding: 0 10px;
  }

  .feature-icons {
    grid-template-columns: 1fr;
  }

  .bundle-icons-grid {
    grid-template-columns: 1fr;
  }

  .about-photo-circle {
    width: 250px;
    height: 250px;
  }
}

/* About section final layout to match reference */
#about.about-section {
  padding: 60px 0 80px;
}

#about.about-section .about-bg-pattern {
  display: none;
}

#about.about-section .about-header {
  text-align: left;
  margin-bottom: 16px;
}

#about.about-section .about-title-line {
  display: none;
}

#about.about-section .about-title {
  font-size: 20px;
  color: #2f2f2f;
  font-family: "Noto Sans TC", sans-serif;
  letter-spacing: 0;
}

#about.about-section .two-column {
  align-items: flex-start;
  gap: 40px;
}

#about.about-section .about-image {
  min-height: auto;
  flex: 0 0 320px;
}

#about.about-section .about-photo-bg {
  display: none;
}

#about.about-section .about-photo {
  width: 320px;
  border-radius: 0;
}

#about.about-section .about-content {
  padding-left: 0;
}

#about.about-section .about-name {
  font-size: 20px;
  color: #d8a24b;
  margin-bottom: 10px;
  font-family: "Noto Sans TC", sans-serif;
}

#about.about-section .about-description {
  font-size: 14px;
  line-height: 1.9;
  color: #4a4a4a;
  margin-bottom: 20px;
}

#about.about-section .feature-icons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

#about.about-section .icon-c-shape {
  width: 18px;
  height: 18px;
  border: 3px solid #d8a24b;
  margin-top: 2px;
}

#about.about-section .feature-icon p {
  font-size: 13px;
  color: #4a4a4a;
  font-family: "Noto Sans TC", sans-serif;
}

/* About section override to match design */
#about.about-section {
  background: #ffffff;
  position: relative;
  padding: 90px 0 100px;
}

#about.about-section .about-bg-pattern {
  position: absolute;
  top: 0;
  right: 0;
  width: 28%;
  height: 28%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 7px,
    rgba(135, 206, 235, 0.25) 7px,
    rgba(135, 206, 235, 0.25) 14px
  );
  pointer-events: none;
  z-index: 1;
}

#about.about-section .about-header {
  text-align: center;
  margin-bottom: 36px;
  position: relative;
  z-index: 2;
}

#about.about-section .about-title-line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

#about.about-section .about-title-line span {
  display: inline-block;
  height: 4px;
  background: #6bc2c3;
  border-radius: 999px;
}

#about.about-section .about-title-line span:nth-child(1),
#about.about-section .about-title-line span:nth-child(3) {
  width: 14px;
}

#about.about-section .about-title-line span:nth-child(2) {
  width: 70px;
}

#about.about-section .about-title {
  color: #7a1f1f;
  font-size: 52px;
  font-weight: 700;
  font-family: "Noto Sans TC", sans-serif;
  margin: 0;
  letter-spacing: 4px;
}

#about.about-section .two-column {
  display: flex;
  align-items: center;
  gap: 60px;
}

#about.about-section .about-image {
  position: relative;
  min-height: 420px;
  flex: 0 0 420px;
}

#about.about-section .about-photo-bg {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: #f5a623;
  left: 10px;
  top: 110px;
  z-index: 1;
}

#about.about-section .about-photo {
  width: 360px;
  height: auto;
  position: relative;
  z-index: 2;
}

#about.about-section .about-content {
  padding-left: 10px;
  flex: 1;
}

#about.about-section .about-name {
  font-size: 26px;
  color: #d8a24b;
  margin-bottom: 14px;
  font-weight: 600;
  font-family: "Noto Sans TC", sans-serif;
}

#about.about-section .about-description {
  color: #2f2f2f;
  margin-bottom: 36px;
  line-height: 1.9;
  font-size: 17px;
  font-family: "Noto Sans TC", sans-serif;
}

#about.about-section .feature-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px 40px;
}

#about.about-section .feature-icon {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

#about.about-section .feature-icon:nth-child(4) {
  grid-column: 1 / 2;
}

#about.about-section .feature-icon:nth-child(5) {
  grid-column: 2 / 3;
}

#about.about-section .icon-c-shape {
  width: 30px;
  height: 30px;
  border: 5px solid #e2a23a;
  border-radius: 50%;
  border-right: none;
  border-bottom: none;
  flex-shrink: 0;
  margin-top: 4px;
  transform: rotate(-45deg);
}

#about.about-section .feature-icon p {
  font-size: 16px;
  color: #d8a24b;
  margin: 0;
  line-height: 1.7;
  font-family: "Noto Sans TC", sans-serif;
}
