/*
Theme Name: Tasknitter
Theme URI: https://tasknitter.com
Author: Your Name
Author URI: https://yourwebsite.com
Description: A modern industrial AI and smart maintenance WordPress theme for Tasknitter
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: tasknitter
*/

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

:root{
  --bg: #f5f8fc;
  --white: #ffffff;
  --text: #18314f;
  --muted: #5e7288;
  --primary: #4f86d9;
  --primary-dark: #2f69c8;
  --primary-soft: #e9f2ff;
  --accent: #7cc9ff;
  --line: rgba(24, 49, 79, 0.12);
  --shadow: 0 16px 40px rgba(34, 68, 112, 0.10);
  --shadow-lg: 0 20px 60px rgba(34, 68, 112, 0.14);
  --radius: 22px;
  --container: 1200px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

ul {
  padding-left: 18px;
}

.site-main {
  width: 100%;
}

.tn-container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(24, 49, 79, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 92px;
  padding: 12px 0;
}

.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 0;
  display: block;
  margin-bottom: -70px;
}

.site-logo .logo-image {
  display: block;
  width: 220px;
  max-width: 100%;
  height: auto;
  margin: 0;
	
}

.site-navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
}

.site-navigation ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}

.site-navigation a {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.03em;
  color: var(--text);
  transition: color 0.2s ease, transform 0.2s ease;
}

.site-navigation a:hover {
  color: var(--primary);
  transform: translateY(-1px);
}

.nav-cta-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.tn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  transition: .25s ease;
  border: 1px solid transparent;
}

.tn-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 14px 28px rgba(79, 134, 217, 0.28);
}

.tn-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px rgba(79, 134, 217, 0.35);
}

.tn-btn-outline {
  background: rgba(255,255,255,0.8);
  border-color: rgba(24, 49, 79, 0.12);
  color: var(--text);
}

.tn-btn-outline:hover {
  background: var(--primary-soft);
  border-color: rgba(79, 134, 217, 0.25);
}

/* Hero */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 84px 0 48px;
}

.hero-shell {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(124, 201, 255, 0.24), transparent 36%),
    linear-gradient(135deg, #ffffff 0%, #f6faff 100%);
  border: 1px solid rgba(24, 49, 79, 0.08);
  box-shadow: var(--shadow-lg);
  border-radius: 32px;
  padding: 56px;
}

.hero-shell::before {
  content: "";
  position: absolute;
  top: -80px;
  right: -80px;
  width: 260px;
  height: 260px;
  background: radial-gradient(circle, rgba(79, 134, 217, 0.18), transparent 65%);
  pointer-events: none;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 18px;
}

.hero-title {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.03em;
}

.hero-title .highlight {
  display: block;
  color: var(--primary);
}

.hero-subtitle {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

.hero-description {
  max-width: 640px;
  font-size: 17px;
  color: var(--muted);
  margin-bottom: 28px;
}

.hero-buttons {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
}

.hero-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 18px;
}

.hero-point {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text);
  font-weight: 700;
  font-size: 14px;
}

.hero-point::before {
  content: "•";
  color: var(--primary);
  font-size: 20px;
  line-height: 1;
  margin-top: -1px;
}

.hero-visual {
  position: relative;
}

