@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500&display=swap');

/* ======================================================
   V2 Design System — Cowire LLC
   Modern, warm, light-theme with depth and motion
   ====================================================== */

:root {
  /* ── Brand Colors ── */
  --primary: #1a5276;
  --primary-light: #2980b9;
  --primary-dark: #0e3a56;
  --teal: #0d9488;
  --teal-light: #14b8a6;
  --teal-dark: #0f766e;

  /* ── Surface & Background ── */
  --bg-body: #f8fafc;
  --bg-white: #ffffff;
  --bg-warm: #faf5ff;
  --bg-hero: linear-gradient(135deg, #f0f9ff 0%, #e8f5f0 40%, #ecfeff 100%);
  --bg-section-alt: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.7);
  --bg-glass-strong: rgba(255, 255, 255, 0.85);

  /* ── Text Colors ── */
  --text-heading: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  /* ── Accents ── */
  --accent-blue: #3b82f6;
  --accent-purple: #8b5cf6;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;
  --accent-emerald: #10b981;

  /* ── Gradients ── */
  --gradient-primary: linear-gradient(135deg, #1a5276 0%, #2980b9 50%, #0d9488 100%);
  --gradient-teal: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%);
  --gradient-hero-text: linear-gradient(135deg, #1a5276 0%, #0d9488 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(13,148,136,0.3) 0%, rgba(59,130,246,0.3) 100%);
  --gradient-warm: linear-gradient(135deg, #f0f9ff 0%, #faf5ff 50%, #f0fdf4 100%);
  --gradient-cta: linear-gradient(135deg, #f0f9ff 0%, #ecfdf5 100%);

  /* ── Borders ── */
  --border-light: #e2e8f0;
  --border-subtle: rgba(0, 0, 0, 0.06);

  /* ── Shadows ── */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.07), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-card-hover: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-glow-teal: 0 0 20px rgba(13, 148, 136, 0.15);
  --shadow-glow-blue: 0 0 20px rgba(59, 130, 246, 0.15);

  /* ── Typography ── */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* ── Spacing ── */
  --container-max: 1200px;
  --section-py: 6rem;
  --section-py-sm: 4rem;

  /* ── Radii ── */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 999px;

  /* ── Transitions ── */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;
}


/* ═══════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════ */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background-color: var(--bg-body);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  font-family: inherit;
  cursor: pointer;
}

::selection {
  background: rgba(13, 148, 136, 0.2);
  color: var(--text-heading);
}


/* ═══════════════════════════════════
   TYPOGRAPHY
   ═══════════════════════════════════ */

h1, h2, h3, h4, h5, h6 {
  color: var(--text-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); font-weight: 800; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; font-weight: 600; }

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

.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--teal);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--gradient-teal);
  border-radius: 2px;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  margin-bottom: 1rem;
  color: var(--text-heading);
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 3.5rem auto;
  line-height: 1.8;
}


/* ═══════════════════════════════════
   LAYOUT
   ═══════════════════════════════════ */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: var(--section-py) 0;
  position: relative;
}

.bg-alt {
  background-color: var(--bg-section-alt);
}

.bg-warm {
  background: var(--gradient-warm);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}


/* ═══════════════════════════════════
   BUTTONS
   ═══════════════════════════════════ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius-lg);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient-teal);
  color: #fff;
  box-shadow: 0 4px 14px rgba(13, 148, 136, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(13, 148, 136, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-black {
  background: #090d16; /* Sleek modern off-black */
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(9, 13, 22, 0.25);
}

.btn-black:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.btn-black:active {
  transform: translateY(0);
}

.btn-dark-text {
  color: #090d16 !important;
}

.btn-secondary {
  background: var(--bg-white);
  color: var(--primary);
  border: 2px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border: 2px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(13, 148, 136, 0.04);
  transform: translateY(-2px);
}

.btn-white {
  background: rgba(255, 255, 255, 0.95);
  color: var(--primary);
  border: none;
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(8px);
}

.btn-white:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
  border-radius: var(--radius-xl);
}

.btn-sm {
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
}

.btn-icon {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--radius-md);
}


