/* ---------------------------
   Terra Novus — Vision Page CSS
   Drop this after your reset/normalize.
---------------------------- */

/* Fonts (optional): swap for your brand */
:root{
  --font-sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Inter, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;

  /* Base palette */
  --bg: #0b0b0d;
  --fg: #eaeaf0;
  --muted: #c9c9d6;
  --soft: #a7a7b8;
  --card: rgba(255,255,255,0.06);
  --card-border: rgba(255,255,255,0.12);
  --shadow: 0 10px 30px rgba(0,0,0,0.45);

  /* Accent for links and UI */
  --accent: #b388ff;           /* soft violet */
  --accent-strong: #8b5cf6;    /* vivid violet */
}

/* Global page styles */
html, body{
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

a{
  color: var(--accent);
  text-decoration: none;
}
a:hover{ color: var(--accent-strong); text-decoration: underline; }

/* Section base: each .era sets its own theme via --theme-color */
.era{
  --theme-color: #6b7280; /* fallback if not set inline */
  position: relative;
  padding: min(10vh, 120px) 0;
  overflow: clip;

  /* Soft vignette gradient + theme glow */
  background:
    radial-gradient(1000px 500px at 10% -10%, color-mix(in oklab, var(--theme-color) 30%, transparent), transparent 60%),
    radial-gradient(1000px 500px at 110% 110%, color-mix(in oklab, var(--theme-color) 20%, transparent), transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.0));
  border-top: 1px solid rgba(255,255,255,0.06);
}

.era + .era{
  border-top-color: rgba(255,255,255,0.08);
}

/* Content wrapper */
.wrap{
  width: min(1100px, 92vw);
  margin: 0 auto;
}

/* Headings */
.era h2{
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.1;
  margin: 0 0 12px;
  letter-spacing: 0.4px;
  font-weight: 800;
  background: linear-gradient(90deg, #fff, color-mix(in oklab, var(--theme-color) 65%, #ffffff 0%));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 0 rgba(0,0,0,0); /* crisp gradient text */
}

/* Subtitle / Quote */
.quote{
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  color: var(--muted);
  margin: 0 0 22px;
  padding-left: 14px;
  border-left: 3px solid color-mix(in oklab, var(--theme-color) 70%, #ffffff 0%);
}

/* Body text blocks */
.text{
  font-size: clamp(16px, 1.45vw, 19px);
  color: #e9e9f2;
  opacity: 0.96;
  margin: 10px 0;
}

/* Data grid (Population, Energy, etc.) */
.data-grid{
  display: grid;
  grid-template-columns: repeat( auto-fit, minmax(220px, 1fr) );
  gap: 12px;
  margin-top: 22px;
}

.data-grid > div{
  background: linear-gradient(180deg, var(--card), rgba(255,255,255,0.03));
  border: 1px solid var(--card-border);
  border-radius: 14px;
  padding: 14px 16px;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow);
  color: #f2f2fa;
  font-size: 15px;
}

.data-grid strong{
  font-weight: 700;
  color: #ffffff;
}

/* Scroll cue (optional) */
.scroll-cue{
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--soft);
  font-size: 14px;
  opacity: 0.85;
}
.scroll-cue svg{
  width: 18px; height: 18px;
  opacity: 0.9;
}

