/* ============================================
   Seedflow Official Website — Style Sheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #00BCD4;
  --primary-dark: #0097A7;
  --accent: #4A90D9;
  --bg: #FFFFFF;
  --bg-light: #F7F9FC;
  --text: #0F172A;
  --text-secondary: #64748B;
  --border: #E2E8F0;
  --radius: 10px;
  --shadow: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 4px 24px rgba(0, 0, 0, 0.08);
  --max-width: 1120px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, 'PingFang SC', 'Microsoft YaHei', sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  display: block;
}

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* --- Navbar --- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
  letter-spacing: -0.01em;
}

.nav-links a:hover {
  color: var(--text);
}

.lang-switch {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-switch:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #F0FDFF;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 4px 16px rgba(0, 188, 212, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--text);
  background: var(--bg-light);
}

/* --- Hero --- */
.hero {
  text-align: center;
  padding: 100px 32px 90px;
  background: url('../assets/hero-bg.jpg') center/cover no-repeat;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(247,249,252,0.95) 0%, rgba(255,255,255,0.88) 100%);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-label {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
}

.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 18px;
  color: var(--text-secondary);
  max-width: 580px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

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

/* --- Sections --- */
.section {
  padding: 96px 0;
}

.section--alt {
  background: var(--bg-light);
}

.section-label {
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 17px;
  margin-bottom: 56px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* --- About Cards --- */
.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.about-card {
  padding: 40px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
}

.about-card:hover {
  box-shadow: var(--shadow-lg);
  border-color: transparent;
  transform: translateY(-2px);
}

.about-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E0F7FA, #E3F2FD);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--primary-dark);
}

.about-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.about-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* --- Product Showcase --- */
.product-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-hero-card {
  padding: 40px;
  background: var(--bg-light);
  border-radius: 16px;
  border: 1px solid var(--border);
}

.product-icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.product-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info .tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  background: #E0F7FA;
  color: var(--primary-dark);
  border-radius: 6px;
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.product-info h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.product-tagline {
  font-size: 15px;
  color: var(--primary-dark);
  font-weight: 500;
  margin-bottom: 16px !important;
}

.product-info p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.coming-soon {
  display: inline-block;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-dark);
  background: #E0F7FA;
  border-radius: 8px;
  letter-spacing: 0.01em;
}

.store-badges {
  display: flex;
  gap: 12px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--text);
  color: #fff;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: -0.01em;
}

.store-badge:hover {
  background: #334155;
  box-shadow: var(--shadow);
}

/* Product Features */
.product-features {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding-top: 8px;
}

.feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: all 0.2s;
}

.feature:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E0F7FA, #E3F2FD);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary-dark);
}

.feature h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.feature p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* --- Contact --- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.contact-item {
  text-align: center;
  padding: 32px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.contact-item:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #E0F7FA, #E3F2FD);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--primary-dark);
}

.contact-item .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-item p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.6;
}

.contact-item a {
  color: var(--text);
  font-weight: 500;
}

.contact-item a:hover {
  color: var(--primary-dark);
}

/* --- Footer --- */
.footer {
  padding: 32px 0;
  background: var(--text);
  color: #94A3B8;
  font-size: 14px;
}

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

.footer-links a {
  color: #94A3B8;
  margin-left: 24px;
  transition: color 0.2s;
  font-weight: 500;
}

.footer-links a:hover {
  color: #fff;
}

/* --- Legal Pages (Privacy / Terms) --- */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 32px 96px;
}

.legal h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal .last-updated {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 48px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

/* --- Responsive (Mobile ≤ 768px) --- */
@media (max-width: 768px) {
  .container {
    padding: 0 20px;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 24px 20px;
    gap: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 64px 20px 56px;
  }

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

  .hero-desc {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }

  .btn {
    width: 100%;
    max-width: 280px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .product-showcase {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .product-hero-card {
    text-align: center;
  }

  .product-icon {
    margin: 0 auto 24px;
  }

  .store-badges {
    justify-content: center;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .footer .container {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .footer-links a {
    margin: 0 12px;
  }

  .section {
    padding: 64px 0;
  }

  .section-title {
    font-size: 28px;
  }
}
