/* =============================================
   TIMEPOINT AI — Marketing Page Styles
   Supplements styles.css with marketing-specific layouts
   ============================================= */

/* HERO — marketing layout */
.mkt-hero {
  padding: 140px 48px 60px;
}

.mkt-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mkt-hero-copy {
  animation: fadeUp 1s ease-out;
}

.mkt-hero .hero-headline {
  font-size: clamp(36px, 5vw, 64px);
  margin-bottom: 24px;
}

.mkt-hero-sub {
  font-size: clamp(16px, 1.5vw, 20px);
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 40px;
  animation: fadeUp 1s ease-out 0.15s both;
}

.mkt-hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s ease-out 0.3s both;
}

.mkt-hero-visual {
  animation: fadeUp 1s ease-out 0.2s both;
}

.mkt-hero-image-wrap {
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border);
  position: relative;
  cursor: pointer;
  transition: border-color 0.3s;
}

.mkt-hero-image-wrap:hover {
  border-color: var(--gold-dim);
}

.mkt-hero-img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 300px;
  object-fit: cover;
  transition: filter 0.3s;
}

.mkt-hero-image-wrap:hover .mkt-hero-img {
  filter: brightness(1.1);
}

.mkt-hero-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 12px 16px;
  background: linear-gradient(transparent, rgba(248,246,241,0.88));
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* STATS BAR */
.mkt-stats-bar {
  background: var(--bg-deep);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px;
}

.mkt-stats-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.mkt-stat-value {
  display: block;
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 600;
  color: var(--gold);
  line-height: 1.2;
  margin-bottom: 8px;
}

.mkt-stat-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* FEATURES GRID */
.mkt-features {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.mkt-features .section-title {
  margin-bottom: 48px;
}

.mkt-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.mkt-feature-card {
  background: var(--bg-deep);
  padding: 48px 40px;
  transition: background 0.3s;
}

.mkt-feature-card:hover {
  background: var(--bg-card);
}

.mkt-feature-icon {
  color: var(--gold);
  margin-bottom: 20px;
}

.mkt-feature-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 500;
  color: var(--ivory);
  margin-bottom: 16px;
}

.mkt-feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 20px;
}

.mkt-feature-link {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--gold);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.mkt-feature-link:hover {
  color: var(--gold-bright);
}

/* EXAMPLES GRID */
.mkt-how-it-works {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.mkt-examples-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.mkt-example-card {
  background: var(--bg-deep);
  padding: 36px 32px;
  transition: background 0.3s;
}

.mkt-example-card:hover {
  background: var(--bg-card);
}

.mkt-example-prompt {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  line-height: 1.6;
  padding: 16px;
  background: rgba(154,111,34,0.06);
  border: 1px solid rgba(154,111,34,0.12);
  border-radius: 4px;
  margin-bottom: 20px;
}

.mkt-example-result {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 20px;
}

.mkt-example-output {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mkt-example-output span {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  gap: 8px;
}

.mkt-example-output span::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}

.mkt-example-card:nth-child(2) .mkt-example-output span::before {
  background: var(--ice);
}

.mkt-example-card:nth-child(3) .mkt-example-output span::before {
  background: #7c3aed;
}

/* iOS TESTFLIGHT SECTION */
.mkt-ios-section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.mkt-ios-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.mkt-ios-desc {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin: 24px 0 32px;
}

.mkt-testflight-form {
  display: flex;
  gap: 12px;
  max-width: 480px;
}

.mkt-testflight-input {
  flex: 1;
  padding: 14px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  font-family: var(--mono);
  font-size: 13px;
  border-radius: 2px;
  outline: none;
  transition: border-color 0.2s;
}

.mkt-testflight-input:focus {
  border-color: var(--gold-dim);
}

.mkt-testflight-input::placeholder {
  color: var(--text-dim);
}

.mkt-testflight-btn {
  padding: 14px 28px;
  background: var(--gold);
  color: var(--bg-void);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--gold);
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background 0.2s;
}

.mkt-testflight-btn:hover {
  background: var(--gold-bright);
}

.mkt-testflight-success {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--gold);
  padding: 14px 0;
}

/* iOS Phone Mockup */
.mkt-ios-visual {
  display: flex;
  justify-content: center;
}

.mkt-ios-phone {
  width: 260px;
  height: 520px;
  background: var(--bg-panel);
  border: 2px solid var(--border);
  border-radius: 36px;
  padding: 12px;
  position: relative;
  box-shadow: 0 20px 60px rgba(30,25,20,0.20);
}

.mkt-ios-notch {
  width: 100px;
  height: 24px;
  background: var(--bg-void);
  border-radius: 0 0 16px 16px;
  margin: 0 auto 12px;
}

.mkt-ios-screen {
  background: var(--bg-deep);
  border-radius: 20px;
  height: calc(100% - 36px);
  padding: 20px 16px;
  display: flex;
  flex-direction: column;
}

.mkt-ios-screen-header {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 24px;
  text-align: center;
}

.mkt-ios-screen-moment {
  flex: 1;
  background: var(--bg-card);
  border-radius: 12px;
  padding: 20px 16px;
  border: 1px solid var(--border);
}

.mkt-ios-screen-title {
  font-family: var(--serif);
  font-size: 16px;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 8px;
}

.mkt-ios-screen-date {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.mkt-ios-screen-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.mkt-ios-screen-bar {
  display: flex;
  justify-content: space-around;
  padding: 16px 0 4px;
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
}

.mkt-ios-screen-bar span:first-child {
  color: var(--gold);
}

/* DEVELOPER SECTION */
.mkt-dev-section {
  padding: 120px 48px;
  max-width: 1200px;
  margin: 0 auto;
}

.mkt-dev-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: 4px;
  overflow: hidden;
}

.mkt-dev-card {
  background: var(--bg-deep);
  padding: 32px 28px;
  text-decoration: none;
  transition: background 0.3s;
  display: flex;
  flex-direction: column;
}

.mkt-dev-card:hover {
  background: var(--bg-card);
}

.mkt-dev-card-name {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 8px;
}

.mkt-dev-card-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 16px;
}

.mkt-dev-card-tag {
  font-family: var(--mono);
  font-size: 9px;
  color: var(--gold-dim);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.mkt-mcp-block {
  margin-top: 48px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.mkt-mcp-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  text-align: center;
}

.mkt-mcp-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-dim);
  text-align: center;
  margin-top: 12px;
  line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .mkt-hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .mkt-stats-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .mkt-features-grid {
    grid-template-columns: 1fr;
  }

  .mkt-examples-grid {
    grid-template-columns: 1fr;
  }

  .mkt-ios-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .mkt-ios-visual {
    order: -1;
  }

  .mkt-ios-phone {
    width: 220px;
    height: 440px;
  }

  .mkt-dev-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .mkt-hero {
    padding: 120px 24px 40px;
  }

  .mkt-stats-bar {
    padding: 32px 24px;
  }

  .mkt-stats-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .mkt-features,
  .mkt-how-it-works,
  .mkt-ios-section,
  .mkt-dev-section {
    padding: 80px 24px;
  }

  .mkt-feature-card {
    padding: 32px 24px;
  }

  .mkt-testflight-form {
    flex-direction: column;
  }

  .mkt-dev-grid {
    grid-template-columns: 1fr;
  }

  .mkt-hero-ctas {
    flex-direction: column;
  }

  .mkt-hero-ctas a {
    text-align: center;
  }

  .mkt-ios-phone {
    width: 200px;
    height: 400px;
  }
}
