/* ── Iron Log — Shared Styles ─────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #0a0a0a;
  --bg-2:      #111111;
  --bg-3:      #1a1a1a;
  --accent:    #e8ff3a;
  --accent-dim: rgba(232,255,58,0.15);
  --text-1:    #f0f0f0;
  --text-2:    #888;
  --text-3:    #555;
  --border:    rgba(255,255,255,0.07);
  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text-1);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Noise texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 40px;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: 0.5px;
  color: var(--text-1);
  text-decoration: none;
}

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

.nav-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 9px 20px;
  border-radius: 6px;
  transition: opacity 0.15s;
}

.nav-cta:hover { opacity: 0.85; }

.nav-back {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-back:hover { color: var(--text-2); }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #0a0a0a;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 8px;
  transition: opacity 0.15s, transform 0.15s;
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  color: var(--text-2);
  font-size: 14px;
  text-decoration: none;
  border-bottom: 1px solid var(--text-3);
  padding-bottom: 2px;
  transition: color 0.15s, border-color 0.15s;
}

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

/* ── SECTION ATOMS ── */
.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  margin-bottom: 60px;
}

.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 40px;
}

/* ── HERO ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 80px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232,255,58,0.08) 0%, transparent 70%);
  pointer-events: none;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.1s forwards;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(52px, 10vw, 96px);
  line-height: 0.95;
  letter-spacing: -1px;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.2s forwards;
}

.hero-title .line-2 { color: var(--accent); display: block; }

.hero-sub {
  font-size: 18px;
  font-weight: 300;
  color: var(--text-2);
  max-width: 480px;
  margin: 0 auto 40px;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.3s forwards;
}

.hero-sub em { color: var(--text-1); font-style: normal; font-weight: 400; }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.4s forwards;
}

.hero-badges {
  display: flex;
  gap: 24px;
  margin-top: 60px;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0;
  animation: fadeUp 0.6s ease 0.55s forwards;
}

.hero-badge {
  font-size: 12px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
}

.hero-banner {
  width: 100%;
  max-width: 1100px;
  margin: 60px auto 0;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  opacity: 0;
  animation: fadeUp 0.7s ease 0.65s forwards;
  position: relative;
  z-index: 1;
}

.hero-banner img { width: 100%; height: auto; display: block; }

/* ── STATS STRIP ── */
.stats-strip {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 48px 24px;
}

.stats-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 40px;
}

.stat-item { text-align: center; }

.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
}

/* ── FEATURES GRID ── */
.features {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.feature-card {
  background: var(--bg-2);
  padding: 36px;
  transition: background 0.2s;
}

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

.feature-icon { font-size: 28px; margin-bottom: 16px; display: block; }

.feature-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-1);
}

.feature-desc { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ── SCREEN SHOWCASE ── */
.screen-showcase {
  display: flex;
  gap: 60px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 24px;
}

.screen-showcase img {
  width: 260px;
  flex-shrink: 0;
  border-radius: 8px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.7);
}

.screen-showcase-text .section-label { margin-bottom: 12px; }

.screen-showcase-text h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(26px, 3.5vw, 38px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.screen-showcase-text p { font-size: 15px; color: var(--text-2); line-height: 1.75; max-width: 480px; }

/* ── PHILOSOPHY ── */
.philosophy {
  padding: 100px 24px;
  max-width: 800px;
  margin: 0 auto;
}

.philosophy-quote {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.15;
  margin-bottom: 32px;
  position: relative;
}

.philosophy-quote::before {
  content: '"';
  position: absolute;
  top: -20px; left: -10px;
  font-size: 80px;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
}

.philosophy-body { font-size: 15px; color: var(--text-2); line-height: 1.8; max-width: 600px; }
.philosophy-body p + p { margin-top: 16px; }

/* ── DATA SECTION ── */
.data-section {
  padding: 100px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.data-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.data-list { list-style: none; margin-top: 32px; }

.data-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-2);
}

.data-list li:last-child { border-bottom: none; }
.data-list .check { color: var(--accent); font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.data-list strong { color: var(--text-1); display: block; font-size: 15px; margin-bottom: 2px; }

.export-preview {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: var(--text-3);
  line-height: 1.8;
  overflow: hidden;
}

.export-preview .ep-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--text-1); letter-spacing: 0.5px; }
.export-preview .ep-date { color: var(--text-2); }
.export-preview .ep-accent { color: var(--accent); }
.export-preview .ep-stat { color: #6ee7b7; }

/* ── WHO IS THIS FOR ── */
.for-section {
  padding: 100px 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2px;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
}

.for-card {
  background: var(--bg-2);
  padding: 32px 28px;
  transition: background 0.2s;
}

.for-card:hover { background: var(--bg-3); }

.for-card-icon { font-size: 24px; margin-bottom: 14px; display: block; }

.for-card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  color: var(--text-1);
  margin-bottom: 8px;
}

.for-card-desc { font-size: 13px; color: var(--text-2); line-height: 1.6; }

/* ── COMPARISON TABLE ── */
.comparison-section {
  padding: 100px 24px;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.comparison-inner {
  max-width: 900px;
  margin: 0 auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 48px;
  font-size: 14px;
}

.comparison-table th {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
}

.comparison-table th.col-ironlog {
  color: var(--accent);
}

.comparison-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  color: var(--text-2);
  vertical-align: middle;
}

.comparison-table tr:last-child td { border-bottom: none; }

.comparison-table tr:hover td { background: rgba(255,255,255,0.02); }

.comparison-table td.feature-name {
  color: var(--text-1);
  font-weight: 500;
}

