/* ==========================================================================
   CRANTUM "Coming Soon" Landing Page Stylesheet
   Designed for ultra-clean, minimalist, premium SaaS / Tech aesthetic
   ========================================================================== */

:root {
  /* Colors */
  --bg-color: #fafbfc;
  --card-bg: #ffffff;
  --text-primary: #09090b;
  --text-secondary: #52525b;
  --text-muted: #71717a;
  --text-light: #a1a1aa;

  /* Brand Accent */
  --accent-mint: #188A52;
  --accent-mint-hover: #188A52;
  --accent-mint-subtle: rgba(0, 186, 102, 0.08);

  /* Borders & Shadows */
  --border-card: 1px solid rgba(0, 0, 0, 0.07);
  --border-subtle: rgba(0, 0, 0, 0.05);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.03), 0 4px 10px -2px rgba(0, 0, 0, 0.02);
  --shadow-card-hover: 0 14px 30px -4px rgba(0, 0, 0, 0.05), 0 6px 12px -2px rgba(0, 0, 0, 0.03);

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Transitions */
  --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-default: all 0.25s var(--ease-smooth);
}

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

html,
body {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* Page Layout Container */
.page-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 60px;
  z-index: 2;
}

/* ==========================================================================
   WATERMARK BACKGROUND
   ========================================================================== */
.watermark-bg {
  position: fixed;
  top: 50%;
  right: -6vw;
  transform: translateY(-50%);
  width: 48vw;
  max-width: 780px;
  height: auto;
  pointer-events: none;
  z-index: 1;
  opacity: 0.035;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  user-select: none;
}

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

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-link:hover {
  opacity: 0.8;
}

.header-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.header-tagline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tagline-dash {
  display: inline-block;
  width: 32px;
  height: 1px;
  background-color: #cbd5e1;
}

.tagline-text {
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 500;
  color: var(--text-secondary);
  letter-spacing: 0.01em;
}

/* ==========================================================================
   MAIN HERO CONTENT
   ========================================================================== */
.main-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  padding: 30px 0;
  width: 100%;
}

.brand-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-icon-container {
  margin-bottom: 22px;
  animation: fadeIn 0.8s var(--ease-smooth);
}

.hero-a-logo {
  width: 90px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.04));
}

.hero-wordmark-container {
  margin-bottom: 14px;
  animation: fadeIn 0.9s var(--ease-smooth);
}

.hero-wordmark-img {
  height: 48px;
  width: auto;
  display: block;
}

.brand-subtitle {
  font-size: 0.8125rem;
  /* 13px */
  font-weight: 600;
  letter-spacing: 0.32em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-left: 0.32em;
  /* offset for exact centering */
}

.hero-descriptions {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9375rem;
  /* 15px */
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.desc-line-1 {
  color: var(--text-secondary);
  font-weight: 400;
}

.desc-line-2 {
  color: var(--text-secondary);
  font-weight: 400;
}

.highlight-green {
  color: var(--accent-mint);
  font-weight: 700;
}

/* ==========================================================================
   COUNTDOWN SECTION
   ========================================================================== */
.countdown-section {
  width: 100%;
  margin-bottom: 36px;
}

.countdown-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.countdown-card {
  background: var(--card-bg);
  border: var(--border-card);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  width: 114px;
  height: 114px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 6px;
  transition: transform 0.25s var(--ease-smooth), box-shadow 0.25s var(--ease-smooth);
}

.countdown-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card-hover);
}

.countdown-value {
  font-size: 2.75rem;
  /* 44px */
  font-weight: 700;
  line-height: 1.05;
  color: var(--text-primary);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}

.countdown-label {
  font-size: 0.6875rem;
  /* 11px */
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-left: 0.22em;
  /* optical centering */
}

.countdown-separator {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-mint);
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  line-height: 1;
}

/* Launch Live State */
.launch-live-message {
  animation: fadeIn 0.6s var(--ease-smooth);
  padding: 20px;
}

.launch-live-message h2 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--accent-mint);
  margin-bottom: 16px;
}

.launch-button {
  display: inline-block;
  background-color: var(--text-primary);
  color: #ffffff;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-default);
}

.launch-button:hover {
  background-color: #27272a;
  transform: translateY(-1px);
}