/* Subtle section divider line that picks up the theme color */
.era::after{
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -1px;
  width: min(1100px, 92vw);
  height: 1px;
  background: linear-gradient(90deg,
    transparent,
    color-mix(in oklab, var(--theme-color) 80%, #ffffff 0%) 20%,
    color-mix(in oklab, var(--theme-color) 80%, #ffffff 0%) 80%,
    transparent);
  opacity: 0.25;
}

/* Reveal animations (no JS required): animate on load gracefully */
@media (prefers-reduced-motion: no-preference){
  .era { animation: fadeIn 800ms ease both; }
  .era .quote { animation: slideUp 700ms 80ms ease both; }
  .era .text { animation: slideUp 700ms 120ms ease both; }
  .data-grid { animation: slideUp 700ms 180ms ease both; }
}

@keyframes fadeIn{
  from{ opacity: 0; transform: translateY(10px); }
  to  { opacity: 1; transform: translateY(0); }
}
@keyframes slideUp{
  from{ opacity: 0; transform: translateY(18px); }
  to  { opacity: 1; transform: translateY(0); }
}

/* Responsive polish */
@media (max-width: 720px){
  .data-grid > div{
    padding: 12px 14px;
    border-radius: 12px;
  }
}

@media (min-width: 1200px){
  .wrap{ width: min(1150px, 84vw); }
}

/* Optional: Color presets you can reuse via class if you prefer over inline */
.era.blue   { --theme-color: #3b82f6; }  /* 2000s */
.era.gold   { --theme-color: #d4a017; }  /* 3000 BCE */
.era.silver { --theme-color: #9ca3af; }  /* 500 BCE */
.era.bronze { --theme-color: #b45309; }  /* 0 CE */
.era.red    { --theme-color: #ef4444; }  /* Medieval */
.era.orange { --theme-color: #f97316; }  /* Enlightenment/Industrial */
.era.yellow { --theme-color: #eab308; }  /* 1800s */
.era.green  { --theme-color: #22c55e; }  /* 1900s */
.era.purple { --theme-color: #8b5cf6; }  /* 2025+ */
.era.mystic { --theme-color: #60a5fa; }  /* 10,000 BCE (deep blue) */

/* === Remove WordPress spacing === */
.no-padding {
  padding: 0 !important;
  margin: 0 !important;
}

/* === Fullscreen section === */
.vision-era-section {
  width: 100vw;
  min-height: 100vh;
  overflow: hidden;
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 0;
}

/* === Background for 10,000 BCE === */
.vision-era-10000BC .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/09/10000bc-cinematic.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 100px;
}

.vision-era-3000BC .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/09/ancient_city.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}
.vision-era-500BC .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/09/500bc-photo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

.vision-era-0CE .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/09/roman_empire.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

/* === 1500 CE Background === */
.era-1500ce .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/09/exporation2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

/* === Background for 1700 CE === */
.vision-era-1700CE .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/09/london2.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

/* === Background for 1800 ERA === */
.vision-era-1800 .vision-era-background {
  background-image: url('https://www.terranovus.org/wp-content/uploads/2025/10/1800s.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

/* === 1900s Background === */
.vision-era-1900 .vision-era-background {
  background-image: url('https://www.terranovus.org/wp-content/uploads/2025/10/ww-1900.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}
/* === Background for 2000s === */
.vision-era-2000s .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/10/2000s.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}
/* === 2025 Background === */
.vision-era-2025 .vision-era-background {
  background-image: url('https://terranovus.org/wp-content/uploads/2025/10/2025.jpg'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px;
}

/* === 3000 BCE Color Theme === */
.threeK {
  color: #f9b000;
  text-shadow: 0 0 18px #f9b000;
}

.threeK-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #f9b000;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #f9b000;
  max-width: 250px;
  margin-left: 120px;
}

.threeK-box h3 {
  color: #f9b000;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #f9b000;
}

.threeK-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.threeK-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.threeK-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #f9b000;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
	box-shadow: 0 0 5px #f9b000, 0 0 8px #f9b000;
}

.era-card.threeK-card h3 {
  font-size: 18px;
  color: #f9b000;
  margin-bottom: 10px;
}

/* === Shared content styles === */
.vision-era-content {
  border-radius: 20px;
  width: 1300px;
  flex-wrap: wrap;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.era-left {
  flex: 1 1 500px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.era-right {
  flex: 1 1 500px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  justify-content: right;
}

/* === 10,000 BCE Color Theme === */
.tenK {
  color: #1f63bf;
  text-shadow: 0 0 20px #1f63bf;
}
.tenK-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #1f63bf;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #1f63bf;
  max-width: 250px;
  margin-left: 120px;
}
.tenK-box h3 {
  color: #1f63bf;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #1f63bf;
}
.tenK-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #1f63bf;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 5px #1f63bf, 0 0 8px #1f63bf;
}

.tenK-card h3 {
  font-size: 18px;
  color: #1f63bf;
  margin-bottom: 10px;
}

.vision-era-title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.vision-era-description {
  font-size: 18px;
  color: #fff;
  max-width: 700px;
  line-height: 1.6;
  margin-bottom: 50px;
}

.vision-era-quote {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 30px;
}

.vision-era-year {
  font-size: 64px;
  font-weight: 900;
  margin-bottom: 10px;
}

.era-info-box {
  margin-top: 20px;
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid flex;
  border-radius: 16px;
  padding: 20px 25px;
  color: #ffffff;
  box-shadow: 0 0 12px flex;
  max-width: 250px;
  margin-left: 120px;
}

.era-info-box h3 {
  color: flex;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px flex;
}

.era-info-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.era-info-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-info-box span {
  margin-right: 8px;
}

.era-card p {
  font-size: 15px;
  color: #ddd;
  line-height: 1.5;
}

/* === 500 BCE Color Theme === */
.fiveK {
  color: #bfbfbf;
  text-shadow: 0 0 18px #bfbfbf;
}

.fiveK-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #bfbfbf;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #bfbfbf;
  max-width: 250px;
  margin-left: 120px;
}

.fiveK-box h3 {
  color: #bfbfbf;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #bfbfbf;
}

.fiveK-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fiveK-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.fiveK-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #bfbfbf;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 12px #bfbfbf;
}

.era-card.fiveK-card h3 {
  font-size: 18px;
  color: #bfbfbf;
  margin-bottom: 10px;
}

/* === 0 CE Color Theme === */
.zeroCE {
  color: #ad5e5e;
  text-shadow: 0 0 20px #ad5e5e;
}

.zeroCE-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #ad5e5e;
  border-radius: 16px;
  padding: 20px 25px;
  color: #ffffff;
  box-shadow: 0 0 10px #ad5e5e;
  max-width: 250px;
  margin-left: 120px;
}

.zeroCE-box h3 {
  color: #ad5e5e;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 10px #ad5e5e;
}

.zeroCE-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.zeroCE-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.zeroCE-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #ad5e5e;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 2px #ad5e5e;
}

.era-card.zeroCE-card h3 {
  font-size: 18px;
  color: #ad5e5e;
  margin-bottom: 10px;
}

/* === 1500 CE Color Theme === */
.fifteenCE {
  color: #e64134;
  text-shadow: 0 0 20px #e64134;
}

.fifteenCE-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #e64134;
  border-radius: 16px;
  padding: 20px 25px;
  color: #ffffff;
  box-shadow: 0 0 12px #e64134;
  max-width: 250px;
  margin-left: 120px;
}

.fifteenCE-box h3 {
  color: #e64134;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #e64134;
}

.fifteenCE-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.fifteenCE-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.fifteenCE-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #e64134;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 18px #e64134;
}

.era-card.fifteenCE-card h3 {
  font-size: 18px;
  color: #e64134;
  margin-bottom: 10px;
}

/* === 1700 CE Color Theme (Red-Gold Glow) === */
.seventeenK {
  color: #ff6c0a;
  text-shadow: 0 0 18px #ff6c0a;
}

.seventeenK-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #ff6c0a;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #ff6c0a;
  max-width: 250px;
  margin-left: 120px;
}

.seventeenK-box h3 {
  color: #ff6c0a;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #ff6c0a;
}

.seventeenK-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.seventeenK-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.seventeenK-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #ff6c0a;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 8px #ff6c0a;
}

.era-card.seventeenK-card h3 {
  font-size: 18px;
  color: #ff6c0a;
  margin-bottom: 10px;
}

/* === Yellow Theme Colors === */
.yellowEra {
  color: #f9d300;
  text-shadow: 0 0 20px #f9d300;
}

.yellowEra-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #f9d300;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #f9d300;
  max-width: 250px;
  margin-left: 0px;
}

.yellowEra-box h3 {
  color: #f9d300;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #f9d300;
}

.yellowEra-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #f9d300;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 12px #f9d30088;
}

.yellowEra-card h3 {
  font-size: 18px;
  color: #f9d300;
  margin-bottom: 10px;
}

/* === 1900s Green Color Theme === */
.greenEra {
  color: #00ff73;
  text-shadow: 0 0 20px #00ff73;
}

.greenEra-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #00ff73;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #00ff73;
  max-width: 250px;
  margin-left: 0px;
}

.greenEra-box h3 {
  color: #00ff73;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #00ff73;
}

.greenEra-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.greenEra-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.greenEra-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #00ff73;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 12px #00ff73;
}

