:root {
  --bg: #0f172a;          /* slate-900 */
  --text: #0b1020;        /* deep navy for light sections */
  --text-invert: #e6efff; /* light text on dark */
  --muted: #7c8aa5;       /* slate-400 */
  --primary: #0077ff;     /* blue */
  --primary-contrast: #0f172a;
  --accent: #fb923c;      /* orange */
  --surface: #ffffff;     /* white cards */
  --surface-2: #f3f6fb;   /* light panel */
  --border: #e2e8f0;      /* light border */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; }
.container { width: min(1100px, 92vw); margin: 0 auto; }
.section-heading { text-align:center; justify-content: center; padding: 24px 18px; }

/* Header */
.header { display: flex; flex-direction: row; align-items: center; justify-content: space-between; background-color: #2b3558 }
.header-inner{ width: min(1100px, 92vw); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.logo img { height: 40px; width: auto; }
.nav { overflow: hidden;}
.nav a { margin-left: 18px; color: var(--text); text-decoration: none; color: var(--text-invert) }
.nav .btn-outline { border-color: var(--border); color: var(--text-invert); }
.nav .icon { display: none}

@media screen and (max-width: 600px) {
  .header-inner{flex-direction: column; align-items: center; justify-content: center;}
  .nav a:not(:first-child) {display: none;}
  .nav a.icon {
    float: right;
    display: block;
  }
}

@media screen and (max-width: 600px) {
  .nav.responsive {position: relative;}
  .nav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav.responsive a {
    float: none;
    display: flex;
    flex-direction: column;
    text-align: left;
    margin: 18px;
  }
  
}

/* Hero */
.hero { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 32px; padding: 70px 0; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); line-height: 1.05; font-weight: 700; }
.hero p { color: var(--muted); font-size: 1.1rem; }
.actions { margin-top: 18px; }
.promo-tag { display: flex; gap: 18px; list-style: none; padding: 0; margin-top: 16px; color: var(--muted); }
.hero-art {background-image: url("../img/fx-hero.png"); background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;}

/* Feature rows */
.feature-rows { padding: 40px 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: center; padding: 18px 0; }
.media-thumb { height: 220px; border-radius: 14px; background-image: url("../img/fx-design.png"); border: 1px solid var(--border); background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  background-color: #6f6fdd ;}
.media-thumb-2 { height: 220px; border-radius: 14px; background-image: url("../img/fx-maintenance.png"); border: 1px solid var(--border); background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;}
.media-thumb-3 { height: 220px; border-radius: 14px; background-image: url("../img/fx-optimize.png"); border: 1px solid var(--border); background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  position: relative;
  background-color:#527da3 ;}
.content h2 { font-family: Outfit, Inter, sans-serif; font-size: 1.9rem; margin: 0 0 8px; }
.content p { color: #495064; }
.bullets { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 8px; color: #495064; }

/* Process */
.process { padding: 40px 0; }
.process h2 { font-family: Outfit, Inter, sans-serif; font-size: 1.9rem; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 12px; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 16px; }
.step-num { width: 30px; height: 30px; border-radius: 999px; background: var(--accent); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 8px; }

/* Pricing Home*/
.pricing { padding: 40px 0; }
.pricing-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 22px; align-items: start; }
.cta-aside { background: var(--surface-2); border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: sticky; top: 90px; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.plan { background: var(--surface); border: 1px solid var(--border); border-radius: 14px; padding: 18px; position: relative; }
.plan .price { font-size: 1.5rem; font-weight: 800; }
.plan.featured { border-color: var(--primary); box-shadow: 0 0 0 4px #0077ff; }
.plan .badge { position: absolute; top: -10px; right: 14px; background: var(--primary); color: var(--text-invert); font-size: 0.75rem; padding: 4px 8px; border-radius: 999px; }
.pricing-note{padding:10px; margin-top:1rem; color: var(--muted); font-size:0.9rem;}

/* Footer */
.site-footer { color: var(--text-invert); background: #0b132a; border-top: 1px solid #1f2937; margin-top: 2rem; padding-bottom: 20px; }
.site-footer .footer-grid { display:grid; grid-template-columns: 2fr 1fr 1fr; gap:1rem; }
.site-footer h4 { margin-bottom:0.4rem; }
.site-footer ul { list-style:none; padding:0; margin:0; }
.site-footer li { margin:0.25rem 0; }
.site-footer a { color: var(--text-invert); text-decoration:none; }
.site-footer a:hover { color: var(--primary); }
.site-footer .copyright { margin-top:1rem; color: var(--muted); font-size:0.9rem; }

/*Buttons*/
.btn { display: inline-block; padding: 10px 16px; border-radius: 12px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--primary); color: var(--text-invert); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline { background: transparent; border-color: var(--border); }

span.protectedNumber:before {
    content: "Phone number: " attr(title);
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}

/*Service cards*/
.service-cards { display:grid; grid-template-columns: repeat(3, 1fr); gap:2rem; }
.card { border-radius: 8px; width: 100%; height: auto; padding: 30px;   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease; cursor: pointer; }
.card ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
}
.card ul li {
  margin: 10px 0;
  color: #444444;
}
.card-line { height: 14px; background: #1f2937; border-radius: 8px; margin-bottom: 10px; }
.card-block { height: 140px; background: #0f172a; border-radius: 10px; margin-bottom: 10px; border: 1px dashed #334155; }
.card-service { background: #0e1726; border:1px solid #1f2937; padding:1rem; border-radius:10px; }
.service-cards h3 {color: #0077ff; margin-top:0; }
.service { margin: 1rem 0 1.2rem; }

.pricing-section {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: center;
}
.pricing-card {
  background-color: #ffffff;
  padding: 30px;
  border-radius: 15px;
  width: 280px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, background 0.3s ease;
  cursor: pointer;
  text-align: center;
}
.pricing-card:hover {
  transform: scale(1.05);
  background: #f0f8ff;
}
.pricing-card h3 {
  font-weight: 600;
  font-size: 1.4rem;
  color: #333333;
  margin-bottom: 10px;

}
.pricing-card h2 {
  font-size: 2rem;
  color: #0077ff;
  margin-bottom: 20px;

}
.pricing-card h2 span {
  font-size: 0.9rem;
  color: #666666;
}
.pricing-card ul {
  list-style: none;
  margin-bottom: 20px;
  padding-left: 0;
}
.pricing-card ul li {
  margin: 10px 0;
  color: #444444;
}
.pricing-card button {
  background-color: #0077ff;
  color: #ffffff;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  transition: background 0.3 ease;
}
.pricing-card button:hover {
  background: #005ecb;
}
.featured {
  border: 2px solid #0077ff;
}

/*Contact form*/
.contact-section {
  width: 100%;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  padding: 3rem 1rem;
}

.contact-intro > * + * {
  margin-top: 1rem;
}

.contact-title {
  font-size: 1.875rem;
  line-height: 2.25rem;
  font-weight: 700;
}

.contact-description {
  color: rgb(107 114 128);
}

.form-group-container {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  margin-bottom: 0.5rem;
}

.form-input,
.form-textarea {
  padding: 0.5rem;
  border: 1px solid #e5e7eb;
  display: flex;
  height: 2.5rem;
  width: 100%;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.form-input::placeholder,
.form-textarea:focus-visible {
  color: #6b7280;
}

.form-input:focus-visible,
.form-textarea:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}

.form-textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 1.2rem;
  background-color: #3124ca;
  color: #fff;
  padding: 13px 5px;
  border-radius: 0.375rem;
}
