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

:root {
  --bg:       #080F1E;
  --bg2:      #0D1A2E;
  --card:     #0F1D35;
  --card2:    #142240;
  --blue:     #3B82F6;
  --blue2:    #2563EB;
  --cyan:     #22D3EE;
  --text:     #EFF6FF;
  --muted:    #7FA0C4;
  --dim:      #3D5A7A;
  --border:   rgba(59,130,246,0.12);
  --border2:  rgba(59,130,246,0.25);
  --glow:     rgba(59,130,246,0.15);
  --fd:       'Space Grotesk', sans-serif;
  --fb:       'Inter', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--fb);
  line-height: 1.65;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2.5rem;
  background: rgba(8,15,30,0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.logo {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.logo-icon {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--blue), var(--cyan));
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg { width: 16px; height: 16px; }

.logo em { color: var(--blue); font-style: normal; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
  flex-shrink: 0;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.18s;
}

.nav-links a:hover { color: var(--text); }

.nav-cta {
  background: var(--blue) !important;
  color: white !important;
  padding: 0.5rem 1.25rem;
  border-radius: 7px;
  font-weight: 600 !important;
  transition: background 0.18s, transform 0.18s !important;
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--blue2) !important;
  color: white !important;
  transform: translateY(-1px);
}

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 9rem 2rem 5rem;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(59,130,246,0.13) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 90%, rgba(34,211,238,0.05) 0%, transparent 55%);
}

.hero-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(59,130,246,0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  mask-image: radial-gradient(ellipse 85% 65% at center, black 25%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 85% 65% at center, black 25%, transparent 80%);
}

.badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(34,211,238,0.07);
  border: 1px solid rgba(34,211,238,0.25);
  padding: 0.3rem 0.9rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--cyan);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
}

.badge-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}

@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(0.75); }
}

.hero-testi {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13,26,46,0.96);
  border-top: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 1.25rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.ht-left {
  flex-shrink: 0;
  min-width: 120px;
}

.ht-tagline {
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.35;
  margin: 0 0 0.5rem;
}

.ht-rule {
  width: 32px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

.ht-divider {
  width: 1px;
  height: 48px;
  background: rgba(255,255,255,0.08);
  flex-shrink: 0;
}

.ht-quote {
  flex: 1;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.7;
  margin: 0;
  padding: 0;
}

.ht-quote footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.65rem;
  font-style: normal;
}

.ht-stars {
  color: #FBBF24;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  line-height: 1;
}

.ht-attribution {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ht-sep {
  color: var(--dim);
  font-size: 0.75rem;
}

.ht-name {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text);
}

.ht-role {
  font-size: 0.75rem;
  color: var(--dim);
}

.ht-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border2);
  flex-shrink: 0;
}

.ht-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

@media (max-width: 768px) {
  .hero-testi { display: none; }
}

.hero h1 {
  position: relative;
  font-family: var(--fd);
  font-size: clamp(2.4rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  max-width: 780px;
  margin-bottom: 1.25rem;
}

.grad {
  background: linear-gradient(130deg, #60A5FA 0%, #22D3EE 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  position: relative;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

.hero-btns {
  position: relative;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-p {
  background: var(--blue);
  color: white;
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 22px rgba(59,130,246,0.28);
}

.btn-p:hover {
  background: var(--blue2);
  transform: translateY(-2px);
  box-shadow: 0 4px 28px rgba(59,130,246,0.4);
}

.btn-s {
  background: transparent;
  color: var(--text);
  padding: 0.85rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid var(--border2);
  transition: border-color 0.18s, color 0.18s;
}

.btn-s:hover {
  border-color: var(--blue);
  color: var(--blue);
}

/* ── SHARED SECTION ── */
.section-wrap {
  padding: 5.5rem 2rem;
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.7rem;
}

.section-h {
  font-family: var(--fd);
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}

.section-p {
  color: var(--muted);
  font-size: 0.975rem;
  line-height: 1.75;
  max-width: 500px;
  margin-bottom: 3rem;
}

.hr {
  height: 1px;
  background: rgba(255,255,255,0.04);
  max-width: 1180px;
  margin: 0 auto;
}

/* ── TESTIMONIALS ── */
.t-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 1.25rem;
}

.t-card {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 14px;
  padding: 1.75rem;
  transition: border-color 0.25s, transform 0.25s, background 0.25s;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.t-text {
  flex: 1;
}

.t-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  opacity: 0;
  transition: opacity 0.25s;
}

.t-card:hover {
  border-color: var(--border2);
  background: var(--card2);
  transform: translateY(-3px);
}

.t-card:hover::after { opacity: 1; }

.quote-mark {
  font-family: Georgia, serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--blue);
  opacity: 0.22;
  margin-bottom: 0.25rem;
}

.t-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}

.t-author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--cyan) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-weight: 700;
  font-size: 0.8rem;
  color: white;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.avatar-img {
  display: block;
  position: relative;
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 50%;
  overflow: hidden;
  padding: 0;
}

