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

:root {
  --green:       #08794b;
  --green-light: #0aaa69;
  --green-dim:   #055c38;
  --red:         #94362a;
  --red-light:   #bc4438;
  --blue:        #383689;
  --blue-light:  #4a47b0;
  --bg:          #FFFFFF;
  --bg-off:      #F4F3F0;
  --border:      rgba(8, 121, 75, 0.18);
  --text:        #111318;
  --text-mid:    #2E3138;
  --text-muted:  #555B66;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow Condensed', sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── CANVAS BACKGROUND ── */
#particle-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* ── GRADIENT OVERLAY ── */
.gradient-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(8,121,75,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 60% 40% at 80% 100%, rgba(148,54,42,0.05) 0%, transparent 60%),
    radial-gradient(ellipse 50% 30% at 0% 50%, rgba(56,54,137,0.04) 0%, transparent 60%);
  pointer-events: none;
}

/* ── NOISE TEXTURE ── */
.noise {
  position: fixed;
  inset: 0;
  z-index: 2;
  opacity: 0.022;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 256px;
  pointer-events: none;
}

/* ── MAIN LAYOUT ── */
.page {
  position: relative;
  z-index: 10;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ── TOP BAR ── */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.2rem 4rem;
  border-bottom: 2px solid var(--border);
  opacity: 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.topbar-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--green-dim);
  text-transform: uppercase;
}

.topbar-status {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(8,121,75,0.55);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; box-shadow: 0 0 10px rgba(8,121,75,0.55); }
  50%       { opacity: 0.5; box-shadow: 0 0 3px rgba(8,121,75,0.2); }
}

/* ── HERO ── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  text-align: center;
  gap: 0;
}

/* ── LOGO ── */
.logo-wrap {
  position: relative;
  width: 148px;
  height: 148px;
  margin-bottom: 3rem;
  opacity: 0;
}

/* Outer glow ring — squarish to match logo */
.logo-ring-2 {
  position: absolute;
  inset: -28px;
  border-radius: 28px;
  border: 1px solid rgba(148,54,42,0.2);
  animation: spin-ring 35s linear infinite reverse;
}

.logo-ring-2::before {
  content: '';
  position: absolute;
  bottom: -2.5px;
  left: 50%;
  transform: translateX(-50%);
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 8px rgba(148,54,42,0.7);
}

/* Inner glow ring */
.logo-ring {
  position: absolute;
  inset: -14px;
  border-radius: 20px;
  border: 1.5px solid rgba(8,121,75,0.35);
  animation: spin-ring 20s linear infinite;
  box-shadow: 0 0 16px rgba(8,121,75,0.1);
}

.logo-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(8,121,75,0.8);
}

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.logo-img {
  width: 148px;
  height: 148px;
  border-radius: 14px;
  object-fit: cover;
  object-position: center;
  border: 2px solid rgba(8,121,75,0.3);
  box-shadow:
    0 0 0 5px rgba(8,121,75,0.06),
    0 0 32px rgba(8,121,75,0.14),
    0 16px 50px rgba(0,0,0,0.1);
  position: relative;
  z-index: 2;
}

/* ── OVERLINE ── */
.overline {
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  letter-spacing: 0.3em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 1.8rem;
  opacity: 0;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.overline::before,
.overline::after {
  content: '';
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--blue));
}
.overline::after {
  background: linear-gradient(90deg, var(--blue), transparent);
}

/* ── HEADLINE ── */
.headline-wrap {
  overflow: hidden;
  margin-bottom: 0.5rem;
  padding-bottom: 0.32em;
}

.headline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3.2rem, 8.5vw, 8rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  transform: translateY(110%);
}

.headline em {
  font-style: italic;
  color: var(--red);
}

.headline-sub-wrap {
  overflow: hidden;
  margin-bottom: 3rem;
  padding-bottom: 0.14em;
}

.headline-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.1rem, 5.5vw, 4.8rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.1;
  color: var(--text-mid);
  transform: translateY(110%);
}

/* ── DIVIDER ── */
.gold-line {
  width: 80px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--green), transparent);
  margin: 0 auto 3rem;
  opacity: 0;
  transform: scaleX(0);
}

/* ── PROGRESS ── */
.progress-section {
  width: 100%;
  max-width: 480px;
  margin-bottom: 3rem;
  opacity: 0;
}

.progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.8rem;
}

.progress-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.progress-pct {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--green);
}

.progress-track {
  width: 100%;
  height: 3px;
  background: rgba(0,0,0,0.1);
  border-radius: 999px;
  position: relative;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--blue), var(--green), var(--green-light));
  border-radius: 999px;
  position: relative;
  transition: width 0.1s linear;
}

.progress-bar::after {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-light);
  box-shadow: 0 0 10px rgba(8,121,75,0.7);
}

/* ── COUNTDOWN ── */
.countdown {
  display: flex;
  gap: 2rem;
  margin-bottom: 4rem;
  opacity: 0;
}

.count-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.count-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--text);
  line-height: 1;
  min-width: 2.5ch;
  text-align: center;
}

.count-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--text-muted);
  text-transform: uppercase;
}

.count-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 300;
  color: var(--green);
  align-self: flex-start;
  line-height: 1;
  margin-top: 0;
  opacity: 0.5;
}

