/* Renunciant Technologies - Core Design System */
:root {
  --primary: #2563eb;
  --secondary: #0ea5e9;
  --accent: #38bdf8;
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #eef6ff;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(37, 99, 235, 0.13);
  --shadow: 0 22px 60px rgba(15, 23, 42, 0.1);
  --shadow-soft: 0 14px 34px rgba(15, 23, 42, 0.08);
  --radius: 8px;
  --radius-lg: 24px;
  --container: 1180px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

ul {
  list-style: none;
}

button,
input,
textarea {
  font: inherit;
}

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

.section {
  padding: 100px 0;
  position: relative;
}

.section-soft {
  background:
    radial-gradient(circle at 15% 20%, rgba(14, 165, 233, 0.1), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

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

.eyebrow {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-size: 0.78rem;
  font-weight: 800;
  gap: 8px;
  letter-spacing: 0;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.eyebrow::before {
  background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: 999px;
  content: "";
  height: 8px;
  width: 8px;
}

.section-title,
.page-title,
.hero-title {
  color: var(--text);
  font-family: "Poppins", "Inter", sans-serif;
  font-weight: 800;
  line-height: 1.08;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

.section-copy,
.page-copy,
.hero-copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.btn {
  align-items: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  gap: 10px;
  justify-content: center;
  min-height: 48px;
  padding: 13px 22px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
  background-size: 180% 180%;
  color: #fff;
  box-shadow: 0 18px 32px rgba(37, 99, 235, 0.26);
}

.btn-primary:hover {
  animation: gradientMove 1.6s ease infinite;
  box-shadow: 0 22px 38px rgba(37, 99, 235, 0.32);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.06);
}

.btn-outline:hover {
  border-color: rgba(37, 99, 235, 0.34);
  color: var(--primary);
}

.link-more {
  align-items: center;
  color: var(--primary);
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  margin-top: 22px;
}

.link-more i {
  transition: transform 0.25s ease;
}

.link-more:hover i {
  transform: translateX(4px);
}

.site-loader {
  align-items: center;
  background: #ffffff;
  display: flex;
  inset: 0;
  justify-content: center;
  position: fixed;
  transition: opacity 0.45s ease, visibility 0.45s ease;
  z-index: 9999;
}

.site-loader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  animation: spin 0.9s linear infinite;
  border: 4px solid rgba(37, 99, 235, 0.12);
  border-radius: 50%;
  border-top-color: var(--primary);
  height: 56px;
  width: 56px;
}

.navbar {
  background: rgba(248, 250, 252, 0.86);
  border-bottom: 1px solid rgba(226, 232, 240, 0.78);
  left: 0;
  position: sticky;
  right: 0;
  top: 0;
  transition: box-shadow 0.25s ease, backdrop-filter 0.25s ease, background 0.25s ease;
  z-index: 1000;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}

.nav-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  min-height: 78px;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  font-family: "Poppins", sans-serif;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-radius: 16px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.24);
  color: #fff;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 700;
  margin-top: 4px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: 8px;
}

.nav-link {
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 800;
  padding: 9px 14px;
  transition: background 0.25s ease, color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(37, 99, 235, 0.09);
  color: var(--primary);
}

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

.hamburger {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  display: none;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.hero {
  background:
    radial-gradient(circle at 12% 12%, rgba(56, 189, 248, 0.18), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(37, 99, 235, 0.14), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 90%);
  min-height: calc(100vh - 78px);
  overflow: hidden;
  padding: 88px 0 82px;
  position: relative;
}

.hero-grid {
  align-items: center;
  display: grid;
  gap: 54px;
  grid-template-columns: 1.02fr 0.98fr;
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(2.55rem, 6vw, 5.4rem);
  margin-bottom: 24px;
}

.typing {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
  min-height: 1.1em;
}

.hero-copy {
  font-size: 1.14rem;
  margin-bottom: 32px;
  max-width: 640px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 38px;
}

.trust-badge {
  align-items: center;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
  color: var(--muted);
  display: inline-flex;
  font-size: 0.92rem;
  font-weight: 800;
  gap: 8px;
  padding: 10px 14px;
}

.hero-visual {
  min-height: 560px;
  position: relative;
}

.dashboard-card {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
  padding: 18px;
  position: absolute;
  right: 0;
  top: 34px;
  width: min(100%, 520px);
}

.dashboard-img {
  aspect-ratio: 1.15;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(56, 189, 248, 0.2)),
    url("https://images.unsplash.com/photo-1551288049-bebda4e38f71?auto=format&fit=crop&w=900&q=80") center/cover;
  border-radius: 20px;
  position: relative;
}

.metric-tile,
.tech-pill {
  backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow-soft);
  position: absolute;
}

