/* --- 全域變數 --- */

html {
  overflow-x: hidden;
}

#subsidy {
  background: #f8f6f1;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
}

.subsidy-wrapper {
  flex: 1;
  width: 100%;
  overflow-x: hidden;
}

#okgo-charge {
  background: #f8f6f1;
  color: #222;
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}
#okgo-charge a {
  color: inherit;
  text-decoration: none;
}
#okgo-charge .page {
  width: 100%;
  max-width: 430px;
  margin: auto;
  padding: 0 14px;
}
#okgo-charge .header {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#okgo-charge .logo {
  font-size: 2.714rem;
  font-weight: 700;
  letter-spacing: -2px;
  color: #333;
}
#okgo-charge .logo span {
  color: #ff6b00;
}

#okgo-charge .main-content {
  padding: 0 1rem;
}
#okgo-charge .menu {
  width: 52px;
  height: 52px;
  background: #ff7800;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
#okgo-charge .menu i {
  width: 20px;
  height: 2px;
  background: #fff;
  display: block;
}
#okgo-charge .hero {
  background: linear-gradient(145deg, #fffaf2, #f8eee1);
  margin: 0 -14px;
  position: relative;
  overflow: hidden;
  min-height: 320px;
}
#okgo-charge .hero-text {
  position: relative;
  z-index: 2;
  padding: 2rem 2.2rem;
}
#okgo-charge .hero h1 {
  font-size: 2.786rem;
  line-height: 1.18;
  font-weight: 900;
  letter-spacing: -1px;
  font-style: italic;
  animation: heroFadeIn 0.6s ease forwards;
  opacity: 0;
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
  }
}

@keyframes highlightSweep {
  0% { left: -100%; }
  50% { left: 150%; }
  100% { left: 150%; }
}
#okgo-charge .hero h1 span {
  color: #ff6900;
}
#okgo-charge .hero p {
  margin-top: 18px;
  width: 90%;
}
#okgo-charge .hero p .p-cond {
  display: block;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #333;
  font-weight: 600;
  }

#okgo-charge .hero p .p-cond .p-em {
  font-size: 1.5rem;
  font-weight: 900;
  color: #e94352;
  font-style: normal;
}
#okgo-charge .hero p .p-core {
  display: block;
  font-size: 1.143rem;
  font-weight: 700;
  line-height: 1.6;
  color: #222;
  margin-top: 6px;
}
#okgo-charge .hero p .p-highlight {
  display: block;
  font-size: 1.571rem;
  font-weight: 900;
  color: #ff6900;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
}
#okgo-charge .hero p .p-highlight::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: highlightSweep 2s ease-in-out 1s infinite;
}
#okgo-charge .hero p .p-highlight b {
  font-size: 2.143rem;
}
#okgo-charge .hero p .p-cta {
  display: block;
  font-size: 1.071rem;
  font-weight: 800;
  color: #ff6900;
  margin-top: 8px;
}
#okgo-charge .hero-image {
  position: absolute;
  right: 0px;
  bottom: 10px;
  width: 13rem;
}
#okgo-charge .hero-image img {
  width: 100%;
  display: block;
}
#okgo-charge .card {
  background: #fff;
  border-radius: 26px;
  margin-top: 18px;
  padding: 30px 18px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}
#okgo-charge .card h2 {
  text-align: center;
  margin-bottom: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
