/* ===== RESET & BASE ===== */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600&family=Inter:wght@300;400;500;600;700;800;900&display=swap');

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

:root {
  --kxt-dark: #08080f;
  --kxt-dark-alt: #0a0a14;
  --kxt-gold: #ffcc00;
  --kxt-gold-light: #ff8800;
  --kxt-magenta: #ff2d55;
  --kxt-purple: #cc00ff;
  --kxt-purple-light: #cc88ff;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--kxt-dark);
  color: #fff;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===== GRADIENTS ===== */
.text-gradient-gold {
  background: linear-gradient(135deg, var(--kxt-gold), var(--kxt-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-magenta {
  background: linear-gradient(90deg, var(--kxt-magenta), var(--kxt-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.text-gradient-full {
  background: linear-gradient(90deg, var(--kxt-gold), var(--kxt-magenta), var(--kxt-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===== ANIMATIONS ===== */
@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}
@keyframes bounce {
  0%, 100% { transform: translateY(0) rotate(45deg); }
  50% { transform: translateY(6px) rotate(45deg); }
}
@keyframes typewriterCursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 1.5rem;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: rgba(8,8,15,0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding: 0.75rem 1.5rem;
}
.navbar-inner {
  max-width: 80rem;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-logo {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.navbar-logo .logo-kxt {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}
.navbar-logo .logo-digital {
  font-size: 2.1rem;
  color: #fff;
  font-family: 'Fira Code', monospace;
  font-weight: 400;
}
.navbar-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.navbar-links a {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  transition: color 0.3s, text-shadow 0.3s;
  position: relative;
}
.navbar-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--kxt-gold);
  box-shadow: 0 0 6px rgba(255,204,0,0.4);
  transition: width 0.3s ease;
}
.navbar-links a:hover::after, .navbar-links a.active::after { width: 100%; }
.navbar-links a.btn-get-started::after { display: none; }
.navbar-links a:hover { color: var(--kxt-gold); text-shadow: 0 0 8px rgba(255,204,0,0.6), 0 0 20px rgba(255,204,0,0.3); }
.navbar-links a.active { color: var(--kxt-gold); text-shadow: 0 0 8px rgba(255,204,0,0.6), 0 0 20px rgba(255,204,0,0.3); }
.navbar-links a.btn-get-started {
  padding: 0.6rem 1.5rem;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, var(--kxt-gold), var(--kxt-gold-light));
  color: var(--kxt-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}
.navbar-links a.btn-get-started:hover {
  color: var(--kxt-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,204,0,0.3);
}

/* Mobile menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,0.7);
  transition: all 0.3s;
}
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(8,8,15,0.98);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
  transition: color 0.3s;
}
.mobile-menu a:hover { color: var(--kxt-gold); }
.mobile-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 2rem;
  cursor: pointer;
}

/* Language toggle */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.6rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 0.25rem;
  cursor: pointer;
  transition: border-color 0.3s;
}
.lang-toggle:hover { border-color: rgba(255,204,0,0.3); }
.lang-toggle img {
  width: 18px;
  height: 12px;
  border-radius: 1px;
}
.lang-toggle span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
}

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

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url('../images/hero-bg.jpg') center center / cover no-repeat;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(45deg, rgba(10,10,20,0.7) 0%, rgba(26,10,46,0.6) 15%, rgba(32,10,26,0.6) 30%, rgba(10,10,20,0.7) 50%, rgba(10,16,32,0.6) 65%, rgba(26,10,46,0.6) 80%, rgba(21,10,32,0.7) 100%);
  background-size: 600% 600%;
  animation: gradientMove 15s ease infinite;
}
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255,255,255,0.006) 2px, rgba(255,255,255,0.006) 4px);
}
.hero-streak {
  position: absolute;
  height: 1px;
  width: 200%;
  left: -100%;
  z-index: 3;
  pointer-events: none;
}
.hero-streak-1 {
  top: 38%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,204,0,0.12) 25%, rgba(255,45,85,0.18) 50%, rgba(204,0,255,0.12) 75%, transparent 100%);
  animation: shimmer 8s linear infinite;
}
.hero-streak-2 {
  top: 62%;
  background: linear-gradient(90deg, transparent 0%, rgba(204,0,255,0.08) 30%, rgba(255,204,0,0.1) 60%, transparent 100%);
  animation: shimmer 12s linear infinite 3s;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 4;
  background: radial-gradient(ellipse at 50% 40%, rgba(8,8,15,0.35) 0%, rgba(8,8,15,0.65) 100%);
}
.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  width: 100%;
  height: 100%;
}
.hero-content {
  position: relative;
  z-index: 20;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 1.5rem 4rem;
  animation: fadeInUp 0.8s ease 0.3s both;
}
.hero-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  margin-bottom: 1.75rem;
  border: 1px solid rgba(255,204,0,0.15);
  border-radius: 9999px;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--kxt-gold);
  background: linear-gradient(90deg, rgba(255,204,0,0.08), rgba(255,45,85,0.08));
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin-bottom: 0.5rem;
}
.hero-typewriter {
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 300;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
  min-height: 2em;
}
.hero-typewriter .typed-word {
  font-weight: 600;
  background: linear-gradient(90deg, var(--kxt-gold), var(--kxt-magenta), var(--kxt-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-typewriter .cursor {
  display: inline-block;
  width: 2px;
  height: 1.2em;
  background: var(--kxt-gold);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: typewriterCursor 1s ease infinite;
}
.hero-subtext {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.35);
  max-width: 32rem;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  opacity: 0.3;
}
.hero-scroll span {
  font-size: 8px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.hero-scroll-arrow {
  width: 16px;
  height: 16px;
  border-right: 1px solid rgba(255,204,0,0.4);
  border-bottom: 1px solid rgba(255,204,0,0.4);
  animation: bounce 2s ease infinite;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.25rem;
  background: linear-gradient(135deg, var(--kxt-gold), var(--kxt-gold-light));
  color: var(--kxt-dark);
  box-shadow: 0 4px 28px rgba(255,204,0,0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 36px rgba(255,204,0,0.4);
}
.btn-secondary {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 0.25rem;
  border: 1px solid rgba(204,0,255,0.3);
  color: var(--kxt-purple-light);
  background: transparent;
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover {
  background: rgba(204,0,255,0.1);
  border-color: rgba(204,0,255,0.5);
}

/* ===== SECTION HEADER ===== */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header h2 {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}
.section-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
}

/* ===== WHO WE SERVE ===== */
.who-we-serve {
  padding: 4rem 0;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: var(--kxt-dark-alt);
  position: relative;
  overflow: hidden;
}
.who-we-serve::before {
  content: '';
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,204,0,0.12) 0%, transparent 70%);
  pointer-events: none;
}
.who-we-serve h3 {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2.5rem;
}
.who-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.who-card {
  text-align: center;
}
.who-card-img {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 0.5rem;
  overflow: hidden;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.who-card:hover .who-card-img { border-color: rgba(255,204,0,0.2); }
.who-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.who-card:hover .who-card-img img { transform: scale(1.05); }
.who-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,15,0.8), transparent);
}
.who-card span {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.who-card:hover span { color: var(--kxt-gold); }

@media (max-width: 768px) {
  .who-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SERVICES ===== */
.services {
  padding: 6rem 0;
  background: var(--kxt-dark);
  position: relative;
  overflow: hidden;
}
.services::before {
  content: '';
  position: absolute;
  top: 30%;
  right: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(204,0,255,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.services-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.service-card {
  border-radius: 0.75rem;
  border: 1px solid rgba(255,255,255,0.05);
  background: rgba(255,255,255,0.02);
  overflow: hidden;
  transition: all 0.3s;
}
.service-card:hover {
  border-color: rgba(255,204,0,0.15);
  transform: translateY(-2px);
}
.service-card-img {
  width: 100%;
  aspect-ratio: 3/2;
  overflow: hidden;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }
.service-card-body {
  padding: 1rem;
}
.service-card-body h3 {
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.service-card-body p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}
.service-card-price {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--kxt-gold);
}

@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ===== PORTFOLIO ===== */
.portfolio {
  padding: 6rem 0;
  background: var(--kxt-dark-alt);
  position: relative;
  overflow: hidden;
}
.portfolio::before {
  content: '';
  position: absolute;
  top: 20%;
  left: -10%;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(255,204,0,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.portfolio-grid {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.portfolio-card { cursor: default; }
.portfolio-browser {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
  transition: border-color 0.3s;
}
.portfolio-card:hover .portfolio-browser { border-color: rgba(255,204,0,0.15); }
.portfolio-browser-bar {
  background: rgba(255,255,255,0.03);
  padding: 0.625rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.portfolio-dots {
  display: flex;
  gap: 0.375rem;
}
.portfolio-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.portfolio-dots span:nth-child(1) { background: rgba(255,45,85,0.4); }
.portfolio-dots span:nth-child(2) { background: rgba(255,204,0,0.4); }
.portfolio-dots span:nth-child(3) { background: rgba(74,222,128,0.4); }
.portfolio-url {
  flex: 1;
  margin: 0 1rem;
  background: rgba(255,255,255,0.05);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 9px;
  color: rgba(255,255,255,0.2);
  text-align: center;
}
.portfolio-img {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}
.portfolio-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s;
}
.portfolio-card:hover .portfolio-img img { transform: scale(1.05); }
.portfolio-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,15,0.6), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.portfolio-card:hover .portfolio-img-overlay { opacity: 1; }
.portfolio-info { margin-top: 1rem; }
.portfolio-info h3 {
  font-size: 0.875rem;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s;
}
.portfolio-card:hover .portfolio-info h3 { color: var(--kxt-gold); }
.portfolio-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-top: 0.25rem;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .portfolio-grid { grid-template-columns: 1fr; }
}

/* ===== ABOUT ===== */
.about {
  padding: 6rem 0;
  background: var(--kxt-dark);
  position: relative;
  overflow: hidden;
}
.about::before {
  content: '';
  position: absolute;
  top: 40%;
  right: -5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255,45,85,0.10) 0%, transparent 70%);
  pointer-events: none;
}
.about-inner {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.about-founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-bottom: 5rem;
}
.founder-card {
  border-radius: 0.75rem;
  padding: 2rem;
}
.founder-card.gold {
  border: 1px solid rgba(255,204,0,0.2);
  background: rgba(255,204,0,0.03);
}
.founder-card.magenta {
  border: 1px solid rgba(255,45,85,0.2);
  background: rgba(255,45,85,0.03);
}
.founder-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.founder-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.1);
}
.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-name {
  font-size: 1.25rem;
  font-weight: 700;
}
.founder-role {
  font-size: 0.875rem;
}
.founder-role.gold { color: var(--kxt-gold); }
.founder-role.magenta { color: var(--kxt-magenta); }
.founder-bio {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
}
.about-story {
  text-align: center;
  max-width: 48rem;
  margin: 0 auto;
}
.about-story-divider {
  width: 1px;
  height: 4rem;
  background: linear-gradient(to bottom, var(--kxt-gold), var(--kxt-purple));
  margin: 0 auto 1rem;
}
.about-story h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}
.about-story-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.about-mission {
  border-radius: 0.75rem;
  border: 1px solid rgba(255,204,0,0.1);
  background: rgba(255,204,0,0.02);
  padding: 2rem;
}
.about-mission p {
  font-size: 1.125rem;
  font-weight: 600;
  color: rgba(255,255,255,0.8);
  font-style: italic;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .about-founders { grid-template-columns: 1fr; }
}

