/* ========================
   CSS VARIABLES & RESET
========================= */
:root {
  --navy:        #0f172a;
  --navy-light:  #1e2d4a;
  --navy-card:   #162035;
  --orange:      #c2581f;
  --orange-hover:#a84a18;
  --orange-light:#f0e0d6;
  --white:       #ffffff;
  --gray-100:    #f8f9fa;
  --gray-200:    #e9ecef;
  --gray-400:    #9ca3af;
  --gray-600:    #4b5563;
  --gray-800:    #1f2937;
  --text-dark:   #0f172a;
  --text-mid:    #4b5563;
  --font:        'Inter', sans-serif;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(0,0,0,0.08);
  --shadow-lg:   0 8px 40px rgba(0,0,0,0.14);
  --transition:  0.25s ease;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ========================
   BUTTONS
========================= */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 88, 31, 0.35);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-2px);
}

/* ========================
   NAVIGATION
========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(10px);
  padding: 14px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.2rem;
  color: var(--white);
}

.nav-logo strong {
  color: var(--orange);
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--orange);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1rem;
  color: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links .nav-cta {
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: var(--radius);
  font-weight: 600;
}

.nav-links .nav-cta:hover {
  background: var(--orange-hover);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ========================
   HERO
========================= */
.hero {
  background: var(--navy);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(194,88,31,0.18) 0%, transparent 70%);
  top: 50%;
  right: 10%;
  transform: translateY(-50%);
  pointer-events: none;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(194,88,31,0.15);
  border: 1px solid rgba(194,88,31,0.3);
  color: var(--orange);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--orange);
  border-radius: 50%;
}

.hero-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-accent {
  color: var(--orange);
  text-decoration: underline;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}

.hero-subheadline {
  color: rgba(255,255,255,0.7);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-graphic {
  position: relative;
  height: 380px;
}

.graphic-card {
  position: absolute;
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.card-top {
  top: 20px;
  right: 0;
  width: 200px;
  flex-direction: column;
  align-items: flex-start;
}

.card-middle {
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  width: 220px;
}

.card-bottom {
  bottom: 20px;
  right: 30px;
  width: 190px;
  flex-direction: column;
  align-items: flex-start;
}

.card-line {
  height: 6px;
  background: rgba(255,255,255,0.15);
  border-radius: 3px;
  width: 100%;
}

.card-line.accent {
  background: var(--orange);
  width: 50%;
}

.card-line.short {
  width: 60%;
}

.card-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}

.card-dot.accent {
  background: var(--orange);
}

.card-lines-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
}

.grid-dot {
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 4px;
}

.grid-dot.accent {
  background: var(--orange);
}

.float-dot {
  position: absolute;
  border-radius: 50%;
}

.dot-1 {
  width: 12px;
  height: 12px;
  background: var(--orange);
  top: 35%;
  left: 38%;
}

.dot-2 {
  width: 10px;
  height: 10px;
  background: rgba(255,255,255,0.5);
  top: 55%;
  right: 15%;
}

.dot-3 {
  width: 8px;
  height: 8px;
  background: var(--orange);
  bottom: 30%;
  left: 25%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--gray-100));
  pointer-events: none;
}

/* ========================
   SECTION SHARED
========================= */
.section-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-mid);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* ========================
   TOOLS
========================= */
.tools {
  background: var(--gray-100);
  padding: 100px 0;
}

.tools-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 48px;
}

.tool-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-200);
  transition: transform var(--transition), box-shadow var(--transition);
}