#okgo-charge .card h2 .exclusive {
  display: inline-block;
  background: linear-gradient(135deg, #e94352, #ff6900);
  color: #fff;
  font-size: 1.571rem;
  font-weight: 900;
  letter-spacing: 2px;
  padding: 7px 22px;
  border-radius: 50px;
  box-shadow: 0 3px 12px rgba(233, 67, 82, 0.35);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
#okgo-charge .card h2 .plan-name {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.4;
  background: linear-gradient(90deg, #ff6900, #e94352);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
#okgo-charge .price-list {
  border: 1px solid #eee;
  border-radius: 20px;
  overflow: hidden;
}
#okgo-charge .price-item {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 15px;
  border-bottom: 1px solid #eee;
}
#okgo-charge .price-item:last-child {
  border-bottom: 0;
}
#okgo-charge .level {
  font-size: 1.357rem;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  gap: 15px;
}
#okgo-charge .cup {
  font-size: 1.857rem;
  color: #ff7600;
}
#okgo-charge .price {
  font-size: 2.429rem;
  font-weight: bold;
  color: #e94352;
}
#okgo-charge .price small {
  font-size: 1.286rem;
  color: #333;
  font-weight: 500;
}
#okgo-charge .price-summary {
  margin-top: 12px;
  background: linear-gradient(160deg, #fff7e8 0%, #ffeac8 50%, #ffdcaa 100%);
  border-radius: 14px;
  padding: 14px 16px 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1.5px solid rgba(255, 150, 50, 0.2);
  box-shadow: 0 2px 12px rgba(255, 120, 0, 0.06);
}
#okgo-charge .price-summary::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 150, 50, 0.12),
    transparent 70%
  );
  pointer-events: none;
}
#okgo-charge .price-summary::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 100, 50, 0.08),
    transparent 70%
  );
  pointer-events: none;
}
#okgo-charge .summary-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
#okgo-charge .summary-line {
  flex: 1;
  border-top: 2px dashed #ddb87a;
}
#okgo-charge .summary-label {
  font-size: 1rem;
  font-weight: 900;
  color: #ff6800;
  white-space: nowrap;
  letter-spacing: 1px;
}
#okgo-charge .summary-who {
  display: flex;
  justify-content: center;
  margin-bottom: 6px;
}
#okgo-charge .summary-who span {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #ff7200, #ff9700);
  padding: 3px 14px;
  border-radius: 50px;
  box-shadow: 0 2px 6px rgba(255, 114, 0, 0.25);
}
#okgo-charge .summary-amount {
  font-size: 0.929rem;
  font-weight: 700;
  color: #444;
  line-height: 1.3;
}
#okgo-charge .summary-amount b {
  font-size: 1.857rem;
  font-weight: 900;
  color: #e94352;
  letter-spacing: -2px;
  line-height: 1;
  text-shadow: 0 1px 6px rgba(233, 67, 82, 0.12);
}
#okgo-charge .summary-amount small {
  font-size: 1rem;
  font-weight: 900;
  color: #e94352;
  margin-left: 2px;
}
#okgo-charge .summary-note {
  font-size: 1rem;
  font-weight: 600;
  color: #a08050;
  margin-top: 1px;
}
#okgo-charge .btn-orange {
  margin-top: 22px;
  height: 62px;
  background: linear-gradient(90deg, #ff7200, #ff9700);
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.429rem;
  font-weight: 700;
  text-decoration: none;
}
#okgo-charge .btn-green-line {
  margin-top: 20px;
  height: 62px;
  background: #00319a;
  border-radius: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  font-size: 1.286rem;
  text-decoration: none;
  font-weight: 600;
}
#okgo-charge .btn-green-line span {
  margin-right: 12px;
  font-size: 2rem;
}
#okgo-charge .btn-row {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 1.5rem;
}
#okgo-charge .btn-row .whatsapp {
  flex: 1;
  margin-top: 0;
}
#okgo-charge .btn-row .download-button {
  flex: 1;
  margin-top: 0;
}
#okgo-charge .whatsapp {
  margin-top: 1.5rem;
  background: #25d366;
  border-radius: 99px;
  color: #fff;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;
}
#okgo-charge .wa-svg {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  fill: #fff;
  stroke: none;
}
#okgo-charge .wa-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
#okgo-charge .wa-text strong {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}
#okgo-charge .wa-text span {
  font-size: 1.25rem;
  font-weight: 400;
  opacity: 0.85;
  line-height: 1.3;
}
#okgo-charge .download-app svg {
  width: 24px;
  height: 24px;
}
#okgo-charge .download-button {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background: #ff7200;
  color: white;
  padding: 18px;
  position: relative;
  overflow: hidden;
  border-radius: 99px;
  font-weight: bold;
  font-size: 1.429rem;
  text-decoration: none;
}

