
:root {
  --blue: #2563eb;
  --deep-blue: #0b2f6b;
  --navy: #0b1f3a;
  --light-blue: #eff6ff;
  --cyan: #06b6d4;
  --white: #ffffff;
  --text: #243247;
  --muted: #64748b;
  --border: #e2eaf4;
  --background: #f8fbff;
  --shadow: 0 18px 55px rgba(15, 48, 95, 0.08);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: var(--white);
  color: var(--text);
  line-height: 1.7;
}

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

button, input, textarea, select {
  font: inherit;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible, a:focus-visible,
input:focus-visible, textarea:focus-visible,
select:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.container {
  width: min(1140px, 90%);
  margin-inline: auto;
}

.section {
  padding: 100px 0;
}

.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 234, 244, 0.8);
}

.navbar {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: -0.5px;
  color: var(--navy);
  line-height: 1.3;
}

.brand-icon {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--deep-blue));
  font-size: 25px;
  font-weight: 800;
  box-shadow: 0 7px 20px rgba(37, 99, 235, 0.23);
}

.brand strong {
  color: var(--blue);
}

.brand small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: 1.5px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--blue);
}

.nav-links .nav-cta {
  background: var(--blue);
  color: white;
  padding: 12px 20px;
  border-radius: 9px;
}

.nav-links .nav-cta:hover {
  background: var(--deep-blue);
  color: white;
}

.menu-toggle {
  display: none;
  border: 0;
  background: var(--light-blue);
  color: var(--deep-blue);
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 22px;
  cursor: pointer;
}

/* HERO */