/* ═══════════════════════════════════
   HEADER & NAVIGATION
   ═══════════════════════════════════ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(248, 250, 252, 0.8);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
  transition: all var(--duration-normal) var(--ease-out);
}

.header.scrolled {
  padding: 0.5rem 0;
  box-shadow: var(--shadow-sm);
  background: rgba(248, 250, 252, 0.95);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-heading);
  letter-spacing: -0.02em;
}

.logo img {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
}

.nav-menu {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.nav-link {
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--text-body);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  position: relative;
}

.nav-link:hover {
  color: var(--teal);
  background: rgba(13, 148, 136, 0.06);
}

.nav-link.active {
  color: var(--teal);
  background: rgba(13, 148, 136, 0.08);
  font-weight: 600;
}

.nav-cta {
  margin-left: 0.75rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-heading);
  padding: 0.5rem;
  border-radius: var(--radius-md);
  transition: background var(--duration-fast);
}

.mobile-toggle:hover {
  background: var(--bg-section-alt);
}


/* ═══════════════════════════════════
   HERO SECTION
   ═══════════════════════════════════ */

.hero {
  padding: 10rem 0 6rem;
  position: relative;
  overflow: hidden;
  background: var(--bg-hero);
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(13, 148, 136, 0.08);
  border: 1px solid rgba(13, 148, 136, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 1.5rem;
  letter-spacing: 0.02em;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  background: var(--teal);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}

.hero h1 {
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.hero-text {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-visual {
  position: relative;
  z-index: 1;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-2xl);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.hero-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.05) 100%);
  z-index: 1;
  pointer-events: none;
}

/* Floating decorative elements */
.hero-float {
  position: absolute;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-strong);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-heading);
  z-index: 2;
  animation: float 6s ease-in-out infinite;
}

.hero-float:nth-child(2) { animation-delay: -2s; }
.hero-float:nth-child(3) { animation-delay: -4s; }

.hero-float .icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-float .icon.teal { background: rgba(13, 148, 136, 0.12); color: var(--teal); }
.hero-float .icon.blue { background: rgba(59, 130, 246, 0.12); color: var(--accent-blue); }
.hero-float .icon.purple { background: rgba(139, 92, 246, 0.12); color: var(--accent-purple); }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}


/* ═══════════════════════════════════
   CARDS — Elevated Modern Style
   ═══════════════════════════════════ */

.card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-teal);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(13, 148, 136, 0.2);
}

.card:hover::before {
  opacity: 1;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  position: relative;
}

.card-icon.teal {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
  color: var(--teal);
}

.card-icon.blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(59, 130, 246, 0.05) 100%);
  color: var(--accent-blue);
}

.card-icon.purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(139, 92, 246, 0.05) 100%);
  color: var(--accent-purple);
}

.card-icon svg {
  width: 28px;
  height: 28px;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text-heading);
}

.card-text {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
  flex-grow: 1;
}


/* ═══════════════════════════════════
   "WHY CHOOSE US" FEATURES
   ═══════════════════════════════════ */

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-xs);
  transition: all var(--duration-normal) var(--ease-out);
}

.feature-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(13, 148, 136, 0.2);
  transform: translateX(4px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.1) 0%, rgba(13, 148, 136, 0.05) 100%);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
}

.feature-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-heading);
  margin-bottom: 0.25rem;
}

.feature-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Why Choose Us Layout overrides ── */
.why-us-img-container {
  position: relative;
}

.why-us-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.why-us-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 120px;
  height: 120px;
  background: var(--gradient-teal);
  border-radius: var(--radius-xl);
  opacity: 0.1;
  z-index: -1;
}

@media (min-width: 1025px) {
  #why-us .grid-2 {
    align-items: stretch;
  }
  #why-us .fade-in-left {
    height: 100%;
  }
  #why-us .why-us-img-container {
    height: 100%;
  }
  #why-us .why-us-img {
    height: 100%;
    object-fit: cover;
  }
}


/* ═══════════════════════════════════
   PAGE HERO (sub-pages)
   ═══════════════════════════════════ */