#okgo-charge svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#okgo-charge .station-section {
  margin-top: 50px;
}

#okgo-charge .station-desc {
  color: #666;
  font-size: 1.286rem;
  margin-bottom: 20px;
  text-align: center;
}

#okgo-charge .station-specs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;

  margin-bottom: 22px;

  flex-wrap: wrap;
}

#okgo-charge .spec-item {
  /* background: #fff3e6; */

  padding: 5px 16px;

  border-radius: 15px;

  display: flex;

  gap: 2px;

  align-items: center;

  font-size: 1.143rem;

  font-weight: bold;

  color: #555;
}

#okgo-charge .station-tabs {
  display: flex;
  justify-content: center;

  gap: 10px;

  overflow: auto;

  margin-bottom: 22px;
}

#okgo-charge .station-tabs button {
  font-size: 1.143rem;
  font-weight: bold;
  border: none;

  background: #fff;

  padding: 6px 26px;

  border-radius: 30px;
  cursor: pointer;
}

#okgo-charge .station-title {
  text-align: center;
  font-size: 2rem;
  font-weight: 900;
  color: #00319a;
}

#okgo-charge .station-tabs .active {
  background: #00319a;

  color: #fff;
}

#okgo-charge .station-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 10px;
}

#okgo-charge .station-card {
  background: #fff;

  padding: 12px;

  border-radius: 16px;

  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);

  display: flex;

  flex-direction: column;
}

#okgo-charge .station-card svg {
  width: 14px;

  height: 14px;
}

#okgo-charge .station-location {
  color: #333;

  font-size: 1rem;
}

#okgo-charge .station-card h3 {
  font-size: 1.286rem;

  margin: 2px 0 0;
}

#okgo-charge .station-data {
  display: flex;
  flex-direction: column;

  flex-wrap: wrap;

  gap: 6px;

  margin: 8px 0;
}

#okgo-charge .station-data div {
  padding: 4px 8px;

  border-radius: 10px;

  display: flex;

  gap: 4px;

  align-items: center;

  font-size: 1rem;

  font-weight: bold;

  color: #333;
}

#okgo-charge .parking-info {
  margin-top: 6px;
  margin-bottom: 6px;
  color: #888;
  font-weight: bold;
  font-size: 0.929rem;
  display: flex;
  gap: 4px;
  align-items: center;
}

#okgo-charge .nav-link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  background: #0a1033;
  color: #fff;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  padding: 7px;
  border-radius: 14px;
  width: 100%;
}

/* =========================
 SERVICE
========================= */

#okgo-charge .service {
  margin-top: 60px;
  background: #fff;
  padding: 25px;
  border-radius: 30px;
}

#okgo-charge .complaint {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex: 1;
}

#okgo-charge .service-icon {
  width: 60px;

  height: 60px;

  background: #fff0df;

  color: #ff7200;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 auto;
}

#okgo-charge .complaint h2 {
  color: #ff7200;
}

#okgo-charge .complaint strong {
  color: #ff7200;

  font-size: 1.286rem;
}

#okgo-charge .service-divider {
  border-top: 2px dashed #ddd;
  margin: 20px 0;
}

#okgo-charge .phone-button {
  flex: 1;
  margin-top: 0;
  background: #0a1033;

  color: #fff;

  padding: 18px;

  border-radius: 20px;

  display: flex;

  justify-content: flex-start;

  align-items: center;

  gap: 10px;

  text-decoration: none;
}

#okgo-charge .phone-button > div {
  display: flex;

  flex-direction: column;

  line-height: 1.5;

  text-align: left;
}