.hero-image-card {
  background: linear-gradient(180deg, #ffffff, #f2f7ff);
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.hero-main-image {
  width: 100%;
  max-width: 520px;
  margin: 0 auto;
  border-radius: 18px;
}

.hero-stat {
  position: absolute;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(24, 49, 79, 0.08);
  box-shadow: var(--shadow);
  border-radius: 18px;
  padding: 14px 16px;
  min-width: 170px;
}

.hero-stat strong {
  display: block;
  font-size: 22px;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-stat span {
  font-size: 13px;
  color: var(--muted);
  font-weight: 700;
}

.hero-stat-1 {
  top: 18px;
  left: -16px;
}

.hero-stat-2 {
  bottom: 24px;
  right: -10px;
}

/* Generic sections */
.section {
  padding: 90px 0;
}

.section-header {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
}

.section-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
}

.section-description {
  font-size: 17px;
  color: var(--muted);
}

/* Value strip */
.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.value-card {
  background: var(--white);
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.value-card strong {
  display: block;
  font-size: 28px;
  line-height: 1;
  color: var(--primary);
  margin-bottom: 10px;
}

.value-card span {
  display: block;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.value-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Cards grid */
.features-section {
  padding: 94px 0;
}

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

.feature-card {
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  border: 1px solid rgba(24, 49, 79, 0.09);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

.feature-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 48px rgba(34, 68, 112, 0.16);
}

.feature-media {
  position: relative;
}

.feature-media img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.feature-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(24, 49, 79, 0.86);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  border-radius: 999px;
  padding: 8px 12px;
}

.feature-content {
  padding: 22px;
}

.feature-title {
  font-size: 20px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}

.feature-list {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 12px;
}

.feature-list li {
  margin-bottom: 7px;
}

.feature-more summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-soft);
  color: var(--primary-dark);
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}

.feature-more summary::-webkit-details-marker {
  display: none;
}

.feature-more[open] summary {
  margin-bottom: 10px;
}

/* Architecture band */
.band-section {
  padding: 90px 0;
}

.band-panel {
  background: linear-gradient(135deg, #18314f 0%, #234d7f 100%);
  color: #fff;
  border-radius: 30px;
  padding: 48px;
  box-shadow: var(--shadow-lg);
}

.band-panel .section-title,
.band-panel .section-description {
  color: #fff;
}

.arch-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.arch-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 22px;
  padding: 24px;
}

.arch-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  font-weight: 900;
}

.arch-card p {
  color: rgba(255,255,255,0.82);
  font-size: 15px;
}

.arch-card ul {
  margin-top: 12px;
  color: rgba(255,255,255,0.86);
  font-size: 14px;
}

.arch-card li {
  margin-bottom: 7px;
}

/* CTA */
.cta-section {
  padding: 90px 0 110px;
}

.cta-panel {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #ffffff 0%, #edf5ff 100%);
  border: 1px solid rgba(24, 49, 79, 0.08);
  box-shadow: var(--shadow-lg);
  border-radius: 30px;
  padding: 54px 40px;
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: auto auto -70px -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(124, 201, 255, 0.28), transparent 70%);
}

.cta-title {
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.08;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
}

.cta-description {
  max-width: 760px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 17px;
}

/* Generic content templates */
.entry-header {
  max-width: 900px;
  margin: 56px auto 18px;
  padding: 0 20px;
}

.entry-title {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.1;
  color: var(--text);
  font-weight: 900;
}

.entry-title a:hover {
  color: var(--primary);
}

.entry-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.entry-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  color: var(--text);
}

.entry-content p,
.entry-content ul,
.entry-content ol {
  margin-bottom: 18px;
}