.comparison-table .yes { color: #4ade80; font-size: 18px; }
.comparison-table .no  { color: var(--text-3); font-size: 18px; }
.comparison-table .partial { color: #fbbf24; font-size: 13px; font-style: italic; }

/* ── BOTTOM CTA ── */
.bottom-cta { padding: 120px 24px; text-align: center; }

.bottom-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1;
  margin-bottom: 20px;
}

.bottom-cta-sub { font-size: 16px; color: var(--text-2); margin-bottom: 40px; }

/* ── FOOTER ── */
footer {
  padding: 32px 40px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand { font-family: var(--font-display); font-weight: 700; font-size: 16px; }
.footer-brand span { color: var(--accent); }

.footer-links { display: flex; gap: 24px; }

.footer-links a {
  font-size: 13px;
  color: var(--text-3);
  text-decoration: none;
  transition: color 0.15s;
}

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

.footer-copy { font-size: 12px; color: var(--text-3); width: 100%; }

/* ── KEYWORD PAGE LAYOUT ── */
.kw-hero {
  padding: 140px 24px 80px;
  max-width: 800px;
  margin: 0 auto;
}

.kw-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(40px, 7vw, 72px);
  line-height: 0.95;
  margin-bottom: 24px;
}

.kw-hero h1 span { color: var(--accent); display: block; }

.kw-hero p {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 36px;
}

.kw-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px 80px;
}

.kw-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 34px);
  margin: 56px 0 16px;
}

.kw-body p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 16px;
}

.kw-body ul {
  list-style: none;
  margin: 16px 0 24px;
}

.kw-body ul li {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 12px;
}

.kw-body ul li::before {
  content: '→';
  color: var(--accent);
  flex-shrink: 0;
}

.kw-related {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px;
  margin-top: 60px;
}

.kw-related-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-3);
  margin-bottom: 16px;
}

.kw-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.kw-related-links a {
  font-size: 13px;
  color: var(--text-2);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 14px;
  transition: border-color 0.15s, color 0.15s;
}

.kw-related-links a:hover { border-color: var(--accent); color: var(--accent); }

/* ── ANIMATIONS ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .site-nav { padding: 14px 20px; }
  .data-inner { grid-template-columns: 1fr; gap: 40px; }
  footer { flex-direction: column; padding: 24px 20px; }
  .features { padding: 60px 16px; }
  .philosophy { padding: 60px 16px; }
  .bottom-cta { padding: 80px 16px; }
  .screen-showcase { flex-direction: column; align-items: center; padding: 60px 16px; }
  .screen-showcase img { width: 220px; }
  .for-section { padding: 60px 16px; }
  .comparison-section { padding: 60px 16px; }
  .comparison-table th, .comparison-table td { padding: 10px 12px; }
  .kw-hero { padding: 120px 16px 60px; }
  .kw-body { padding: 0 16px 60px; }
}

/* ── Footer brand link fix ── */
a.footer-brand {
  text-decoration: none;
  color: var(--text-1);
}

/* ── Privacy page ── */
.content {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.page-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.content h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 56px);
  line-height: 1;
  margin-bottom: 12px;
}

.updated {
  font-size: 13px;
  color: var(--text-3);
  margin-bottom: 60px;
}

.highlight-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 8px;
  padding: 20px 24px;
  margin-bottom: 48px;
}

.highlight-box p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.7;
  margin: 0;
}

.highlight-box strong { color: var(--text-1); font-weight: 500; }

.policy-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}

.policy-section:last-of-type { border-bottom: none; }

.policy-section h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--text-1);
  margin-bottom: 16px;
}

.policy-section p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.8;
  margin-bottom: 12px;
}

.policy-section p:last-child { margin-bottom: 0; }
.policy-section strong { color: var(--text-1); font-weight: 500; }

/* ── Contact / Credits page ── */
body.page-contact {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

body.page-contact main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 60px;
}

.credits-card {
  width: 100%;
  max-width: 480px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.credits-hero {
  padding: 48px 40px 36px;
  text-align: center;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.bg-watermark {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  overflow: hidden;
}

.bg-watermark img {
  width: 220px;
  opacity: 0.04;
}

.credits-hero img.main-logo {
  width: 140px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.credits-version {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.credits-tagline {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.6;
  max-width: 320px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.credits-made-by {
  padding: 32px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}

.credits-made-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-3);
  margin-bottom: 16px;
}

.credits-made-by img {
  height: 28px;
  width: auto;
  margin: 0 auto 10px;
  display: block;
}

.credits-made-sub { font-size: 13px; color: var(--text-3); }

.credits-links { border-bottom: 1px solid var(--border); }

.credits-link-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
  cursor: pointer;
}

.credits-link-row:last-child { border-bottom: none; }
.credits-link-row:not(.soon):hover { background: var(--bg-3); }

.credits-link-icon { font-size: 20px; width: 36px; text-align: center; flex-shrink: 0; }
.credits-link-body { flex: 1; }

.credits-link-title {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-1);
  margin-bottom: 2px;
}

.credits-link-sub { display: block; font-size: 12px; color: var(--text-3); }
.credits-link-arrow { color: var(--text-3); font-size: 16px; }

.credits-soon-badge {
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 3px 8px;
}

.credits-footer {
  padding: 28px 32px;
  text-align: center;
}

.credits-footer p {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.7;
  margin-bottom: 10px;
}

.credits-footer p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
  .credits-hero { padding: 36px 24px 28px; }
  .credits-made-by { padding: 24px; }
  .credits-link-row { padding: 18px 20px; }
  .credits-footer { padding: 24px 20px; }
}