#okgo-charge .service-title {
  font-size: 1.429rem;
  font-weight: 900;
}

#okgo-charge .service-phone {
  font-size: 1.286rem;
  font-weight: 900;
}

#okgo-charge .email-link {
  color: #ff7200;
  text-decoration: none;
}

@media (max-width: 420px) {
  #okgo-charge .hero h1 {
    font-size: 2.714rem;
  }

  #okgo-charge .hero h2 span {
    font-size: 4.429rem;
  }

  #okgo-charge .big-price {
    font-size: 4.643rem;
  }

  #okgo-charge .recharge-row strong {
    font-size: 1.643rem;
  }
}
@media (max-width: 390px) {
  #okgo-charge .hero h1 {
    font-size: 2.429rem;
  }
  #okgo-charge .hero p {
    width: 90%;
    font-size: 0.929rem;
  }

  #okgo-charge .hero p .p-cond {
    font-size: 1rem;
  }
  #okgo-charge .card h2 {
    font-size: 1.571rem;
  }
  #okgo-charge .price {
    font-size: 2.143rem;
  }
  #okgo-charge .level {
    font-size: 1.214rem;
  }
}

/* =========================
 TABLET (≥ 768px)
========================= */

@media (min-width: 768px) {
  #okgo-charge .page {
    max-width: 720px;
    padding: 0 30px;
  }
  #okgo-charge .hero {
    margin: 0 -30px;
    min-height: 380px;
  }
  #okgo-charge .hero-text {
    padding: 2.5rem 4rem;
  }
  #okgo-charge .hero-image {
    width: 16rem;
  }
  #okgo-charge .station-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
  }
  #okgo-charge .btn-row {
    flex-direction: row;
  }
  #okgo-charge .service {
    display: flex;
    gap: 24px;
    align-items: stretch;
    flex-direction: column;
  }
  #okgo-charge .service-divider {
    border-top: none;
    border-left: 2px dashed #ddd;
    margin: 0;
    min-height: 100%;
  }
}

/* =========================
 DESKTOP (≥ 1200px)
========================= */

@media (min-width: 1200px) {
  #okgo-charge .page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }

  /* Hero 左右並排 */
  #okgo-charge .hero {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #okgo-charge .hero-text {
    flex: 1;
    padding: 3rem 6rem;
    max-width: 55%;
  }
  #okgo-charge .hero-image {
    position: static;
    width: 40%;
    flex-shrink: 0;
  }

  /* 模塊上下放置，站點 3 列 */
  #okgo-charge .station-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* btn-green-line */
  #okgo-charge .btn-green-line {
  }

  /* Service 水平 */
  #okgo-charge .service {
    display: flex;
    gap: 30px;
    align-items: stretch;
  }
  #okgo-charge .service-divider {
    border-top: none;
    border-left: 2px dashed #ddd;
    margin: 0;
    min-height: 100%;
  }
}

