:root {
  --bg: #ffffff;
  --text: #1b1f23;
  --muted: #6f7a86;
  --card: #ffffff;
  --border: rgba(15, 23, 42, .10);
  --shadow: 0 14px 40px rgba(15, 23, 42, .10);
  --green: #29b89c;
  --green2: #21a789;
  --radius: 18px;
  --container: 1120px;
}

/* ===== KEYFRAME ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.02);
  }
}

@keyframes drawLine {
  to {
    stroke-dashoffset: 0;
  }
}

/* ===== SCROLL ANIMATION CLASSES ===== */
[data-animate] {
  opacity: 0;
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

[data-animate].animate-in {
  opacity: 1;
}

[data-animate="fade-up"] {
  transform: translateY(40px);
}

[data-animate="fade-up"].animate-in {
  transform: translateY(0);
}

[data-animate="fade-left"] {
  transform: translateX(-50px);
}

[data-animate="fade-left"].animate-in {
  transform: translateX(0);
}

[data-animate="fade-right"] {
  transform: translateX(50px);
}

[data-animate="fade-right"].animate-in {
  transform: translateX(0);
}

[data-animate="scale"] {
  transform: scale(0.85);
}

[data-animate="scale"].animate-in {
  transform: scale(1);
}

[data-animate="fade"] {
  transform: none;
  /* Just opacity animation, no transform */
}

[data-animate="fade"].animate-in {
  opacity: 1;
}

/* Staggered delays for cards */
.cards [data-animate]:nth-child(1) {
  transition-delay: 0s;
}

.cards [data-animate]:nth-child(2) {
  transition-delay: 0.1s;
}

.cards [data-animate]:nth-child(3) {
  transition-delay: 0.2s;
}

.cards [data-animate]:nth-child(4) {
  transition-delay: 0.3s;
}

.cards [data-animate]:nth-child(5) {
  transition-delay: 0.4s;
}

.cards [data-animate]:nth-child(6) {
  transition-delay: 0.5s;
}

/* Hero entrance animations */
.hero-logo {
  animation: scaleIn 0.9s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.hero-title {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s both;
}

.hero-subtitle {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s both;
}

.hero .btn {
  animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.6s both;
}

/* Floating clouds animation */
.cloud-bg::before {
  animation: float 8s ease-in-out infinite;
}

.cloud-bg::after {
  animation: float 10s ease-in-out infinite 2s;
}


* {
  box-sizing: border-box
}

html,
body {
  height: 100%
}

body {
  margin: 0;
  font-family: "Roboto", Sans-serif;
  color: var(--text);
  background: var(--bg);
}

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

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

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

/* NAV */
.site-header {
  position: relative;
  overflow: hidden;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .88);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .04);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 22px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: .3px;
}

.brand-name {
  font-size: 18px;
  color: #5b6169;
}

.brand-mark {
  width: 26px;
  height: 26px;
  position: relative;
  display: inline-block;
}

.brand-mark .mark-left,
.brand-mark .mark-right {
  position: absolute;
  inset: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, var(--green), #58d7be);
  transform-origin: bottom center;
}

.brand-mark .mark-left {
  transform: skewX(-18deg) rotate(-8deg);
  clip-path: polygon(0 0, 56% 0, 56% 100%, 0 100%);
}

.brand-mark .mark-right {
  transform: skewX(18deg) rotate(8deg);
  clip-path: polygon(44% 0, 100% 0, 100% 100%, 44% 100%);
}

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

.nav-link {
  font-size: 13px;
  color: #7b838d;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green);
  border-radius: 1px;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: #2f3740;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #98a1ab;
  margin: 5px 0;
  border-radius: 2px;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 0 60px;
  position: relative;
}

.hero-inner {
  width: min(880px, 92%);
  margin: 0 auto;
  text-align: center;
}

.hero-logo {
  display: grid;
  place-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.hero-w {
  width: 82px;
  height: 82px;
  position: relative;
}

.hero-w .w-left,
.hero-w .w-right {
  position: absolute;
  inset: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green), #61ddc6);
}

.hero-w .w-left {
  transform: skewX(-18deg) rotate(-10deg);
  clip-path: polygon(0 0, 58% 0, 58% 100%, 0 100%);
}

.hero-w .w-right {
  transform: skewX(18deg) rotate(10deg);
  clip-path: polygon(42% 0, 100% 0, 100% 100%, 42% 100%);
}

.hero-word {
  font-size: 44px;
  font-weight: 500;
  color: #6a6f76;
  letter-spacing: .4px;
}

