/* ── CraftedInfra company site styles ── */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:    #0f1e35;
  --navy-2:  #1a2f4a;
  --blue:    #1d6fe8;
  --teal:    #07b5c9;
  --grad:    linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  --text:    #1a2332;
  --subtle:  #5a6880;
  --border:  #dce2ed;
  --bg:      #f4f7fb;
  --white:   #ffffff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Nav ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  height: 64px;
  gap: 32px;
}

.nav-logo img {
  height: 36px;
  width: auto;
  display: block;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 28px;
  margin-left: auto;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--subtle);
  text-decoration: none;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  background: var(--grad);
  color: var(--white);
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.15s, transform 0.15s;
  flex-shrink: 0;
}

.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

/* ── Hero ── */
.hero {
  padding: 96px 0 80px;
  text-align: center;
  background: radial-gradient(ellipse 80% 60% at 50% 0%, rgba(29,111,232,0.07) 0%, transparent 70%);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 20px;
}

.hero-label-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero h1 span {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 18px;
  color: var(--subtle);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.15s, box-shadow 0.15s;
}

.btn-primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(29,111,232,0.3);
}

.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 24px rgba(29,111,232,0.35); }

.btn-outline {
  background: var(--white);
  color: var(--text);
  border: 1.5px solid var(--border);
}

.btn-outline:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }

/* ── Products section ── */
.products {
  padding: 80px 0;
}

.section-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 16px;
  color: var(--subtle);
  max-width: 480px;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.product-card {
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  background: var(--white);
  transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: 0 8px 32px rgba(29,111,232,0.1);
  border-color: rgba(29,111,232,0.3);
  transform: translateY(-2px);
}

.product-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}

.product-card-icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.product-card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--teal);
  background: rgba(7,181,201,0.08);
  border: 1px solid rgba(7,181,201,0.2);
  border-radius: 4px;
  padding: 2px 8px;
  margin-bottom: 12px;
}

.product-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.product-card p {
  font-size: 14px;
  color: var(--subtle);
  line-height: 1.65;
  margin-bottom: 24px;
  flex: 1;
}

.product-card-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.feature-chip {
  font-size: 12px;
  font-weight: 500;
  color: var(--subtle);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 10px;
}

.product-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  transition: gap 0.15s;
}

.product-card-link:hover { gap: 10px; }

.product-card-link svg { flex-shrink: 0; }

/* ── About section ── */
.about {
  padding: 80px 0;
  background: var(--navy);
  color: var(--white);
}

.about .section-label { color: var(--teal); }
.about .section-title { color: var(--white); }
.about .section-sub   { color: rgba(255,255,255,0.6); }

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

.about-text p {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.75;
  margin-bottom: 16px;
}

.about-text p:last-child { margin-bottom: 0; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-value {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-value-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--teal);
}

.about-value-text h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 4px;
}

.about-value-text p {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  line-height: 1.5;
  margin: 0;
}

/* ── Contact section ── */
.contact {
  padding: 80px 0;
  text-align: center;
}

.contact-card {
  max-width: 540px;
  margin: 0 auto;
  border: 1.5px solid var(--border);
  border-radius: 20px;
  padding: 48px 40px;
  background: var(--bg);
}

.contact-card h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.contact-card p {
  font-size: 15px;
  color: var(--subtle);
  margin-bottom: 28px;
  line-height: 1.6;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  padding: 12px 24px;
  border: 1.5px solid rgba(29,111,232,0.3);
  border-radius: 8px;
  background: var(--white);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.contact-email:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(29,111,232,0.15);
}

/* ── Footer ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  padding: 40px 0;
  font-size: 13px;
}

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

.footer-logo img {
  height: 28px;
  width: auto;
  opacity: 0.85;
}

.footer-links {
  display: flex;
  gap: 20px;
  list-style: none;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.15s;
}

.footer-links a:hover { color: rgba(255,255,255,0.85); }

/* ── Responsive ── */
@media (max-width: 768px) {
  .about-grid { grid-template-columns: 1fr; }
  .nav-links  { display: none; }
  .contact-card { padding: 32px 24px; }
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
}