.hero {
  position: relative;
  overflow: hidden;
  padding: 95px 0 105px;
  background:
    radial-gradient(ellipse at 90% 20%, #e1edff 0%, transparent 38%),
    linear-gradient(180deg, #ffffff, #f7faff);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 65px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 0 4px #d1fae5;
}

.hero h1 {
  margin: 22px 0;
  max-width: 650px;
  font-size: clamp(38px, 4.8vw, 61px);
  line-height: 1.13;
  letter-spacing: -2.8px;
  color: var(--navy);
}

.gradient-text {
  color: var(--blue);
  background: linear-gradient(100deg, #2563eb, #06b6d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  max-width: 540px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.9;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 9px;
  padding: 14px 21px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
}

.btn:hover {
  transform: translateY(-3px);
}

.btn-primary {
  color: white;
  background: linear-gradient(120deg, var(--blue), var(--deep-blue));
  box-shadow: 0 9px 23px rgba(37, 99, 235, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 13px 28px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  color: var(--deep-blue);
  background: white;
  border: 1px solid var(--border);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 30px;
  color: #64748b;
  font-size: 11px;
  font-weight: 600;
}

.check {
  color: #059669;
  font-weight: 900;
  margin-right: 4px;
}

/* HERO VISUAL */

.hero-visual {
  min-height: 410px;
  position: relative;
  display: grid;
  place-items: center;
}

.visual-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: #bfdbfe;
  filter: blur(75px);
  opacity: 0.7;
}

.visual-card {
  position: relative;
  z-index: 1;
  width: min(100%, 385px);
  border-radius: 22px;
  padding: 23px;
  background: linear-gradient(145deg, #0d3979, #061a3a);
  box-shadow: 0 30px 75px rgba(11, 47, 107, 0.24);
  transform: rotate(-2deg);
}

.visual-top,
.visual-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mini-logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #76a7ff;
  border-radius: 10px;
  color: white;
  font-weight: 800;
}

.live-label {
  color: #bfdbfe;
  font-size: 9px;
  letter-spacing: 1.8px;
}

.visual-art {
  height: 235px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.art-circle {
  position: absolute;
  width: 170px;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(147, 197, 253, 0.7);
  box-shadow: 0 0 45px rgba(59, 130, 246, 0.4);
}

.art-square {
  position: absolute;
  width: 112px;
  height: 112px;
  border: 1px solid #67e8f9;
  transform: rotate(35deg);
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), transparent);
}

.art-line {
  position: absolute;
  height: 180px;
  width: 1px;
  background: rgba(191, 219, 254, 0.5);
  transform: rotate(42deg);
}

.art-letter {
  z-index: 1;
  color: white;
  font-size: 100px;
  line-height: 1;
  font-weight: 800;
  text-shadow: 0 0 35px rgba(96, 165, 250, 0.6);
}

.visual-bottom {
  border-top: 1px solid rgba(191, 219, 254, 0.2);
  padding-top: 17px;
  color: white;
}

.visual-bottom small {
  font-size: 8px;
  letter-spacing: 1.4px;
  color: #bfdbfe;
}

.visual-bottom h3 {
  font-size: 19px;
  margin-top: 3px;
}

.arrow-circle {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: white;
  color: var(--blue);
  font-size: 19px;
}

.floating-card {
  z-index: 2;
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid #e5edfa;
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow);
}

.floating-one {
  top: 50px;
  left: -18px;
}

.floating-two {
  right: -15px;
  bottom: 48px;
}

.floating-icon {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  border-radius: 10px;
  background: #dbeafe;
  color: var(--blue);
  font-size: 19px;
}

.floating-icon.shield {
  color: #047857;
  background: #d1fae5;
}

.floating-card strong,
.floating-card small {
  display: block;
}

.floating-card strong {
  font-size: 11px;
  color: var(--navy);
}

.floating-card small {
  margin-top: 2px;
  font-size: 9px;
  color: var(--muted);
}

/* SECTION HEADINGS */

.section-heading {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 48px;
}

.section-heading h2,
.about-content h2,
.contact-content h2 {
  margin: 14px 0;
  color: var(--navy);
  font-size: clamp(29px, 3.6vw, 43px);
  line-height: 1.25;
  letter-spacing: -1.6px;
}

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

/* SERVICES */

.services {
  background: var(--background);
}

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

.service-card {
  padding: 31px 25px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: white;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.service-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
  border-color: #bfdbfe;
}

.featured-card {
  border-top: 3px solid var(--blue);
}

.service-icon {
  display: grid;
  place-items: center;
  width: 49px;
  height: 49px;
  border-radius: 13px;
  font-size: 24px;
  font-weight: 800;
}

.blue-icon {
  color: #1d4ed8;
  background: #dbeafe;
}

.navy-icon {
  color: white;
  background: var(--deep-blue);
}

.cyan-icon {
  color: #0e7490;
  background: #cffafe;
}

.service-number {
  display: block;
  margin-top: 23px;
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 800;
  color: #7c92b0;
}

.service-card h3 {
  margin: 7px 0 10px;
  font-size: 21px;
  color: var(--navy);
}

.service-card > p {
  font-size: 12px;
  line-height: 1.9;
  color: var(--muted);
}

.service-card ul {
  list-style: none;
  margin: 21px 0;
}

.service-card li {
  margin: 10px 0;
  color: #475569;
  font-size: 11px;
}

.service-card li::before {
  content: "✓";
  color: var(--blue);
  margin-right: 9px;
  font-weight: 900;
}

.text-link {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
}

/* PORTFOLIO */

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

.project {
  min-width: 0;
}

.project-art {
  height: 255px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
}

.art-design {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  background: linear-gradient(145deg, #1d4ed8, #0b1f3a);
}

.project-tag {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 5px;
  font-size: 8px;
  letter-spacing: 1px;
}

.design-symbol {
  font-size: 79px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -8px;
}

.design-symbol span {
  color: #67e8f9;
}

.art-design p {
  margin-top: 7px;
  text-align: center;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 3px;
}

.art-web {
  padding: 20px;
  background: linear-gradient(140deg, #dbeafe, #eff6ff);
}

.browser-bar {
  display: flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 7px 7px 0 0;
  background: white;
}

.browser-bar i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #93c5fd;
}

.browser-bar span {
  margin-left: 9px;
  font-size: 8px;
  color: #64748b;
}

.browser-content {
  min-height: 175px;
  padding: 22px;
  color: white;
  background: linear-gradient(135deg, #2563eb, #0b2f6b);
  border-radius: 0 0 7px 7px;
}

.browser-label {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #bfdbfe;
}

.browser-content strong {
  display: block;
  margin: 11px 0;
  font-size: 25px;
  line-height: 1.25;
}

.browser-button {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 4px;
  background: white;
  color: var(--blue);
  font-size: 9px;
  font-weight: 800;
}

.art-security {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #0f766e, #0b1f3a);
  color: white;
  text-align: center;
}

.security-orbit {
  display: grid;
  place-items: center;
  width: 65px;
  height: 65px;
  margin-bottom: 12px;
  border: 2px solid #67e8f9;
  border-radius: 50% 50% 45% 45%;
  color: #a5f3fc;
  font-size: 33px;
}

.security-label {
  font-size: 8px;
  letter-spacing: 2px;
  color: #a5f3fc;
}

.art-security h3 {
  margin-top: 7px;
  font-size: 25px;
  line-height: 1.3;
}

.art-security p {
  margin-top: 9px;
  color: #ccfbf1;
  font-size: 9px;
}

.project-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 17px 2px;
}

.project-info h3 {
  font-size: 14px;
  color: var(--navy);
}

.project-info p {
  font-size: 10px;
  color: var(--muted);
}

.project-arrow {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--blue);
}

.portfolio-note {
  margin-top: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 11px;
}

/* ABOUT */

.about {
  background: var(--background);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: center;
  gap: 75px;
}

.about-panel {
  position: relative;
  overflow: hidden;
  min-height: 390px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  border-radius: 22px;
  background: linear-gradient(145deg, #0b2f6b, #2563eb);
  box-shadow: 0 25px 65px rgba(11, 47, 107, 0.18);
}

.about-monogram {
  z-index: 1;
  color: white;
  font-size: 115px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -12px;
}

.about-caption {
  z-index: 1;
  color: #bfdbfe;
  font-size: 9px;
  letter-spacing: 3px;
}

.about-decoration {
  position: absolute;
  width: 280px;
  height: 280px;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  box-shadow: 0 0 0 35px rgba(255,255,255,0.04),
              0 0 0 70px rgba(255,255,255,0.03);
}

.about-content > p {
  margin: 15px 0;
  font-size: 13px;
  line-height: 1.9;
  color: var(--muted);
}

.skill-list {
  margin: 25px 0;
}

.skill-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.skill-item > span {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
}

.skill-item strong,
.skill-item small {
  display: block;
}

.skill-item strong {
  color: var(--navy);
  font-size: 12px;
}

.skill-item small {
  color: var(--muted);
  font-size: 10px;
}

/* PROCESS */

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

.process-item {
  padding: 23px;
  border-left: 2px solid #bfdbfe;
}

.process-item > span {
  color: var(--blue);
  font-size: 29px;
  font-weight: 800;
}

.process-item h3 {
  margin: 9px 0;
  font-size: 14px;
  color: var(--navy);
}

.process-item p {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* CONTACT */

.contact {
  background: linear-gradient(180deg, #f8fbff, #eff6ff);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-content > p {
  margin: 16px 0 30px;
  max-width: 400px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0;
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  background: white;
  color: var(--blue);
  font-size: 20px;
}

.contact-detail small {
  display: block;
  color: #94a3b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.contact-detail a,
.contact-detail div > span {
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.contact-detail a:hover {
  color: var(--blue);
}

.contact-form {
  padding: 34px;
  border: 1px solid #e3ebf6;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  color: var(--navy);
  font-size: 22px;
}

.contact-form > p {
  margin: 6px 0 22px;
  color: var(--muted);
  font-size: 11px;
}

.contact-form label {
  display: block;
  margin: 15px 0 7px;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #dce5f1;
  border-radius: 8px;
  outline: none;
  background: #fbfdff;
  color: var(--navy);
  font-size: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
  resize: vertical;
}

.form-button {
  width: 100%;
  margin-top: 20px;
}

.contact-form .form-note {
  margin: 12px 0 0;
  text-align: center;
  font-size: 10px;
}

/* FOOTER */

.footer {
  padding: 36px 0;
  background: #081a33;
  color: white;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-brand {
  color: white;
}

.footer-brand small {
  color: #93b4e5;
}

.footer-content > p,
.copyright {
  color: #a8b9d0;
  font-size: 10px;
}

/* BACK TO TOP */

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 900;
  width: 43px;
  height: 43px;
  border: 0;
  border-radius: 12px;
  background: var(--blue);
  color: white;
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 7px 22px rgba(37, 99, 235, 0.3);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: 0.25s;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

/* RESPONSIVE DESIGN */

@media (max-width: 950px) {
  .nav-links {
    gap: 18px;
  }

  .hero-grid {
    gap: 25px;
  }

  .hero h1 {
    font-size: 46px;
  }

  .service-grid {
    gap: 14px;
  }

  .service-card {
    padding: 25px 18px;
  }

  .about-grid {
    gap: 40px;
  }

  .contact-grid {
    gap: 35px;
  }

  .floating-one {
    left: -5px;
  }

  .floating-two {
    right: -5px;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 75px 0;
  }

  .navbar {
    min-height: 72px;
  }

  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 71px;
    left: 0;
    right: 0;
    padding: 20px 5% 25px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 15px 25px rgba(11, 31, 58, 0.08);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 12px 5px;
  }

  .nav-links .nav-cta {
    margin-top: 8px;
    text-align: center;
  }

  .hero {
    padding: 70px 0 65px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .hero h1 {
    font-size: clamp(39px, 8vw, 54px);
    letter-spacing: -2px;
  }

  .hero-visual {
    min-height: 390px;
  }

  .visual-card {
    width: min(88%, 385px);
  }

  .service-grid,
  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    padding: 29px;
  }

  .project-art {
    height: 280px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-panel {
    min-height: 320px;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 12px;
  }

  .contact-form {
    padding: 25px;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 420px) {
  .container {
    width: 91%;
  }

  .brand {
    font-size: 13px;
  }

  .brand-icon {
    width: 38px;
    height: 38px;
  }

  .hero h1 {
    font-size: 38px;
  }

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

  .hero-trust {
    gap: 10px;
  }

  .hero-visual {
    min-height: 350px;
  }

  .visual-card {
    padding: 17px;
  }

  .visual-art {
    height: 195px;
  }

  .art-letter {
    font-size: 80px;
  }

  .floating-card {
    padding: 10px;
  }

  .floating-one {
    top: 10px;
  }

  .floating-two {
    bottom: 10px;
  }

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

  .section-heading h2,
  .about-content h2,
  .contact-content h2 {
    font-size: 32px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
