/* ==========================================================================
   HOTSHELLS — OFFICIAL TEMPORARY LANDING PAGE
   Aesthetic: Kinetic Fluid Glass & Ribbon Architecture on Pure Light Studio
   Brand Identity: HotShells Electric Blue & Vivid Orange Flame
   ========================================================================== */

/* --- CSS Variables & Design Tokens --- */
:root {
  --bg-body: #ffffff;
  --bg-card: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-surface: #f1f5f9;

  /* HotShells Brand Palette */
  --accent-blue: #0072ce;
  --accent-blue-deep: #005299;
  --accent-blue-light: #e0f2fe;
  --accent-blue-glow: rgba(0, 114, 206, 0.25);

  --accent-orange: #ff6200;
  --accent-orange-bright: #ff8533;
  --accent-orange-deep: #d94800;
  --accent-orange-glow: rgba(255, 98, 0, 0.35);

  --accent-amber: #f59e0b;

  /* Typography Colors */
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;

  /* Fonts */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-card: 0 20px 45px -12px rgba(15, 23, 42, 0.08), 0 0 1px rgba(15, 23, 42, 0.08);
  --shadow-hover: 0 25px 55px -15px rgba(0, 114, 206, 0.16), 0 0 1px rgba(0, 114, 206, 0.2);
  --shadow-btn: 0 8px 24px rgba(255, 98, 0, 0.32);
  --shadow-btn-hover: 0 12px 32px rgba(255, 98, 0, 0.45);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: 0.18s ease;
  --transition-medium: 0.32s var(--ease-out);

  --header-height: 84px;
}

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

html {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  background-color: var(--bg-body);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-body);
  color: var(--text-primary);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

::selection {
  background: rgba(0, 114, 206, 0.18);
  color: #004080;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 9px;
}
::-webkit-scrollbar-track {
  background: #f8fafc;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* --- Header / Navigation --- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition: all var(--transition-fast);
}

.header-inner {
  max-width: 1280px;
  height: 100%;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: inline-flex;
  align-items: center;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  transition: transform var(--transition-medium);
}

.brand-logo-img:hover {
  transform: scale(1.02);
}

.nav-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 18px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(203, 213, 225, 0.8);
  background: rgba(255, 255, 255, 0.8);
  transition: all var(--transition-fast);
}

.nav-contact-link:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
  background: var(--accent-blue-light);
  transform: translateY(-1px);
}

/* --- Hero Section --- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  overflow: hidden;
  background-color: var(--bg-body);
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 80px;
}

/* Interactive Canvas Stage (Anchored in the lower viewport) */
.canvas-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

#ribbon-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero Typography & Content (Upper quiet negative space) */
.hero-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
  pointer-events: none; /* Let canvas receive mouse movements through text wrapper */
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0 auto;
  max-width: 860px;
}

.hero-status-pill,
.hero-title,
.hero-subtitle,
.hero-actions {
  pointer-events: auto; /* Re-enable pointer events for interactive elements */
}

/* Status Pill */
.hero-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 114, 206, 0.2);
  box-shadow: 0 4px 14px rgba(0, 114, 206, 0.08);
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-orange);
  box-shadow: 0 0 10px var(--accent-orange);
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

/* Headline */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.2rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.title-br {
  display: inline;
}

.gradient-text {
  background: linear-gradient(135deg, #005bb5 0%, #0088ff 45%, #ff6200 95%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Subtitle */
.hero-subtitle {
  font-size: clamp(1.02rem, 1.7vw, 1.22rem);
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 660px;
  margin: 0 auto 30px;
}

/* CTA Buttons */
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: all var(--transition-medium);
  cursor: pointer;
  position: relative;
}

.btn-primary {
  background: linear-gradient(135deg, #ff7a00 0%, #ff5500 50%, #e63900 100%);
  color: #ffffff;
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff8c1a 0%, #ff6600 50%, #f04000 100%);
  box-shadow: var(--shadow-btn-hover);
  transform: translateY(-2px);
}

.btn-icon {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
  transform: translateX(4px);
}

/* --- Contact Section --- */
.contact-section {
  position: relative;
  z-index: 20;
  padding: 110px 24px 100px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, #f8fafc 100%);
  border-top: 1px solid rgba(226, 232, 240, 0.8);
}

.contact-container {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 36px;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-blue);
  margin-bottom: 10px;
}

.contact-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.contact-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Contact Card */
.contact-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: var(--radius-lg);
  padding: 44px 44px 38px;
  box-shadow: var(--shadow-card);
  transition: box-shadow var(--transition-medium);
}

.contact-card:hover {
  box-shadow: var(--shadow-hover);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-label .req {
  color: var(--accent-orange);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 13px 16px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus {
  background: #ffffff;
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 4px rgba(0, 114, 206, 0.12);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: #94a3b8;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

/* Honeypot trap (invisible) */
.form-trap {
  display: none !important;
  visibility: hidden;
  position: absolute;
  left: -9999px;
}

/* Human-Check Security CAPTCHA Box */
.human-check {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.human-check__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.human-check__title {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.human-check__title svg {
  color: var(--accent-blue);
}

.human-check__refresh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent-blue);
  background: rgba(0, 114, 206, 0.08);
  border: 1px solid rgba(0, 114, 206, 0.2);
  border-radius: var(--radius-sm);
  padding: 5px 11px;
  transition: all var(--transition-fast);
}

.human-check__refresh-btn:hover {
  background: rgba(0, 114, 206, 0.16);
  border-color: var(--accent-blue);
}

.human-check__body {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.human-check__svg-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  min-width: 150px;
  min-height: 48px;
  overflow: hidden;
}

.captcha-loading {
  font-size: 0.75rem;
  color: var(--text-muted);
  padding: 10px;
}

.human-check__svg-box svg {
  display: block;
}

.human-check__input-wrap {
  flex: 1;
  min-width: 140px;
}

.human-check__input {
  max-width: 180px;
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  text-align: center;
}

.human-check__sub {
  font-size: 0.74rem;
  color: var(--text-muted);
}

/* Submit Button & Actions */
.btn-submit {
  width: 100%;
  padding: 15px 24px;
}

.form-feedback {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  line-height: 1.5;
  display: none;
}

.form-feedback:not(:empty) {
  display: block;
}

.form-feedback.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #047857;
}

.form-feedback.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #b91c1c;
}

.form-security-note {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
}

.form-security-note strong {
  color: var(--text-secondary);
}

/* --- Minimal Footer --- */
.site-footer {
  position: relative;
  z-index: 20;
  padding: 32px 24px;
  border-top: 1px solid #e2e8f0;
  background: #ffffff;
}

.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-email-link {
  color: var(--accent-blue);
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-email-link:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

/* --- Responsive Breakpoints --- */
@media (max-width: 768px) {
  :root {
    --header-height: 74px;
  }

  .header-inner {
    padding: 0 18px;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 200px;
  }

  .hero-section {
    padding-top: calc(var(--header-height) + 24px);
    padding-bottom: 80px;
  }

  .hero-container {
    padding: 0 20px;
  }

  .hero-title {
    font-size: 2.4rem;
  }

  .title-br {
    display: none;
  }

  .hero-subtitle {
    font-size: 1.02rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    padding: 28px 20px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
  }
}
