/* PhotoContinuum 產品頁面樣式 */

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

:root {
  /* 主要色彩配置 */
  --primary-cream: #f8f6f4;
  --earth-brown: #6b5b47;
  --soft-blue: #5b9bd5;
  --warm-gold: #d4af37;
  --light-gray: #f5f5f5;
  --dark-gray: #333333;
  --white: #ffffff;

  /* 字體設定 */
  --font-primary: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  --font-serif: "Georgia", serif;

  /* 間距設定 */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
  --border-radius: 12px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--dark-gray);
  background: linear-gradient(
    135deg,
    var(--primary-cream) 0%,
    var(--white) 100%
  );
  overflow-x: hidden;
}

/* 容器樣式 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* 導航欄 */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(248, 246, 244, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(248, 246, 244, 0.98);
  box-shadow: var(--shadow);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--earth-brown);
  text-decoration: none;
}

.language-switch {
  display: flex;
  gap: 10px;
}

.language-switch a {
  color: var(--earth-brown);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.language-switch a.active,
.language-switch a:hover {
  background: var(--earth-brown);
  color: var(--white);
}

/* 主標題區塊 */
.hero {
  padding: 120px 0 80px;
  text-align: center;
  background: linear-gradient(
    135deg,
    var(--primary-cream) 0%,
    rgba(248, 246, 244, 0.8) 100%
  );
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

.hero h1 {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--earth-brown);
  opacity: 0;
  animation: fadeInUp 1s ease forwards;
}

.hero .subtitle {
  font-size: 1.3rem;
  color: var(--earth-brown);
  margin-bottom: 40px;
  opacity: 0.8;
  opacity: 0;
  animation: fadeInUp 1s ease 0.3s forwards;
}

.app-icon {
  width: 120px;
  height: 120px;
  border-radius: 25px;
  margin: 0 auto 30px;
  box-shadow: var(--shadow);
  background: linear-gradient(135deg, var(--soft-blue), var(--warm-gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
  opacity: 0;
  animation: fadeInUp 1s ease 0.6s forwards;
}

.download-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--soft-blue), #4a8bc2);
  color: var(--white);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  animation: fadeInUp 1s ease 0.9s forwards;
}

.download-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(91, 155, 213, 0.3);
}

/* 區塊樣式 */
.section {
  padding: var(--section-padding);
}

.section-title {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  color: var(--earth-brown);
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, var(--warm-gold), var(--soft-blue));
  border-radius: 2px;
}

/* 特色功能網格 */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

/* 技術支援卡片樣式 */
.support-card {
  text-align: center;
  padding: 40px 30px;
  background: var(--primary-cream);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: var(--soft-blue);
}

.support-card h3 {
  color: var(--earth-brown);
  margin-bottom: 15px;
  font-family: var(--font-serif);
  font-size: 1.3rem;
}

.support-card a {
  color: var(--soft-blue);
  font-weight: 600;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.support-card a:hover {
  color: var(--earth-brown);
  text-decoration: underline;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: var(--border-radius);
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: linear-gradient(135deg, var(--soft-blue), var(--warm-gold));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--white);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 15px;
  color: var(--earth-brown);
  font-family: var(--font-serif);
}

.feature-card p {
  color: var(--dark-gray);
  opacity: 0.8;
  line-height: 1.8;
}

/* 使用步驟 */
.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.step-item {
  text-align: center;
  position: relative;
  padding: 30px 20px;
  opacity: 0;
  transform: translateY(30px);
}

.step-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--warm-gold), #b8941f);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--white);
  margin: 0 auto 20px;
}

.step-item h3 {
  font-size: 1.2rem;
  margin-bottom: 15px;
  color: var(--earth-brown);
  font-family: var(--font-serif);
}

/* 隱私保護區塊 */
.privacy-section {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 60px;
  box-shadow: var(--shadow);
  text-align: center;
  margin: 60px 0;
}

.privacy-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 30px;
  background: linear-gradient(135deg, #4caf50, #45a049);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--white);
}

/* 頁尾 */
.footer {
  background: var(--earth-brown);
  color: var(--white);
  padding: 60px 0 40px;
  text-align: center;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  margin-bottom: 20px;
  color: var(--warm-gold);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 30px;
  opacity: 0.8;
}

/* 動畫效果 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 響應式設計 */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .steps-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .privacy-section {
    padding: 40px 30px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    text-align: left;
  }

  .container {
    padding: 0 15px;
  }
}

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

  .download-button {
    padding: 12px 20px;
    font-size: 1rem;
  }

  .feature-card {
    padding: 30px 20px;
  }

  .privacy-section {
    padding: 30px 20px;
  }
}

/* 滾動行為 */
html {
  scroll-behavior: smooth;
}

/* 淡入效果觸發類別 */
.fade-in {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: all 0.8s ease;
}

/* 載入動畫 */
.loading {
  opacity: 0;
}

/* 特殊效果 */
.gradient-text {
  background: linear-gradient(135deg, var(--soft-blue), var(--warm-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 重要提醒區塊樣式 */
.important-notice {
  background: linear-gradient(135deg, #fff3cd, #fef7e0);
  border: 2px solid #ffc107;
  border-radius: var(--border-radius);
  padding: 30px;
  margin-top: 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.important-notice::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 193, 7, 0.1) 0%,
    transparent 70%
  );
  animation: float 4s ease-in-out infinite;
}

.important-notice h3 {
  color: var(--earth-brown);
  margin-bottom: 15px;
  font-family: var(--font-serif);
  position: relative;
  z-index: 2;
}

.important-notice p {
  color: var(--earth-brown);
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.notice-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 20px;
  position: relative;
  z-index: 2;
}

.notice-step {
  background: var(--white);
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.notice-step:hover {
  transform: translateY(-2px);
}

/* FAQ 卡片改進 */
.faq-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 4px solid transparent;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border-left-color: var(--soft-blue);
}

.faq-card h3 {
  color: var(--earth-brown);
  margin-bottom: 15px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.faq-card a {
  color: var(--soft-blue);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.faq-card a:hover {
  color: var(--earth-brown);
  text-decoration: underline;
}

/* Google Form 樣式 */
.google-form-container {
  max-width: 800px;
  margin: 0 auto 60px;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  position: relative;
}

.form-header {
  background: linear-gradient(135deg, var(--soft-blue), #4a8bc2);
  color: var(--white);
  padding: 40px;
  text-align: center;
  position: relative;
}

.form-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    circle at 30% 20%,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 50%
  );
}

.form-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.form-header h3 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.form-header p {
  opacity: 0.9;
  font-size: 1.1rem;
  position: relative;
  z-index: 2;
}

.google-form-embed {
  padding: 40px;
  background: var(--white);
}

.google-form-embed iframe {
  width: 100%;
  height: 600px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.form-note {
  background: var(--light-gray);
  padding: 20px 40px;
  text-align: center;
  border-top: 1px solid #e0e0e0;
}

.form-note p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 0.95rem;
}

.form-note a {
  color: var(--soft-blue);
  font-weight: 600;
  text-decoration: none;
}

.form-note a:hover {
  text-decoration: underline;
}

.contact-methods {
  margin-top: 60px;
}

/* 響應式設計 */
@media (max-width: 768px) {
  .google-form-embed {
    padding: 20px;
  }

  .google-form-embed iframe {
    height: 500px;
  }

  .form-header {
    padding: 30px 20px;
  }

  .form-note {
    padding: 15px 20px;
  }
}
