/* ========== Design System ========== */
:root {
  --accent: #0071e3;
  --accent-hover: #0060c9;
  --accent-soft: #e8f0fe;
  --accent-glow: rgba(0,113,227,0.12);
  --navy: #1d1d1f;
  --navy-light: #3a3a3c;
  --gold: #f5a623;
  --bg: #ffffff;
  --bg-card: #ffffff;
  --bg-section: #f5f5f7;
  --text: #1d1d1f;
  --text-secondary: #6e6e73;
  --text-on-accent: #ffffff;
  --border: #d2d2d7;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --font-heading: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Helvetica Neue", sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.03);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.04);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.06);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.08);
  --glass-bg: rgba(255,255,255,0.78);
  --glass-border: rgba(0,0,0,0.06);
  --glass-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

[data-theme="dark"] {
  --bg: #000000;
  --bg-card: #1c1c1e;
  --bg-section: #111113;
  --text: #f5f5f7;
  --text-secondary: #86868b;
  --border: #38383a;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,0.5);
  --shadow-xl: 0 24px 80px rgba(0,0,0,0.6);
  --accent-soft: #1a2a3a;
  --glass-bg: rgba(28,28,30,0.85);
  --glass-border: rgba(255,255,255,0.08);
  --glass-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s, color 0.3s;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ========== Typography ========== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

/* ========== Layout ========== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 120px 0;
}

.section-header {
  max-width: 640px;
  margin-bottom: 60px;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Navigation ========== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  transition: background 0.4s, border-color 0.3s, box-shadow 0.4s;
}

.nav.scrolled {
  background: var(--glass-bg);
  box-shadow: var(--glass-shadow);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.nav-logo span:last-child { color: var(--accent); }

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

.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.2s;
}

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

.theme-toggle {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  font-size: 1rem;
  transition: background 0.2s;
}

.theme-toggle:hover { background: var(--bg-card); }

.lang-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 4px 10px;
  cursor: pointer;
  color: var(--text-secondary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
  letter-spacing: 0.02em;
}

.lang-btn:hover { color: var(--text); border-color: var(--text); }
.lang-btn.active { background: var(--accent); color: #fff; border-color: var(--accent); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 4px;
}

/* ========== Buttons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--accent-glow);
}

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

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

/* ========== Cards ========== */
.card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* ========== Hero ========== */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding-top: var(--nav-height);
  position: relative;
  overflow: clip;
}

.hero-left {
  display: flex;
  justify-content: center;
  padding-left: 40px;
}

.hero-content { max-width: 460px; }

.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-headline {
  margin-bottom: 1rem;
  max-width: 18ch;
}

.hero-subtext {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 44ch;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

/* Hero content panels */
.hero-panel {
  display: none;
}

.hero-panel.sil-panel-active {
  display: block;
  animation: heroPanelIn 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroPanelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-panel h1 {
  margin-bottom: 1rem;
}

.hero-panel .hero-subtext {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 40ch;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--bg-section);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.hero-tag-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #30d158;
}

.sil-arrow {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  padding: 0;
  line-height: 1;
}

.sil-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.hero-visual {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 700px;
  height: 500px;
  background:
    radial-gradient(ellipse at 30% 50%, var(--accent-soft) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 30%, rgba(0,113,227,0.06) 0%, transparent 50%);
  z-index: -1;
}

/* ========== Hero Silhouette Gallery ========== */
.hero-silhouette {
  width: 540px;
  height: 450px;
  z-index: 1;
}

.sil-nav {
  pointer-events: auto;
}

.sil-gallery {
  position: relative;
  width: 100%;
  height: 400px;
}

.sil-frame {
  position: absolute;
  inset: 0;
  background: var(--bg-card);
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 60px rgba(0,0,0,0.06);
  display: flex;
  overflow: hidden;
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  transition: opacity 0.5s, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.sil-frame.sil-active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.sil-frame.sil-inactive {
  opacity: 0;
  transform: scale(0.92) translateY(12px);
  pointer-events: none;
}

[data-theme="dark"] .sil-frame {
  background: #1a1815;
  border-color: #2a2723;
  box-shadow: 0 8px 60px rgba(0,0,0,0.3);
}

/* Nav dots */
.sil-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.sil-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: none;
  background: var(--border);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.sil-dot:hover { background: var(--text-secondary); }

.sil-dot.sil-dot-active {
  background: var(--accent);
  width: 20px;
  border-radius: 4px;
}

/* Shared */
.sil-sidebar {
  width: 52px;
  background: var(--navy);
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}

[data-theme="dark"] .sil-sidebar { background: #1a1a1a; }

.sil-logo {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  background: var(--accent);
  opacity: 0.8;
}

.sil-mi {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  background: rgba(255,255,255,0.12);
}

.sil-mi-active { background: rgba(255,255,255,0.25); }

.sil-main {
  flex: 1;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

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

.sil-search {
  width: 180px;
  height: 32px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
}

[data-theme="dark"] .sil-search { background: #22201c; border-color: #33302c; }

.sil-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
}

/* Screen 1: Dashboard */
.sil-kpis { display: flex; gap: 10px; }

.sil-kpi {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 12px;
}

[data-theme="dark"] .sil-kpi { background: #22201c; }

.sil-kpi-label {
  display: block;
  height: 7px;
  width: 55%;
  border-radius: 4px;
  background: var(--text);
  opacity: 0.1;
  margin-bottom: 6px;
}

.sil-kpi-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.5;
  line-height: 1.2;
}

.sil-kpi-delta {
  font-size: 0.6rem;
  font-weight: 500;
  opacity: 0.35;
}

.sil-kpi-delta.up { color: #22a06b; }

.sil-chart-row { display: flex; gap: 10px; }

.sil-chart {
  flex: 1;
  height: 86px;
  background: var(--bg);
  border-radius: 8px;
  padding: 12px 10px;
  display: flex;
  align-items: flex-end;
}

[data-theme="dark"] .sil-chart { background: #22201c; }

.sil-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  width: 100%;
  height: 100%;
}

.sil-bar {
  flex: 1;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent-hover) 100%);
  border-radius: 2px 2px 0 0;
  opacity: 0.35;
  min-height: 6px;
}

.sil-bar:nth-child(2), .sil-bar:nth-child(4) { opacity: 0.45; }
.sil-bar:nth-child(6) { opacity: 0.5; }

.sil-donut {
  width: 86px;
  height: 86px;
  border-radius: 8px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

[data-theme="dark"] .sil-donut { background: #22201c; }

.sil-donut-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(var(--accent) 0deg 245deg, var(--border) 245deg 360deg);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.5;
}

.sil-donut-hole {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

[data-theme="dark"] .sil-donut-hole { background: #22201c; }

.sil-donut-val {
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  color: var(--text);
  opacity: 0.4;
}

.sil-table {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.sil-tr {
  height: 22px;
  border-radius: 4px;
  background: var(--bg);
  opacity: 0.3;
}

[data-theme="dark"] .sil-tr { background: #22201c; }
.sil-tr:nth-child(2) { width: 88%; }
.sil-tr:nth-child(3) { width: 72%; }

/* Screen 2: Kanban Board */
.sil-kb-title {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.5;
}

.sil-kb-columns {
  display: flex;
  gap: 10px;
  flex: 1;
  min-height: 0;
}

.sil-kb-col {
  flex: 1;
  background: var(--bg);
  border-radius: 8px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

[data-theme="dark"] .sil-kb-col { background: #22201c; }

.sil-kb-col-hdr {
  font-size: 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text);
  opacity: 0.4;
  margin-bottom: 4px;
}

.sil-kb-card {
  height: 28px;
  border-radius: 5px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  opacity: 0.6;
}

.sil-kb-col:nth-child(2) .sil-kb-card { opacity: 0.7; }
.sil-kb-col:nth-child(3) .sil-kb-card { opacity: 0.5; }

/* Screen 3: Chat */
.sil-chat-layout {
  flex: 1;
  display: flex;
  min-height: 0;
}

.sil-chat-list {
  width: 130px;
  background: var(--bg);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-shrink: 0;
}

[data-theme="dark"] .sil-chat-list { background: #22201c; }

.sil-chat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 6px;
  opacity: 0.4;
}

.sil-chat-active {
  background: var(--accent-soft);
  opacity: 0.7;
}

[data-theme="dark"] .sil-chat-active { background: #2a1a14; }

.sil-chat-av {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--accent-soft);
  flex-shrink: 0;
}

[data-theme="dark"] .sil-chat-av { background: #333; }

.sil-chat-info { flex: 1; display: flex; flex-direction: column; gap: 3px; }

.sil-chat-name {
  height: 6px;
  width: 70%;
  border-radius: 3px;
  background: var(--text);
  opacity: 0.2;
}

.sil-chat-msg {
  height: 4px;
  width: 90%;
  border-radius: 2px;
  background: var(--text);
  opacity: 0.1;
}

.sil-chat-convo {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sil-chat-bubble {
  width: 55%;
  height: 20px;
  border-radius: 8px;
  opacity: 0.3;
}

.sil-bubble-theirs {
  background: var(--bg);
  border-bottom-left-radius: 2px;
}

[data-theme="dark"] .sil-bubble-theirs { background: #2a2723; }

.sil-bubble-mine {
  background: var(--accent);
  opacity: 0.2;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.sil-bubble-wide { width: 75%; }

.sil-chat-input {
  height: 28px;
  border-radius: 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  margin-top: auto;
}

[data-theme="dark"] .sil-chat-input { background: #22201c; border-color: #33302c; }

/* Screen 4: Calendar */
.sil-cal-hdr {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text);
  opacity: 0.5;
}

.sil-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  flex: 1;
}

.sil-cal-dow {
  font-size: 0.55rem;
  font-weight: 600;
  text-align: center;
  color: var(--text);
  opacity: 0.25;
  padding: 4px 0;
}

.sil-cal-day {
  font-size: 0.6rem;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  opacity: 0.4;
  padding: 4px 0;
  border-radius: 4px;
}

.sil-cal-other { opacity: 0.15; }

.sil-cal-today {
  background: var(--accent);
  color: #fff;
  opacity: 0.7;
}

/* Glow overlay */
.sil-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    transparent 10%,
    rgba(0, 113, 227, 0.08) 45%,
    rgba(245, 166, 35, 0.04) 55%,
    transparent 90%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: sil-sweep 4.5s ease-in-out infinite;
  pointer-events: none;
  border-radius: 12px;
}

@keyframes sil-sweep {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

@media (max-width: 1100px) {
  .hero-silhouette { display: none; }
}

/* ========== Product Cards ========== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s, box-shadow 0.4s;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.tag-enterprise { background: var(--navy); color: #fff; }
.tag-personal { background: var(--accent); color: #fff; }

.product-card h3 { margin-bottom: 12px; }
.product-card p { color: var(--text-secondary); margin-bottom: 24px; line-height: 1.7; }

.product-card .screenshot {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent-soft), var(--bg));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 20px;
  overflow: hidden;
}

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

/* ========== Stats ========== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  text-align: center;
  padding: 40px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

/* ========== Features / Screenshots on Product Page ========== */
.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-showcase.reverse {
  direction: rtl;
}
.feature-showcase.reverse > * {
  direction: ltr;
}

.feature-visual {
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--bg-card) 100%);
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-text h3 { margin-bottom: 16px; }
.feature-text p { color: var(--text-secondary); line-height: 1.8; }
.feature-text .feature-list { margin-top: 20px; list-style: none; }
.feature-text .feature-list li {
  padding: 6px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
}
.feature-text .feature-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ========== Pricing ========== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}

.pricing-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--border);
  transition: transform 0.3s, box-shadow 0.3s;
}

.pricing-card.featured {
  border-color: var(--accent);
  position: relative;
  transform: scale(1.05);
}

.pricing-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 100px;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-4px);
}

.pricing-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.pricing-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.pricing-period {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-bottom: 24px;
}

.pricing-features {
  list-style: none;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
}

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

.pricing-features li::before {
  content: "\2713";
  color: var(--accent);
  font-weight: 700;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
}

.pricing-toggle-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.pricing-toggle-label.active { color: var(--text); }

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  background: var(--border);
  border-radius: 100px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}

.toggle-switch.active { background: var(--accent); }

.toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #fff;
  transition: transform 0.3s;
}

.toggle-switch.active::after { transform: translateX(22px); }

/* ========== Testimonials ========== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 32px;
  border: 1px solid var(--border);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
}

.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-secondary); }

/* ========== About Page ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.value-card {
  text-align: center;
  padding: 40px 24px;
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.value-card h4 { margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.7; }

/* ========== CTA Section ========== */
.cta-section {
  background: var(--navy);
  color: #fff;
  text-align: center;
  padding: 120px 24px;
  border-radius: var(--radius-lg);
  margin: 0 24px 40px;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(184,74,46,0.15) 0%, transparent 60%);
  pointer-events: none;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(201,163,74,0.1) 0%, transparent 50%);
  pointer-events: none;
}

[data-theme="dark"] .cta-section {
  background: var(--navy-light);
}

.cta-section h2 {
  max-width: 600px;
  margin: 0 auto 16px;
  color: #fff;
}

.cta-section p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 32px;
  font-size: 1.1rem;
}

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

.cta-section .btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

/* ========== Footer ========== */
.footer {
  padding: 60px 24px 40px;
  border-top: 1px solid var(--border);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 320px;
  line-height: 1.7;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a {
  color: var(--text-secondary);
  font-size: 0.9rem;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ========== Products Overview Page ========== */
.product-hero {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 60px;
}

.product-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 100px;
  border: 1px solid var(--border);
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.product-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

/* ========== Page Header ========== */
.page-header {
  padding-top: calc(var(--nav-height) + 60px);
  padding-bottom: 40px;
  text-align: center;
}

.page-header p {
  color: var(--text-secondary);
  font-size: 1.15rem;
  margin-top: 12px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ========== Team Grid (About) ========== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.team-card {
  text-align: center;
  padding: 32px 20px;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--accent-soft);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--accent);
}

.team-card h4 { font-size: 1rem; margin-bottom: 4px; }
.team-card p { color: var(--text-secondary); font-size: 0.85rem; }

/* ========== Animations ========== */
.hero {
  position: relative;
}

/* ========== Product Carousel (Transform-based) ========== */
.carousel-section {
  overflow: hidden;
  padding: 80px 0;
}

.carousel-viewport {
  overflow: hidden;
  position: relative;
  margin: 0 -12px;
}

.carousel-track {
  display: flex;
  gap: 32px;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
  padding: 20px 0 40px;
}

.carousel-card {
  flex: 0 0 380px;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px 32px;
  transition: opacity 0.5s ease, transform 0.5s ease, filter 0.5s ease;
  position: relative;
}

.carousel-card:hover {
  transform: scale(1.03) !important;
  box-shadow: var(--shadow-lg);
}

.carousel-card .tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.carousel-card h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.carousel-card .carousel-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.carousel-card .carousel-img {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-top: 16px;
  background: linear-gradient(135deg, var(--accent-soft), var(--bg));
  transition: transform 0.4s ease;
}

.carousel-card:hover .carousel-img {
  transform: scale(1.04);
}

.carousel-card .carousel-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-card.inactive {
  opacity: 0.35;
  filter: blur(0.5px);
  transform: scale(0.9);
}

.carousel-card.active {
  opacity: 1;
  filter: blur(0);
  transform: scale(1);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 24px;
}

.carousel-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.carousel-arrow:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.carousel-dots {
  display: flex;
  gap: 8px;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  border: none;
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.carousel-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 4px;
}

/* ========== FX Canvas (scroll particles) ========== */
#fx-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Carousel top offset (hero removed) */
.carousel-section { padding-top: calc(var(--nav-height) + 40px); }

/* Carousel top offset (hero removed) */
.carousel-section { padding-top: calc(var(--nav-height) + 60px); }

/* ========== Mobile adjustments for carousel ========== */
@media (max-width: 900px) {
  .carousel-card {
    flex: 0 0 280px;
    padding: 24px 20px;
  }
  .carousel-card .carousel-img { height: 120px; }
  #fx-canvas { display: none; }
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========== Mobile nav overlay ========== */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-overlay.visible { display: block; }

/* ========== Mobile ========== */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    z-index: 1001;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 24px;
    gap: 16px;
    align-items: flex-start;
  }

  .product-grid,
  .product-grid-wide,
  .pricing-grid,
  .stats-grid,
  .testimonial-grid,
  .about-grid,
  .values-grid,
  .team-grid,
  .feature-showcase {
    grid-template-columns: 1fr;
  }

  .feature-showcase.reverse { direction: ltr; }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-visual { display: none; }
  .pricing-card.featured { transform: none; }
  .pricing-card.featured:hover { transform: translateY(-4px); }
  .about-image { height: 280px; }
}

@media (max-width: 600px) {
  .section { padding: 80px 0; }
  .hero-content { text-align: center; }
  .hero-cta { justify-content: center; }
  .hero-subtext { margin-left: auto; margin-right: auto; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .section { padding: 60px 0; }
  .hero-headline { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-subtext { font-size: 0.95rem; }
  .hero-tag { font-size: 0.8rem; }
  .section-label { font-size: 0.75rem; letter-spacing: 2px; }
  .hero-content { padding-top: 20px; }
  .hero-panel { padding: 0 8px; }

  .pricing-card { padding: 28px 20px; }
  .pricing-amount { font-size: 2.4rem; }

  .carousel-card { flex: 0 0 240px; padding: 20px 16px; }
  .carousel-card .carousel-img { height: 100px; }

  .nav-links.open { padding: 16px; gap: 12px; }
  .nav-links.open a { font-size: 1rem; padding: 8px 0; }

  .footer-inner { gap: 24px; }

  .sil-nav { gap: 6px; }
  .sil-nav .sil-dot { width: 8px; height: 8px; }
}

@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-headline { font-size: 1.7rem; }
  .carousel-card { flex: 0 0 200px; }
  .pricing-card { padding: 24px 16px; }
}
