﻿/* ═══════════════════════════════════════════════════════════
   PCC Coaching — Premium Modern SaaS Stylings (Stripe/Linear Feel)
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  /* Core Layout Colors */
  --bg-main: #FAFAFA;
  /* Very light grey / off-white */
  --bg-white: #FFFFFF;

  /* Typography Colors */
  --text-primary: #111827;
  /* High contrast dark */
  --text-secondary: #4B5563;
  /* Medium grey for subtitles */
  --text-tertiary: #9CA3AF;

  /* Primary SaaS Gradients (Deep Indigo to Electric Purple) */
  --gradient-primary: linear-gradient(135deg, #4F46E5, #7C3AED);
  --gradient-glow: linear-gradient(135deg, rgba(79, 70, 229, 0.4), rgba(124, 58, 237, 0.4));

  /* Borders & Glass */
  --border-glass: rgba(255, 255, 255, 0.4);
  --border-subtle: rgba(17, 24, 39, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.7);

  /* Shadows */
  --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
  --shadow-glow: 0 20px 40px -10px rgba(79, 70, 229, 0.3);
  --shadow-float: 0 30px 60px -15px rgba(0, 0, 0, 0.15);

  /* Typography System */
  --font-heading: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  /* Spacing & Radii */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ── Global Image Constraint (CRITICAL FIX) ── */
/* This prevents any image (like the big dashboard posters) from ever exceeding its container */
img {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

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

.text-center {
  text-align: center;
}

/* ── Background Elements ── */
.bg-grid {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.5;
  mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, black 20%, transparent 80%);
}

.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.4;
}

.blob-1 {
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: #4F46E5;
}

.blob-2 {
  top: 20%;
  right: -100px;
  width: 500px;
  height: 500px;
  background: #7C3AED;
}

.blob-3 {
  bottom: -200px;
  left: 20%;
  width: 600px;
  height: 600px;
  background: #ec4899;
  opacity: 0.15;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 1px solid transparent;
}

.btn-large {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 16px;
}

.btn-primary {
  background: var(--gradient-primary);
  color: white;
  border: none;
}

.btn-glow {
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 25px 50px -12px rgba(79, 70, 229, 0.5);
  filter: brightness(1.1);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.btn-white {
  background: white;
  color: #4F46E5;
}

.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(250, 250, 250, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-logo img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

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

/* ── Hero Section ── */
.hero {
  padding: 180px 0 100px;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 100px;
  background: white;
  border: 1px solid var(--border-subtle);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

.pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  position: relative;
}

.pulse::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(16, 185, 129, 0.4);
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {

  75%,
  100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 40px;
  max-width: 500px;
  opacity: 0.9;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
}

/* Hero Right: Floating Phones */
.hero-right {
  position: relative;
  perspective: 1000px;
}

.mockup-cluster {
  position: relative;
  width: 100%;
  height: 600px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.mockup-glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  filter: blur(100px);
  opacity: 0.3;
  z-index: 0;
}

/* Base phone mockup style */
.phone-mockup {
  background: #000;
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 0 0 2px #333, var(--shadow-float);
  position: absolute;
  overflow: hidden;
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 30px;
  background: #000;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-mockup img {
  border-radius: 32px;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.glass-effect::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 50%);
  z-index: 5;
  pointer-events: none;
  border-radius: 32px;
}

/* Positioning the phones */
.phone-front {
  width: 280px;
  height: 580px;
  z-index: 2;
  transform: rotateY(-10deg) rotateX(5deg) translateZ(50px);
  animation: float 6s ease-in-out infinite;
}

.phone-back {
  width: 250px;
  height: 530px;
  z-index: 1;
  right: 0;
  top: 20px;
  transform: rotateY(-15deg) rotateX(5deg) translateZ(-50px) translateX(60px);
  opacity: 0.8;
  filter: blur(1px);
  animation: float 6s ease-in-out infinite 2s;
}

@keyframes float {

  0%,
  100% {
    transform: translateY(0) rotateY(-10deg) rotateX(5deg);
  }

  50% {
    transform: translateY(-15px) rotateY(-10deg) rotateX(5deg);
  }
}

/* ── Features Grid (Cards) ── */
.features {
  padding: 120px 0;
  position: relative;
  z-index: 5;
}

.section-header {
  margin-bottom: 80px;
}

.section-title {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -10px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(79, 70, 229, 0.1);
}

.feat-content {
  margin-bottom: 32px;
}

.feat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-glow);
}