/* ── SUBSCRIBE ── */
.subscribe-wrap {
  width: 100%;
  max-width: 440px;
  margin-bottom: 5rem;
  opacity: 0;
}

.subscribe-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  text-align: left;
}

.subscribe-form {
  display: flex;
  gap: 0;
  border: 1.5px solid rgba(8,121,75,0.3);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.3s ease;
}

.subscribe-form:focus-within {
  border-color: var(--green);
  box-shadow: 0 0 20px rgba(8,121,75,0.1);
}

.subscribe-input {
  flex: 1;
  background: rgba(8,121,75,0.03);
  border: none;
  outline: none;
  padding: 0.95rem 1.2rem;
  font-family: 'DM Mono', monospace;
  font-size: 0.82rem;
  color: var(--text);
  letter-spacing: 0.05em;
}

.subscribe-input::placeholder {
  color: var(--text-muted);
  opacity: 0.6;
}

.subscribe-btn {
  background: linear-gradient(135deg, var(--green-dim), var(--green));
  border: none;
  padding: 0.95rem 1.7rem;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  cursor: pointer;
  transition: opacity 0.3s ease;
  white-space: nowrap;
}

.subscribe-btn:hover { opacity: 0.85; }

/* ── TRUST BADGES ── */
.trust-section {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 4rem;
  opacity: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.trust-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  min-width: 100px;
}

.trust-icon {
  width: 60px;
  height: 60px;
  border: 1.5px solid rgba(8,121,75,0.28);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  background: rgba(8,121,75,0.04);
  transition: border-color 0.25s, background 0.25s;
}

.trust-icon:hover {
  border-color: rgba(8,121,75,0.55);
  background: rgba(8,121,75,0.08);
}

.trust-text {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  text-transform: uppercase;
  text-align: center;
  line-height: 1.4;
}

/* ── FOOTER INFO ── */
.footer-info {
  width: 100%;
  border-top: 2px solid var(--border);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  opacity: 0;
  background: var(--bg-off);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 2rem 3.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-label {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--green-dim);
  text-transform: uppercase;
}

.contact-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.25s ease;
  line-height: 1.3;
}

.contact-value:hover { color: var(--green); }

.footer-right {
  text-align: right;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.company-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text);
}

.company-tagline {
  font-family: 'DM Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ── CORNER DECORATIONS ── */
.corner {
  position: fixed;
  width: 50px;
  height: 50px;
  z-index: 5;
  opacity: 0.35;
}
.corner-tl { top: 1.5rem; left: 1.5rem; border-top: 1.5px solid var(--green); border-left: 1.5px solid var(--green); }
.corner-tr { top: 1.5rem; right: 1.5rem; border-top: 1.5px solid var(--blue); border-right: 1.5px solid var(--blue); }
.corner-bl { bottom: 1.5rem; left: 1.5rem; border-bottom: 1.5px solid var(--blue); border-left: 1.5px solid var(--blue); }
.corner-br { bottom: 1.5rem; right: 1.5rem; border-bottom: 1.5px solid var(--red); border-right: 1.5px solid var(--red); }

/* ── CUSTOM CURSOR ── */
.cursor {
  position: fixed;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
  transition: transform 0.1s ease;
}

.cursor-ring {
  position: fixed;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(8,121,75,0.5);
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, width 0.25s ease, height 0.25s ease;
}

/* ── TABLET ── */
@media (max-width: 900px) {
  .topbar { padding: 1.8rem 2.5rem; }
  .footer-info { padding: 2.5rem 2.5rem; }
  .contact-grid { grid-template-columns: repeat(2, auto); gap: 1.5rem 2.5rem; }
}

/* ── MOBILE ── */
@media (max-width: 768px) {
  .topbar { padding: 1.4rem 1.2rem; }
  .topbar-label { font-size: 0.88rem; letter-spacing: 0.12em; }
  .topbar-status { font-size: 0.72rem; }
  .footer-info { padding: 2rem 1.2rem; flex-direction: column; align-items: flex-start; }
  .footer-right { text-align: left; }
  .contact-grid { grid-template-columns: 1fr 1fr; gap: 1.4rem 2rem; width: 100%; }
  .contact-value { font-size: 1rem; }
  .countdown { gap: 1rem; }
  .hero { padding: 2.5rem 1.2rem; }
  .corner { width: 28px; height: 28px; }
  .cursor, .cursor-ring { display: none; }
  .trust-section { gap: 1rem; }
  .trust-badge { min-width: 80px; }
  .trust-icon { width: 52px; height: 52px; }
}

/* ── SMALL MOBILE ── */
@media (max-width: 480px) {
  .topbar-label { font-size: 0.78rem; }
  .trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    width: 100%;
    max-width: 340px;
  }
  .trust-badge { min-width: unset; }
  .count-sep { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-right { width: 100%; }
  .company-name { font-size: 1.1rem; }
}

/* ── NOTIFY MESSAGE ── */
.notify-msg {
  font-family: 'DM Mono', monospace;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  color: var(--green);
  margin-top: 0.6rem;
  text-align: left;
  opacity: 0;
  transition: opacity 0.4s ease;
  height: 0;
}
.notify-msg.show { opacity: 1; height: auto; }