.avatar-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.a-name {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text);
}

.a-title {
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.15rem;
  line-height: 1.35;
}

/* ── SERVICES ── */
.services-bg {
  background: var(--bg2);
}

.s-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.s-card {
  background: var(--bg);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 1.6rem;
  transition: border-color 0.2s, transform 0.2s;
}

.s-card:hover {
  border-color: var(--border2);
  transform: translateY(-2px);
}

.s-icon {
  width: 42px;
  height: 42px;
  background: var(--glow);
  border: 1px solid var(--border2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  margin-bottom: 1.1rem;
}

.s-title {
  font-family: var(--fd);
  font-weight: 600;
  font-size: 0.975rem;
  margin-bottom: 0.45rem;
}

.s-desc {
  font-size: 0.855rem;
  color: var(--muted);
  line-height: 1.7;
}

/* ── ABOUT ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-top: 2rem;
}

.stat {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 10px;
  padding: 1.1rem 1.25rem;
}

.stat-n {
  font-family: var(--fd);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
}

.stat-l {
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.3rem;
}

.tech-box {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.tech-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at center, rgba(59,130,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-photo {
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border2);
  box-shadow: 0 8px 32px rgba(59,130,246,0.12);
  line-height: 0;
  aspect-ratio: 1;
  max-width: 300px;
  margin: 0 auto;
}

.about-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.tech-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 1.25rem;
  text-align: center;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  justify-content: center;
  position: relative;
}

.tag {
  background: rgba(59,130,246,0.09);
  border: 1px solid rgba(59,130,246,0.18);
  padding: 0.35rem 0.85rem;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--cyan);
  letter-spacing: 0.02em;
}

/* ── CONTACT ── */
.contact-bg { background: var(--bg2); }

.contact-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.contact-form {
  margin-top: 2.5rem;
  text-align: left;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.fg {
  margin-bottom: 1.15rem;
}

.fg label {
  display: block;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 0.45rem;
  letter-spacing: 0.02em;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  color: var(--text);
  font-family: var(--fb);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.18s;
  -webkit-appearance: none;
}

.fg input::placeholder,
.fg textarea::placeholder { color: var(--dim); }

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--blue);
}

.fg select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237FA0C4' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.fg select option { background: #0D1A2E; }

.fg textarea {
  resize: vertical;
  min-height: 120px;
}

.rc-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 1.15rem;
}

.field-error {
  display: block;
  color: #f87171;
  font-size: 0.78rem;
  margin-top: 0.35rem;
  min-height: 1.1rem;
}

.fg.has-error input,
.fg.has-error select,
.fg.has-error textarea {
  border-color: #f87171 !important;
  outline: none;
}

.btn-submit {
  width: 100%;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 0.9rem;
  font-family: var(--fb);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.18s, transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 0 20px rgba(59,130,246,0.22);
  letter-spacing: 0.01em;
}

.btn-submit:hover {
  background: var(--blue2);
  transform: translateY(-1px);
  box-shadow: 0 4px 24px rgba(59,130,246,0.38);
}

.btn-submit:disabled {
  background: var(--dim);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
  opacity: 0.7;
}

.form-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--dim);
  margin-top: 0.75rem;
}

.success-msg {
  display: none;
  text-align: center;
  padding: 2rem;
  background: rgba(34,211,238,0.05);
  border: 1px solid rgba(34,211,238,0.18);
  border-radius: 12px;
  margin-top: 1.5rem;
}

.success-msg h3 {
  font-family: var(--fd);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--cyan);
  margin-bottom: 0.4rem;
}

.success-msg p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ── FOOTER ── */
footer {
  padding: 1.75rem 2rem;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.04);
  font-size: 0.8rem;
  color: var(--dim);
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }

/* ── MOBILE ── */
@media (max-width: 768px) {
  nav { padding: 1rem 1.25rem; }
  .logo { font-size: 0.9rem; }
  .nav-links li:not(:last-child) { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .t-grid { grid-template-columns: 1fr; }
  .section-wrap { padding: 4rem 1.25rem; }
}

@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns a { text-align: center; }
}

/* 430px — iPhone 14 Plus / Pro Max */
@media (max-width: 430px) {
  nav { padding: 0.875rem 1rem; }
  .logo { font-size: 0.82rem; }
  .nav-cta { padding: 0.45rem 0.9rem; font-size: 0.82rem !important; }
}

/* 390px — iPhone 14 / 14 Pro */
@media (max-width: 390px) {
  nav { padding: 0.875rem 0.875rem; }
  .logo { font-size: 0.78rem; }
  .nav-cta { padding: 0.4rem 0.8rem; font-size: 0.78rem !important; }
}

/* 360px and below — Galaxy A series / small Android */
@media (max-width: 360px) {
  nav { padding: 0.75rem 0.875rem; }
  .logo { font-size: 0.72rem; }
  .logo-icon { width: 24px; height: 24px; }
  .nav-cta { padding: 0.35rem 0.7rem; font-size: 0.75rem !important; }
}