.era-card.greenEra-card h3 {
  font-size: 18px;
  color: #00ff73;
  margin-bottom: 10px;
}

/* === 2000s Theme Color: Blue Glow === */
.twoK-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #4fc3f7;
  border-radius: 16px;
  padding: 20px 25px;
  color: #ffffff;
  box-shadow: 0 0 12px #4fc3f7;
  max-width: 250px;
  margin-left: 120px;
}

.twoK-box h3 {
  color: #4fc3f7;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #4fc3f7;
}

.era-card.twoK-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #4fc3f7;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 12px #4fc3f7;
}

.era-card.twoK-card h3 {
  font-size: 18px;
  color: #4fc3f7;
  margin-bottom: 10px;
}

/* === 2025 Color Theme === */
.purpleEra {
  color: #b67eff;
  text-shadow: 0 0 18px #b67eff;
}

.purpleEra-box {
  background: rgba(0, 0, 0, 0.45);
  border: 2px solid #b67eff;
  border-radius: 16px;
  padding: 20px 25px;
  color: #fff;
  box-shadow: 0 0 12px #b67eff;
  max-width: 250px;
  margin-left: 120px;
}

.purpleEra-box h3 {
  color: #b67eff;
  font-size: 20px;
  margin-bottom: 15px;
  text-shadow: 0 0 4px #b67eff;
}