.hero-title {
  margin: 16px 0 14px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: 1.5px;
  font-size: 18px;
  line-height: 1.4;
  color: #6a7280;
  text-transform: uppercase;
}

.hero-subtitle {
  margin: 0 auto 20px;
  max-width: 720px;
  color: #7a838d;
  font-size: 13px;
  font-weight: 400;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .2px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  box-shadow: 0 12px 28px rgba(41, 184, 156, .25);
}

.btn-primary:hover {
  background: var(--green2);
  transform: translateY(-3px);
  box-shadow: 0 18px 36px rgba(41, 184, 156, .35);
}

.btn-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(41, 184, 156, .25);
}

.btn-small {
  padding: 9px 16px;
}

/* CLOUD BACKDROP */
.cloud-bg {
  position: relative;
}

.cloud-bg::before,
.cloud-bg::after {
  content: "";
  position: absolute;
  inset: -40px 0 auto;
  height: 220px;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 220px auto;
  opacity: .22;
}

.cloud-bg::before {
  background-image: url("../assets/images/cloud-14.svg");
  background-position: 6% 35%;
}

.cloud-bg::after {
  background-image: url("../assets/images/cloud-3.svg");
  background-position: 92% 10%;
}

/* BANNERS */
.banner {
  width: 100%;
  height: 170px;
  background-size: cover;
  background-position: center;
}

.banner-1 {
  background-image: url("../assets/images/Banner1.png");
}

.banner-2 {
  height: 260px;
  background-image: url("../assets/images/Banner2.png");
}

.banner-3 {
  height: 210px;
  background-image: url("../assets/images/Banner3.png");
}

/* SECTIONS */
.section {
  padding: 64px 0;
  position: relative;
}

.section-title {
  font-size: 34px;
  margin: 0 0 12px;
  font-weight: 500;
  color: #4f5862;
}

.section-subtitle {
  margin: 0 0 18px;
  color: #8a949e;
  font-size: 13px;
}

/* MEET */
.meet-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 42px;
  align-items: center;
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
}

.checklist li {
  position: relative;
  padding-left: 22px;
  margin: 10px 0;
  color: #7b848f;
  font-size: 12.5px;
  line-height: 1.55;
}

.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--green);
  font-weight: 700;
}

.monitor {
  width: min(420px, 100%);
  margin-left: auto;
}

.monitor-screen {
  background: #fff;
  border: 10px solid #1f2228;
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 14px;
}

.monitor-stand {
  width: 80px;
  height: 18px;
  background: #d9dde4;
  margin: 12px auto 0;
  border-radius: 12px;
}

.monitor-base {
  width: 180px;
  height: 18px;
  background: #b7beca;
  margin: 8px auto 0;
  border-radius: 12px;
}

.monitor-svg .chart-bg {
  fill: #f6f8fb;
  stroke: rgba(15, 23, 42, .10);
  stroke-width: 2;
}

.monitor-svg .grid path {
  stroke: #6b7280;
  stroke-width: 1;
  fill: none;
}

.monitor-svg .line {
  fill: none;
  stroke: var(--green);
  stroke-width: 4;
}

.monitor-svg .line2 {
  fill: none;
  stroke: #2f3740;
  stroke-width: 3;
  opacity: .65;
}

.monitor-svg .nodes circle {
  fill: #fff;
  stroke: var(--green);
  stroke-width: 3;
}

.monitor-svg .mini {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  opacity: .8;
}

/* SERVICES */
.services {
  padding: 74px 0 78px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 22px;
}

.card {
  background: var(--card);
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
  padding: 28px 22px;
  min-height: 210px;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.35s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 28px 50px rgba(15, 23, 42, .12);
  border-color: rgba(41, 184, 156, 0.2);
}

.card h3 {
  margin: 14px 0 10px;
  font-size: 13px;
  color: #4f5862;
  font-weight: 600;
}

.card p {
  margin: 0;
  color: #8a949e;
  font-size: 12px;
  line-height: 1.55;
}

.icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--green);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 36px rgba(41, 184, 156, .22);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
    box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .icon {
  transform: scale(1.12) rotate(8deg);
  box-shadow: 0 22px 44px rgba(41, 184, 156, .32);
}

.icon svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  stroke: #fff;
  stroke-width: 1.5;
}

.icon i {
  font-size: 26px;
  color: #fff;
  line-height: 1;
}

/* CONTACT */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 34px;
  align-items: center;
}