.tool-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.tool-icon-wrap {
  width: 54px;
  height: 54px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.tool-icon {
  width: 24px;
  height: 24px;
  color: var(--orange);
}

.tool-tag {
  display: inline-block;
  background: var(--gray-200);
  color: var(--gray-600);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tool-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}

.tool-subtitle {
  color: var(--orange);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.tool-desc {
  color: var(--text-mid);
  font-size: 0.95rem;
  line-height: 1.7;
}

.tools-footer {
  text-align: center;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
}

.tools-footer a {
  color: var(--orange);
  font-weight: 600;
  transition: opacity var(--transition);
}

.tools-footer a:hover {
  opacity: 0.8;
}

/* ========================
   HOW IT WORKS
========================= */
.how-it-works {
  background: var(--white);
  padding: 100px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}

.step {
  text-align: center;
  position: relative;
}

.step-circle {
  width: 90px;
  height: 90px;
  background: var(--orange-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -8px;
  right: -8px;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--orange);
  background: var(--white);
  border: 2px solid var(--orange-light);
  border-radius: 999px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.step-icon {
  width: 32px;
  height: 32px;
  color: var(--orange);
}

.step-connector {
  position: absolute;
  top: 45px;
  left: calc(50% + 50px);
  right: calc(-50% + 50px);
  height: 2px;
  background: linear-gradient(to right, var(--orange), var(--orange-light));
  opacity: 0.5;
}

.step:last-child .step-connector {
  display: none;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.step p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================
   WHY DOCKETFORGE
========================= */
.why-us {
  background: var(--navy);
  padding: 100px 0;
}

.why-us .section-header h2 {
  color: var(--white);
}

.why-us .section-header p {
  color: rgba(255,255,255,0.6);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--navy-card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform var(--transition), border-color var(--transition);
}

.why-card:hover {
  transform: translateY(-4px);
  border-color: rgba(194,88,31,0.3);
}

.why-icon-wrap {
  width: 46px;
  height: 46px;
  background: rgba(194,88,31,0.15);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.why-icon {
  width: 22px;
  height: 22px;
  color: var(--orange);
}

.why-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}

.why-card p {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  line-height: 1.7;
}

.why-card:nth-child(4) {
  grid-column: 1 / 2;
  margin-left: auto;
  width: 100%;
}

.why-card:nth-child(5) {
  grid-column: 2 / 3;
  width: 100%;
}

/* ========================
   FAQ
========================= */
.faq {
  background: var(--white);
  padding: 100px 0;
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.faq-item {
  background: var(--gray-100);
  border-radius: var(--radius);
  padding: 28px 32px;
  border: 1px solid var(--gray-200);
}

.faq-item h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.4;
}

.faq-item p {
  color: var(--text-mid);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ========================
   CONTACT
========================= */
.contact {
  background: var(--gray-100);
  padding: 100px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-left {
  background: var(--navy);
  padding: 52px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-left h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

.contact-left > p {
  color: rgba(255,255,255,0.65);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-top: -16px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 38px;
  height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon i {
  width: 16px;
  height: 16px;
  color: var(--orange);
}

.info-label {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2px;
}

.info-value,
.contact-info-item a {
  color: var(--white);
  font-weight: 600;
  font-size: 0.9rem;
}

.contact-info-item a:hover {
  color: var(--orange);
}

.contact-checklist {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.checklist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.9rem;
  font-weight: 500;
}

.checklist-item i {
  width: 18px;
  height: 18px;
  color: var(--orange);
  flex-shrink: 0;
}

.contact-right {
  padding: 52px 44px;
}

.contact-right h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.form-subtext {
  color: var(--text-mid);
  font-size: 0.9rem;
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: border-color var(--transition);
  background: var(--white);
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--orange);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray-400);
}

.btn-submit {
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  padding: 16px;
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font);
}

.btn-submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194,88,31,0.35);
}

.form-success {
  display: none;
  text-align: center;
  color: #16a34a;
  font-weight: 600;
  font-size: 0.95rem;
  margin-top: 16px;
  padding: 14px;
  background: #f0fdf4;
  border-radius: 8px;
  border: 1px solid #bbf7d0;
}

/* ========================
   FOOTER
========================= */
.footer {
  background: var(--navy);
  padding: 48px 0 28px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-links {
  display: flex;
  gap: 32px;
}

.footer-links a {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--white);
}

.footer-social {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}

.footer-social:hover {
  background: var(--orange);
  color: var(--white);
}

.footer-social i {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.82rem;
}

.footer-tagline {
  color: rgba(255,255,255,0.25) !important;
}

/* ========================
   ANIMATIONS
========================= */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================
   RESPONSIVE
========================= */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-top: 1px solid rgba(255,255,255,0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .hamburger {
    display: flex;
  }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-badge {
    margin: 0 auto 24px;
  }

  .hero-subheadline {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-buttons {
    justify-content: center;
  }

  .hero-graphic {
    display: none;
  }

  .hero::after {
    display: none;
  }

  .tools-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .step-connector {
    display: none;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: 1;
    margin-left: 0;
  }

  .faq-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}