/* ================================================
   HelloFlint - styles.v1.css
   Elite Static Website Build
   ================================================ */

/* ------------------------------------------------
   CSS Variables
   ------------------------------------------------ */
:root {
  /* Colours */
  --navy: #1a1f3d;
  --navy-light: #2d3561;
  --orange: #f97316;
  --orange-hover: #fb923c;
  --orange-glow: rgba(249, 115, 22, 0.25);
  --cream: #fffbf7;
  --grey: #f4f3f0;
  --white: #ffffff;
  --text-body: #3d4152;
  --text-muted: rgba(61, 65, 82, 0.65);
  
  /* Typography */
  --font-heading: 'Orbitron', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  
  /* Spacing */
  --section-pad: clamp(70px, 10vw, 120px);
  --container-width: 1140px;
  --nav-height: 72px;
  
  /* Borders */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  color: var(--text-body);
  background-color: var(--cream);
}

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

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

/* ------------------------------------------------
   Typography
   ------------------------------------------------ */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.35rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

/* Section Labels - Monospace */
.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 16px;
  display: block;
}

/* ------------------------------------------------
   Layout
   ------------------------------------------------ */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: var(--section-pad) 0;
}

.section--grey {
  background-color: var(--grey);
}

.section--white {
  background-color: var(--white);
}

.section--navy {
  background-color: var(--navy);
}

.section--navy,
.section--navy h2,
.section--navy h3,
.section--navy p {
  color: var(--white);
}

.section--navy .section-label {
  color: var(--orange);
}

.section--navy .text-muted {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-header p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-top: 16px;
}

.section--navy .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------
   Skip Link (Accessibility)
   ------------------------------------------------ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--navy);
  color: var(--white);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  z-index: 9999;
  font-weight: 600;
}

.skip-link:focus {
  top: 10px;
}

/* ------------------------------------------------
   Navigation
   ------------------------------------------------ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255, 251, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 31, 61, 0.06);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(26, 31, 61, 0.08);
}

.nav__inner {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav__logo {
  height: 36px;
  width: auto;
}

.nav__wordmark {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.nav__link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s ease;
  position: relative;
}

.nav__link:hover,
.nav__link.active {
  color: var(--navy);
}

.nav__link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--orange);
  border-radius: 1px;
}

.nav__cta {
  margin-left: 16px;
}

/* Hamburger */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.nav__hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav__hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.nav__mobile {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: var(--cream);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(26, 31, 61, 0.08);
}

.nav__mobile.active {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav__mobile a {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--navy);
}

@media (max-width: 768px) {
  .nav__links,
  .nav__cta {
    display: none;
  }
  
  .nav__hamburger {
    display: flex;
  }
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--orange);
  color: var(--navy);
}

.btn--primary:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

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

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn--outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn--outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn--lg {
  padding: 16px 32px;
  font-size: 1rem;
}

.btn--full {
  width: 100%;
}

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

.hero__bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.hero__bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26, 31, 61, 0.03) 0%, rgba(249, 115, 22, 0.03) 100%);
}

.hero__content {
  max-width: 720px;
  padding: 80px 0;
}

.hero__label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  margin-bottom: 24px;
}

.hero h1 span {
  color: var(--orange);
}

.hero__intro {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav-height) + 40px);
    padding-bottom: 60px;
  }
  
  .hero__content {
    padding: 40px 0;
  }
  
  .hero__actions {
    flex-direction: column;
  }
  
  .hero__actions .btn {
    width: 100%;
  }
}

/* ------------------------------------------------
   Card Grid
   ------------------------------------------------ */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card-grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card-grid--4 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(26, 31, 61, 0.06);
}

.section--grey .card {
  background: var(--white);
}

.section--white .card {
  background: var(--grey);
}

.section--navy .card {
  background: var(--navy-light);
  border-color: rgba(255, 255, 255, 0.08);
}

.card__icon {
  width: 52px;
  height: 52px;
  background: var(--orange-glow);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
  font-size: 1rem;
}

.section--navy .card p {
  color: rgba(255, 255, 255, 0.7);
}

/* ------------------------------------------------
   Steps
   ------------------------------------------------ */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
}

.step {
  position: relative;
  padding: 32px;
  background: var(--navy-light);
  border-radius: var(--radius-md);
}

.step__number {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  margin-bottom: 16px;
}

.step h3 {
  color: var(--white);
  margin-bottom: 12px;
}

.step p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
}

/* ------------------------------------------------
   Scenarios
   ------------------------------------------------ */
.scenarios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}

.scenario {
  padding: 28px 32px;
  background: var(--white);
  border-radius: var(--radius-md);
  border-left: 4px solid var(--orange);
  font-size: 1rem;
}

.scenario strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.scenario p {
  color: var(--text-muted);
  margin: 0;
}

/* ------------------------------------------------
   Pricing Card
   ------------------------------------------------ */
.price-card {
  max-width: 480px;
  margin: 0 auto;
  padding: 48px 40px;
  background: var(--navy);
  border-radius: var(--radius-lg);
  text-align: center;
}

.price-card__amount {
  font-family: var(--font-heading);
  font-size: clamp(3rem, 8vw, 4rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.price-card__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 1rem;
  margin-bottom: 36px;
}

.price-card__features {
  list-style: none;
  text-align: left;
  margin-bottom: 36px;
}

.price-card__features li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  font-size: 0.95rem;
}

.price-card__features li:last-child {
  border-bottom: none;
}

.price-card__check {
  color: var(--orange);
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 2px;
}

@media (max-width: 640px) {
  .price-card {
    padding: 36px 24px;
  }
}

/* ------------------------------------------------
   About
   ------------------------------------------------ */
.about-content {
  max-width: 680px;
}

.about-content p {
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.about-name {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--navy);
  margin-top: 32px;
}

/* ------------------------------------------------
   FAQ
   ------------------------------------------------ */
.faq-list {
  max-width: 760px;
}

.faq-item {
  padding: 28px 0;
  border-bottom: 1px solid rgba(26, 31, 61, 0.1);
}

.faq-item:first-child {
  padding-top: 0;
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--navy);
  margin-bottom: 12px;
}

.faq-answer {
  color: var(--text-muted);
  font-size: 1rem;
}

/* ------------------------------------------------
   CTA Banner
   ------------------------------------------------ */
.cta-banner {
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 40px;
}

.cta-banner__actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

@media (max-width: 640px) {
  .cta-banner__actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-banner__actions .btn {
    width: 100%;
    max-width: 300px;
  }
}

/* ------------------------------------------------
   Contact Form
   ------------------------------------------------ */
.contact-section {
  margin-top: 80px;
  padding-top: 60px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-section h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
}

.contact-form {
  max-width: 480px;
  margin: 0 auto;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--white);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 48px;
}

.form-group select option {
  background: var(--navy);
  color: var(--white);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.08);
}

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

.form-status {
  text-align: center;
  padding: 16px;
  border-radius: var(--radius-sm);
  margin-top: 16px;
  display: none;
}

.form-status.success {
  display: block;
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */
.footer {
  background: var(--navy);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.footer a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
}

.footer a:hover {
  color: var(--white);
}

/* ------------------------------------------------
   Scroll Reveal Animations
   ------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }
.reveal-delay-4 { transition-delay: 0.6s; }

/* ------------------------------------------------
   Utilities
   ------------------------------------------------ */
.text-muted {
  color: var(--text-muted);
}

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

.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }
  
  .mobile-only {
    display: block;
  }
}
