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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #0d0d0d;
  color: #e0e0e0;
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 13, 13, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid #1e1e1e;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.logo {
  text-decoration: none;
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  color: #a0a0a0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #ffffff;
}

.hero {
  padding: 160px 0 100px;
  text-align: center;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -1.5px;
}

.hero p {
  font-size: 20px;
  color: #909090;
  max-width: 640px;
  margin: 0 auto 36px;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}

.btn-primary {
  background: #3177cc;
  color: #ffffff;
}

.btn-primary:hover {
  background: #2a69b8;
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: #3177cc;
  border: 1.5px solid #3177cc;
}

.btn-outline:hover {
  background: rgba(49, 119, 204, 0.1);
}

section {
  padding: 100px 0;
}

section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

.services {
  background: #111111;
}

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

.service-card {
  background: #1a1a1a;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 36px 28px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: #22d4cb;
}

.service-icon {
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 15px;
  color: #909090;
  line-height: 1.7;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 700px;
  margin: 0 auto;
}

.app-card {
  background: #1a1a1a;
  border: 1px solid #262626;
  border-radius: 12px;
  padding: 36px;
  text-align: center;
}

.app-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.app-card p {
  font-size: 15px;
  color: #909090;
  margin-bottom: 24px;
  line-height: 1.7;
}

.app-card-coming {
  position: relative;
}

.badge {
  display: inline-block;
  background: rgba(34, 212, 203, 0.15);
  color: #22d4cb;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 20px;
}

.contact {
  background: #111111;
  text-align: center;
}

.contact p {
  font-size: 18px;
  color: #909090;
  margin-bottom: 32px;
}

.site-footer {
  border-top: 1px solid #1e1e1e;
  padding: 32px 0;
  text-align: center;
}

.site-footer p {
  font-size: 14px;
  color: #606060;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 17px;
  }

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

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

  section h2 {
    font-size: 28px;
  }

  .nav-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 120px 0 60px;
  }

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

  section {
    padding: 60px 0;
  }
}


/* ── Hamburger menu (mobile) ──────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1000;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate to X when active */
.hamburger.active span:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #1a1a2e;
    padding: 1rem;
    gap: 0.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

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

  .site-header .container {
    position: relative;
  }
}


/* ── Brand accent enhancements ────────────────────────── */

/* Section header teal underline */
section h2 {
  position: relative;
  padding-bottom: 16px;
}
section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, #3177cc, #22d4cb);
  border-radius: 2px;
}

/* Nav link hover → teal */
.nav-links a:hover {
  color: #22d4cb;
}

/* Service card top accent border on hover */
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0;
  background: linear-gradient(90deg, #3177cc, #22d4cb);
  transition: height 0.2s ease;
}
.service-card:hover::before {
  height: 3px;
}

/* Service icon rest color */
.service-icon svg {
  transition: transform 0.2s ease;
}
.service-card:hover .service-icon svg {
  transform: scale(1.05);
}

/* Hero heading subtle accent glow */
.hero h1 {
  position: relative;
  display: inline-block;
}
.hero h1::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3177cc, #22d4cb, transparent);
  border-radius: 2px;
  opacity: 0.5;
}

/* App card hover border teal */
.app-card:hover {
  border-color: #22d4cb;
}

/* Footer brand accent */
.site-footer {
  border-top: 1px solid #1e1e1e;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #22d4cb;
  border-radius: 1px;
  opacity: 0.6;
}

/* Contact section email button teal+blue gradient */
.contact .btn-primary {
  background: linear-gradient(135deg, #3177cc, #22d4cb);
  background-size: 150% 150%;
  transition: all 0.3s ease;
}
.contact .btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34, 212, 203, 0.3);
}

/* Subtle teal scrollbar track for webkit */
::-webkit-scrollbar-thumb {
  background: #3177cc;
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: #1a1a1a;
}

/* ── Contact Form ── */
.contact-wrapper {
  max-width: 540px;
  margin: 0 auto;
  text-align: left;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form input,
.contact-form textarea {
  font-family: Inter, -apple-system, sans-serif;
  font-size: 15px;
  padding: 14px 18px;
  border: 1px solid #2a2a2a;
  border-radius: 10px;
  background: #1a1a1a;
  color: #e0e0e0;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #606060;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #3177cc;
  box-shadow: 0 0 0 3px rgba(49, 119, 204, 0.15);
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
}

.contact-form .btn {
  align-self: flex-start;
}

.contact-form .btn-primary {
  background: linear-gradient(135deg, #3177cc, #22d4cb);
  background-size: 150% 150%;
  transition: all 0.3s ease;
  border: none;
}

.contact-form .btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(34, 212, 203, 0.3);
}

/* Sent confirmation */
.sent-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.sent-msg h3 {
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 12px;
}

.sent-msg p {
  font-size: 16px;
  color: #909090;
}

.sent-msg:target {
  display: block;
}

.sent-msg:target + .contact-form {
  display: none;
}

/* Honeypot — invisible to users, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