/* Footer */
.site-footer {
  background: linear-gradient(135deg, #18314f 0%, #224d80 100%);
  color: #fff;
  padding: 60px 0 34px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: start;
}

.footer-title {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 10px;
}

.footer-text {
  max-width: 620px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 14px;
}

.footer-copy {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

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

.footer-links a {
  color: rgba(255,255,255,0.86);
  font-weight: 700;
}

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

/* Responsive */
@media (max-width: 1100px) {
  .hero-shell {
    grid-template-columns: 1fr;
    padding: 42px;
  }

  .value-strip,
  .features-grid,
  .arch-grid,
  .footer-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-stat-1,
  .hero-stat-2 {
    position: static;
    margin-top: 16px;
    display: inline-block;
  }
}
@media (max-width: 980px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    min-height: auto;
    padding: 16px 0;
  }

  .site-logo .logo-image {
    width: 190px;
  }

  .site-navigation {
    width: 100%;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
  }

  .site-navigation ul {
    justify-content: center;
    gap: 18px;
  }

  .nav-cta-wrap {
    justify-content: center;
  }
}
@media (max-width: 760px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 16px 0;
    min-height: auto;
  }
.site-logo .logo-image {
    width: 165px;
  }

  .site-navigation ul {
    flex-direction: column;
    gap: 12px;
  }

  .nav-cta-wrap {
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav-cta-wrap .tn-btn {
    width: 100%;
    max-width: 240px;
  }
  .site-navigation,
   {
    flex-wrap: wrap;
    justify-content: center;
  }

  .hero-section {
    padding-top: 36px;
  }

  .hero-shell {
    padding: 28px;
    border-radius: 24px;
  }

  .hero-points,
  .value-strip,
  .features-grid,
  .arch-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section,
  .features-section,
  .band-section,
  .cta-section {
    padding: 64px 0;
  }

  .band-panel,
  .cta-panel {
    padding: 30px 24px;
    border-radius: 24px;
  }
}
/* =========================
   Inner Pages
========================= */
.inner-hero {
  padding: 80px 0 30px;
}

.inner-hero-card {
  background: linear-gradient(135deg, #ffffff 0%, #eef5ff 100%);
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: 28px;
  padding: 46px;
  box-shadow: var(--shadow-lg);
}

.inner-kicker {
  color: var(--primary);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.inner-title {
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 14px;
}

.inner-description {
  max-width: 760px;
  color: var(--muted);
  font-size: 17px;
}

.content-section {
  padding: 70px 0;
}

.content-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.info-card {
  background: #fff;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: 24px;
  padding: 28px;
  box-shadow: var(--shadow);
}

.info-card h3 {
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
}

.info-card p,
.info-card li {
  color: var(--muted);
  font-size: 16px;
}

.info-card ul {
  margin-top: 12px;
}

.info-card li {
  margin-bottom: 8px;
}

.service-grid,
.project-grid,
.contact-grid {
  display: grid;
  gap: 24px;
}

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

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

.contact-grid {
  grid-template-columns: 1.1fr 0.9fr;
}

.service-card,
.project-card,
.contact-card {
  background: #fff;
  border: 1px solid rgba(24, 49, 79, 0.08);
  border-radius: 24px;
  padding: 26px;
  box-shadow: var(--shadow);
  transition: transform .22s ease, box-shadow .22s ease;
}

.service-card:hover,
.project-card:hover,
.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 48px rgba(34, 68, 112, 0.16);
}

.service-card h3,
.project-card h3,
.contact-card h3 {
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
}

.service-card p,
.project-card p,
.contact-card p,
.contact-card li {
  color: var(--muted);
  font-size: 15px;
}

.project-meta {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 800;
}

.contact-form-wrap form input,
.contact-form-wrap form textarea,
.contact-form-wrap form select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(24, 49, 79, 0.14);
  background: #fff;
  margin-bottom: 14px;
  font-size: 15px;
  color: var(--text);
}

.contact-form-wrap form textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-form-wrap form button,
.contact-form-wrap input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  border: none;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(79, 134, 217, 0.28);
}

.page-cta {
  padding: 80px 0 100px;
}

.page-cta-panel {
  text-align: center;
  background: linear-gradient(135deg, #18314f 0%, #224d80 100%);
  color: #fff;
  border-radius: 30px;
  padding: 50px 30px;
  box-shadow: var(--shadow-lg);
}

.page-cta-panel h2 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 900;
  margin-bottom: 12px;
}

.page-cta-panel p {
  max-width: 760px;
  margin: 0 auto 24px;
  color: rgba(255,255,255,0.82);
}

@media (max-width: 980px) {
  .content-grid-2,
  .service-grid,
  .project-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .inner-hero-card {
    padding: 32px 24px;
  }
}