:root {
  --dark: #0A0C10;
  --blue1: #1A73E8;
  --blue2: #0A43A8;
  --light: #E6F0FF;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: white;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* Header */
.header {
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 10px 0;
}

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

.nav > div {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.15s ease;
}

.nav a:hover {
  opacity: 0.9;
}

/* Logo sizing (matches HTML: <img class="logo">) */
.logo {
  height: 72px;   /* desktop */
  width: auto;
  display: block;
}

/* Hero */
.hero {
  min-height: 90vh;
  height: auto;
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue2), var(--dark));
  display: flex;
  align-items: center;
  text-align: center;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.hero-content p {
  margin-bottom: 30px;
  color: var(--light);
}

/* Sections */
.section {
  padding: 80px 0;
}

.alt {
  background: linear-gradient(180deg, rgba(26,115,232,0.1), transparent);
}

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 22px;
  background: linear-gradient(90deg, var(--blue1), var(--blue2));
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.btn-large {
  padding: 16px 30px;
  font-size: 1.1rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form input,
.form textarea {
  font-family: inherit;
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
}

.form textarea {
  line-height: 1.4;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  color: #9aa3ad;
  opacity: 1;
}

.form input:focus,
.form textarea:focus {
  border-color: rgba(26,115,232,0.65);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.18);
  outline: none;
}

/* Honeypot (off-screen, not display:none) */
.hp {
  position: absolute;
  left: -5000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Footer */
.footer {
  padding: 20px 0;
  text-align: center;
  background: #05070A;
}

/* Focus visibility (keyboard users) */
.btn:focus-visible,
.nav a:focus-visible,
.form input:focus-visible,
.form textarea:focus-visible {
  outline: 2px solid rgba(26,115,232,0.9);
  outline-offset: 3px;
}

/* Mobile */
@media (max-width: 768px) {
  .logo { height: 44px; }

  .header { padding: 8px 0; }

  .hero {
    min-height: 75vh;
    padding: 70px 0;
  }

  .hero-content h1 { font-size: 2.2rem; }

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

  .btn { padding: 10px 16px; }
}

/* Extra small phones */
@media (max-width: 420px) {
  .nav > div { gap: 12px; }
  .nav a { font-size: 0.9rem; }
}

/* Subtle motion (scroll reveal) */
.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 500ms ease, transform 500ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal[data-reveal="fade"] { transform: none; }
.reveal[data-reveal="fade"].is-visible { transform: none; }

.reveal[data-reveal="slide-up"] { transform: translateY(14px); }
.reveal[data-reveal="slide-up"].is-visible { transform: translateY(0); }

.reveal[data-reveal-delay="1"] { transition-delay: 80ms; }
.reveal[data-reveal-delay="2"] { transition-delay: 140ms; }
.reveal[data-reveal-delay="3"] { transition-delay: 200ms; }
.reveal[data-reveal-delay="4"] { transition-delay: 260ms; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
  .btn { transition: none !important; }
}


/* Prevent anchor targets from being hidden behind sticky header */
:root {
  scroll-padding-top: 90px;
}

section {
  scroll-margin-top: 90px;
}

@media (max-width: 768px) {
  :root { scroll-padding-top: 70px; }
  section { scroll-margin-top: 70px; }
}