.metric-tile {
  border-radius: 18px;
  left: -26px;
  padding: 16px 18px;
  top: 88px;
}

.metric-tile strong,
.stat-card strong,
.counter-card strong {
  color: var(--text);
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem;
  line-height: 1;
}

.metric-tile span,
.stat-card span,
.counter-card span {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.tech-pill {
  align-items: center;
  border-radius: 999px;
  color: var(--text);
  display: inline-flex;
  font-weight: 800;
  gap: 8px;
  padding: 12px 15px;
}

.pill-one { right: -18px; top: 48px; }
.pill-two { bottom: 70px; left: -34px; }
.pill-three { bottom: 26px; right: 34px; }

.blob {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(56, 189, 248, 0.18));
  border-radius: 45% 55% 60% 40%;
  filter: blur(1px);
  height: 260px;
  position: absolute;
  width: 260px;
  z-index: 1;
}

.blob-a {
  left: -90px;
  top: 18%;
}

.blob-b {
  bottom: 0;
  right: -70px;
}

.stats-grid,
.services-grid,
.features-grid,
.team-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: repeat(4, 1fr);
}

.about-grid,
.contact-grid,
.cta-grid {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: repeat(2, 1fr);
}

.card,
.service-card,
.feature-card,
.counter-card,
.project-card,
.team-card,
.testimonial-card,
.contact-panel {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.card:hover,
.service-card:hover,
.feature-card:hover,
.counter-card:hover,
.project-card:hover,
.team-card:hover {
  border-color: rgba(37, 99, 235, 0.32);
  box-shadow: var(--shadow);
}

.counter-card,
.feature-card {
  padding: 26px;
}

.counter-card i,
.feature-card i,
.service-icon,
.contact-icon {
  align-items: center;
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(56, 189, 248, 0.16));
  border-radius: 18px;
  color: var(--primary);
  display: inline-flex;
  font-size: 1.35rem;
  height: 54px;
  justify-content: center;
  margin-bottom: 18px;
  width: 54px;
}

.about-media {
  position: relative;
}

.about-image {
  aspect-ratio: 1.05;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(14, 165, 233, 0.1)),
    url("https://images.unsplash.com/photo-1551434678-e076c223a692?auto=format&fit=crop&w=900&q=80") center/cover;
  border-radius: 32px;
  box-shadow: var(--shadow);
}

.floating-note {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--border);
  border-radius: 22px;
  bottom: 28px;
  box-shadow: var(--shadow-soft);
  left: -26px;
  padding: 18px;
  position: absolute;
  width: 230px;
}

.about-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.about-list li {
  align-items: flex-start;
  display: flex;
  gap: 12px;
}

.about-list i {
  color: var(--secondary);
  margin-top: 5px;
}

.timeline {
  display: grid;
  gap: 22px;
  margin-top: 42px;
  position: relative;
}

.timeline-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px;
}

.timeline-item span {
  color: var(--primary);
  font-weight: 900;
}

.service-card {
  overflow: hidden;
  padding: 30px;
  position: relative;
}

.service-card::after {
  background: linear-gradient(135deg, rgba(37, 99, 235, 0.18), rgba(56, 189, 248, 0.18));
  content: "";
  height: 120px;
  position: absolute;
  right: -70px;
  top: -70px;
  transition: transform 0.35s ease;
  width: 120px;
  border-radius: 999px;
}

.service-card:hover::after {
  transform: scale(1.6);
}

.service-card h3,
.feature-card h3,
.project-card h3,
.team-card h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p,
.feature-card p,
.project-card p,
.team-card p {
  color: var(--muted);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 36px;
}

.filter-btn {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--muted);
  cursor: pointer;
  font-weight: 800;
  padding: 10px 18px;
  transition: all 0.25s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: #fff;
}

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

.project-card {
  overflow: hidden;
}

.project-image {
  aspect-ratio: 1.22;
  overflow: hidden;
  position: relative;
}

.project-image img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  width: 100%;
}

.project-card:hover img {
  transform: scale(1.08);
}

