@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Lato:wght@300;400;700&display=swap');

/* BASIC RESET & UTILITIES */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --cr8-primary: #4f46e5;
  --cr8-secondary: #4338ca;
  --cr8-accent: #10b981;
  --cr8-background: #eef2ff;
  --cr8-text: #1e1b4b;
  --cr8-muted: #818cf8;
  --cr8-light-gray: #f8fafc;
  --cr8-dark-gray: #334155;
  --cr8-border: #e2e8f0;
  --cr8-transition-speed: 0.3s;
  --cr8-font-heading: 'Merriweather', serif;
  --cr8-font-body: 'Lato', sans-serif;
  --cr8-container-width: 1200px;
  --cr8-section-padding-desktop: 100px 0;
  --cr8-section-padding-mobile: 60px 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--cr8-font-body);
  color: var(--cr8-text);
  line-height: 1.6;
  background-color: var(--cr8-background);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background-color: var(--cr8-accent);
  color: white;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--cr8-font-heading);
  color: var(--cr8-primary);
  margin-bottom: 0.5em;
  line-height: 1.2;
}

h1 {
  font-size: 3.8em;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.8em;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 2.2em;
  font-weight: 700;
  letter-spacing: -0.01em;
}

h4 {
  font-size: 1.8em;
  font-weight: 700;
}

h5 {
  font-size: 1.4em;
  font-weight: 700;
}

h6 {
  font-size: 1.1em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--cr8-muted);
}

p {
  margin-bottom: 1em;
}

a {
  color: var(--cr8-primary);
  text-decoration: none;
  transition: color var(--cr8-transition-speed) ease;
}

a:hover {
  color: var(--cr8-accent);
}

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

ul {
  list-style: none;
}

/* UTILITY CLASSES */
.pg-container {
  max-width: var(--cr8-container-width);
  margin: 0 auto;
  padding: 0 20px;
}

.pg-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.pg-flex {
  display: flex;
  align-items: center;
  gap: 20px;
}

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

.pg-section {
  padding: var(--cr8-section-padding-desktop);
  position: relative;
}

.pg-section:nth-of-type(odd) {
  background-color: var(--cr8-background);
}

.pg-section:nth-of-type(even) {
  background-color: var(--cr8-light-gray);
}

.pg-section-title {
  font-size: 3em;
  margin-bottom: 15px;
  color: var(--cr8-primary);
  text-align: center;
}

.pg-section-subtitle {
  font-size: 1.3em;
  color: var(--cr8-muted);
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px auto;
}

/* BUTTONS */
.pg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1em;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--cr8-transition-speed) ease;
  border: 2px solid transparent;
  white-space: nowrap;
}

.pg-button-primary {
  background-color: var(--cr8-primary);
  color: white;
}

