/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(to bottom, #fff, var(--gray-50));
  padding: 6rem 1.5rem 5rem;
}

.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
}

.hero-bg-circle-1 {
  width: 500px; height: 500px;
  background: var(--primary-200);
  top: -100px; right: -100px;
}

.hero-bg-circle-2 {
  width: 400px; height: 400px;
  background: #e9d5ff;
  bottom: -100px; left: -100px;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  text-align: left;
}

.hero-image {
  position: relative;
}

.hero-image-placeholder {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(135deg, var(--primary-100), #ede9fe);
  border-radius: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.hero-image-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 1.5rem;
  border: 1px solid var(--gray-200);
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  object-fit: cover;
  display: block;
}

.hero-image-placeholder span {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.hero-floating-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.12);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-floating-badge span {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-900);
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
}

.gradient-text {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.125rem;
  color: var(--gray-600);
  max-width: 640px;
  margin: 0 0 2.5rem;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.store-badges {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-block;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.store-badge img {
  height: 56px;
  width: auto;
}

.hero-email-capture {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.75rem;
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.hero-email-capture a {
  color: var(--primary-600);
  text-decoration: none;
  font-weight: 500;
}

.hero-email-capture a:hover {
  text-decoration: underline;
}

/* Trust Bar */
.trust-bar {
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  padding: 1.25rem 1.5rem;
}

.trust-bar-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-600);
}

.trust-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--primary-600);
  flex-shrink: 0;
}

.trust-divider {
  width: 1px;
  height: 20px;
  background: var(--gray-300);
}

/* Value Props */
.value-props {
  padding: 5rem 1.5rem;
  background: #fff;
}

.value-props-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.value-prop {
  text-align: center;
}

.value-prop-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(135deg, var(--primary-100), #ede9fe);
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-prop-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--primary-700);
}

.value-prop h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.value-prop p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Scenarios */
.scenarios {
  padding: 5rem 1.5rem;
  background: var(--gray-50);
}

.scenarios-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 3rem;
  align-items: start;
}

/* Phone mockup */
.scenario-phone {
  position: sticky;
  top: 6rem;
}

.scenario-phone-screen {
  position: relative;
}

.scenario-preview-img {
  display: none;
  width: 100%;
  height: auto;
}

.scenario-preview-img.active {
  display: block;
  animation: scenarioFadeIn 0.3s ease-out;
}

@keyframes scenarioFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Cards list */
.scenarios-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.scenario-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  border: 2px solid var(--gray-200);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
  cursor: pointer;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.scenario-card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
  border-color: var(--gray-300);
}

.scenario-card.active {
  border-color: var(--primary-500);
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.12);
}

.scenario-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--primary-100), #ede9fe);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scenario-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary-700);
}

.scenario-card-content {
  flex: 1;
}

.scenario-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
  color: var(--gray-900);
}

.scenario-card p {
  font-size: 0.875rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.scenario-feature {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--primary-700);
  background: var(--primary-100);
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  letter-spacing: 0.02em;
}

/* Accordion image — hidden on desktop, shown on mobile */
.scenario-card-image {
  display: none;
}

.scenario-card-image img {
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* Getting Started */
.getting-started {
  padding: 5rem 1.5rem;
  background: #fff;
}

.getting-started-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.getting-started-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.getting-started-step {
  text-align: center;
  position: relative;
}

.step-number {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.getting-started-step h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.625rem;
}

.getting-started-step p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
  max-width: 320px;
  margin: 0 auto;
}

.getting-started-connector {
  display: none;
}

/* Connectors between steps — desktop only */
@media (min-width: 769px) {
  .getting-started-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 28px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--gray-200);
  }
}

.getting-started-cta {
  text-align: center;
}

.getting-started-cta a {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--primary-600);
  text-decoration: none;
  transition: color 0.2s;
}

.getting-started-cta a:hover {
  color: var(--primary-700);
}

.getting-started-cta a svg {
  width: 16px;
  height: 16px;
  vertical-align: middle;
  margin-left: 0.25rem;
  stroke: currentColor;
}

/* Security */
.security {
  padding: 5rem 1.5rem;
  background: var(--gray-50);
}

.security-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.security-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.security-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary-100), #ede9fe);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.security-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary-700);
  fill: none;
}

.security-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.625rem;
}

.security-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* About */
.about {
  padding: 5rem 1.5rem;
  background: #fff;
}

.about-inner {
  max-width: 960px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3.5rem;
  align-items: start;
}

.about-photo img {
  width: 100%;
  border-radius: 1rem;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 1.5rem;
  color: var(--gray-900);
}

.about-content p {
  font-size: 1.0625rem;
  color: var(--gray-600);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.about-signature {
  font-weight: 600;
  color: var(--gray-900) !important;
  margin-top: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-600);
  color: #fff;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: var(--primary-700);
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #fff;
  color: var(--gray-700);
  border: 2px solid var(--gray-300);
}

.btn-secondary:hover {
  border-color: var(--gray-500);
  transform: translateY(-1px);
}

.btn svg { width: 18px; height: 18px; }

.hero-note {
  font-size: 0.8125rem;
  color: var(--gray-500);
  margin-bottom: 2.5rem;
}

.encryption-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 9999px;
  padding: 0.625rem 1.25rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gray-700);
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--green-500);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.3); }
}

/* App Showcase */
.showcase {
  padding: 6rem 1.5rem;
  background: linear-gradient(to bottom, #fff, var(--gray-50));
}

.showcase-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.showcase-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 3rem;
}