.feat-content h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.feat-content p {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.5;
}

/* FEATURE IMAGE CONSTRAINT */
.feat-img-wrapper {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  background: #f1f5f9;
  border: 1px solid var(--border-subtle);
}

.feat-img-wrapper img {
  width: 100%;
  height: auto;
  object-fit: contain;
  transition: transform 0.8s ease;
}

.glass-card:hover .feat-img-wrapper img {
  transform: scale(1.05);
  /* Subtle zoom on hover */
}


/* ── Product Demo Slider ── */
.demo-section {
  padding: 120px 0;
  background: #fff;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.demo-showcase {
  margin-top: 60px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.demo-shadow-glow {
  position: absolute;
  width: 400px;
  height: 400px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--gradient-primary);
  filter: blur(140px);
  opacity: 0.15;
  z-index: 0;
  pointer-events: none;
}

.centered-phone-mockup {
  width: 320px;
  height: 660px;
  background: #000;
  border-radius: 48px;
  padding: 12px;
  box-shadow: 0 0 0 2px #222, var(--shadow-float);
  position: relative;
  z-index: 2;
  overflow: hidden;
}

.carousel {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  position: relative;
  background: #fff;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
}

.carousel-indicators {
  display: flex;
  gap: 8px;
  margin-top: 40px;
  z-index: 2;
}

.carousel-indicators .dot {
  width: 32px;
  height: 4px;
  border-radius: 4px;
  background: var(--border-subtle);
  transition: all 0.3s;
}

.carousel-indicators .dot.active {
  background: #4F46E5;
}


/* ── Trust Section (Testimonials) ── */
.trust-section {
  padding: 120px 0;
  position: relative;
  z-index: 5;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.testimonial-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 20px;
  display: flex;
  gap: 4px;
}

.quote {
  font-size: 16px;
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: 32px;
  flex-grow: 1;
}

.author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #E0E7FF;
  color: #4F46E5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.author h4 {
  font-size: 16px;
  font-weight: 600;
}

.author span {
  font-size: 13px;
  color: var(--text-tertiary);
}


/* ── CTA Section (Massive Gradient Block) ── */
.cta-section {
  padding: 60px 0 120px;
}

.cta-card {
  border-radius: 32px;
  padding: 80px 40px;
  text-align: center;
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

.cta-content {
  position: relative;
  z-index: 2;
  color: white;
}

.cta-content h2 {
  font-size: 48px;
  margin-bottom: 20px;
  color: white;
}

.cta-content p {
  font-size: 20px;
  opacity: 0.9;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.cta-glass-flare {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 1;
}


/* ── Footer ── */
.footer {
  background: white;
  border-top: 1px solid var(--border-subtle);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  margin-bottom: 20px;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-desc {
  color: var(--text-secondary);
  max-width: 300px;
  font-size: 15px;
}

.footer-links-col h4 {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.footer-links-col a {
  display: block;
  color: var(--text-secondary);
  font-size: 15px;
  margin-bottom: 16px;
  font-weight: 500;
}

.footer-links-col a:hover {
  color: #4F46E5;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-tertiary);
  font-size: 14px;
}

/* ── Reveal Animations (Framer Motion Feel) ── */
/* Only hide elements when JS is available to reveal them */
.js-ready .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-ready .reveal.active {
  opacity: 1;
  transform: translateY(0);
}

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

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


/* ── Responsive ── */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 48px;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-subtitle {
    margin: 0 auto 40px;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-right {
    margin-top: 40px;
  }

  .phone-front {
    transform: translateZ(50px) !important;
    animation: none !important;
  }

  .phone-back {
    display: none;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {

  .nav-links,
  .nav-actions .btn-secondary {
    display: none;
  }

  .hero-title {
    font-size: 40px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}