:root {
  --navy: #0f172a;
  --navy-2: #102a6a;
  --muted: #718096;
  --muted-2: #98a2b3;
  --cyan: #22c7bd;
  --cyan-dark: #14b8ae;
  --purple: #7c3cff;
  --light-blue: #eef9ff;
  --soft-blue: #eaf6ff;
  --line: #e6edf5;
  --white: #ffffff;
  --shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
  --shadow-soft: 0 14px 40px rgba(15, 23, 42, 0.08);
  --radius-xl: 32px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: #ffffff;
  line-height: 1.5;
}

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

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

.container {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.container.narrow {
  width: min(850px, calc(100% - 48px));
}

.section {
  padding: 92px 0;
}

.eyebrow {
  color: #0856ff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.eyebrow.pill {
  width: max-content;
  margin: 0 auto 18px;
  padding: 8px 16px;
  color: #1f75ff;
  background: rgba(43, 131, 255, 0.08);
  border-radius: 999px;
}

/* Header */
.site-header {
  padding: 28px 0 22px;
  position: relative;
  z-index: 50;
  background: #fff;
  border-top: 2px solid rgba(113, 60, 255, 0.45);
}

.nav-container {
  min-height: 78px;
  padding: 0 28px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.12);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  backdrop-filter: blur(16px);
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo img {
  width: 284px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  color: #7a8aa3;
  font-size: 18px;
  font-weight: 700;
}

.nav-menu > a,
.nav-item > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 26px 0;
  transition: color 0.2s ease;
}

.nav-menu a.active,
.nav-menu a:hover,
.nav-item:hover > a {
  color: #0b2a69;
}

.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  left: 50%;
  top: 70px;
  min-width: 220px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transform: translateX(-50%) translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.dropdown-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: #667085;
  font-size: 14px;
  font-weight: 700;
}

.dropdown-menu a:hover {
  background: #f4f8ff;
  color: var(--navy-2);
}

.nav-item:hover .dropdown-menu {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
}

.nav-button {
  flex: 0 0 auto;
  padding: 16px 30px;
  border-radius: 22px;
  color: #082865;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.13);
  font-size: 18px;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.nav-button:hover,
.primary-button:hover,
.secondary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.mobile-menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 14px;
  background: #f3f7fb;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: #0f172a;
  border-radius: 999px;
}

/* Buttons */
.primary-button,
.secondary-button,
.ghost-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 800;
  transition: all 0.2s ease;
}

.primary-button {
  padding: 15px 28px;
  color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--cyan-dark));
  box-shadow: 0 14px 28px rgba(34, 199, 189, 0.24);
}

.primary-button.small {
  padding: 12px 20px;
  font-size: 14px;
}

.secondary-button {
  padding: 14px 28px;
  color: #5b6b80;
  background: #fff;
  border: 1px solid #e8eef5;
}

.ghost-button {
  padding: 11px 18px;
  color: #2bc7bd;
  background: rgba(43, 199, 189, 0.12);
  font-size: 14px;
}

.link-button {
  margin-top: 16px;
  padding: 10px 16px;
  color: #fff;
  background: #47d2c8;
  font-size: 13px;
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 86px 0 70px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(70, 190, 255, 0.30), transparent 28%),
    linear-gradient(180deg, #eefaff 0%, #ffffff 72%);
}

.hero h1 {
  max-width: 920px;
  margin: 0 auto 24px;
  color: var(--navy);
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: #1cbcc1;
}

.hero-text {
  max-width: 720px;
  margin: 0 auto 26px;
  color: #687891;
  font-size: 18px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.orbit-visual {
  position: relative;
  height: 560px;
  margin: 58px auto 0;
  overflow: hidden;
  border-radius: 0 0 46% 46%;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: -120px;
  border: 1px solid rgba(141, 202, 235, 0.55);
  border-radius: 50%;
  transform: translateX(-50%);
}

.ring-one { width: 430px; height: 430px; }
.ring-two { width: 730px; height: 730px; top: -245px; }
.ring-three { width: 1040px; height: 1040px; top: -395px; }

.orbit-icon {
  position: absolute;
  width: 82px;
  filter: drop-shadow(0 16px 24px rgba(41, 123, 255, 0.20));
}

.icon-a { left: 17%; top: 135px; width: 68px; }
.icon-b { left: 34%; top: 205px; width: 72px; }
.icon-c { right: 21%; top: 112px; width: 62px; }
.icon-d { right: 10%; top: 222px; width: 80px; }
.icon-e { left: 50%; top: 300px; transform: translateX(-50%); width: 102px; }
.icon-f { left: 66%; top: 190px; width: 76px; }
.icon-g { left: 48%; top: 156px; width: 60px; }

/* Solutions */
.solutions-section {
  padding-top: 56px;
  background: #fff;
}

.section-intro-card,
.offer-banner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
  padding: 48px 56px;
  border-radius: var(--radius-lg);
  background: #eaf6ff;
}