.purpleEra-box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.purpleEra-box li {
  margin-bottom: 10px;
  font-size: 15px;
  line-height: 1.4;
}

.era-card.purpleEra-card {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid #b67eff;
  border-radius: 12px;
  padding: 20px 24px;
  max-width: 400px;
  box-shadow: 0 0 10px #b67eff;
}

.era-card.purpleEra-card h3 {
  font-size: 18px;
  color: #b67eff;
  margin-bottom: 10px;
}

@media (max-width: 1200px) {
  .vision-era-content {
    flex-direction: column;
    align-items: center;
  }

  .era-left,
  .era-right {
    max-width: 100%;
  }

  .era-info-box,
  .threeK-box,
  .tenK-box,
  .fiveK-box,
  .zeroCE-box,
  .fifteenCE-box,
  .seventeenK-box,
  .yellowEra-box {
    margin-left: 0; /* ✅ Removes box offset on mobile */
  }
}

/* ========== Global Reset & Base Styles ========== */
* tn-section{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', 'Segoe UI', sans-serif;
  background-color: #000;
  color: #f0f3ff;
  line-height: 1.5;
  scroll-behavior: smooth;
  overflow-x: hidden;
  margin-top: 0px; /* or however tall your header is */
}

a {
  color: currentcolor;
  text-decoration: none;
}

section {
  width: 100%;
  padding: 100px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 4rem;
  color: #f0f3ff;
}

h2 {
  font-size: 2.5rem;
  color: #fff;
}

h3 {
  font-size: 1.5rem;
}

