/* AIELTS V1 — EduZMS design tokens */
/* Skip link + nav-link defined in system.css. */

/* Focus styles — visible and contrast-safe */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid rgb(59 130 246);
  outline-offset: 2px;
}

html, body { background-color: #0f172a; color: #e2e8f0; }
body { min-height: 100vh; }

.blueprint-grid {
  background-image:
    linear-gradient(to right, rgba(30, 41, 59, 0.4) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(30, 41, 59, 0.4) 1px, transparent 1px);
  background-size: 40px 40px;
}

.container { max-width: 1280px; }
.section-spacing { padding-top: 4rem; padding-bottom: 4rem; }

.card-shell {
  border-radius: 0.75rem;
  border: 1px solid rgb(30 41 59);
  background: rgba(15, 23, 42, 0.6);
}

.card-accent { height: 4px; background: rgb(59 130 246); border-radius: 0.75rem 0.75rem 0 0; }
.card-accent--blue { background: rgb(59 130 246); }
.card-accent--green { background: rgb(34 197 94); }
.card-accent--amber { background: rgb(245 158 11); }

.btn-primary {
  background: rgb(37 99 235);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
}
.btn-primary:hover { background: rgb(29 78 216); }

.btn-secondary {
  border: 1px solid rgb(71 85 105);
  color: rgb(203 213 225);
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 500;
}
.btn-secondary:hover { border-color: rgb(100 116 139); color: white; }

/* .nav-link from system.css; active uses .nav-link.active */
.nav-link.active { color: #ffffff; border-bottom: 2px solid #3b82f6; }

/* Form */
input, textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid rgb(51 65 85);
  border-radius: 0.5rem;
  background: rgb(15 23 42);
  color: #e2e8f0;
}
input:focus, textarea:focus { outline: none; border-color: rgb(59 130 246); }
label { display: block; margin-bottom: 0.25rem; color: rgb(148 163 184); font-size: 0.875rem; }

/* Ensure buttons get focus ring (Tailwind may reset) */
.btn-primary:focus-visible,
.btn-secondary:focus-visible { outline: 2px solid rgb(59 130 246); outline-offset: 2px; }

/* Icon alignment in headings */
.icon-wrap { display: inline-flex; align-items: center; }
.icon-wrap svg { flex-shrink: 0; }

/* Swiper carousel visibility */
.swiper {
  width: 100%;
}
.swiper-wrapper {
  align-items: center;
}
.swiper-slide img {
  width: 100%;
  max-width: 360px;      /* controls phone width */
  height: auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.swiper-slide-active {
  opacity: 1;
}

.swiper-slide-active img {
  transform: scale(1.08);
}

/* Hero app logo */
.hero-logo {
  margin-bottom: 0;
}
.hero-app-logo {
  width: 200px;
  max-width: 60%;
  height: auto;
}
