/* ===========================
   ITS – Intelligent Tech Solutions
   Stylesheet
   =========================== */

:root {
  --bg: #f0f4f8;
  --bg2: #e8edf5;
  --surface: #ffffff;
  --surface2: #dce5f0;
  --accent: #2563eb;
  --accent2: #00a87a;
  --text: #1a2b4a;
  --text-muted: #4a6080;
  --border: rgba(26,43,74,0.1);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ===== NAVBAR ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 244, 248, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}
.logo-dot { color: var(--accent); }

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 8px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.4rem;
  cursor: pointer;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-primary:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-ghost {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 14px 28px;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.95rem;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--accent); }

/* ===== SECTION LABELS ===== */
.section-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  max-width: 560px;
  margin-bottom: 48px;
}

/* ===== HERO ===== */
.hero {
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
  padding: 80px 24px;
  max-width: 1140px;
  margin: 0 auto;
  gap: 60px;
}
.hero-content { flex: 1; }
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent2);
  margin-bottom: 20px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero-accent { color: var(--accent); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 500px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* hex decorative grid */
.hero-visual {
  flex: 0 0 380px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hex-grid {
  display: grid;
  grid-template-columns: repeat(3, 80px);
  gap: 12px;
  transform: rotate(-15deg);
}
.hex {
  width: 80px;
  height: 90px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulse-hex 3s ease-in-out infinite;
}
.h1 { background: var(--accent); opacity: 0.9; animation-delay: 0s; }
.h2 { background: var(--surface2); animation-delay: 0.4s; }
.h3 { background: var(--accent2); opacity: 0.7; animation-delay: 0.8s; }
.h4 { background: var(--surface2); animation-delay: 1.2s; }
.h5 { background: var(--accent); opacity: 0.35; animation-delay: 1.6s; }
.h6 { background: var(--accent2); opacity: 0.25; animation-delay: 2s; }

@keyframes pulse-hex {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ===== RELEASE BANNER ===== */
.release-banner {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.release-inner {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}
.release-tag {
  background: rgba(61,126,255,0.12);
  color: var(--accent);
  border: 1px solid rgba(61,126,255,0.3);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
  margin-top: 4px;
}
.release-text { flex: 1; min-width: 240px; }
.release-text h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.release-text p { color: var(--text-muted); }

.release-beneficiaries {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}
.benefit-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.9rem;
}
.benefit-card strong { display: block; color: var(--text); font-size: 0.95rem; }
.benefit-card span { color: var(--text-muted); font-size: 0.85rem; line-height: 1.4; }

/* ===== PROJECTS ===== */
.projects { padding: 96px 0; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.project-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26,43,74,0.06);
}
.project-card:hover {
  border-color: rgba(37,99,235,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,43,74,0.1);
}
.project-card.featured {
  border-color: rgba(61,126,255,0.3);
  background: linear-gradient(135deg, var(--surface) 0%, rgba(61,126,255,0.06) 100%);
}
.project-icon { font-size: 2rem; margin-bottom: 16px; }
.project-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.project-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== ABOUT ===== */
.about { padding: 96px 0; background: var(--bg2); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: start;
}
.about-text p { color: var(--text-muted); margin-bottom: 16px; }
.about-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 32px;
}
.about-cols h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent2);
  margin-bottom: 12px;
}
.about-cols ul { list-style: none; }
.about-cols li {
  color: var(--text-muted);
  font-size: 0.9rem;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stat-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  text-align: center;
  min-width: 160px;
}
.stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.stat-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ===== CONTACT ===== */
.contact { padding: 96px 0; }
.contact-inner { text-align: center; }
.contact-inner p { color: var(--text-muted); margin-bottom: 40px; }
.contact-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px 28px;
  font-size: 0.95rem;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(26,43,74,0.06);
}
.contact-card:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 6px 20px rgba(26,43,74,0.1); }
.contact-icon { font-size: 1.3rem; }

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
  background: var(--bg2);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer p { color: var(--text-muted); font-size: 0.85rem; }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.85rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--text); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 80px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.page-hero .hero-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 520px;
}

/* ===== PRODUCTS PAGE ===== */
.featured-product {
  padding: 80px 0;
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}
.featured-product .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.featured-badge {
  display: inline-block;
  background: rgba(0,212,170,0.1);
  border: 1px solid rgba(0,212,170,0.3);
  color: var(--accent2);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.featured-product h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}
