/* ============================================
   Kamikaze Innovations — Stylesheet
   Dark, modern, techy design
   ============================================ */

:root {
  --bg: #0a0e1a;            /* near-black navy */
  --bg-alt: #111729;        /* section contrast */
  --surface: #161d33;       /* cards */
  --surface-hover: #1d2745;
  --text: #e6ebf5;
  --text-muted: #9aa6c4;
  --accent: #5b8cff;        /* electric blue */
  --accent-2: #9b5bff;      /* purple */
  --border: rgba(255, 255, 255, 0.08);
  --max-width: 1100px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.accent {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ===================== NAVBAR ===================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.3px;
}

.logo-mark { font-size: 1.4rem; }

.logo-text { white-space: nowrap; }

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

.nav-links a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: width 0.25s ease;
}

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

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--text);
  transition: 0.3s ease;
}

/* ===================== HERO ===================== */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 120px 0 130px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 400px at 50% 0%, rgba(91, 140, 255, 0.18), transparent 70%),
    radial-gradient(500px 400px at 80% 60%, rgba(155, 91, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.hero-inner { position: relative; z-index: 1; }

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero-tagline {
  max-width: 640px;
  margin: 0 auto 36px;
  color: var(--text-muted);
  font-size: 1.1rem;
}

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: 999px;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.btn-primary {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 8px 30px rgba(91, 140, 255, 0.35);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(155, 91, 255, 0.45);
}

.btn-primary:active { transform: translateY(0); }

.btn-block { width: 100%; }

/* ===================== SECTIONS ===================== */
.section {
  padding: 90px 0;
}

.about,
.contact { background: var(--bg-alt); }

.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 14px;
  text-align: center;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

/* ===================== ABOUT ===================== */
.about-text {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--text-muted);
  text-align: center;
  font-size: 1.05rem;
}

/* ===================== SERVICES ===================== */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  transform: translateY(-8px);
  background: var(--surface-hover);
  border-color: rgba(91, 140, 255, 0.5);
}

.card-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(91, 140, 255, 0.18), rgba(155, 91, 255, 0.18));
  color: var(--accent);
  margin-bottom: 20px;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.card-text { color: var(--text-muted); font-size: 0.98rem; }

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

.contact-info .section-title,
.contact-info .section-sub {
  text-align: left;
}

.contact-details {
  list-style: none;
  margin: 28px 0;
}

.contact-details li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.contact-details a:hover { color: var(--accent); }

.socials { display: flex; gap: 14px; }

.social {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.social:hover {
  transform: translateY(-4px);
  color: var(--accent);
  border-color: rgba(91, 140, 255, 0.5);
}

/* Form */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
}

.field { margin-bottom: 20px; }

.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-size: 0.98rem;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.2);
}

.field textarea { resize: vertical; }

/* ===================== FOOTER ===================== */
.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  background: var(--bg);
}

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

.footer-logo { font-weight: 700; }

.copyright { color: var(--text-muted); font-size: 0.9rem; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(10, 14, 26, 0.97);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-links.open { max-height: 320px; }

  .nav-links a {
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a::after { display: none; }

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

  .contact-info .section-title,
  .contact-info .section-sub { text-align: center; }

  .footer-inner { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  .hero { padding: 90px 0 100px; }
  .section { padding: 64px 0; }
  .contact-form { padding: 24px; }
}