.section-intro-card h2,
.offer-banner h2 {
  color: #0d1728;
  font-size: clamp(30px, 3vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-intro-card p,
.offer-banner p {
  color: #6d7f99;
  font-size: 17px;
  line-height: 1.8;
}

.offer-banner h2 span {
  color: #38bec2;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 22px;
  margin-top: 28px;
}

.service-card {
  grid-column: span 2;
  min-height: 190px;
  padding: 30px;
  border: 1px solid #edf2f8;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.service-card.active-card {
  border-color: rgba(67, 103, 255, 0.85);
  box-shadow: 0 0 0 1px rgba(67, 103, 255, 0.14), 0 18px 55px rgba(55, 107, 255, 0.22);
}

.service-card.offset-card {
  grid-column: span 2;
}

/* Alt sıradaki iki kart da üst kartlarla aynı genişlikte kalsın.
   Sadece grid-column-start vermek bazı tarayıcılarda kartı tek kolona düşürebiliyor. */
.service-grid .service-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.service-grid .service-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.service-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 26px;
  border-radius: 14px;
  color: #315bff;
  background: #f1f6fb;
  font-size: 24px;
  font-weight: 900;
}

.service-card h3 {
  margin-bottom: 12px;
  color: #0a3271;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.service-card p {
  color: #6f7f99;
  font-size: 15px;
  line-height: 1.65;
}

/* Partner */
.partner-section {
  padding-top: 50px;
}

.partner-card {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  overflow: hidden;
  min-height: 470px;
  border-radius: 26px;
  background: #111b33;
  box-shadow: var(--shadow);
}

.partner-image {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 470px;
  padding: 24px;
  background: #fff;
  overflow: visible;
}

.partner-image img {
  width: 96%;
  max-width: 760px;
  height: auto;
  margin-left: 0;
  object-fit: contain;
}

.partner-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px;
  color: #fff;
}

.partner-content .eyebrow {
  color: #9bd9ff;
}

.partner-content h2 {
  max-width: 520px;
  margin-bottom: 18px;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.partner-content p {
  max-width: 500px;
  margin-bottom: 28px;
  color: #c9d4e7;
  font-size: 16px;
  line-height: 1.8;
}

/* Projects */
.projects-section {
  padding-top: 70px;
}

.section-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-title-row h2,
.center-title h2,
.contact-card h2,
.content-stack h2,
.strategy-card h2 {
  color: #0d1728;
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.14;
  letter-spacing: -0.04em;
}

.projects-list {
  display: grid;
  gap: 22px;
  max-width: 780px;
  margin: 0 auto;
}

.project-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 24px;
  align-items: center;
  padding: 12px;
  border: 1px solid #e8eef5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.project-card img {
  width: 220px;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
}

.project-card h3 {
  margin-bottom: 8px;
  color: #0f172a;
  font-size: 19px;
}

.project-card p {
  color: #6f7f99;
  font-size: 14px;
  line-height: 1.6;
}

.tag-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.tag-row span {
  padding: 6px 10px;
  border-radius: 999px;
  color: #63728a;
  background: #f3f7fb;
  font-size: 12px;
  font-weight: 700;
}

