/* ==========================================================================
   TUNZAM DESIGN SYSTEM — COMING SOON LANDING PAGE
   Minimal, Sleek Brand Tokens & Core Components (Light Theme Default)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Hanken+Grotesk:ital,wght@0,300..800;1,300..800&family=Space+Grotesk:wght@400..700&family=Space+Mono:ital,wght@0,400;0,700;1,400;1,700&display=swap');

:root {
  /* Brand Typography */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, 'SFMono-Regular', monospace;

  /* Font Weights */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;
  --fw-black: 800;

  /* Type Scale */
  --text-xs: 12px;
  --text-sm: 14px;
  --text-base: 16px;
  --text-md: 18px;
  --text-lg: 22px;
  --text-xl: 28px;
  --text-2xl: 36px;
  --text-3xl: 48px;
  --text-4xl: 64px;
  --text-5xl: 84px;
  --text-hero: clamp(48px, 8.5vw, 110px);

  /* Line Heights */
  --leading-tight: 1.02;
  --leading-snug: 1.15;
  --leading-normal: 1.5;
  --leading-relaxed: 1.65;

  /* Letter Spacing */
  --tracking-tight: -0.03em;
  --tracking-normal: 0em;
  --tracking-wide: 0.08em;
  --tracking-label: 0.24em; /* Signature Tunzam micro-label */

  /* Palette - Deep Obsidian Ink & Creamy Bone Tones */
  --white: #FFFFFF;
  --bone-50: #FCFBF8;
  --bone-100: #F1EFE8;
  --paper-100: #F4F2EC;

  --silver-100: #EFEEF0;
  --silver-150: #E5E4E7;
  --silver-200: #D9D8DD;
  --silver-300: #B7B6BD;

  --steel-400: #8E8D96;
  --steel-500: #6C6B74;
  --steel-600: #55545C;

  --ink-600: #3A3941;
  --ink-700: #2A292F;
  --ink-800: #1E1D22;
  --ink-850: #17161A;
  --ink-900: #121114;
  --ink-950: #0B0B0D;

  /* Accents & Highlights */
  --blue-400: #5C9BFF;
  --blue-500: #3B82F6;
  --blue-600: #2F6FE0;

  --cyan-400: #0894AC;
  --cyan-500: #06B6D4;

  --green-500: #16A34A;

  /* Light Theme Signature Defaults */
  --bg-primary: var(--bone-50);
  --bg-surface: var(--white);
  --bg-surface-raised: var(--paper-100);
  --bg-surface-elevated: var(--silver-100);

  --text-primary: var(--ink-900);
  --text-secondary: var(--steel-600);
  --text-muted: var(--steel-400);
  --text-on-accent: var(--white);

  --border-color: var(--silver-200);
  --border-strong: var(--silver-300);
  --focus-ring: rgba(59, 130, 246, 0.35);

  --accent: var(--blue-500);
  --accent-hover: var(--blue-600);

  /* Spacing */
  --space-0: 0;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;

  /* Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-2xl: 30px;
  --radius-pill: 999px;

  /* Elevation */
  --shadow-sm: 0 2px 8px rgba(18, 17, 20, 0.05);
  --shadow-md: 0 8px 24px rgba(18, 17, 20, 0.08);
  --shadow-lg: 0 16px 40px rgba(18, 17, 20, 0.12);
  --shadow-xl: 0 28px 64px rgba(18, 17, 20, 0.15);

  /* Metallic Edge Highlight */
  --edge-light: inset 0 1px 0 rgba(255, 255, 255, 0.8);

  /* Motion */
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 120ms;
  --dur-base: 200ms;
  --dur-slow: 350ms;

  --container-max: 1200px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  color: var(--text-primary);
  background-color: var(--bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Film Grain Overlay */
.tz-grain {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.03;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='2'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23g)'/%3E%3C/svg%3E");
}

/* Ambient Radial Glow */
.tz-ambient-glow {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  max-width: 1400px;
  height: 600px;
  background: radial-gradient(circle at 50% 25%, rgba(59, 130, 246, 0.06) 0%, rgba(6, 182, 212, 0.02) 40%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-tight);
  color: var(--text-primary);
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-standard);
}

a:hover {
  color: var(--accent-hover);
}

.tz-label {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: var(--tracking-label);
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
}

.tz-container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-5);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */

.tz-header {
  position: relative;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid var(--border-color);
}

.tz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.tz-logo-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: var(--text-primary);
  text-decoration: none;
}

.tz-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tz-logo-text {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.tz-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: var(--fw-medium);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--paper-100);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
}

.tz-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-500);
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
  animation: tzPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes tzPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

.tz-nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.tz-hero {
  position: relative;
  padding: var(--space-9) 0 var(--space-8);
  text-align: center;
  z-index: 1;
}

.tz-hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

/* Massive Brand Coming Soon Header */
.tz-coming-soon-headline {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: var(--text-hero);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  margin: var(--space-2) 0;
  background: linear-gradient(180deg, var(--ink-900) 20%, var(--steel-600) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.tz-hero-tagline {
  font-family: var(--font-mono);
  font-size: clamp(14px, 2.2vw, 19px);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--blue-600);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-2);
}