.page-hero {
  padding: 9rem 0 4rem;
  background: var(--bg-hero);
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -15%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(13, 148, 136, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero h1 {
  margin-bottom: 1rem;
}

.page-hero p {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--text-light);
}

.breadcrumb a {
  color: var(--teal);
  font-weight: 500;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  color: var(--text-light);
}


/* ═══════════════════════════════════
   SERVICE BLOCKS
   ═══════════════════════════════════ */

.service-block {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  align-items: center;
  padding: 4rem 0;
}

.service-block:not(:last-child) {
  border-bottom: 1px solid var(--border-light);
}

.service-block.reverse .service-visual {
  order: -1;
}

.service-content h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 1.25rem;
}

.service-content > p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 1.75rem;
}

.service-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.6;
}

.service-checklist .check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.12) 0%, rgba(13, 148, 136, 0.06) 100%);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.service-checklist .check svg {
  width: 14px;
  height: 14px;
}

.service-visual {
  position: relative;
}

.service-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.service-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-out);
}

.service-image:hover img {
  transform: scale(1.03);
}


/* ═══════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════ */

.cta-section {
  padding: var(--section-py) 0;
  background: var(--gradient-cta);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%230d9488' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  pointer-events: none;
}

.cta-card {
  position: relative;
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  padding: 4rem;
  text-align: center;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.cta-card h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-card p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}


/* ═══════════════════════════════════
   DOWNLOADS / SOFTWARE SHOWCASE
   ═══════════════════════════════════ */

.software-card {
  background: var(--bg-white);
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
}

.software-header {
  background: var(--gradient-primary);
  padding: 2rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.software-header-icon {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.software-header-text h2 {
  color: #fff;
  font-size: 1.5rem;
  margin: 0;
}

.software-header-text span {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
}

.software-badge {
  margin-left: auto;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: var(--radius-md);
  padding: 0.45rem 1.25rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  animation: badge-glow 2.5s infinite;
}

@keyframes badge-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.5);
  }
  70% {
    box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.software-body {
  padding: 2.5rem;
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.software-description p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.software-description p strong {
  color: var(--primary);
}

.software-features h4 {
  color: var(--teal);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.software-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 0.65rem;
}

.software-features .check-icon {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 3px;
}

.software-screenshot {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.software-screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.software-footer {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 1.5rem 2.5rem;
  border-top: 1px solid var(--border-light);
}


/* ═══════════════════════════════════
   STATS ROW
   ═══════════════════════════════════ */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 4rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--bg-glass-strong);
  backdrop-filter: blur(8px);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}


/* ═══════════════════════════════════
   FOOTER
   ═══════════════════════════════════ */

.footer {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(13, 148, 136, 0.4), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-about .logo {
  color: #fff;
  margin-bottom: 1rem;
}

.footer-about .logo img {
  filter: brightness(0) invert(1);
}

.footer-about p {
  color: rgba(255, 255, 255, 0.6);
  max-width: 380px;
  line-height: 1.7;
  font-size: 0.92rem;
}

.footer-links h4 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
  transition: all var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--teal-light);
  padding-left: 4px;
}

.footer-links li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.92rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}


/* ═══════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════ */

.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.scale-in {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.scale-in.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger children */
.stagger > * { transition-delay: calc(var(--i, 0) * 100ms); }


/* ═══════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════ */

@media (max-width: 1024px) {
  .grid-2 { grid-template-columns: 1fr; gap: 3rem; }
  .service-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .service-block.reverse .service-visual { order: 0; }
  .software-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root {
    --section-py: 4rem;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    border-top: 1px solid var(--border-light);
    gap: 0.25rem;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-link {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .nav-cta {
    margin-left: 0;
    margin-top: 0.5rem;
  }

  .nav-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .mobile-toggle {
    display: block;
  }

  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }

  .hero {
    padding: 8rem 0 4rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-float {
    display: none;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .cta-card {
    padding: 2.5rem 1.5rem;
  }

  .software-header {
    padding: 1.5rem;
  }

  .software-body {
    padding: 1.5rem;
  }

  .software-footer {
    padding: 1.25rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .stats-row {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }
}
