/* =========================================================
   TigerLab Web Design Website Stylesheet
   This file contains all layout, colour, typography and
   responsive design styles for the site.
   ========================================================= */

:root {
  --bg: #07101e;
  --bg-soft: #0d172a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.12);
  --text: #f6f8fb;
  --muted: #b5c0d2;
  --accent: #7c5cff;
  --accent-2: #2dd4bf;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  --radius: 22px;
  --container: 1180px;
}

/* Global reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", Arial, sans-serif;
  background: radial-gradient(circle at top left, rgba(124, 92, 255, 0.18), transparent 30%),
              radial-gradient(circle at 90% 20%, rgba(45, 212, 191, 0.14), transparent 24%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-tight {
  padding-top: 1.5rem;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.03));
}

/* Decorative glow blobs */
.site-glow {
  position: fixed;
  width: 26rem;
  height: 26rem;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  opacity: 0.24;
  z-index: -1;
}

.site-glow-one {
  top: -8rem;
  left: -8rem;
  background: var(--accent);
}

.site-glow-two {
  right: -6rem;
  top: 16rem;
  background: var(--accent-2);
}

/* Header and navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(7, 16, 30, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 86px;
}

.brand-logo {
  width: min(320px, 52vw);
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav a {
  color: var(--muted);
  font-weight: 600;
  transition: color 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--text);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--text);
  margin: 5px 0;
  border-radius: 999px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), #5d84ff);
  color: #fff;
  font-weight: 700;
  border: 1px solid transparent;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  box-shadow: none;
}

.btn-sm {
  padding: 0.75rem 1rem;
}

/* Hero section */
.hero {
  padding-top: 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero h1,
.section-heading h2,
.split-grid h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 1rem;
}

.section-heading h2,
.split-grid h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.hero-text,
.section-heading p,
.split-grid p,
.info-card p,
.timeline-item p,
.about-card,
.contact-card p,
.feature-box p,
.site-footer p,
.panel-list li {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 2rem 0;
}

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

.hero-points div,
.stat-card,
.info-card,
.hero-panel,
.feature-box,
.about-card,
.contact-card,
.contact-form,
.timeline-item {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-points div {
  padding: 1.1rem;
}

.hero-points strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.hero-points span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-panel {
  padding: 2rem;
}

.panel-label {
  color: var(--accent-2);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.hero-panel h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.2rem);
  line-height: 1.12;
  margin-bottom: 1rem;
}

.panel-list {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.panel-list li::before,
.check-list li::before,
.details-list li::before {
  content: "•";
  color: var(--accent-2);
  margin-right: 0.6rem;
}

/* Stats section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.stat-card {
  padding: 1.75rem;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.55rem;
}

.stat-card p {
  color: var(--muted);
}

/* General grids and cards */
.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.info-card {
  padding: 1.65rem;
}

.icon-badge {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.25), rgba(45, 212, 191, 0.25));
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 800;
}

.info-card h3,
.timeline-item h3,
.feature-box h3,
.about-card h3,
.contact-card h3 {
  margin-bottom: 0.7rem;
  font-size: 1.25rem;
}

/* Timeline section */
.timeline {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.timeline-item {
  display: flex;
  gap: 1rem;
  padding: 1.4rem;
  align-items: flex-start;
}

.timeline-item span {
  min-width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #4c7aff);
  font-weight: 800;
}

/* Split sections */
.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.feature-panel {
  display: grid;
  gap: 1rem;
}

.feature-box,
.about-card,
.contact-card,
.contact-form {
  padding: 1.6rem;
}

.check-list,
.details-list {
  list-style: none;
  margin-top: 1rem;
  display: grid;
  gap: 0.8rem;
}

.details-list a {
  color: #d8f3ff;
}

/* Contact section */
.contact-wrap {
  display: grid;
  gap: 2rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 1rem;
}

.contact-form {
  display: grid;
  gap: 0.85rem;
}

.contact-form label {
  font-weight: 600;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  font: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #94a4bc;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(45, 212, 191, 0.35);
  border-color: rgba(45, 212, 191, 0.4);
}

.form-message {
  min-height: 24px;
  color: var(--accent-2);
  font-weight: 600;
}

.form-error {
  color: #ff8c8c;
}

/* Footer */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2rem 0 3rem;
}

.footer-wrap {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
}

.footer-logo {
  width: 220px;
  margin-bottom: 1rem;
}

/* Scroll reveal animation states */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

.delay-1 {
  transition-delay: 0.12s;
}

.delay-2 {
  transition-delay: 0.24s;
}

/* Responsive design rules */
@media (max-width: 980px) {
  .hero-grid,
  .split-grid,
  .contact-grid,
  .timeline,
  .card-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .brand-logo {
    width: min(260px, 54vw);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 1rem;
    right: 1rem;
    background: rgba(7, 16, 30, 0.96);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 1rem;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }

  .hero-points {
    grid-template-columns: 1fr;
  }

  .footer-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 4.25rem 0;
  }

  .hero {
    padding-top: 2.5rem;
  }

  .brand-logo {
    width: 210px;
  }

  .btn,
  .btn-secondary {
    width: 100%;
  }
}