.featured-desc { color: var(--text-muted); margin-bottom: 28px; }
.featured-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 32px;
}
.ff-item { font-size: 0.9rem; color: var(--text); }
.featured-industries h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.industry-list { display: flex; flex-direction: column; gap: 16px; }
.industry-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
}
.industry-item span { font-size: 1.4rem; }
.industry-item strong { display: block; font-size: 0.9rem; margin-bottom: 4px; }
.industry-item p { color: var(--text-muted); font-size: 0.82rem; margin: 0; }

.other-products { padding: 80px 0; }
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.product-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.product-icon { font-size: 2rem; margin-bottom: 16px; }
.product-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.product-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.product-status {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.product-status.in-dev {
  background: rgba(255,200,60,0.1);
  color: #ffc83c;
  border: 1px solid rgba(255,200,60,0.3);
}
.product-status.available {
  background: rgba(0,212,170,0.1);
  color: var(--accent2);
  border: 1px solid rgba(0,212,170,0.3);
}

/* ===== PRODUCTS LIST PAGE ===== */
.products-list { padding: 80px 0; }

.product-row { padding: 56px 0; }

.product-row-header {
  display: flex;
  align-items: flex-start;
  gap: 28px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.product-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #c8d8ec;
  padding-top: 4px;
}
.product-row-title { flex: 1; min-width: 200px; }
.product-row-title h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 8px 0 6px;
}
.product-tagline { color: var(--text-muted); font-size: 1rem; }

.product-tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.product-tag.manufacturing { background: rgba(61,126,255,0.12); color: var(--accent); border: 1px solid rgba(61,126,255,0.3); }
.product-tag.research { background: rgba(0,212,170,0.1); color: var(--accent2); border: 1px solid rgba(0,212,170,0.3); }
.product-tag.commerce { background: rgba(255,180,0,0.1); color: #ffb400; border: 1px solid rgba(255,180,0,0.3); }
.product-tag.coming-soon { background: rgba(180,180,180,0.1); color: var(--text-muted); border: 1px solid rgba(180,180,180,0.2); }

.product-row-body { padding-left: 88px; }
.product-row-body p { color: var(--text-muted); margin-bottom: 16px; max-width: 760px; }

.product-highlights {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 28px;
  padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.highlight-item { text-align: center; min-width: 100px; }
.highlight-val {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}
.highlight-label { font-size: 0.78rem; color: var(--text-muted); }

.product-features-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 28px;
}
.pf-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 0.9rem;
  color: var(--text);
  max-width: 680px;
}

.product-divider {
  border: none;
  border-top: 1px solid var(--border);
}

.cta-section { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.cta-inner { text-align: center; }
.cta-inner h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}
.cta-inner p { color: var(--text-muted); margin-bottom: 32px; }

/* ===== BLOG PAGE ===== */
.blog-section { padding: 80px 0; }
.blog-featured {
  background: var(--surface);
  border: 1px solid rgba(61,126,255,0.25);
  border-radius: var(--radius-lg);
  padding: 48px;
  margin-bottom: 64px;
}
.blog-featured-meta { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.blog-featured h2 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.blog-featured p { color: var(--text-muted); margin-bottom: 28px; max-width: 640px; }

.blog-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 48px; }

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}
.blog-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.blog-card:hover { border-color: rgba(61,126,255,0.4); transform: translateY(-3px); }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.blog-card h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 10px;
  line-height: 1.3;
}
.blog-card p { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 20px; }
.blog-read { font-size: 0.78rem; color: var(--text-muted); font-weight: 500; }

.blog-tag {
  background: rgba(61,126,255,0.1);
  color: var(--accent);
  border: 1px solid rgba(61,126,255,0.25);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
}
.blog-date { color: var(--text-muted); font-size: 0.8rem; }

.blog-coming-soon {
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.blog-coming-soon a { color: var(--accent); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0; right: 0;
    background: var(--bg2);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    padding: 16px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 24px;
  }
  .hamburger { display: block; }
  .navbar { position: relative; }

  .hero { flex-direction: column; padding: 48px 24px; min-height: auto; }
  .hero-visual { display: none; }

  .about-inner { grid-template-columns: 1fr; }
  .about-stats { flex-direction: row; flex-wrap: wrap; }

  .product-row-body { padding-left: 0; }
  .product-row-header { flex-direction: column; }
  .product-number { font-size: 2rem; }

  .featured-product .container { grid-template-columns: 1fr; }

  .release-inner { flex-direction: column; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