.showcase-tab {
  padding: 0.625rem 1.5rem;
  border-radius: 9999px;
  border: 1px solid var(--gray-300);
  background: #fff;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-600);
  cursor: pointer;
  transition: all 0.2s;
}

.showcase-tab:hover {
  border-color: var(--primary-500);
  color: var(--primary-600);
}

.showcase-tab.active {
  background: var(--primary-600);
  border-color: var(--primary-600);
  color: #fff;
}

.showcase-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.showcase-row {
  display: grid;
  gap: 2rem;
}

.showcase-row.macos-row {
  grid-template-columns: 1fr;
}

.showcase-row.ios-row {
  grid-template-columns: repeat(3, 1fr);
}

.showcase-item {
  position: relative;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray-200);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: all 0.3s;
}

.showcase-item:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.showcase-placeholder {
  width: 100%;
  background: linear-gradient(135deg, var(--primary-100), #ede9fe);
  display: flex;
  align-items: center;
  justify-content: center;
}

.showcase-item.macos .showcase-placeholder {
  aspect-ratio: 16 / 9;
}

.showcase-item.ios .showcase-placeholder {
  aspect-ratio: 9 / 16;
}

.showcase-item.ios img.showcase-placeholder {
  object-position: top;
}

.showcase-item.ios {
  max-height: 600px;
  overflow: hidden;
}

.showcase-placeholder span {
  font-size: 0.875rem;
  color: var(--gray-500);
  font-weight: 500;
}

.showcase-caption {
  padding: 1.25rem 1.5rem;
}

.showcase-caption h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 0.25rem;
}

.showcase-caption p {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

.showcase-platform-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  padding: 0.375rem 0.75rem;
  border-radius: 9999px;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(8px);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gray-700);
}

/* Features */
.features {
  padding: 6rem 1.5rem;
  background: #fff;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem;
}

.section-header h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 1rem;
}

.section-header p {
  font-size: 1.125rem;
  color: var(--gray-600);
  line-height: 1.75;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg { width: 24px; height: 24px; color: #fff; stroke: #fff; fill: none; }

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--gray-900);
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.7;
}

/* Trust */
.trust {
  padding: 6rem 1.5rem;
  background: linear-gradient(to bottom, var(--gray-50), #fff);
}

.trust-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.trust-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: box-shadow 0.3s;
}

.trust-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }

.trust-icon {
  width: 48px; height: 48px;
  background: var(--primary-100);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.trust-icon svg { width: 24px; height: 24px; stroke: var(--primary-600); fill: none; }

.trust-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-card p {
  font-size: 0.8125rem;
  color: var(--gray-600);
}

/* CTA */
.cta {
  padding: 6rem 1.5rem;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-700), var(--secondary-600));
  position: relative;
  overflow: hidden;
}

.cta-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 18v4M18 20h4' stroke='%23fff' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
}

.cta-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.025em;
}

.cta > .cta-inner > p {
  font-size: 1.125rem;
  color: var(--primary-100);
  margin-bottom: 2.5rem;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  text-align: left;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 0.875rem;
}

.cta-feature svg { width: 18px; height: 18px; stroke: var(--primary-200); fill: none; flex-shrink: 0; }

.btn-white {
  background: #fff;
  color: var(--primary-600);
  font-size: 1.0625rem;
  padding: 1rem 2.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.btn-white:hover {
  background: var(--gray-50);
  transform: translateY(-2px) scale(1.02);
}

.cta-subtext {
  font-size: 0.8125rem;
  color: var(--primary-200);
  margin-top: 1rem;
}

.premium-badge {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.5rem 1.25rem;
  border: 1px solid rgba(125, 211, 252, 0.4);
  border-radius: 9999px;
  background: rgba(14, 165, 233, 0.15);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Contact */
.contact {
  padding: 6rem 1.5rem;
  background: linear-gradient(to bottom, var(--gray-50), #fff);
}

.contact-form {
  max-width: 640px;
  margin: 0 auto;
}

/* Responsive - page-specific */
@media (min-width: 481px) and (max-width: 768px) {
  .hero h1 br { display: none; }
}

@media (max-width: 768px) {
  .hero { padding: 4rem 1.5rem 3rem; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-content { text-align: center; }
  .hero-buttons { justify-content: center; }
  .store-badges { justify-content: center; }
  .hero-email-capture { justify-content: center; }
  .hero p { margin: 0 auto 2.5rem; }
  .features, .trust, .cta, .showcase { padding: 4rem 1.5rem; }
  .showcase-row.ios-row { grid-template-columns: 1fr 1fr; }
  .showcase-row.macos-row { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .cta-features { grid-template-columns: 1fr; }

  /* Trust bar mobile */
  .trust-divider { display: none; }
  .trust-bar-inner { gap: 1rem; justify-content: center; }
  .trust-item { font-size: 0.8125rem; }

  /* Value props mobile */
  .value-props-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }

  /* Scenarios mobile — accordion mode */
  .scenarios-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .scenario-phone {
    display: none;
  }
  .scenario-card {
    flex-direction: column;
    gap: 0.75rem;
    flex-wrap: wrap;
  }
  .scenario-card-image {
    display: none;
    width: 100%;
    max-width: 300px;
    margin: 0.5rem auto 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }
  .scenario-card.active .scenario-card-image {
    display: block;
  }

  /* Getting Started mobile */
  .getting-started-steps { grid-template-columns: 1fr; gap: 2rem; }

  /* Security mobile */
  .security-grid { grid-template-columns: 1fr; gap: 1.25rem; }

  /* About mobile */
  .about-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
  .about-photo { max-width: 200px; margin: 0 auto; }
  .about-content h2 { text-align: center; }
  .about-content p { text-align: left; }
}