.project-overlay {
  align-items: center;
  background: rgba(37, 99, 235, 0.78);
  color: #fff;
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  position: absolute;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.project-body {
  padding: 24px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 4px;
}

.tag {
  background: rgba(37, 99, 235, 0.08);
  border-radius: 999px;
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 10px;
}

.testimonial-wrap {
  margin: 0 auto;
  max-width: 860px;
  overflow: hidden;
  position: relative;
}

.testimonial-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-card {
  flex: 0 0 100%;
  padding: 36px;
}

.client-row {
  align-items: center;
  display: flex;
  gap: 16px;
  margin-bottom: 22px;
}

.client-row img {
  border-radius: 50%;
  height: 64px;
  object-fit: cover;
  width: 64px;
}

.stars {
  color: #f59e0b;
  margin-bottom: 16px;
}

.slider-controls {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 24px;
}

.slider-btn,
.scroll-top {
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  height: 44px;
  justify-content: center;
  transition: all 0.25s ease;
  width: 44px;
}

.slider-btn:hover,
.scroll-top:hover {
  background: var(--primary);
  color: #fff;
}

.team-card {
  overflow: hidden;
  text-align: center;
}

.team-photo {
  aspect-ratio: 1;
  overflow: hidden;
}

.team-photo img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  width: 100%;
}

.team-card:hover img {
  transform: scale(1.06);
}

.team-info {
  padding: 24px;
}

.social-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.social-row a,
.footer-social a {
  align-items: center;
  background: rgba(37, 99, 235, 0.08);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  transition: all 0.25s ease;
  width: 38px;
}

.social-row a:hover,
.footer-social a:hover {
  background: var(--primary);
  color: #fff;
}

.cta-band {
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 34px;
  color: #fff;
  overflow: hidden;
  padding: 54px;
  position: relative;
}

.cta-band h2 {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  line-height: 1.15;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.86);
}

.cta-band .btn-outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.42);
}

.page-hero {
  background:
    radial-gradient(circle at 20% 14%, rgba(56, 189, 248, 0.18), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f4f9ff 100%);
  padding: 92px 0;
  text-align: center;
}

.page-title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  margin-bottom: 18px;
}

.page-copy {
  margin: 0 auto;
  max-width: 760px;
}

.contact-panel {
  padding: 32px;
}

.contact-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.contact-item {
  align-items: flex-start;
  display: flex;
  gap: 14px;
}

.form-grid {
  display: grid;
  gap: 16px;
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  color: var(--text);
  font-weight: 800;
}

.field input,
.field textarea {
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 16px;
  color: var(--text);
  outline: 0;
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(37, 99, 235, 0.5);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.map-placeholder {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(56, 189, 248, 0.14)),
    url("https://images.unsplash.com/photo-1569336415962-a4bd9f69cd83?auto=format&fit=crop&w=1100&q=80") center/cover;
  border-radius: 24px;
  box-shadow: var(--shadow-soft);
  color: #fff;
  display: flex;
  min-height: 320px;
  justify-content: center;
  margin-top: 24px;
  overflow: hidden;
  position: relative;
}

.map-placeholder::before {
  background: rgba(37, 99, 235, 0.46);
  content: "";
  inset: 0;
  position: absolute;
}

.map-placeholder span {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--primary);
  font-weight: 900;
  padding: 12px 18px;
  position: relative;
}

.footer {
  background: #ffffff;
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  padding: 72px 0 28px;
}

.footer-grid {
  display: grid;
  gap: 34px;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
}

.footer h3 {
  font-family: "Poppins", sans-serif;
  margin-bottom: 18px;
}

.footer p,
.footer a {
  color: var(--muted);
}

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

.footer-links {
  display: grid;
  gap: 10px;
}

.newsletter {
  display: flex;
  gap: 8px;
  margin-top: 18px;
}

.newsletter input {
  border: 1px solid var(--border);
  border-radius: 999px;
  min-width: 0;
  padding: 12px 14px;
  width: 100%;
}

.footer-bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.9);
  color: var(--muted);
  margin-top: 44px;
  padding-top: 24px;
  text-align: center;
}

.scroll-top {
  bottom: 24px;
  box-shadow: var(--shadow-soft);
  opacity: 0;
  pointer-events: none;
  position: fixed;
  right: 24px;
  z-index: 900;
}

.scroll-top.show {
  opacity: 1;
  pointer-events: auto;
}

.hidden {
  display: none !important;
}
