/* ─────────────────────────────────────────────
   STORRIS INNOVATIONS – style.css
   Colors: #FF5A24 (orange) · #2E3156 (navy)
   Fonts: Poppins + Inter
───────────────────────────────────────────── */

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

:root {
  --orange: #FF5A24;
  --orange-hover: #e84e1b;
  --navy: #2E3156;
  --navy-light: #3b3f6b;
  --text: #1a1c2e;
  --muted: #6b6f8a;
  --bg: #ffffff;
  --soft: #f7f8fc;
  --border: #e5e7ef;
  --error: #e74c3c;
  --error-bg: rgba(231, 76, 60, 0.08);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --nav-h: 72px;
  --radius: 8px;
  --transition: 0.25s ease;
}

/* BASE */
html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── NAV ── */
.nav-wrapper {
  position: fixed;
  top: 0;
  width: 100%;
  height: var(--nav-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  z-index: 100;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.nav-wrapper.scrolled {
  border-color: var(--border);
  box-shadow: 0 1px 12px rgba(0, 0, 0, 0.04);
}

.nav-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.05rem;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--navy);
  color: #fff;
  display: grid;
  place-items: center;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
}

.logo-accent {
  color: var(--orange);
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  background: var(--orange);
  color: #fff !important;
  padding: 8px 18px;
  border-radius: var(--radius);
  transition: background var(--transition), transform var(--transition);
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--orange-hover);
  transform: translateY(-1px);
}

/* MOBILE NAV */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

/* ── HERO ── */
.hero {
  padding-top: var(--nav-h);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(46, 49, 86, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46, 49, 86, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--navy);
  margin-bottom: 18px;
}

.hero-title em {
  color: var(--orange);
  font-style: normal;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

/* Subtle radial glow behind the hero visual */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle,
    rgba(255, 90, 36, 0.08) 0%,
    rgba(46, 49, 86, 0.05) 40%,
    transparent 70%
  );
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero-visual-placeholder {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1;
  border: 2px dashed var(--border);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-size: 0.85rem;
  background: var(--soft);
  position: relative;
  z-index: 1;
}

.hero-visual-placeholder svg {
  width: 80px;
  height: 80px;
  color: var(--border);
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 1px solid var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(255, 90, 36, 0.3);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: #fff;
  transform: translateY(-1px);
}

/* ── CREDIBILITY STRIP ── */
.credibility-strip {
  background: var(--navy);
  padding: 28px 0;
}

.credibility-list {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.credibility-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.02em;
}

.credibility-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  flex-shrink: 0;
  color: var(--orange);
}

/* ── SECTIONS ── */
.section-pad {
  padding: 96px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.25;
}

.section-label {
  color: var(--orange);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
  display: block;
}

.section-title--light {
  color: #fff;
}

.section-label--light {
  color: rgba(255, 255, 255, 0.6);
}

.body-text {
  color: var(--muted);
  margin-bottom: 14px;
  line-height: 1.7;
}

/* ── ABOUT ── */
.about {
  background: var(--soft);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

.about-img-placeholder {
  height: 320px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--bg);
}

.about-text .section-title {
  text-align: left;
}

/* ── PRODUCTS ── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px 28px;
  border-radius: 12px;
  transition: transform var(--transition), box-shadow var(--transition),
    border-color var(--transition);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.06);
  border-color: var(--orange);
}

.product-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  color: var(--orange);
}

.product-icon svg {
  width: 100%;
  height: 100%;
}

.product-card h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.patent-badge {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--orange);
  border: 1px solid var(--orange);
  border-radius: 4px;
  padding: 3px 8px;
  margin-bottom: 10px;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

/* ── PROCESS ── */
.process {
  background: var(--soft);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step {
  text-align: center;
  padding: 24px 16px;
}

.step-number {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.step h3 {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.step p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ── CONTACT ── */
.contact {
  background: var(--navy);
  color: #fff;
}

.contact .section-header {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.contact-intro {
  color: rgba(255, 255, 255, 0.65);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  padding-top: 8px;
}

.contact-detail h3 {
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.contact-detail a {
  color: var(--orange);
  font-size: 1rem;
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: #ff7a50;
}

/* FORM */
.contact-form-wrap {
  max-width: 560px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}

#contactForm {
  display: flex;
  flex-direction: column;
}

#contactForm input,
#contactForm textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), background var(--transition),
    box-shadow var(--transition);
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

#contactForm input:focus,
#contactForm textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.09);
  box-shadow: 0 0 0 3px rgba(255, 90, 36, 0.15);
}

#contactForm textarea {
  resize: vertical;
  min-height: 120px;
}

/* Validation error state */
.field-error {
  border-color: var(--error) !important;
  background: var(--error-bg) !important;
}

.field-error:focus {
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important;
}

.btn-submit {
  margin-top: 8px;
  width: 100%;
  padding: 14px;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
}

.btn-submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 40px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.form-success svg {
  color: var(--orange);
}

/* Form submission error */
.form-error {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 20px;
  margin-top: 16px;
  background: var(--error-bg);
  border: 1px solid rgba(231, 76, 60, 0.25);
  border-radius: var(--radius);
  color: #f87171;
  font-size: 0.9rem;
  text-align: center;
}

/* ── FOOTER ── */
.footer {
  text-align: center;
  padding: 28px 24px;
  background: #1a1c32;
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.85rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-subtitle {
    max-width: 100%;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-visual {
    display: none;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .contact-info {
    text-align: center;
  }

  .credibility-list {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    align-items: center;
    padding: 24px 20px;
    gap: 20px;
    display: none;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a::after {
    display: none;
  }

  .section-pad {
    padding: 64px 0;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .credibility-list {
    flex-direction: column;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    text-align: center;
  }
}