:root {
  --yellow: #ffd54f;
  --yellow-strong: #ffcc00;
  --yellow-soft: #fff9db;
  --text: #1a1a1a;
  --text-muted: #4a4a4a;
  --white: #ffffff;
  --dark-bg: #0f1115;
  --dark-surface: #181a20;
}

* {
  box-sizing: border-box;
}

html, body {
  padding: 0;
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  background: linear-gradient(135deg, var(--white), var(--yellow-soft));
  min-height: 100%;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1 0 auto; }

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

/* Make support email links visibly clickable */
a[href^="mailto:"] {
  color: #1a73e8;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
}

a[href^="mailto:"]:hover {
  color: #0b5ed7;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 24px;
}

header {
  background: linear-gradient(90deg, var(--white), var(--yellow));
  border-bottom: 1px solid rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 50;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 18px;
}

.brand img {
  width: 28px;
  height: 28px;
}

.tabs {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tabs a {
  padding: 10px 14px;
  border-radius: 10px;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.tabs a.active {
  background: linear-gradient(135deg, var(--yellow), var(--white));
  box-shadow: 0 0 0 1px rgba(0,0,0,0.06) inset;
}

.tabs a:hover {
  background: rgba(0,0,0,0.06);
}

.mobile-collection {
  display: none;
  width: 100%;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 60;
}

.bars {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  position: relative;
  transition: background-color 0.3s;
}

.bars::before,
.bars::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  background-color: var(--text);
  transition: transform 0.3s, top 0.3s;
}

.bars::before {
  top: -6px;
}

.bars::after {
  top: 6px;
}

/* Hamburger Active State */
.hamburger.active .bars {
  background-color: transparent;
}

.hamburger.active .bars::before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger.active .bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 60px; /* Adjust based on header height */
  right: 0;
  width: 100%;
  max-width: 300px;
  background: var(--white);
  box-shadow: -4px 4px 12px rgba(0,0,0,0.1);
  transform: translateX(100%);
  transition: transform 0.3s ease-in-out;
  display: flex;
  flex-direction: column;
  padding: 20px;
  z-index: 40;
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu a {
  padding: 16px;
  font-size: 18px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a1a1a, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.card {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.04);
  border: 1px solid rgba(255,255,255,0.4);
}

.list {
  line-height: 1.8;
  font-size: 18px;
}

.list li {
  margin-bottom: 12px;
}

@media (max-width: 720px) {
  .tabs {
    display: none;
  }
  .hamburger {
    display: flex;
  }
}

/* Features Page */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 80px;
  padding-top: 40px;
  padding-bottom: 40px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.feature-row.reverse {
  flex-direction: row-reverse;
}

.feature-content {
  flex: 1;
  max-width: 500px;
}

.feature-content h2 {
  font-size: 32px;
  margin-bottom: 16px;
  color: var(--text);
}

.feature-tags {
  display: flex;
  gap: 10px;
  margin-bottom: 24px;
}

.tag {
  background: #1a1a1a;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.feature-content p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.feature-image img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.feature-image img:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

.section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 60px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--text);
  margin: 16px auto 0;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .feature-row, .feature-row.reverse {
    flex-direction: column;
    text-align: center;
  }

  .feature-tags {
    justify-content: center;
  }

  .feature-content h2 {
    font-size: 28px;
  }
}

/* Home Hero (Light Theme) */
.home-hero {
  background: transparent;
  color: var(--text);
  padding: 80px 0;
  min-height: calc(100vh - 60px); /* Adjust for header */
  display: flex;
  align-items: center;
}

.home-hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
  width: 100%;
}

.home-hero-content {
  flex: 1;
  max-width: 550px;
}

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

.hero-brand img {
  width: 64px;
  height: 64px;
}

.home-hero h1 {
  font-size: 48px;
  margin: 0; /* Margin handled by hero-brand wrapper */
  color: var(--text);
  font-weight: 800;
  background: linear-gradient(135deg, #1a1a1a, #666);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero h2 {
  font-size: 24px;
  font-weight: 600;
  margin: 0 0 24px;
  color: var(--text);
}

.home-hero p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

.btn {
  display: inline-block;
  padding: 12px 32px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: var(--text);
  color: var(--white);
  border: 2px solid var(--text);
}

.btn-primary:hover {
  background: var(--text-muted);
  border-color: var(--text-muted);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(0,0,0,0.1);
}

.btn-secondary:hover {
  border-color: var(--text);
  transform: translateY(-2px);
}

.home-hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  perspective: 1000px;
}

.home-hero-image img {
  max-width: 100%;
  max-height: 480px;
  width: auto;
  border-radius: 32px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
}

.home-hero-image img:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 0 30px 60px rgba(0,0,0,0.2);
}

@media (max-width: 800px) {
  .home-hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .hero-brand {
    justify-content: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}