/* ==========================================================================
   BOTTOM SECTION & SOCIALS (Font Awesome)
   ========================================================================== */
.bottom-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.mint-accent-bar {
  width: 38px;
  height: 3px;
  background-color: var(--accent-mint);
  border-radius: 999px;
  margin-bottom: 2px;
}

.follow-text {
  font-size: 0.6875rem;
  /* 11px */
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--text-muted);
  text-transform: uppercase;
  padding-left: 0.24em;
}

.social-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 4px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #52525b;
  font-size: 1.05rem;
  /* 17px */
  border-radius: 50%;
  transition: var(--transition-default);
  text-decoration: none;
}

.social-link:hover {
  color: var(--text-primary);
  transform: translateY(-2px);
  background-color: rgba(0, 0, 0, 0.04);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 1680px;
  margin: 0 auto;
  font-size: 0.8125rem;
  /* 13px */
  color: var(--text-muted);
}

.footer-domain {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.footer-domain:hover {
  color: var(--text-primary);
}

.footer-copyright {
  color: var(--text-muted);
  font-weight: 400;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   ========================================================================== */

/* 1366x768 / Smaller Laptops & Height Restraints */
@media (max-height: 820px) {
  .page-wrapper {
    padding: 24px 44px;
  }

  .hero-icon-container {
    margin-bottom: 14px;
  }

  .hero-a-logo {
    width: 76px;
  }

  .hero-wordmark-container {
    margin-bottom: 10px;
  }

  .hero-wordmark-img {
    height: 40px;
  }

  .brand-subtitle {
    margin-bottom: 14px;
  }

  .hero-descriptions {
    margin-bottom: 22px;
    gap: 3px;
    font-size: 0.875rem;
  }

  .countdown-section {
    margin-bottom: 22px;
  }

  .countdown-card {
    width: 96px;
    height: 96px;
    border-radius: 14px;
  }

  .countdown-value {
    font-size: 2.2rem;
  }

  .bottom-section {
    gap: 10px;
  }
}

/* Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .page-wrapper {
    padding: 32px 36px;
  }

  .watermark-bg {
    width: 65vw;
    right: -12vw;
    opacity: 0.025;
  }
}

/* Tablet Portrait & Large Phones (<= 768px) */
@media (max-width: 768px) {
  .page-wrapper {
    padding: 24px 20px;
    min-height: 100vh;
    height: auto;
  }

  .site-header {
    flex-direction: row;
    gap: 12px;
  }

  .tagline-text {
    font-size: 0.75rem;
  }

  .tagline-dash {
    width: 20px;
  }

  .hero-a-logo {
    width: 70px;
  }

  .hero-wordmark-img {
    height: 38px;
  }

  .brand-subtitle {
    font-size: 0.6875rem;
    letter-spacing: 0.24em;
  }

  .countdown-container {
    gap: 10px;
  }

  .countdown-card {
    width: 82px;
    height: 86px;
    border-radius: 12px;
    padding: 6px 4px;
  }

  .countdown-value {
    font-size: 1.85rem;
  }

  .countdown-label {
    font-size: 0.625rem;
    letter-spacing: 0.16em;
  }

  .countdown-separator {
    font-size: 1.25rem;
    padding: 0 1px;
  }

  .site-footer {
    flex-direction: column;
    gap: 12px;
    text-align: center;
    padding-top: 24px;
  }
}

/* Mobile Small (<= 480px) */
@media (max-width: 480px) {
  .page-wrapper {
    padding: 20px 16px;
  }

  .header-logo-img {
    height: 20px;
  }

  .header-tagline {
    display: none;
  }

  .main-content {
    padding: 24px 0 16px 0;
  }

  .hero-a-logo {
    width: 60px;
  }

  .hero-wordmark-img {
    height: 32px;
  }

  .hero-descriptions {
    font-size: 0.8125rem;
    padding: 0 10px;
  }

  .countdown-container {
    gap: 6px;
  }

  .countdown-card {
    width: 68px;
    height: 72px;
    border-radius: 10px;
  }

  .countdown-value {
    font-size: 1.5rem;
  }

  .countdown-label {
    font-size: 0.5625rem;
    letter-spacing: 0.12em;
  }

  .countdown-separator {
    font-size: 1rem;
  }

  .social-nav {
    gap: 12px;
  }
}