.tz-hero-subtitle {
  font-size: clamp(17px, 2vw, 21px);
  color: var(--text-secondary);
  max-width: 720px;
  line-height: var(--leading-relaxed);
}

/* Waitlist Form Component */
.tz-waitlist-box {
  width: 100%;
  max-width: 540px;
  margin-top: var(--space-4);
}

.tz-waitlist-form {
  display: flex;
  flex-direction: row;
  gap: var(--space-2);
  background: var(--white);
  padding: 8px;
  border-radius: var(--radius-xl);
  border: 1.5px solid var(--border-strong);
  box-shadow: var(--shadow-md);
  transition: all var(--dur-base) var(--ease-standard);
}

.tz-waitlist-form:focus-within {
  border-color: var(--blue-500);
  box-shadow: var(--shadow-lg), 0 0 0 4px var(--focus-ring);
}

.tz-input-email {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  padding: 14px 18px;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  color: var(--text-primary);
}

.tz-input-email::placeholder {
  color: var(--text-muted);
}

.tz-btn-primary {
  background: var(--ink-900);
  color: var(--white);
  border: none;
  border-radius: var(--radius-lg);
  padding: 14px 28px;
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--dur-fast) var(--ease-standard);
  box-shadow: var(--shadow-sm);
}

.tz-btn-primary:hover {
  background: var(--blue-600);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.tz-btn-primary:active {
  transform: translateY(0);
  background: var(--blue-700);
}

.tz-waitlist-note {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
  margin-top: var(--space-3);
}

/* ==========================================================================
   PRODUCT GALLERY SHOWCASE (3X CAD PHOTOS)
   ========================================================================== */

.tz-preview-section {
  padding: var(--space-6) 0 var(--space-9);
}

.tz-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

@media (max-width: 900px) {
  .tz-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.tz-gallery-card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-standard), border-color var(--dur-base) var(--ease-standard), box-shadow var(--dur-base) var(--ease-standard);
}

.tz-gallery-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-lg);
}

.tz-gallery-img-box {
  width: 100%;
  height: 340px;
  overflow: hidden;
  background: var(--paper-100);
  position: relative;
}

.tz-gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform var(--dur-slow) var(--ease-out);
}

.tz-gallery-card:hover .tz-gallery-img {
  transform: scale(1.05);
}

.tz-gallery-caption {
  padding: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  border-top: 1px solid var(--border-color);
  background: var(--white);
}

.tz-gallery-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
}

/* ==========================================================================
   SPECS & FEATURES GRID (PERFECTLY HEIGHT-ALIGNED & CENTERED)
   ========================================================================== */

.tz-section-header {
  text-align: center;
  margin-bottom: var(--space-7);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
}

.tz-section-title {
  font-size: clamp(28px, 4vw, 44px);
  text-align: center;
}

.tz-grid-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  align-items: stretch;
}

@media (max-width: 900px) {
  .tz-grid-features {
    grid-template-columns: repeat(1, 1fr);
  }
}

.tz-card-feature {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--dur-base) var(--ease-standard);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

/* Perfect Middle & Vertical Height Alignment for Icons, Titles, and Descriptions */
.tz-card-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  min-height: 260px;
}

.tz-card-feature:hover {
  border-color: var(--border-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.tz-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--paper-100);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-600);
  margin-bottom: var(--space-2);
  flex-shrink: 0;
}

.tz-feature-title {
  font-size: var(--text-lg);
  font-weight: var(--fw-bold);
  min-height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tz-feature-desc {
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  color: var(--text-secondary);
  margin-top: 4px;
}

/* ==========================================================================
   FOOTER & SOCIAL HANDLES
   ========================================================================== */

.tz-footer {
  border-top: 1px solid var(--border-color);
  padding: var(--space-8) 0 var(--space-6);
  background: var(--paper-100);
  color: var(--text-secondary);
}

.tz-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
  .tz-footer-grid {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }
}

.tz-footer-col-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.tz-footer-brand-desc {
  font-size: var(--text-sm);
  line-height: 1.6;
  max-width: 280px;
  color: var(--text-secondary);
}

.tz-social-links {
  display: flex;
  gap: var(--space-4);
  margin-top: var(--space-2);
  flex-wrap: wrap;
}

.tz-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: var(--fw-medium);
  transition: color var(--dur-fast) var(--ease-standard);
  text-decoration: none;
}

.tz-social-link:hover {
  color: var(--text-primary);
}

.tz-footer-heading {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel-400);
  margin-bottom: var(--space-3);
}

.tz-footer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tz-footer-nav-list a {
  font-size: 14px;
  color: var(--text-secondary);
  transition: color var(--dur-fast);
}

.tz-footer-nav-list a:hover {
  color: var(--text-primary);
}

.tz-footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-3);
  padding-top: var(--space-5);
}

.tz-footer-copy {
  font-family: var(--font-mono);
  font-size: var(--text-xs);
  color: var(--text-muted);
}

/* ==========================================================================
   TOAST NOTIFICATION MODAL
   ========================================================================== */

.tz-toast {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  background: var(--ink-900);
  color: var(--white);
  border: 1px solid var(--blue-500);
  padding: 16px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  z-index: 10000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--dur-slow) var(--ease-out);
}

.tz-toast.show {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.tz-toast-icon {
  color: var(--green-500);
}
