/* ==========================================================================
   StriveGuard — Main Stylesheet
   Computer Systems Design & Related Services
   ========================================================================== */

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

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #1e293b;
  background-color: #ffffff;
}

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

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

ul {
  list-style: none;
}

/* --- Utility --- */
.section-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.section-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2563eb;
  background-color: #eff6ff;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 16px;
}

.section-title {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.2;
  color: #0f172a;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 18px;
  color: #475569;
  max-width: 620px;
  margin: 0 auto;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 32px;
  border-radius: 8px;
  transition: background-color 0.2s, color 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
  line-height: 1.2;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: #2563eb;
  color: #ffffff;
}

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

.btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
  border-color: #ffffff;
  background-color: rgba(255,255,255,0.08);
}

.btn-full {
  width: 100%;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: transparent;
  transition: background-color 0.3s, box-shadow 0.3s;
  height: 72px;
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  background-color: #0f172a;
  box-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 101;
}

.logo-text {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.main-nav .nav-list {
  display: flex;
  gap: 36px;
}

.main-nav .nav-list a {
  color: #f8fafc;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

.main-nav .nav-list a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.2s;
}

.main-nav .nav-list a:hover {
  color: #ffffff;
}

.main-nav .nav-list a:hover::after {
  width: 100%;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.menu-bar {
  display: block;
  width: 26px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.menu-toggle.active .menu-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.active .menu-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active .menu-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: #0f172a;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-bg-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.08;
}

.shape-1 {
  width: 600px;
  height: 600px;
  background-color: #2563eb;
  top: -200px;
  right: -150px;
}

.shape-2 {
  width: 400px;
  height: 400px;
  background-color: #2563eb;
  bottom: -100px;
  left: -100px;
}

.shape-3 {
  width: 300px;
  height: 300px;
  background-color: #2563eb;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  opacity: 0.04;
}

.shape-4 {
  width: 120px;
  height: 120px;
  background-color: #3b82f6;
  top: 25%;
  right: 20%;
  opacity: 0.15;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #60a5fa;
  margin-bottom: 24px;
}

.hero-title {
  font-size: 58px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  max-width: 740px;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 19px;
  color: #cbd5e1;
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 64px;
}

.hero-stats-mini {
  display: flex;
  gap: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hero-stat-num {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
}

.hero-stat-label {
  font-size: 14px;
  color: #94a3b8;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services {
  padding: 100px 0;
  background-color: #ffffff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 36px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
  border-color: #2563eb;
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background-color: #eff6ff;
  margin-bottom: 20px;
}

.service-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.service-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about {
  padding: 100px 0;
  background-color: #f1f5f9;
}

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

.about-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-block {
  background-color: #0f172a;
  border-radius: 16px;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about-block-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.about-block-text {
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.about-stats-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.about-stat-spot {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.about-stat-number {
  font-size: 28px;
  font-weight: 700;
  color: #2563eb;
}

.about-stat-label {
  font-size: 13px;
  color: #64748b;
}

.about-content .section-tag {
  margin-bottom: 16px;
}

.about-content .section-title {
  margin-bottom: 20px;
}

.about-text {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 16px;
}

.about-content .btn {
  margin-top: 12px;
}

/* ==========================================================================
   PROCESS
   ========================================================================== */
.process {
  padding: 100px 0;
  background-color: #ffffff;
}

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: #e2e8f0;
  transform: translateX(-50%);
}

.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
}

.process-step:nth-child(odd) {
  padding-right: 48px;
  justify-content: flex-end;
}

.process-step:nth-child(even) {
  padding-left: 48px;
}

.process-step-marker {
  position: absolute;
  left: 50%;
  top: 28px;
  transform: translateX(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #2563eb;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 0 0 8px #eff6ff;
}

.process-step-num {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.process-step-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 28px 24px;
  max-width: 420px;
  transition: box-shadow 0.25s, border-color 0.25s;
}

.process-step-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.05);
  border-color: #2563eb;
}

.process-step-title {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.process-step-desc {
  font-size: 15px;
  color: #475569;
  line-height: 1.65;
}

/* ==========================================================================
   INDUSTRIES
   ========================================================================== */
.industries {
  padding: 100px 0;
  background-color: #f1f5f9;
}

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

.industry-card {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 32px 28px;
  text-align: center;
  transition: transform 0.25s, box-shadow 0.25s;
}

.industry-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.industry-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 14px;
  background-color: #eff6ff;
  margin: 0 auto 18px;
}

.industry-title {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 8px;
}

.industry-desc {
  font-size: 14px;
  color: #64748b;
  line-height: 1.6;
}

/* ==========================================================================
   STATS
   ========================================================================== */
.stats {
  padding: 80px 0;
  background-color: #0f172a;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.06);
  margin-bottom: 4px;
}

.stat-number {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
}

.stat-label {
  font-size: 15px;
  color: #94a3b8;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials {
  padding: 100px 0;
  background-color: #ffffff;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform 0.25s, box-shadow 0.25s;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.testimonial-stars {
  display: flex;
  gap: 4px;
}

.testimonial-text {
  font-size: 15px;
  color: #475569;
  line-height: 1.7;
  font-style: italic;
  flex: 1;
}

.testimonial-author {
  border-top: 1px solid #e2e8f0;
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.testimonial-author strong {
  font-size: 15px;
  font-weight: 600;
  color: #0f172a;
}

.testimonial-author span {
  font-size: 13px;
  color: #64748b;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact {
  padding: 100px 0;
  background-color: #f1f5f9;
}

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

.contact-info .section-tag {
  margin-bottom: 12px;
}

.contact-info .section-title {
  margin-bottom: 16px;
}

.contact-intro {
  font-size: 16px;
  color: #475569;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: #334155;
  line-height: 1.5;
}

.contact-detail-item svg {
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-website {
  font-size: 15px;
  color: #475569;
}

.contact-website strong {
  color: #0f172a;
}

.contact-form {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 36px 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: #0f172a;
}

.form-group input,
.form-group textarea {
  font-family: inherit;
  font-size: 15px;
  color: #1e293b;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 16px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

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

.contact-form .btn {
  margin-top: 8px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: #0f172a;
  padding: 64px 0 0;
  color: #cbd5e1;
}

.footer-inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid #1e293b;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-logo span {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}

.footer-desc {
  font-size: 14px;
  color: #94a3b8;
  line-height: 1.7;
}

.footer-heading {
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 14px;
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-links li {
  font-size: 14px;
  color: #94a3b8;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: #64748b;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-legal a {
  font-size: 13px;
  color: #94a3b8;
  transition: color 0.2s;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-divider {
  font-size: 13px;
  color: #334155;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
  .section-title {
    font-size: 32px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-subtitle {
    font-size: 17px;
  }

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

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

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

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

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: #0f172a;
    padding: 100px 32px 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -4px 0 30px rgba(0,0,0,0.3);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav .nav-list {
    flex-direction: column;
    gap: 24px;
  }

  .main-nav .nav-list a {
    font-size: 17px;
    color: #ffffff;
  }

  .section-title {
    font-size: 28px;
  }

  .hero {
    min-height: auto;
    padding: 140px 0 80px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-stats-mini {
    flex-wrap: wrap;
    gap: 24px;
  }

  .services-grid,
  .industries-grid {
    grid-template-columns: 1fr;
  }

  .about-layout,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-visual {
    order: -1;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }

  .process-timeline::before {
    left: 24px;
  }

  .process-step {
    padding-left: 64px !important;
    padding-right: 0 !important;
    justify-content: flex-start !important;
  }

  .process-step-marker {
    left: 24px;
    top: 28px;
  }

  .process-step-card {
    max-width: 100%;
  }

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

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

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .section-inner {
    padding: 0 16px;
  }

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

  .hero-inner {
    padding: 0 16px;
  }

  .hero-title {
    font-size: 28px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .section-title {
    font-size: 24px;
  }

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