/* Utility Classes */
.center {
  text-align: center;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  background: linear-gradient(to right, #00e0c6, #7f80ff);
  color: #000;
  font-weight: 600;
  border-radius: 32px;
  font-size: 1rem;
  transition: 0.3s ease-in-out;
}

.btn:hover {
  box-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
  padding: 20px 40px;
}

/* ========== Hero Section ========== */
.tn-hero {
  width: 100vw;
  max-width: 100vw;
  background: #000;
  color: white;
  padding: 120px 0px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-inner {
  max-width: 900px;
  margin: 0 auto;
}
/* What is Terra Novus Section */
.tn-section.what-is {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 40px 0px;
  background-color: #000;
  color: white;
  text-align: center;
  box-sizing: border-box;
}

.tn-section.what-is h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 30px;
}

@keyframes flowingGradient {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

.highlight-text {
  background: linear-gradient(90deg, #00ffe7, #559dff, #00ffe7);
  background-size: 200% auto;
  background-position: 0% 50%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  animation: flowingGradient 6s linear infinite;
  text-shadow: linear-gradient(90deg, 0 0 5px #00ffe7, 0 0 10px #00ffe7, 0 0 20px #559dff);
}
.tn-section.what-is .subtext {
  font-size: 1.2rem;
  color: #bbb;
  max-width: 700px;
  margin: 0 auto 60px;
  line-height: 1.7;
}

.learn-more-button:hover {
  transform: scale(1.05);
  font-weight: 700;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
	margin-bottom 20px
}

/*cards*/
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  padding: 40px 0;
}
.features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 40px;
}

.feature-card {
  border: 1px solid transparent;
  background-color: #111;
  border-radius: 12px;
  color: #7f7fff;
  padding: 30px;
  width: 300px;
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.05);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  border-color: #7f7fff;
  box-shadow: 0 0 15px rgba(0, 212, 255, 0.6);
}

.feature-card h3 {
  font-size: 1.4rem;
  margin-bottom: 10px;
  color: #fff;
}

.feature-card p {
  color: #ccc;
  font-size: 1rem;
  line-height: 1.6;
}
/* Make the whole section go full width */
.tn-vision-full {
  background-color: #000;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  padding: 80px 10px;
  width: 100vw;
  box-sizing: border-box;
}

/* Make the quote box wide and beautiful */
.tn-vision-full .vision-quote {
  border: 2px solid transparent;
  border-image: linear-gradient(to right, #7f7fff, #00ffe0);
  border-image-slice: 6;
  border-radius: 1rem;
  padding: 40px 30px;
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3); /* optional glow */
  color: #fff;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
  text-align: center;
}
/* Style the link */
.tn-vision-full .vision-link-area {
  margin-top: 20px;
	text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.tn-vision-full .vision-link-area a {
  color: #fff;
  font-weight: 500;
  text-decoration: underline;
  transition: 0.3s;
}

.tn-vision-full .vision-link-area a:hover {
  box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
  border-color: #7f7fff;
  
}

.citizen-section {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.citizen-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 60px;
  margin-top: 40px;
}

/* vertical line through icons */
.citizen-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 30px;
  left: 28px; /* aligns with center of icon */
  width: 2px;
  background: linear-gradient(to bottom, #00e0c6, #7f80ff);
  z-index: 0;
}

.citizen-step {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

.step-left {
  position: relative;
  width: 80px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.icon-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  position: relative;
  z-index: 2;
}

.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7f80ff, #00e0c6);
  color: white;
  font-size: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px #00e0c6aa;
  z-index: 2;
}

.step-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.title-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.step-number {
  background: #00e0c6;
  color: #000;
  font-weight: bold;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-right h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #f5f7ff;
  margin: 0;
}

.step-right p {
  color: #9aaacb;
  font-size: 1rem;
  margin: 4px 0 0 0;
}
/* Title & Subtitle */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #f5f7ff;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #8fa1c7;
  margin: 10px auto 60px;
  max-width: 700px;
}

/* Background */
.black-bg {
  background-color: #000;
}

.application-button-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 92px;
}

.application-button {
  padding: 14px 30px;
  background: linear-gradient(to right, #00e0c6, #7f80ff);
  border-radius: 999px;
  color: #000;
  font-weight: 700;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 0 12px #00e0c6;
  transition: all 0.3s ease;
	margin-top: 92px;
}

.application-button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00e0c6;
}

.note {
  font-size: 0.9rem;
  color: #8fa1c7;
  margin-top: 10px;
}
/* Hide line for last step */
.citizen-step:last-child .timeline-line {
  display: none;
}

/*==buildersection==*/
.call-for-builders-section {
 width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
}

.builder-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Three columns */
  gap: 32px;
  margin-top: 40px;
  padding: 0 20px;
}

.builder-card {
  border: 2px solid transparent;
  border-radius: 16px;
  padding: 24px;
  background-color: rgba(255, 255, 255, 0.03);
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
  text-align: center;
}
.builder-card:hover {
  transform: scale(1.03);
}

/* Add glow and border color on hover */
.product:hover {
  border-color: #ffffff;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.legal:hover {
  border-color: #00edf5;
  box-shadow: 0 0 15px rgba(0, 237, 245, 0.6);
}

.policy:hover {
  border-color: #e37d00;
  box-shadow: 0 0 15px rgba(227, 125, 0, 0.6);
}

