/* ============================================
   FTP Bootcamp — Bold Geometric Aesthetic
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --accent: #ff4500;
  --accent-glow: rgba(255, 69, 0, 0.3);
  --base: #0a0a0a;
  --base-2: #111113;
  --surface: #18181b;
  --surface-2: #1f1f23;
  --text-bright: #f0f0f0;
  --text-muted: #a1a1aa;
  --text-dim: #6b6b76;
  --border: #27272a;
  --font-display: 'Oswald', 'Impact', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 0px;
  --transition: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--base);
  color: var(--text-muted);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img, video, svg { max-width: 100%; height: auto; display: block; }

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

/* --- Background Canvas --- */
.canvas {
  position: fixed; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255, 69, 0, 0.04), transparent),
    radial-gradient(ellipse 60% 50% at 80% 100%, rgba(255, 69, 0, 0.03), transparent);
  pointer-events: none;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-bright);
  font-weight: 700;
  line-height: 1.0;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 8vw, 6rem); }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); margin-bottom: 0.5rem; }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: 0.15em; color: var(--text-dim); margin-bottom: 1rem; }

p { max-width: 65ch; }
.section-label {
  font-family: var(--font-display);
  font-size: clamp(0.65rem, 1vw, 0.75rem);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: block;
}

/* --- Layout --- */
.page-wrap {
  position: relative;
  z-index: 1;
}

section {
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 3rem);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* --- Navigation --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem clamp(1rem, 3vw, 3rem);
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: var(--text-bright);
}

.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--base-2);
  border-bottom: 1px solid var(--border);
  padding: 1rem;
  gap: 0.25rem;
  z-index: 50;
}

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

.nav-links a {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.75rem 1rem;
  color: var(--text-muted);
  transition: color var(--transition), background var(--transition);
  border-radius: var(--radius);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-bright);
  background: var(--surface);
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-bright);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 768px) {
  .nav-links {
    display: flex;
    flex-direction: row;
    position: static;
    background: none;
    border: none;
    padding: 0;
    gap: 0.25rem;
  }
  .nav-toggle { display: none; }
  .nav-links a { padding: 0.5rem 1rem; }
}

/* --- Hero Section --- */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 3vw, 3rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: var(--accent);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  opacity: 0.06;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(3rem, 12vw, 7rem);
  margin-bottom: 1rem;
  line-height: 0.95;
}

.hero h1 .accent-line {
  display: block;
  color: var(--accent);
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  margin: 1.5rem 0 2.5rem;
  max-width: 550px;
  line-height: 1.5;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.85rem 2rem;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all var(--transition);
  min-height: 48px;
  border-radius: var(--radius);
}

.btn-primary {
  background: var(--accent);
  color: var(--base);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 30px var(--accent-glow);
}

.btn-outline {
  background: transparent;
  color: var(--text-bright);
  border-color: var(--text-bright);
}

.btn-outline:hover {
  background: var(--text-bright);
  color: var(--base);
}

/* --- Section Title --- */
.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent);
  margin-top: 0.75rem;
}

/* --- Features Grid --- */
.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.feature-card {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--accent);
  transition: height var(--transition);
}

.feature-card:hover::before { height: 100%; }

.feature-number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--accent);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 1rem;
}

.feature-card h3 {
  margin-bottom: 0.75rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: 1fr 1fr; }
}

/* --- Stats Section --- */
.stats-section {
  background: var(--accent);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 3rem);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.stat-value {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  color: var(--base);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--base);
  opacity: 0.7;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}

/* --- Programs Section --- */
.programs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.program-card {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  position: relative;
  transition: background var(--transition);
}

.program-card:hover {
  background: var(--surface-2);
}

.program-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.program-meta span {
  padding: 0.35rem 0.75rem;
  background: var(--surface-2);
  color: var(--text-dim);
  border: 1px solid var(--border);
}

.program-card h3 {
  margin-bottom: 0.75rem;
}

.program-card p {
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .programs-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Testimonials --- */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--border);
}

.testimonial-card {
  background: var(--surface);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial-card blockquote {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  font-style: italic;
  color: var(--text-bright);
  line-height: 1.5;
}

.testimonial-author {
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

.testimonial-author .name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-bright);
}

.testimonial-author .title {
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- CTA Section --- */
.cta-section {
  text-align: center;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-section h2 {
  margin-bottom: 1rem;
}

.cta-section p {
  margin: 0 auto 2rem;
  color: var(--text-dim);
}

/* --- Footer --- */
.site-footer {
  background: var(--base-2);
  border-top: 1px solid var(--border);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 3vw, 3rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-dim);
}

.footer-links,
.footer-legal,
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a,
.footer-legal a {
  font-size: 0.85rem;
  color: var(--text-dim);
  transition: color var(--transition);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: var(--text-bright);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--border);
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: var(--text-dim);
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
  }
}

/* --- Page Header (inner pages) --- */
.page-header {
  padding: clamp(4rem, 10vw, 8rem) clamp(1rem, 3vw, 3rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
}

.page-content {
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 3vw, 3rem);
}

.page-content .container {
  max-width: 800px;
}

.page-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.page-content h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.page-content ul {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.page-content li {
  margin-bottom: 0.5rem;
}

/* --- Contact Page --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto;
}

.contact-info h3 {
  margin-bottom: 1rem;
}

.contact-info p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Enquiry Form --- */
.enquiry-wrap {
  margin: 2rem 0;
}

/* --- Animations --- */
.fade-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive Polish --- */
@media (max-width: 480px) {
  .hero { min-height: 80vh; }
  .btn { width: 100%; justify-content: center; }
  section { padding: 2rem 1rem; }
}