/* --- 光掃效果 --- */
#okgo-charge .download-button::after,
#okgo-charge .whatsapp::after,
#okgo-charge .btn-green-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 255, 255, 0) 30%,
    rgba(255, 255, 255, 0.35) 50%,
    rgba(255, 255, 255, 0) 70%,
    transparent 100%
  );
  animation: shine-sweep 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes shine-sweep {
  0% {
    left: -100%;
  }
  60% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

/* ===== PC 端 ≥1024px 改造 ===== */
@media (min-width: 1024px) {
  #subsidy { background: #f5f5f5; }
  #okgo-charge {
    background: #fff;
    box-shadow: 0 0 40px rgba(0,0,0,.06);
  }

  #okgo-charge .page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
  }

  #okgo-charge .main-content {
    padding: 0;
    max-width: 1100px;
    margin: 0 auto;
  }

  /* Hero 突破容器鋪滿全寬 */
  #okgo-charge .hero {
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  #okgo-charge .hero-text {
    flex: 1;
    padding: 4rem 5rem;
    max-width: 55%;
  }
  #okgo-charge .hero-image {
    position: static;
    width: 40%;
    flex-shrink: 0;
  }
  #okgo-charge .hero-image img {
    transition: transform .5s cubic-bezier(.25,.46,.45,.94);
  }
  #okgo-charge .hero:hover .hero-image img {
    transform: scale(1.05);
  }
  #okgo-charge .hero h1 { font-size: 3.6rem; }

  /* 價格卡片 */
  #okgo-charge .card {
    padding: 40px 32px;
    border-radius: 28px;
    box-shadow: 0 4px 24px rgba(0,0,0,.05);
  }

  /* 價格列表橫排 */
  #okgo-charge .price-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    border: none;
    background: transparent;
  }
  #okgo-charge .price-item {
    padding: 24px 18px;
    border-radius: 20px;
    border: 1px solid #eee;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
    height: auto;
    min-height: 140px;
    text-align: center;
    transition: transform .3s, box-shadow .3s, border-color .3s;
  }
  #okgo-charge .price-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(255,105,0,.1);
    border-color: rgba(255,105,0,.25);
  }
  #okgo-charge .price-item .level {
    font-size: 1.2rem;
  }
  #okgo-charge .price-item .price {
    font-size: 2.6rem;
  }

  /* 補貼摘要區 */
  #okgo-charge .price-summary {
    padding: 24px 24px 20px;
    border-radius: 20px;
    margin-top: 20px;
  }
  #okgo-charge .summary-amount b {
    font-size: 2.2rem;
  }

  /* 按鈕區 */
  #okgo-charge .btn-row {
    gap: 16px;
    margin-top: 2rem;
  }
  #okgo-charge .whatsapp,
  #okgo-charge .download-button {
    border-radius: 99px;
    transition: transform .25s, box-shadow .3s;
  }
  #okgo-charge .whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(37,211,102,.3);
  }
  #okgo-charge .download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255,114,0,.3);
  }

  /* 充電站區 */
  #okgo-charge .station-section {
    margin-top: 64px;
  }
  #okgo-charge .station-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
  }
  #okgo-charge .station-card {
    padding: 18px;
    border-radius: 20px;
    transition: transform .3s, box-shadow .3s;
  }
  #okgo-charge .station-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,.1);
  }
  #okgo-charge .station-card .nav-link {
    transition: background .25s;
  }
  #okgo-charge .station-card .nav-link:hover {
    background: #1a2550;
  }

  /* 客服區雙欄 */
  #okgo-charge .service {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    border-radius: 32px;
    padding: 36px;
    margin-top: 72px;
  }
  #okgo-charge .service-divider {
    border-top: none;
    border-left: 2px dashed #ddd;
    margin: 0;
  }
  #okgo-charge .complaint {
    gap: 1.2rem;
  }
  #okgo-charge .service-icon {
    width: 72px;
    height: 72px;
  }
  #okgo-charge .service-icon svg {
    width: 36px;
    height: 36px;
  }
  #okgo-charge .complaint h2 {
    font-size: 1.3rem;
  }
  #okgo-charge .complaint strong {
    font-size: 1.4rem;
  }
  #okgo-charge .phone-button {
    padding: 22px;
    border-radius: 24px;
    gap: 14px;
    transition: transform .25s, box-shadow .3s;
  }
  #okgo-charge .phone-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(10,16,51,.25);
  }
  #okgo-charge .service-title {
    font-size: 1.5rem;
  }
  #okgo-charge .service-phone {
    font-size: 1.4rem;
  }

  /* CLPe 下載按鈕 */
  #okgo-charge .btn-green-line {
    margin-top: 28px;
    border-radius: 22px;
    height: 68px;
    font-size: 1.35rem;
    transition: transform .25s, box-shadow .3s;
  }
  #okgo-charge .btn-green-line:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(0,49,154,.25);
  }

  #okgo-charge .site-footer { margin-top: 0; }
}