/* ===== CONTACT ===== */
.contact {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
}
.contact-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.1;
}
.contact-bg-overlay {
  position: absolute;
  inset: 0;
  background: rgba(8,8,15,0.9);
}
.contact-inner {
  position: relative;
  z-index: 10;
  max-width: 72rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-family: 'Inter', sans-serif;
  color: #fff;
  outline: none;
  transition: border-color 0.3s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.25); }
.contact-form input:focus,
.contact-form textarea:focus { border-color: rgba(255,204,0,0.3); }
.contact-form textarea { resize: none; }
.contact-form .h-captcha { margin-bottom: 0.25rem; }
.contact-form .btn-primary { width: 100%; text-align: center; }
.form-result {
  font-size: 0.875rem;
  text-align: center;
  padding: 0.5rem 0;
  border-radius: 0.25rem;
}
.form-result.success { color: #4ade80; }
.form-result.error { color: var(--kxt-magenta); }

.contact-direct { display: flex; flex-direction: column; justify-content: center; }
.contact-direct h3 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 2rem;
}
.contact-methods { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.contact-method-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  transition: background 0.3s;
  flex-shrink: 0;
}
.contact-method-icon.gold {
  background: rgba(255,204,0,0.1);
  border: 1px solid rgba(255,204,0,0.15);
}
.contact-method:hover .contact-method-icon.gold { background: rgba(255,204,0,0.2); }
.contact-method-icon.green {
  background: rgba(74,222,128,0.1);
  border: 1px solid rgba(74,222,128,0.15);
}
.contact-method:hover .contact-method-icon.green { background: rgba(74,222,128,0.2); }
.contact-method-icon.magenta {
  background: rgba(255,45,85,0.1);
  border: 1px solid rgba(255,45,85,0.15);
}
.contact-method:hover .contact-method-icon.magenta { background: rgba(255,45,85,0.2); }
.contact-method-icon.purple {
  background: rgba(204,0,255,0.1);
  border: 1px solid rgba(204,0,255,0.15);
}
.contact-method-label {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.125rem;
}
.contact-method-value {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  transition: color 0.3s;
}
.contact-method:hover .contact-method-value.gold-hover { color: var(--kxt-gold); }
.contact-method:hover .contact-method-value.green-hover { color: #4ade80; }
.contact-method:hover .contact-method-value.magenta-hover { color: var(--kxt-magenta); }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; }
}