.pg-button-primary:hover {
  background-color: var(--cr8-secondary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pg-button-secondary {
  background-color: var(--cr8-accent);
  color: white;
}

.pg-button-secondary:hover {
  background-color: #0e9f6e;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pg-button-outline {
  background-color: transparent;
  color: var(--cr8-primary);
  border-color: var(--cr8-primary);
}

.pg-button-outline:hover {
  background-color: var(--cr8-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pg-button:focus {
  outline: 2px solid var(--cr8-accent);
  outline-offset: 3px;
}

/* HEADER & NAVIGATION */
.pg-header {
  background-color: var(--cr8-dark-gray);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pg-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.pg-logo {
  font-family: var(--cr8-font-heading);
  font-size: 1.8em;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.03em;
}

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

.pg-nav-links a {
  color: #fff;
  font-weight: 400;
  font-size: 1.05em;
  position: relative;
  padding: 5px 0;
}

.pg-nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--cr8-accent);
  transition: width var(--cr8-transition-speed) ease;
}

.pg-nav-links a:hover::after, .pg-nav-links a.pg-active::after {
  width: 100%;
}

.pg-nav-cta {
  margin-left: 20px;
}

.pg-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 10px;
  background: none;
  border: none;
  z-index: 1001;
}

.pg-hamburger span {
  height: 3px;
  width: 28px;
  background-color: white;
  margin-bottom: 5px;
  border-radius: 2px;
  transition: all var(--cr8-transition-speed) ease;
}

.pg-hamburger span:last-child {
  margin-bottom: 0;
}

.pg-nav-mobile {
  display: none;
}

/* HERO SECTION */
.pg-hero {
  min-height: 80vh;
  background-image: linear-gradient(rgba(30, 27, 75, 0.7), rgba(30, 27, 75, 0.7)), url('https://loremflickr.com/1400/800/movie%2Cmovies/all?lock=241300074');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  position: relative;
  overflow: hidden;
}

.pg-hero-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}

.pg-hero h1 {
  color: white;
  margin-bottom: 20px;
}

.pg-hero p {
  font-size: 1.3em;
  margin-bottom: 40px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.pg-hero .pg-button {
  font-size: 1.1em;
  padding: 16px 32px;
  border-radius: 10px;
}

.pg-hero-shape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.pg-hero-shape svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 150px;
}

.pg-hero-shape .shape-fill {
  fill: var(--cr8-background);
}

/* FEATURE HIGHLIGHTS */
.pg-highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-top: 60px;
}

.pg-highlight-item {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform var(--cr8-transition-speed) ease, box-shadow var(--cr8-transition-speed) ease;
  border-left: 5px solid var(--cr8-primary);
}

.pg-highlight-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pg-highlight-item .pg-icon {
  font-size: 3em;
  color: var(--cr8-accent);
  margin-bottom: 20px;
}

.pg-highlight-item h3 {
  color: var(--cr8-secondary);
  font-size: 1.6em;
  margin-bottom: 15px;
}

.pg-highlight-item p {
  color: var(--cr8-dark-gray);
}

/* SOCIAL PROOF / TRUST SECTION */
.pg-trust-section {
  background-color: var(--cr8-dark-gray);
  color: white;
  padding: var(--cr8-section-padding-desktop);
}

.pg-trust-section .pg-section-title, .pg-trust-section .pg-section-subtitle {
  color: white;
}

.pg-trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-top: 60px;
  text-align: center;
}

.pg-trust-item {
  background-color: rgba(255, 255, 255, 0.08);
  padding: 30px;
  border-radius: 12px;
  transition: background-color var(--cr8-transition-speed) ease, transform var(--cr8-transition-speed) ease;
}

.pg-trust-item:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-5px);
}

.pg-trust-item .pg-count {
  font-size: 3.5em;
  font-weight: 700;
  color: var(--cr8-accent);
  margin-bottom: 10px;
}

.pg-trust-item .pg-label {
  font-size: 1.2em;
  font-weight: 300;
  opacity: 0.8;
}