.outreach:hover {
  border-color: #f1c40f;
  box-shadow: 0 0 15px rgba(241, 196, 15, 0.6);
}

.environmental:hover {
  border-color: #2ecc71;
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.6);
}

.education:hover {
  border-color: #0008f5;
  box-shadow: 0 0 15px rgba(0, 8, 245, 0.6);
}

.security:hover {
  border-color: #fc3b26;
  box-shadow: 0 0 15px rgba(252, 59, 38, 0.6);
}
.design:hover {
  border-color: #ff3679;
  box-shadow: 0 0 15px rgba(255, 54, 121, 0.6);
}
.innovation:hover {
  border-color: #8e1ae8;
  box-shadow: 0 0 15px rgba(142, 26, 232, 0.6);
}

.builder-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.builder-card h3 {
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
}

.builder-card p {
  color: #9aa8c0;
  font-size: 15px;
}
@media (max-width: 900px) {
  .builder-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .builder-grid {
    grid-template-columns: 1fr;
  }
}
.builder-cta {
  text-align: center;
  margin-top: 40px;
}

.glow-button {
  display: inline-block;
  padding: 14px 32px;
  background: linear-gradient(90deg, #00e0c6, #7f80ff);
  color: #000;
  font-weight: bold;
  font-size: 18px;
  border-radius: 50px;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  box-shadow: 0 0 12px rgba(0, 245, 160, 0.6);
  margin-top: 90px
}

.glow-button:hover {
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.9), 0 0 30px rgba(0, 217, 245, 0.7);
  transform: scale(1.05);
}

.cta-subtext {
  margin-top: 12px;
  font-size: 16px;
  color: #aab6cf;
}
/*=====stayconnected======*/
.stay-connected-section {
  text-align: center;
  padding: 80px 0px;
  background-color: #000;
  color: #dce3f0;
  width: 100vw;
  max-width: 100vw;
  
}

.stay-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 15px;
}

.stay-subtitle {
  font-size: 18px;
  color: #9caac9;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.stay-form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 25px;
}

.stay-input {
  padding: 14px 18px;
  font-size: 16px;
  border: 1px solid #3a4252;
  border-radius: 12px;
  background-color: #0f1624;
  color: #ffffff;
  width: 280px;
  max-width: 90%;
  outline: none;
}

.stay-input::placeholder {
  color: #8899bb;
}

.glow-subscribe-button {
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 600;
  background: linear-gradient(90deg, #00f5a0, #00d9f5);
  color: #000;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 245, 160, 0.5);
}

.glow-subscribe-button:hover {
  box-shadow: 0 0 20px rgba(0, 245, 160, 0.9), 0 0 30px rgba(0, 217, 245, 0.7);
  transform: scale(1.05);
}

.stay-privacy {
  font-size: 14px;
  color: #6d7c96;
}
/*===FAQ====*/
.faq-section {
  padding: 80px 20px;
  background-color: #000;
  text-align: center;
  color: #dce3f0;
  width: 100vw;
  max-width: 100vw;
}

.faq-title {
  font-size: 40px;
  font-weight: bold;
  margin-bottom: 10px;
}

.faq-subtitle {
  font-size: 18px;
  color: #9caac9;
  margin-bottom: 40px;
  max-width: 700px;
  margin: auto;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
	text-align: left;
}

.faq-container details {
  background-color: #111827;
  border: 1px solid #2a3344;
  border-radius: 12px;
  padding: 18px 22px;
  margin-bottom: 15px;
	margin-top: 20px;
  cursor: pointer;
  transition: border-color 0.6s ease, background-color 0.6s ease, padding 0.6s ease;
}

.faq-container details[open] {
  border-color: #00ffe7;
  background-color: #141c2b;
  padding: 24px 22px; /* optional: slightly more padding when open */
}

.faq-container summary {
  font-size: 18px;
  font-weight: 600;
  color: #f0f4ff;
  outline: none;
  transition: color 0.6s ease;
}

.faq-container p {
  margin-top: 12px;
  font-size: 16px;
  color: #9caac9;
  line-height: 1.6;
  transition: opacity 0.6s ease;
}

