/* === HAJ Solutions, Inc. — Corporate Styles === */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1e293b;
  background: #ffffff;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: #1d4ed8; text-decoration: none; }
a:hover { color: #2563eb; text-decoration: underline; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }

/* === Buttons === */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.2s, color 0.2s;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: #1d4ed8; color: #fff; }
.btn-primary:hover { background: #2563eb; color: #fff; }

.btn-secondary { background: #e2e8f0; color: #1e293b; }
.btn-secondary:hover { background: #cbd5e1; color: #1e293b; }

.btn-full { width: 100%; text-align: center; }

/* === Header === */
.site-header {
  background: #0f172a;
  color: #fff;
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid #1d4ed8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo:hover { color: #fff; text-decoration: none; }

.main-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.main-nav a {
  color: rgba(255,255,255,0.8);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active {
  color: #fff;
  text-decoration: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
}

/* === Hero (Home) === */
.hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.75);
  max-width: 640px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* === Page Hero (Sub-pages) === */
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
}

.page-hero h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.page-hero-subtitle {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
}

/* === Sections === */
.section { padding: 4rem 0; }
.bg-light { background: #f8fafc; }

.section-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: #0f172a;
  text-align: center;
}

.cta-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
}

.cta-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #0f172a;
}

.cta-section p {
  color: #475569;
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

/* === Grid === */
.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* === Cards === */
.card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 1.75rem;
  transition: box-shadow 0.2s;
}

.card:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 0.5rem; color: #1e293b; }
.card p { font-size: 0.95rem; color: #64748b; line-height: 1.6; }
.card-icon { font-size: 1.75rem; margin-bottom: 0.75rem; display: block; }

/* === Feature Items (Why Choose Us) === */
.feature-item {
  padding: 1.25rem 0;
}

.feature-item h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.feature-item p {
  color: #475569;
  font-size: 0.95rem;
}

/* === Services Page === */
.service-block {
  margin-bottom: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #e2e8f0;
}

.service-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.service-block h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.service-block p {
  color: #475569;
  margin-bottom: 1rem;
  font-size: 1rem;
}

.service-list {
  list-style: disc;
  margin-left: 1.5rem;
}

.service-list li {
  color: #475569;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

/* === Products Page === */
.product-showcase { max-width: 100%; }

.product-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.product-icon {
  font-size: 3rem;
  margin-bottom: 0.75rem;
}

.product-header h2 {
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.product-tagline {
  font-size: 1.15rem;
  color: #64748b;
}

.product-description {
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.product-description p {
  font-size: 1.05rem;
  color: #475569;
  text-align: center;
  line-height: 1.8;
}

.product-pricing {
  margin-top: 3rem;
  text-align: center;
}

.product-pricing h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.pricing-card-inline {
  max-width: 420px;
  margin: 0 auto;
  background: #fff;
  border: 2px solid #1d4ed8;
  border-radius: 12px;
  padding: 2.5rem 2rem;
}

.pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.pricing-amount span {
  font-size: 1rem;
  font-weight: 400;
  color: #64748b;
}

.pricing-card-inline > p {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.pricing-features-list {
  list-style: none;
  text-align: left;
  margin: 0 0 2rem;
}

.pricing-features-list li {
  padding: 0.4rem 0;
  color: #475569;
  font-size: 0.95rem;
}

.pricing-features-list li::before {
  content: "\2713";
  color: #16a34a;
  font-weight: 700;
  margin-right: 0.75rem;
}

.product-details {
  margin-top: 3rem;
}

.product-details h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
  text-align: center;
}

.steps {
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
}

.step h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.step p {
  color: #475569;
  font-size: 0.95rem;
}

/* === Contact Page === */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.25rem;
}

.contact-item p {
  color: #475569;
  font-size: 0.95rem;
}

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

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: #1e293b;
}

.required { color: #dc2626; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #fff;
  color: #1e293b;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

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

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns=http://www.w3.org/2000/svg width=12 height=12 viewBox=0 0 12 12%3E%3Cpath fill=%2394a3b8 d=M6 8L1 3h10z/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  font-size: 0.95rem;
}

.form-status.success {
  background: #f0fdf4;
  color: #16a34a;
  border: 1px solid #bbf7d0;
}

/* === Legal Pages === */
.legal-content {
  max-width: 720px;
}

.legal-content h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #0f172a;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #1d4ed8;
  display: inline-block;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-content p {
  color: #475569;
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal-content li {
  color: #475569;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.legal-content a { font-weight: 500; }

/* === Support Page === */
.support-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.support-options h2,
.support-faq h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 1.5rem;
}

.support-card {
  margin-bottom: 1.25rem;
}

.support-card h3 {
  margin-bottom: 0.5rem;
}

.support-card p {
  margin-bottom: 0.75rem;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

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

.faq-item h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: #1e293b;
  margin-bottom: 0.4rem;
}

.faq-item p {
  color: #475569;
  font-size: 0.95rem;
}

/* === Footer === */
.site-footer {
  background: #0f172a;
  color: rgba(255,255,255,0.6);
  padding-top: 3rem;
  font-size: 0.9rem;
  margin-top: auto;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}

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

.footer-links {
  display: flex;
  gap: 3rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.footer-col ul { list-style: none; }

.footer-col li { margin-bottom: 0.4rem; }

.footer-col a {
  color: rgba(255,255,255,0.55);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-col a:hover { color: #fff; text-decoration: none; }

.footer-bottom {
  padding: 1.25rem 0;
}

.footer-bottom p {
  color: rgba(255,255,255,0.35);
  font-size: 0.8rem;
  text-align: center;
}

/* === Responsive === */
@media (max-width: 768px) {
  .hero h1 { font-size: 1.85rem; }
  .hero { padding: 3.5rem 0 3rem; }
  .page-hero h1 { font-size: 1.5rem; }

  .grid-2, .grid-3 { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; gap: 2rem; }
  .support-layout { grid-template-columns: 1fr; gap: 2rem; }

  .mobile-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #0f172a;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 1rem 1.5rem;
  }
  .main-nav.open { display: block; }
  .main-nav ul {
    flex-direction: column;
    gap: 0;
  }
  .main-nav li { padding: 0.5rem 0; }
  .main-nav a { font-size: 1rem; }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 1.5rem; }
  .footer-bottom p { font-size: 0.75rem; }

  .pricing-card-inline { padding: 2rem 1.5rem; }
}