/* GRID FEATURES (MOVIE CARDS) */
.pg-movie-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pg-movie-card {
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: transform var(--cr8-transition-speed) ease, box-shadow var(--cr8-transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.pg-movie-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pg-movie-card-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.pg-movie-card-content {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.pg-movie-card-content h3 {
  font-size: 1.7em;
  margin-bottom: 10px;
  color: var(--cr8-primary);
}

.pg-movie-card-content .pg-meta {
  font-size: 0.95em;
  color: var(--cr8-muted);
  margin-bottom: 15px;
}

.pg-movie-card-content p {
  font-size: 1.05em;
  color: var(--cr8-dark-gray);
  margin-bottom: 20px;
  flex-grow: 1;
}

.pg-movie-card-content .pg-button {
  align-self: flex-start;
  padding: 10px 20px;
  border-radius: 6px;
}

/* CTA ANGULAR */
.pg-cta-angular {
  background: linear-gradient(45deg, var(--cr8-primary), var(--cr8-secondary));
  color: white;
  padding: var(--cr8-section-padding-desktop);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.pg-cta-angular::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><polygon points="0,0 100,0 100,100" fill="%233f37c0" opacity="0.1"/><polygon points="0,100 100,100 0,0" fill="%233f37c0" opacity="0.1"/></svg>') top left / 200px 200px repeat;
  z-index: 0;
  opacity: 0.2;
}

.pg-cta-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
}

.pg-cta-angular h2 {
  color: white;
  font-size: 3.2em;
  margin-bottom: 20px;
}

.pg-cta-angular p {
  font-size: 1.4em;
  line-height: 1.5;
  margin-bottom: 40px;
  opacity: 0.9;
}

.pg-cta-angular .pg-button {
  background-color: var(--cr8-accent);
  color: white;
  padding: 18px 36px;
  font-size: 1.2em;
  border-radius: 10px;
}

.pg-cta-angular .pg-button:hover {
  background-color: #0e9f6e;
}

/* TESTIMONIALS */
.pg-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.pg-testimonial-card {
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: transform var(--cr8-transition-speed) ease, box-shadow var(--cr8-transition-speed) ease;
  display: flex;
  flex-direction: column;
}

.pg-testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.pg-testimonial-card p {
  font-style: italic;
  color: var(--cr8-dark-gray);
  margin-bottom: 20px;
  font-size: 1.1em;
  flex-grow: 1;
}

.pg-testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: auto;
}

.pg-testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--cr8-accent);
}

.pg-testimonial-info strong {
  display: block;
  font-size: 1.1em;
  color: var(--cr8-primary);
  margin-bottom: 3px;
}

.pg-testimonial-info span {
  color: var(--cr8-muted);
  font-size: 0.9em;
}

/* FAQ ACCORDION */
.pg-faq-section {
  padding: var(--cr8-section-padding-desktop);
}

.pg-faq-list {
  max-width: 800px;
  margin: 60px auto 0 auto;
  border: 1px solid var(--cr8-border);
  border-radius: 12px;
  overflow: hidden;
}

.pg-faq-item {
  border-bottom: 1px solid var(--cr8-border);
}

.pg-faq-item:last-child {
  border-bottom: none;
}

.pg-faq-q {
  padding: 20px 25px;
  background-color: white;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.15em;
  color: var(--cr8-primary);
  transition: background-color var(--cr8-transition-speed) ease;
}

.pg-faq-q:hover {
  background-color: var(--cr8-light-gray);
}

.pg-faq-q::after {
  content: '+';
  font-size: 1.5em;
  color: var(--cr8-accent);
  transition: transform var(--cr8-transition-speed) ease;
}

.pg-faq-item.active .pg-faq-q::after {
  content: '-';
  transform: rotate(0deg);
}

.pg-faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--cr8-transition-speed) ease-out;
  background-color: var(--cr8-background);
  color: var(--cr8-dark-gray);
  padding: 0 25px;
}

.pg-faq-item.active .pg-faq-a {
  max-height: 500px; /* Sufficiently large to reveal content */
  padding: 20px 25px;
}

/* CONTACT FORM */
.pg-contact-form-section {
  background-color: var(--cr8-dark-gray);
  color: white;
  padding: var(--cr8-section-padding-desktop);
}

.pg-contact-form-section .pg-section-title {
  color: white;
}

.pg-form-container {
  max-width: 700px;
  margin: 60px auto 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.pg-form-group {
  margin-bottom: 25px;
}

.pg-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: white;
}

.pg-form-group input[type='text'],
.pg-form-group input[type='email'],
.pg-form-group input[type='tel'],
.pg-form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.05);
  color: white;
  font-size: 1em;
  transition: border-color var(--cr8-transition-speed) ease, background-color var(--cr8-transition-speed) ease;
}

.pg-form-group input::placeholder,
.pg-form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.pg-form-group input:focus,
.pg-form-group textarea:focus {
  outline: none;
  border-color: var(--cr8-accent);
  background-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.3);
}

.pg-form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.pg-form-feedback {
  margin-top: 20px;
  padding: 12px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  display: none;
}

