/* ── Variables ── */
:root {
  --brand-green: #28a745;
  --brand-green-dark: #1e7e34;
  --brand-green-light: rgba(40, 167, 69, 0.12);
  --text-dark: #0d1117;
  --text-muted: #6c757d;
  --bg-light: #f8f9fa;
  --bg-dark: #0d1117;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 4px 16px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.10);
  --shadow-lg: 0 20px 48px rgba(0,0,0,0.14);
  --transition: 0.3s ease;
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text-dark);
  background: #fff;
  padding-top: 72px;
  -webkit-font-smoothing: antialiased;
}

.py-lg-7 { padding-top: 6rem !important; padding-bottom: 6rem !important; }

/* ── Utility ── */
.text-brand { color: var(--brand-green); }

.btn-brand {
  background: var(--brand-green);
  border-color: var(--brand-green);
  color: #fff;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}
.btn-brand:hover, .btn-brand:focus {
  background: var(--brand-green-dark);
  border-color: var(--brand-green-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(40,167,69,0.35);
}

.section-badge {
  background: var(--brand-green-light);
  color: var(--brand-green);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0.75rem auto 0;
}

/* ── Navbar ── */
.tc-navbar {
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: box-shadow var(--transition), background var(--transition);
  padding: 0.75rem 0;
}
.tc-navbar.scrolled {
  background: rgba(255,255,255,0.97);
  box-shadow: var(--shadow-sm);
}
.tc-nav-link {
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--text-dark) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
  transition: all var(--transition);
}
.tc-nav-link:hover, .tc-nav-link.active {
  color: var(--brand-green) !important;
  background: var(--brand-green-light);
}
@media (max-width: 991px) {
  .tc-navbar { background: rgba(255,255,255,0.98); }
  .navbar-collapse { padding: 1rem 0; }
  .navbar-nav .btn-brand { width: 100%; text-align: center; margin-top: 0.5rem; }
}

/* ── Hero ── */
.hero-section {
  position: relative;
  min-height: 92vh;
  overflow: hidden;
  color: #fff;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('stockimages/backround.jpg') center/cover no-repeat;
  filter: blur(6px);
  transform: scale(1.1);
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
  z-index: 1;
}
#globeCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: auto;
}
.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, #fff);
  z-index: 3;
}
.hero-section .container { z-index: 4; padding-top: 3rem; padding-bottom: 5rem; }

.hero-badge {
  background: rgba(40,167,69,0.2);
  border: 1px solid rgba(40,167,69,0.4);
  color: #7aff9e;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
}
.hero-title {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-subtitle {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  color: rgba(255,255,255,0.8);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Stats ── */
.stats-section {
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
}
.stat-item { padding: 1rem; }
.stat-number {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 800;
  color: var(--brand-green);
  line-height: 1;
  letter-spacing: -0.03em;
}
.stat-label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ── About ── */
.about-section { background: var(--bg-light); }
.about-img { width: 100%; height: 420px; object-fit: cover; }
.about-pillar {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}
.about-pillar:hover { transform: translateY(-4px); }
.about-pillar-icon {
  display: block;
  font-size: 1.5rem;
  color: var(--brand-green);
  margin-bottom: 0.5rem;
}
@media (max-width: 767px) {
  .about-img { height: 260px; }
}

/* ── Services ── */
.services-section { background: #fff; }
.service-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius-xl);
  padding: 2rem 1.75rem;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card:hover .service-icon { color: #fff; }
.service-card:hover .service-icon-wrap { background: var(--brand-green); }
.service-icon-wrap {
  width: 60px;
  height: 60px;
  background: var(--brand-green-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.service-icon {
  font-size: 1.6rem;
  color: var(--brand-green);
  transition: color var(--transition);
}

/* ── Devices Section ── */
.devices-section { background: var(--bg-light); }
.feature-pill {
  display: flex;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}
.devices-showcase {
  position: relative;
  height: 420px;
}
.device-laptop, .device-tablet, .device-mobile {
  position: absolute;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  border: 6px solid #222;
}
.device-laptop { width: 100%; max-width: 460px; height: 280px; top: 0; left: 0; z-index: 1; }
.device-tablet { width: 200px; height: 270px; right: 20px; bottom: 10px; z-index: 2; }
.device-mobile { width: 110px; height: 220px; left: 30px; bottom: 0; z-index: 3; }
.device-screen, .device-screen img { width: 100%; height: 100%; display: block; object-fit: cover; }

@media (max-width: 991px) {
  .devices-showcase { height: 340px; margin-top: 1rem; }
  .device-laptop { max-width: 100%; }
  .device-tablet { width: 160px; height: 220px; right: 10px; }
  .device-mobile { width: 90px; height: 180px; }
}
@media (max-width: 576px) {
  .devices-showcase { height: 260px; }
  .device-tablet { width: 130px; height: 180px; right: 0; }
  .device-mobile { width: 75px; height: 150px; left: 15px; }
}

/* ── Workflow ── */
.workflow-section { background: #fff; }
.workflow-card {
  background: #fff;
  border: 1px solid #f0f0f0;
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  position: relative;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-sm);
}
.workflow-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.workflow-step-num {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(40,167,69,0.07);
  line-height: 1;
}
.workflow-icon-wrap {
  width: 72px;
  height: 72px;
  background: var(--brand-green-light);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

/* ── Contact ── */
.contact-section { background: var(--bg-light); }
.contact-form-card {
  background: #fff;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.tc-input {
  border: 1.5px solid #e9ecef;
  border-radius: 12px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.tc-input:focus {
  border-color: var(--brand-green);
  box-shadow: 0 0 0 3px rgba(40,167,69,0.15);
  outline: none;
}
.tc-input::placeholder { color: #adb5bd; }
.contact-info { padding: 1rem 0; }
.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-info-icon {
  width: 48px;
  height: 48px;
  background: var(--brand-green-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--brand-green);
  flex-shrink: 0;
}
@media (max-width: 575px) {
  .contact-form-card { padding: 1.5rem; }
}

/* ── Footer ── */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
}
.footer-logo { filter: brightness(0) invert(1); opacity: 0.9; }
.footer-links { margin: 0; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--brand-green); }
.footer-divider {
  border-color: rgba(255,255,255,0.1);
  margin: 1.5rem 0 1rem;
}
.text-white-75 { color: rgba(255,255,255,0.75) !important; }
.footer-remote-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--brand-green);
  background: rgba(40,167,69,0.15);
  border: 1px solid rgba(40,167,69,0.3);
  border-radius: 50px;
  padding: 3px 12px;
}