/* ===== FOOTER ===== */
.footer {
  background: var(--kxt-dark);
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-inner {
  max-width: 80rem;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
}
.footer-logo {
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
  margin-bottom: 1rem;
}
.footer-logo .logo-kxt {
  font-size: 2rem;
  font-weight: 900;
}
.footer-logo .logo-digital {
  font-size: 2rem;
  color: #fff;
  font-family: 'Fira Code', monospace;
  font-weight: 400;
}
.footer-tagline {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.6;
  max-width: 24rem;
}
.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-col a,
.footer-col span {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
  margin-bottom: 0.5rem;
  transition: color 0.3s;
}
.footer-col a:hover { color: var(--kxt-gold); }
.footer-bottom {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  text-align: center;
}
.footer-bottom p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.2);
}

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== PAGE HEADER (for inner pages) ===== */
.page-header {
  padding: 8rem 1.5rem 4rem;
  text-align: center;
  background: var(--kxt-dark);
}
.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.page-header p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.3);
}

/* ===== MOBILE RESPONSIVE ===== */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .hero-content {
    padding: 5rem 1.5rem 3rem;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Hero */
  .hero {
    min-height: 100svh;
  }
  .hero-content {
    padding: 5rem 1.25rem 3rem;
  }
  .hero-badge {
    font-size: 8px;
    letter-spacing: 2px;
    padding: 0.3rem 0.75rem;
  }
  .hero h1 {
    font-size: clamp(1.5rem, 7vw, 2.5rem);
  }
  .hero-typewriter {
    font-size: clamp(0.875rem, 3.5vw, 1.25rem);
  }
  .hero-subtext {
    font-size: 0.8rem;
    padding: 0 0.5rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
  .hero-ctas .btn-primary,
  .hero-ctas .btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  .hero-scroll {
    bottom: 1rem;
  }

  /* Section headers */
  .section-header {
    margin-bottom: 2rem;
  }
  .section-header h2 {
    font-size: clamp(1.25rem, 5vw, 1.75rem);
  }

  /* Who We Serve */
  .who-we-serve {
    padding: 3rem 0;
  }
  .who-we-serve h3 {
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .who-grid {
    gap: 1rem;
    padding: 0 1rem;
  }

  /* Services */
  .services {
    padding: 4rem 0;
  }
  .services-grid {
    padding: 0 1rem;
    gap: 1rem;
  }

  /* Portfolio */
  .portfolio {
    padding: 4rem 0;
  }
  .portfolio-grid {
    padding: 0 1rem;
    gap: 1.5rem;
  }

  /* About */
  .about {
    padding: 4rem 0;
  }
  .about-inner {
    padding: 0 1rem;
  }
  .founder-card {
    padding: 1.5rem;
  }
  .founder-header {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  .founder-avatar {
    width: 4rem;
    height: 4rem;
  }
  .founder-name {
    font-size: 1.1rem;
  }
  .founder-bio {
    font-size: 0.8rem;
    text-align: center;
  }
  .about-story h3 {
    font-size: 1rem;
  }
  .about-story-text {
    font-size: 0.8rem;
  }
  .about-mission {
    padding: 1.5rem;
  }
  .about-mission p {
    font-size: 1rem;
  }

  /* Contact */
  .contact {
    padding: 4rem 0;
  }
  .contact-inner {
    padding: 0 1rem;
  }
  .contact-grid {
    gap: 2.5rem;
  }
  .contact-form input,
  .contact-form textarea {
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
  .contact-direct h3 {
    font-size: 0.65rem;
    margin-bottom: 1.5rem;
  }
  .contact-method-icon {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1rem;
  }
  .contact-method-value {
    font-size: 0.8rem;
  }

  /* Footer */
  .footer-inner {
    padding: 3rem 1rem;
  }
  .footer-grid {
    gap: 2rem;
  }
  .footer-logo .logo-kxt,
  .footer-logo .logo-digital {
    font-size: 1.5rem;
  }
  .footer-bottom {
    margin-top: 2rem;
    padding-top: 1.5rem;
  }

  /* Mobile menu improvements */
  .mobile-menu {
    gap: 1.5rem;
    padding: 2rem;
  }
  .mobile-menu a {
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-transform: uppercase;
  }
  .mobile-menu .btn-get-started {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
    font-weight: 700;
    border-radius: 0.25rem;
    background: linear-gradient(135deg, var(--kxt-gold), var(--kxt-gold-light));
    color: var(--kxt-dark);
  }
  .mobile-menu .lang-toggle {
    margin-top: 0.5rem;
  }
  .mobile-menu .lang-toggle span {
    font-size: 12px;
    color: rgba(255,255,255,0.5);
  }

  /* Page header */
  .page-header {
    padding: 6rem 1rem 3rem;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(1.25rem, 6.5vw, 2rem);
  }
  .hero-badge {
    font-size: 7px;
    letter-spacing: 1.5px;
  }
  .hero-subtext {
    font-size: 0.75rem;
  }

  .who-grid {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .founder-card {
    padding: 1.25rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
  }

  .about-founders {
    gap: 1.25rem;
    margin-bottom: 3rem;
  }
  .about-story-divider {
    height: 2.5rem;
  }

  .footer-tagline {
    font-size: 0.8rem;
  }
}