.pg-form-feedback.pg-success {
  background-color: #28a745;
  color: white;
}

.pg-form-feedback.pg-error {
  background-color: #dc3545;
  color: white;
}

.pg-form-feedback.pg-sending {
  background-color: var(--cr8-accent);
  color: white;
}

/* FOOTER */
.pg-footer {
  background-color: var(--cr8-dark-gray);
  color: white;
  padding: 50px 0;
  font-size: 0.95em;
}

.pg-footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.pg-footer-col h4 {
  color: white;
  margin-bottom: 20px;
  font-size: 1.2em;
}

.pg-footer-col ul li {
  margin-bottom: 10px;
}

.pg-footer-col ul li a {
  color: rgba(255, 255, 255, 0.8);
}

.pg-footer-col ul li a:hover {
  color: var(--cr8-accent);
  text-decoration: underline;
}

.pg-footer-bottom {
  text-align: center;
  padding-top: 30px;
  margin-top: 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
}

/* ANIMATIONS */
.pg-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.pg-animate.pg-animated {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
  h1 {
    font-size: 3em;
  }
  h2 {
    font-size: 2.4em;
  }
  .pg-nav-links {
    gap: 20px;
  }
  .pg-section {
    padding: 80px 0;
  }
  .pg-hero p {
    font-size: 1.2em;
  }
}

@media (max-width: 768px) {
  .pg-nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 65px;
    left: 0;
    width: 100%;
    background-color: var(--cr8-dark-gray);
    padding: 20px 0;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--cr8-transition-speed) ease-in-out;
    height: 0;
    overflow: hidden;
  }

  .pg-nav-links.pg-active {
    display: flex;
    height: auto;
  }

  .pg-nav-links a {
    color: white;
    padding: 10px 0;
    font-size: 1.1em;
    width: 100%;
  }
  
  .pg-nav-links a::after {
    background-color: var(--cr8-accent);
  }

  .pg-hamburger {
    display: flex;
  }

  .pg-hamburger.pg-active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .pg-hamburger.pg-active span:nth-child(2) {
    opacity: 0;
  }
  .pg-hamburger.pg-active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .pg-nav-cta {
    margin-left: 0;
    margin-top: 15px;
  }

  .pg-nav-cta .pg-button {
    width: calc(100% - 40px);
    margin: 0 20px;
  }

  h1 {
    font-size: 2.5em;
  }
  h2 {
    font-size: 2em;
  }
  .pg-hero p {
    font-size: 1.1em;
  }
  .pg-section {
    padding: var(--cr8-section-padding-mobile);
  }
  .pg-section-title {
    font-size: 2.2em;
  }
  .pg-section-subtitle {
    font-size: 1.1em;
    margin-bottom: 40px;
  }
  .pg-highlights-grid, .pg-trust-grid, .pg-movie-card-grid, .pg-testimonials-grid {
    grid-template-columns: 1fr;
  }
  .pg-cta-angular h2 {
    font-size: 2.5em;
  }
  .pg-cta-angular p {
    font-size: 1.2em;
  }
  .pg-faq-q {
    font-size: 1em;
  }
  .pg-faq-a {
    font-size: 0.95em;
  }
  .pg-footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .pg-footer-col h4 {
    margin-top: 20px;
  }
  .pg-footer-col ul li a {
    padding: 5px 0;
    display: inline-block;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2em;
  }
  h2 {
    font-size: 1.8em;
  }
  .pg-hero p {
    font-size: 1em;
  }
  .pg-button {
    padding: 12px 20px;
    font-size: 0.9em;
  }
  .pg-hero .pg-button {
    font-size: 1em;
    padding: 14px 28px;
  }
  .pg-highlight-item h3 {
    font-size: 1.4em;
  }
  .pg-trust-item .pg-count {
    font-size: 3em;
  }
  .pg-movie-card-img {
    height: 200px;
  }
  .pg-movie-card-content h3 {
    font-size: 1.5em;
  }
}