/* Contact */
.contact-cta {
  padding-top: 30px;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 46px 56px;
  border-radius: 28px;
  background: linear-gradient(135deg, #effaff, #f8fbff);
  border: 1px solid #e3eef8;
}

.contact-card h2 {
  max-width: 720px;
}

.contact-copy p:not(.eyebrow) {
  max-width: 620px;
  margin-top: 14px;
  color: #687891;
  font-size: 16px;
  line-height: 1.7;
}

.contact-info-card {
  align-items: stretch;
}

.contact-details {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  min-width: 360px;
}

.contact-detail {
  padding: 16px 18px;
  border: 1px solid #dce9f5;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 30px rgba(13, 35, 69, 0.06);
}

.contact-detail strong {
  display: block;
  margin-bottom: 5px;
  color: #0a3271;
  font-size: 13px;
}

.contact-detail span {
  display: block;
  color: #5e6f89;
  font-size: 14px;
  line-height: 1.55;
}

.footer-contact p {
  margin-bottom: 9px;
}

.footer-contact strong {
  color: #0a3271;
  font-weight: 800;
}

/* Sub pages */
.sub-hero {
  padding: 96px 0 86px;
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(70, 190, 255, 0.24), transparent 30%),
    linear-gradient(180deg, #f3fbff 0%, #fff 78%);
}

.sub-hero h1 {
  margin: 0 auto 22px;
  color: var(--navy);
  font-size: clamp(40px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

.sub-hero p:not(.eyebrow) {
  max-width: 760px;
  margin: 0 auto;
  color: #687891;
  font-size: 18px;
  line-height: 1.8;
}

.split-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.image-card {
  overflow: hidden;
  border-radius: 26px;
  box-shadow: var(--shadow-soft);
}

.image-card img {
  width: 100%;
  height: 460px;
  object-fit: cover;
}

.content-stack p:not(.eyebrow) {
  margin-top: 18px;
  color: #667085;
  font-size: 17px;
  line-height: 1.8;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.metric-grid div {
  padding: 20px;
  border: 1px solid #e8eef5;
  border-radius: 18px;
  background: #fff;
}

.metric-grid strong {
  display: block;
  color: #0f172a;
  font-size: 24px;
}

.metric-grid span {
  color: #8190a7;
  font-size: 13px;
  font-weight: 700;
}

.strategy-card {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 64px;
  align-items: center;
  padding: 52px;
  border-radius: 28px;
  background: #eef8ff;
}

.strategy-card p:not(.eyebrow) {
  margin-top: 18px;
  color: #6d7f99;
  font-size: 17px;
  line-height: 1.8;
}

.progress-panel {
  padding: 28px;
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.progress-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding-bottom: 26px;
  margin-bottom: 22px;
  color: #0f172a;
  font-weight: 800;
}

.progress-row:last-child {
  margin-bottom: 0;
}

.progress-row::before,
.progress-row i {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 8px;
  border-radius: 999px;
}

.progress-row::before {
  width: 100%;
  background: #edf2f8;
}

.progress-row i {
  width: var(--w);
  background: linear-gradient(90deg, #22c7bd, #7c3cff);
}

/* Odoo page */
.center-title {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.center-title h2 {
  margin-bottom: 14px;
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.module-grid article {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.module-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-wide {
  grid-column: span 2;
}

.dashboard-section {
  padding-top: 30px;
}

.dashboard-image {
  overflow: hidden;
  border-radius: 26px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

/* Tema tech page */
.offerings-section {
  padding-top: 70px;
}

.tech-grid {
  margin-top: 28px;
}

.three-projects {
  max-width: 920px;
}

/* Footer */
.footer {
  margin-top: 30px;
  padding: 64px 0 28px;
  border-top: 1px solid #edf2f7;
  background: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 56px;
}

.footer-brand img {
  width: 190px;
  margin-bottom: 16px;
}

.footer p,
.footer a {
  display: block;
  color: #6f7f99;
  font-size: 14px;
  line-height: 1.7;
}

.footer h4 {
  margin-bottom: 16px;
  color: #0a3271;
  font-size: 15px;
}

.footer a {
  margin-bottom: 9px;
}

.footer a:hover {
  color: #13bdb4;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 50px;
  padding-top: 22px;
  border-top: 1px solid #edf2f7;
  color: #8b98ad;
  font-size: 13px;
}

/* Animated orbit icons */
.orbit-visual {
  isolation: isolate;
}

.orbit-ring {
  pointer-events: none;
}

.orbit-icon {
  --base-x: 0px;
  --base-y: 0px;
  transform: translate3d(var(--base-x), var(--base-y), 0);
  will-change: transform;
  user-select: none;
  pointer-events: none;
}

.icon-a {
  animation: float-orbit-a 7.5s ease-in-out infinite;
}

.icon-b {
  animation: float-orbit-b 9s ease-in-out infinite;
  animation-delay: -1.1s;
}

.icon-c {
  animation: float-orbit-c 8.5s ease-in-out infinite;
  animation-delay: -2s;
}

.icon-d {
  animation: float-orbit-d 10s ease-in-out infinite;
  animation-delay: -3s;
}

.icon-e {
  --base-x: -50%;
  animation: float-orbit-e 8s ease-in-out infinite;
  animation-delay: -0.6s;
}

.icon-f {
  animation: float-orbit-f 9.5s ease-in-out infinite;
  animation-delay: -2.4s;
}

.icon-g {
  animation: float-orbit-g 7s ease-in-out infinite;
  animation-delay: -1.7s;
}

@keyframes float-orbit-a {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  25% { transform: translate3d(calc(var(--base-x) + 16px), -18px, 0) scale(1.04) rotate(4deg); }
  50% { transform: translate3d(calc(var(--base-x) + 32px), 6px, 0) scale(0.98) rotate(-2deg); }
  75% { transform: translate3d(calc(var(--base-x) + 8px), 20px, 0) scale(1.02) rotate(3deg); }
}

@keyframes float-orbit-b {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  25% { transform: translate3d(calc(var(--base-x) - 20px), 12px, 0) scale(1.03) rotate(-5deg); }
  50% { transform: translate3d(calc(var(--base-x) + 8px), 28px, 0) scale(0.99) rotate(2deg); }
  75% { transform: translate3d(calc(var(--base-x) + 22px), -12px, 0) scale(1.04) rotate(5deg); }
}

@keyframes float-orbit-c {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  25% { transform: translate3d(calc(var(--base-x) + 18px), 16px, 0) scale(1.02) rotate(4deg); }
  50% { transform: translate3d(calc(var(--base-x) - 10px), 30px, 0) scale(1.04) rotate(-4deg); }
  75% { transform: translate3d(calc(var(--base-x) - 26px), -8px, 0) scale(0.99) rotate(2deg); }
}

@keyframes float-orbit-d {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  25% { transform: translate3d(calc(var(--base-x) - 26px), -10px, 0) scale(1.03) rotate(-3deg); }
  50% { transform: translate3d(calc(var(--base-x) - 6px), -30px, 0) scale(0.98) rotate(3deg); }
  75% { transform: translate3d(calc(var(--base-x) + 18px), 12px, 0) scale(1.05) rotate(-2deg); }
}

@keyframes float-orbit-e {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  20% { transform: translate3d(calc(var(--base-x) + 20px), -14px, 0) scale(1.02) rotate(5deg); }
  45% { transform: translate3d(calc(var(--base-x) + 4px), -32px, 0) scale(1.05) rotate(0deg); }
  70% { transform: translate3d(calc(var(--base-x) - 22px), -8px, 0) scale(1.01) rotate(-5deg); }
}

@keyframes float-orbit-f {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  25% { transform: translate3d(calc(var(--base-x) + 14px), 24px, 0) scale(1.03) rotate(3deg); }
  50% { transform: translate3d(calc(var(--base-x) + 30px), -4px, 0) scale(0.98) rotate(-4deg); }
  75% { transform: translate3d(calc(var(--base-x) - 8px), -22px, 0) scale(1.04) rotate(4deg); }
}

@keyframes float-orbit-g {
  0%, 100% { transform: translate3d(var(--base-x), 0, 0) scale(1) rotate(0deg); }
  25% { transform: translate3d(calc(var(--base-x) - 14px), -18px, 0) scale(1.05) rotate(-6deg); }
  50% { transform: translate3d(calc(var(--base-x) + 18px), -26px, 0) scale(0.99) rotate(4deg); }
  75% { transform: translate3d(calc(var(--base-x) + 26px), 10px, 0) scale(1.02) rotate(-2deg); }
}

@media (prefers-reduced-motion: reduce) {
  .orbit-icon {
    animation: none !important;
  }
}
