/* TOATHAN Product Site Styles */
:root {
  --sun: #FF6B35;
  --sun-light: #FF8A65;
  --teal: #0B7D58;
  --teal-light: #26A69A;
  --gray-50: #FAFAFA;
  --gray-100: #F5F5F5;
  --gray-200: #EEEEEE;
  --gray-300: #E0E0E0;
  --gray-400: #BDBDBD;
  --gray-500: #9E9E9E;
  --gray-600: #757575;
  --gray-700: #616161;
  --gray-800: #424242;
  --gray-900: #212121;
  --white: #FFFFFF;
  --black: #000000;
  --error: #B00020;
  --success: #0B7D58;
  --warning: #FF6B35;
  --info: #1976D2;
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: #2c3e50;
  background: #ffffff;
}

.bg-grad {
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
  min-height: 100vh;
  color: #2c3e50;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }
.muted { color: #7f8c8d; }

/* Layout */
.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.three {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cards.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.section {
  padding: 4rem 0;
}

/* Navigation */
.nav {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

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

.brand img {
  height: 40px;
  width: auto;
}

.hamb {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

.links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.links a {
  text-decoration: none;
  color: #2c3e50;
  font-weight: 500;
  transition: color 0.2s ease;
}

.links a:hover {
  color: #0b7d58;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: #0b7d58;
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  box-shadow: 0 2px 8px rgba(11, 125, 88, 0.2);
}

.btn:hover {
  background: #0a6b4f;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 125, 88, 0.3);
}

.btn.ghost {
  background: transparent;
  color: #0b7d58;
  border: 2px solid #0b7d58;
}

.btn.ghost:hover {
  background: #0b7d58;
  color: #ffffff;
}

.btn.sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #ffffff !important;
}

/* 科技螢光按鈕樣式 */
.btn.tech-glow {
  background: linear-gradient(135deg, #00f5ff 0%, #0b7d58 100%);
  color: #ffffff;
  border: 1px solid #00f5ff;
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.4);
  text-shadow: 0 0 10px rgba(0, 245, 255, 0.8);
}

.btn.tech-glow:hover {
  background: linear-gradient(135deg, #0b7d58 0%, #00f5ff 100%);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.6);
  transform: translateY(-2px);
}

.btn.teal {
  background: var(--teal);
  color: var(--white);
}

.btn.teal:hover {
  background: var(--teal-light);
  color: var(--white);
}

.btn.ghost.teal {
  background: transparent;
  color: var(--teal);
  border: 2px solid var(--teal);
}

.btn.ghost.teal:hover {
  background: var(--teal);
  color: var(--white);
}

/* Hero Section */
.hero {
  padding: 6rem 0;
  background: #ffffff;
  border-radius: 12px;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.hero.sunrise {
  background: linear-gradient(135deg, #fff8f5 0%, #ffffff 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-copy h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: #2c3e50;
  font-weight: 700;
}

.accent-sun {
  color: var(--sun);
}

.sub {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 2rem;
}

.cta {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
}

.pills li {
  background: var(--gray-100);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--gray-700);
}

.hero-visual {
  text-align: center;
}

.hero-visual img {
  max-width: 100%;
  max-height: 400px;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
}

.note {
  text-align: center;
  font-size: 0.875rem;
  color: var(--gray-600);
  margin-top: 2rem;
}

/* Cards */
.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
  color: #2c3e50;
}

.product {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.pimg {
  max-width: 360px;
  max-height: 360px;
  width: auto;
  height: auto;
  border-radius: 8px;
  object-fit: contain;
}

.doclinks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
}

.doclinks a {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.doclinks a:hover {
  color: var(--teal-light);
}

/* Key Value Display */
.kv {
  text-align: center;
  padding: 3rem 2rem;
}

.kvnum {
  font-size: 4rem;
  font-weight: 800;
  color: var(--sun);
  margin-bottom: 0.5rem;
}

.kvdesc {
  font-size: 1.25rem;
  color: var(--gray-700);
  margin-bottom: 1rem;
}

.kvtag {
  font-size: 0.875rem;
  color: var(--gray-600);
  background: var(--gray-100);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  display: inline-block;
}

/* Proof Section */
.proof {
  text-align: center;
  padding: 2rem 1.5rem;
}

.proof h4 {
  color: var(--teal);
  margin-bottom: 1rem;
}

/* Founder Section */
.founder-card {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.founder-card img {
  max-width: 90%;
  max-height: 450px;
  width: auto;
  height: auto;
  border-radius: 12px;
  object-fit: contain;
  background: #ffffff;
  padding: 10px;
}

/* Lists */
.list {
  list-style: none;
  padding: 0;
}

.list li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.list li:last-child {
  border-bottom: none;
}

/* Timeline */
.timeline {
  counter-reset: step;
  padding: 0;
}

.timeline li {
  position: relative;
  padding: 1rem 0 1rem 3rem;
  border-bottom: 1px solid var(--gray-200);
  counter-increment: step;
}

.timeline li:last-child {
  border-bottom: none;
}

.timeline li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 1rem;
  background: var(--teal);
  color: var(--white);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

/* Form */
.form {
  max-width: 600px;
  margin: 0 auto;
}

.form label {
  display: block;
  margin-bottom: 1rem;
  font-weight: 600;
  color: var(--gray-700);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-300);
  border-radius: 8px;
  font-size: 1rem;
  transition: border-color 0.2s ease;
  margin-top: 0.5rem;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: none;
  border-color: var(--teal);
}

.form label.full {
  grid-column: 1 / -1;
}

.form select[multiple] {
  height: auto;
  min-height: 100px;
}

.actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* Footer */
.foot {
  background: var(--teal);
  color: var(--white);
  padding: 2rem 0;
}

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

.foot a {
  color: var(--white);
  text-decoration: none;
}

.foot a:hover {
  text-decoration: underline;
}

/* Color Variations */
.section.teal {
  background: #ffffff;
  color: var(--gray-800) !important;
}

.section.teal .title-teal {
  color: var(--teal) !important;
}

.section.teal .muted {
  color: var(--gray-600);
}

.section.teal .card {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
}

.section.teal .list li {
  border-bottom: 1px solid var(--gray-200);
}

.section.teal .timeline li {
  border-bottom: 1px solid var(--gray-200);
}

.section.teal .timeline li::before {
  background: var(--teal);
  color: var(--white);
}

.section.teal.alt {
  background: rgba(11, 125, 88, 0.1);
  color: var(--gray-800);
}

.section.teal.alt .title-teal {
  color: var(--teal);
}

.section.teal.alt .card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  color: var(--gray-800);
}

/* Title Variations */
.title-sun {
  color: var(--sun);
  text-align: center;
  margin-bottom: 3rem;
}

.title-teal {
  color: var(--teal);
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hamb {
    display: block;
  }
  
  .links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .links.open {
    display: flex;
  }
  
  .hero-grid,
  .grid2,
  .cards.two,
  .three {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .hero-copy h1 {
    font-size: 2rem;
  }
  
  .cta {
    flex-direction: column;
  }
  
  .actions {
    flex-direction: column;
  }
  
  .foot-inner {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  
  .kvnum {
    font-size: 3rem;
  }
  
  .product {
    flex-direction: column;
    text-align: center;
  }
  
  .pimg {
    max-width: 400px;
    max-height: 400px;
    width: auto;
    height: auto;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  .wrap {
    padding: 0 0.5rem;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .card {
    padding: 1.5rem;
  }
  
  .hero {
    padding: 3rem 0;
  }
  
  .hero-copy h1 {
    font-size: 1.75rem;
  }
  
  .sub {
    font-size: 1rem;
  }
}
