:root {
  --bg: #050608;
  --bg-alt: #101218;
  --surface: #151824;
  --card-bg: #171a26;

  --accent: #7ED957; /* tennis-ball green */
  --accent-soft: rgba(126, 217, 87, 0.16);

  --text-main: #ffffff;
  --text-muted: #a7aec4;

  --border-subtle: #262a3a;

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 999px;

  --shadow-soft: 0 18px 45px rgba(0, 0, 0, 0.55);
  --shadow-card: 0 14px 32px rgba(0, 0, 0, 0.5);
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #151824 0, #050608 55%);
  color: var(--text-main);
  scroll-behavior: smooth;
}

/* Layout */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.02));
}

.section-header h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.section-header p {
  color: var(--text-muted);
  max-width: 640px;
}

.section-header.center {
  text-align: center;
  margin: 0 auto 2.5rem;
}

.section-header.center p {
  margin: 0.5rem auto 0;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.75rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(16px);
  background: linear-gradient(to bottom, rgba(5, 6, 8, 0.96), rgba(5, 6, 8, 0.9));
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.brand-logo {
  height: 44px;
  width: auto;
  display: block;
}

.nav {
  display: flex;
  gap: 1.5rem;
  font-size: 0.9rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  position: relative;
  padding-bottom: 0.15rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.2s ease-out;
}

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

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

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

/* Hero */

.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1.1fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.75rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.hero-text h1 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 2.6rem;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.hero-body {
  color: var(--text-muted);
  max-width: 640px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.75rem 0 0.75rem;
}

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

.hero-panel {
  display: flex;
  justify-content: flex-end;
}

.hero-card {
  background: radial-gradient(circle at top left, rgba(126, 217, 87, 0.2), rgba(5, 6, 8, 0.98));
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.6rem;
  border: 1px solid rgba(126, 217, 87, 0.4);
  box-shadow: var(--shadow-soft);
  max-width: 340px;
  transform: translateY(6px);
  animation: floatIn 0.7s ease-out 0.1s both;
}

.hero-tag {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.hero-card h2 {
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1.2rem;
  margin: 0 0 0.75rem;
}

.hero-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.hero-card li {
  position: relative;
  padding-left: 1.1rem;
  margin-bottom: 0.45rem;
}

.hero-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff, var(--accent));
}

@keyframes floatIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(6px);
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-panel {
    justify-content: flex-start;
  }
}

/* Carousel */

.carousel {
  overflow: hidden;
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.carousel-track {
  display: flex;
  transition: transform 0.8s ease;
}

.carousel-item {
  min-width: 100%;
  padding: 2rem;
  text-align: center;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.18s ease-out, color 0.18s ease-out, border-color 0.18s ease-out,
    transform 0.12s ease-out, box-shadow 0.12s ease-out;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), #a2f28b);
  color: #050608;
  box-shadow: 0 10px 25px rgba(126, 217, 87, 0.35);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(126, 217, 87, 0.45);
}

.btn.ghost {
  background: transparent;
  color: var(--text-main);
  border-color: rgba(255, 255, 255, 0.18);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.full-width {
  width: 100%;
}

/* Lists */

.icon-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--text-muted);
}

.icon-list li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.6rem;
}

.icon-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: radial-gradient(circle, #ffffff, var(--accent));
}

/* Cards */

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(126, 217, 87, 0.12), transparent 55%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
}

.card:hover::before {
  opacity: 1;
}

.card h3 {
  font-family: "Poppins", system-ui, sans-serif;
  margin-top: 0;
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

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

.card ul {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.card.wide {
  grid-column: span 3;
}

.note {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--accent);
}

@media (max-width: 1024px) {
  .cards-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .card.wide {
    grid-column: span 2;
  }
}

@media (max-width: 720px) {
  .cards-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .card.wide {
    grid-column: span 1;
  }
}

/* Highlight box */

.highlight-box {
  background: var(--accent-soft);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(126, 217, 87, 0.4);
}

.highlight-box p {
  color: var(--text-muted);
}

/* Testimonials */

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 1.8rem 1.6rem;
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  position: relative;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.testimonial-author {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

@media (max-width: 900px) {
  .testimonial-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.1fr);
  gap: 2.75rem;
}

@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.contact-details p {
  margin: 0.25rem 0;
  color: var(--text-muted);
}

.contact-details a {
  color: var(--accent);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.contact-form {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-subtle);
}

.form-row {
  display: flex;
  flex-direction: column;
  margin-bottom: 0.9rem;
}

.form-row label {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  color: var(--text-muted);
}

.form-row input,
.form-row textarea {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(5, 6, 8, 0.9);
  color: var(--text-main);
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  outline: none;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(126, 217, 87, 0.4);
}

.form-note {
  margin-top: 0.6rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Footer */

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 1.75rem 0 2rem;
  background: radial-gradient(circle at bottom, #050608 0, #020307 55%);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-brand {
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  color: var(--text-main);
}

.footer-meta {
  text-align: right;
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    text-align: left;
  }
  .footer-meta {
    text-align: left;
  }
}

/* Scroll reveal animations */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  transform: translateX(-28px);
}

.reveal-right {
  transform: translateX(28px);
}

.reveal-left.in-view,
.reveal-right.in-view {
  transform: translateX(0);
}