.contact-card {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(15, 23, 42, .08);
  padding: 28px 26px;
}

.form {
  display: grid;
  gap: 12px;
  margin-top: 10px;
}

.label {
  display: block;
  font-size: 11px;
  color: #9aa3ad;
  margin: 0 0 6px;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, .12);
  border-radius: 4px;
  padding: 10px 10px;
  font-family: inherit;
  font-size: 12px;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: rgba(41, 184, 156, .65);
  box-shadow: 0 0 0 4px rgba(41, 184, 156, .12);
}

/* Form validation states */
input:invalid:not(:placeholder-shown),
textarea:invalid:not(:placeholder-shown) {
  border-color: #ef4444;
}

input:valid:not(:placeholder-shown),
textarea:valid:not(:placeholder-shown) {
  border-color: var(--green);
}

/* Form message */
.form-message {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 13px;
  margin-top: 8px;
  display: none;
}

.form-message.show {
  display: block;
  animation: fadeInUp 0.3s ease;
}

.form-message.success {
  background: rgba(41, 184, 156, 0.12);
  color: var(--green);
  border: 1px solid rgba(41, 184, 156, 0.3);
}

.form-message.error {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Button loading state */
.btn-spinner {
  display: none;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-spinner {
  display: inline-block;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.people-svg {
  width: min(520px, 100%);
  height: auto;
}

.people-svg .shadow {
  fill: none;
  stroke: rgba(15, 23, 42, .08);
  stroke-width: 24;
  stroke-linecap: round;
}

.people-svg .person circle {
  fill: #ef5b5b;
}

.people-svg .person path {
  fill: none;
  stroke: #ef5b5b;
  stroke-width: 26;
  stroke-linecap: round;
}

.people-svg .person rect {
  fill: #ef5b5b;
  opacity: .85;
}

.people-svg .person2 circle {
  fill: #3b82f6;
}

.people-svg .person2 path {
  fill: none;
  stroke: #3b82f6;
  stroke-width: 24;
  stroke-linecap: round;
}

.people-svg .person2 rect {
  fill: #3b82f6;
  opacity: .86;
}

.people-svg .person3 circle {
  fill: #60a5fa;
}

.people-svg .person3 path {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 26;
  stroke-linecap: round;
}

.people-svg .person3 rect {
  fill: #60a5fa;
  opacity: .86;
}

.people-svg .bubble {
  fill: #2563eb;
  opacity: .95;
}

.people-svg .bubble2 {
  fill: var(--green);
  opacity: .95;
}

.people-svg .bubble3 {
  fill: #ef4444;
  opacity: .95;
}

/* FOOTER */
.footer {
  padding: 24px 0;
  color: #98a1ab;
  font-size: 11px;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 980px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .monitor {
    margin: 0;
  }

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

@media (max-width: 720px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 58px;
    right: 14px;
    left: 14px;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, .08);
    border-radius: 14px;
    box-shadow: 0 16px 44px rgba(15, 23, 42, .10);
    padding: 12px;
    flex-direction: column;
    gap: 10px;
  }

  .hero {
    padding: 64px 0 56px;
  }

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

  .hero-title {
    font-size: 18px;
  }

  .section-title {
    font-size: 30px;
  }

  .banner {
    height: 150px;
  }

  .banner-2 {
    height: 220px;
  }

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

  /* Mobile touch-friendly improvements */
  .btn {
    min-height: 44px;
    padding: 12px 20px;
  }

  .nav-link {
    padding: 10px 14px;
  }

  /* Disable hover transforms on mobile - they cause layout issues */
  .card:hover {
    transform: none;
  }

  .card:hover .icon {
    transform: none;
  }

  /* Faster animations on mobile */
  [data-animate] {
    transition-duration: 0.4s;
  }

  /* Prevent iOS zoom on input focus */
  input,
  textarea {
    font-size: 16px;
    padding: 12px;
  }
}

/* Disable hover effects on touch devices */
@media (hover: none) {
  .card:hover {
    transform: none;
    box-shadow: 0 16px 40px rgba(15, 23, 42, .07);
  }

  .card:hover .icon {
    transform: none;
    box-shadow: 0 18px 36px rgba(41, 184, 156, .22);
  }

  .btn:hover {
    transform: none;
  }

  .btn::before {
    display: none;
  }

  .nav-link::after {
    display: none;
  }
}

/* Respect user preference for reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1 !important;
    transform: none !important;
  }

  .cloud-bg::before,
  .cloud-bg::after {
    animation: none;
  }
}