/* ==========================================================================
   Core Theme Variables (from assets/css/theme/dark.css)
   ========================================================================== */
:root {
  --default: #000000;
  --inverse: #ffffff;

  /* Material Design System Colors */
  --md-sys-color-primary: rgb(211 188 253); /* Lavender - Main Accent */
  --md-sys-color-primary-rgb: 211, 188, 253;
  --md-sys-color-surface-tint: rgb(211 188 253);
  --md-sys-color-on-primary: rgb(57 38 92); /* Dark Purple - Text on Accent */
  --md-sys-color-primary-container: rgb(80 61 116); /* Mid Purple */
  --md-sys-color-on-primary-container: rgb(235 221 255);
  --md-sys-color-secondary: rgb(205 194 219); /* Light grayish purple */
  --md-sys-color-secondary-rgb: 205, 194, 219;
  --md-sys-color-on-secondary: rgb(52 45 64);
  --md-sys-color-secondary-container: rgb(75 67 88);
  --md-sys-color-secondary-container-rgb: 75, 67, 88;
  --md-sys-color-on-secondary-container: rgb(233 222 248);
  --md-sys-color-tertiary: rgb(240 183 197); /* Pinkish */
  --md-sys-color-on-tertiary: rgb(74 37 48);
  --md-sys-color-tertiary-container: rgb(100 59 70);
  --md-sys-color-on-tertiary-container: rgb(255 217 225);
  --md-sys-color-error: rgb(255 180 171);
  --md-sys-color-on-error: rgb(105 0 5);
  --md-sys-color-error-container: rgb(147 0 10);
  --md-sys-color-on-error-container: rgb(255 218 214);
  --md-sys-color-background: rgb(
    21 18 24
  ); /* Main page background - Dark Gray/Purple */
  --md-sys-color-on-background: rgb(231 224 232); /* Light Gray - Main Text */
  --md-sys-color-surface: rgb(21 18 24);
  --md-sys-color-on-surface: rgb(231 224 232);
  --md-sys-color-surface-variant: rgb(73 69 78);
  --md-sys-color-on-surface-variant: rgb(
    203 196 207
  ); /* Medium Gray - Secondary Text */
  --md-sys-color-outline: rgb(148 143 153);
  --md-sys-color-outline-variant: rgb(73 69 78); /* Darker Gray - Borders */
  --md-sys-color-shadow: rgb(0 0 0);
  --md-sys-color-scrim: rgb(0 0 0);
  --md-sys-color-inverse-surface: rgb(231 224 232);
  --md-sys-color-inverse-on-surface: rgb(50 47 53);
  --md-sys-color-inverse-primary: rgb(104 84 142);
  --md-sys-color-primary-fixed: rgb(235 221 255);
  --md-sys-color-on-primary-fixed: rgb(35 15 70);
  --md-sys-color-primary-fixed-dim: rgb(
    211 188 253
  ); /* Same as primary, good for hover */
  --md-sys-color-secondary-fixed: rgb(233 222 248);
  --md-sys-color-on-secondary-fixed: rgb(31 24 43);
  --md-sys-color-secondary-fixed-dim: rgb(205 194 219);
  --md-sys-color-on-secondary-fixed-variant: rgb(75 67 88);
  --md-sys-color-tertiary-fixed: rgb(255 217 225);
  --md-sys-color-on-tertiary-fixed: rgb(50 16 27);
  --md-sys-color-tertiary-fixed-dim: rgb(240 183 197);
  --md-sys-color-on-tertiary-fixed-variant: rgb(100 59 70);
  --md-sys-color-surface-dim: rgb(21 18 24);
  --md-sys-color-surface-bright: rgb(59 56 62);
  --md-sys-color-surface-container-lowest: rgb(
    15 13 19
  ); /* Very Dark - Footer */
  --md-sys-color-surface-container-low: rgb(
    29 27 32
  ); /* Dark - Cards, Sections */
  --md-sys-color-surface-container: rgb(33 31 36);
  --md-sys-color-surface-container-high: rgb(44 41 47);
  --md-sys-color-surface-container-highest: rgb(54 52 58);

  /* Custom Landing Page Specific Vars */
  --lp-text-primary: var(--md-sys-color-on-background);
  --lp-text-secondary: var(--md-sys-color-on-surface-variant);
  --lp-text-emphasized: var(--md-sys-color-primary);
  --lp-background: var(--md-sys-color-background);
  --lp-card-background: var(--md-sys-color-surface-container-low);
  --lp-border-color: var(--md-sys-color-outline-variant);
  --lp-section-padding: 80px 0;
  --lp-container-width: 1140px;
  --lp-font-family: "DM Sans", sans-serif;
  --lp-transition-fast: all 0.3s ease-in-out;
  --lp-transition-medium: all 0.5s ease-in-out;
  --lp-shadow-soft: 0 8px 16px rgba(0, 0, 0, 0.15);
  --lp-shadow-medium: 0 12px 24px rgba(0, 0, 0, 0.2);
  --lp-border-radius: 12px;
  --lp-border-radius-large: 16px; /* Slightly larger radius for some elements */
}

/* ==========================================================================
   Global Resets and Base Styles
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  user-select: none;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--lp-font-family);
  background-color: var(--lp-background);
  color: var(--lp-text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

a {
  text-decoration: none;
  color: var(--md-sys-color-primary);
  transition: var(--lp-transition-fast);
}

a:hover {
  color: var(--md-sys-color-primary-fixed-dim);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--lp-text-primary);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
}
h2 {
  font-size: 2.25rem;
  margin-bottom: 1.25rem;
}
h3 {
  font-size: 1.75rem;
}
h4 {
  font-size: 1.25rem;
}

p {
  margin-bottom: 1rem;
  color: var(--lp-text-secondary);
}

p:last-child {
  margin-bottom: 0;
}

button,
.btn {
  font-weight: bold;
  text-transform: uppercase;
}

/* ==========================================================================
   Layout & Common Utility Classes
   ========================================================================== */
.container {
  width: 90%;
  max-width: var(--lp-container-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
}

.section {
  padding: var(--lp-section-padding);
  position: relative;
}

.section-title {
  text-align: left; /* CHANGED (from center) */
  margin-bottom: 3rem;
  font-size: 2.5rem;
  position: relative;
}

.section-title span {
  color: var(--lp-text-emphasized);
}

.section-subtitle {
  text-align: left; /* CHANGED (from center) */
  max-width: 700px;
  margin-left: 0; /* CHANGED (from auto) */
  margin-right: auto; /* CHANGED (ensures it respects max-width and stays left) */
  margin-top: -2rem;
  margin-bottom: 3rem;
  color: var(--lp-text-secondary);
  font-size: 1.1rem;
}

/* ==========================================================================
   Component Styles - Buttons
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.8rem 2rem;
  font-family: var(--lp-font-family);
  font-size: 1rem;
  font-weight: 500; /* Note: Base 'button, .btn' sets bold. This overrides for specific .btn */
  text-align: center;
  text-transform: uppercase; /* Inherited from 'button, .btn' */
  border-radius: 50px;
  cursor: pointer;
  transition: var(--lp-transition-fast);
  border: none;
  outline: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  box-shadow: 0 4px 12px rgba(var(--md-sys-color-primary-rgb), 0.3);
}

.btn-primary:hover {
  background-color: var(--md-sys-color-primary-fixed-dim);
  color: var(--md-sys-color-on-primary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--md-sys-color-primary-rgb), 0.4);
}

.btn-secondary {
  background-color: var(--md-sys-color-secondary-container);
  color: var(--md-sys-color-on-secondary-container);
  box-shadow: 0 4px 12px rgba(var(--md-sys-color-secondary-container-rgb), 0.2);
}

.btn-secondary:hover {
  background-color: var(--md-sys-color-secondary);
  color: var(--md-sys-color-on-secondary);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(var(--md-sys-color-secondary-rgb), 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--md-sys-color-primary);
  border: 2px solid var(--md-sys-color-primary);
}

.btn-outline:hover {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

.material-symbols-outlined {
  /* General style for icons */
  overflow: hidden;
  max-width: 100%;
}

.btn .material-symbols-outlined,
.btn .btn-icon-svg {
  font-size: 1.2em;
}

.btn .btn-icon-svg {
  width: 1.2em;
  height: 1.2em;
  fill: currentColor;
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 0;
  background-color: rgba(21, 18, 24, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background-color: var(--md-sys-color-surface-container-low);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--lp-text-primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo span {
  color: var(--md-sys-color-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.main-nav ul {
  list-style: none;
  display: flex;
  align-items: center;
}

.main-nav li {
  margin-left: 2rem;
}

.main-nav a {
  color: var(--lp-text-secondary);
  font-weight: 500;
  padding: 0.5rem 0; /* Added this to align with the :not(.btn) rule */
  border-bottom: 2px solid transparent; /* Added this to align with the :not(.btn) rule */
}

.main-nav a:not(.btn) {
  /* Specificity for non-button links if any */
  padding: 0.5rem 0;
  border-bottom: 2px solid transparent;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--lp-text-primary);
}

.main-nav a:not(.btn):hover,
.main-nav a:not(.btn).active {
  border-bottom-color: var(--md-sys-color-primary);
}

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--lp-text-primary);
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle .material-symbols-outlined {
  font-size: 2.5rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
#hero {
  padding-top: 140px;
  padding-bottom: 80px;
  min-height: 70vh;
  display: flex;
  align-items: center;
  /* text-align: center; MODIFIED - Handled by hero-content */
  position: relative;
  overflow: hidden;
}

#hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
      ellipse at top left,
      rgba(var(--md-sys-color-primary-rgb), 0.15) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at bottom right,
      rgba(var(--md-sys-color-secondary-rgb), 0.1) 0%,
      transparent 50%
    );
  z-index: -1;
  opacity: 0.7;
}

.hero-content {
  max-width: 800px;
  margin-left: 0; /* CHANGED (from auto) */
  margin-right: auto; /* CHANGED (To keep max-width respected and align left) */
  text-align: left; /* CHANGED */
}

.hero-content h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: var(--lp-text-primary);
  /* text-align: left; will be inherited */
}

.hero-content h1 .highlight {
  color: var(--lp-text-emphasized);
}

.hero-content .subtitle {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  color: var(--lp-text-secondary);
  max-width: 700px;
  margin-left: 0; /* CHANGED (from auto) */
  margin-right: auto; /* CHANGED */
  /* text-align: left; will be inherited */
}

.hero-cta-buttons {
  display: flex;
  justify-content: flex-start; /* CHANGED (from center) */
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-cta-buttons .btn {
  margin: 0.5rem 0;
}

/* Floating Shapes animation for Hero */
.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.floating-shapes .shape {
  position: absolute;
  background-color: var(--md-sys-color-primary);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.floating-shapes .shape1 {
  width: 80px;
  height: 80px;
  top: 10%;
  left: 15%;
  animation-duration: 22s;
}
.floating-shapes .shape2 {
  width: 120px;
  height: 120px;
  top: 70%;
  left: 5%;
  background-color: var(--md-sys-color-secondary);
  animation-duration: 18s;
  animation-delay: -5s;
}
.floating-shapes .shape3 {
  width: 50px;
  height: 50px;
  top: 20%;
  left: 80%;
  background-color: var(--md-sys-color-tertiary);
  animation-duration: 25s;
  animation-delay: -10s;
}
.floating-shapes .shape4 {
  width: 100px;
  height: 100px;
  top: 80%;
  left: 90%;
  animation-duration: 15s;
  animation-delay: -2s;
}
.floating-shapes .shape5 {
  width: 60px;
  height: 60px;
  top: 50%;
  left: 50%;
  background-color: var(--md-sys-color-secondary);
  animation-duration: 20s;
  animation-delay: -7s;
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
  100% {
    transform: translateY(0px) rotate(360deg);
  }
}

/* ==========================================================================
   "What is Pookie AI" Section (About)
   ========================================================================== */
#about {
  background-color: var(--md-sys-color-surface-container);
}

.about-content {
  max-width: 760px;
  margin-left: 0; /* CHANGED (from auto) */
  margin-right: auto; /* CHANGED */
  text-align: left; /* CHANGED (from center) */
}

.about-text h2 {
  /* Will inherit text-align: left from .about-content */
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--lp-text-primary);
}

.about-text p {
  /* Will inherit text-align: left from .about-content */
  font-size: 1.1rem;
  line-height: 1.8;
}

/* ==========================================================================
   "Imagine. Create. Connect." Section (Features)
   ========================================================================== */

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-item {
  /* Card content remains centered */
  background-color: var(--lp-card-background);
  padding: 2rem;
  border-radius: var(--lp-border-radius);
  text-align: center;
  transition: var(--lp-transition-medium);
  border: 1px solid var(--lp-border-color);
  box-shadow: var(--lp-shadow-soft);
}

.feature-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: var(--md-sys-color-primary);
}

.feature-icon {
  font-size: 3rem;
  color: var(--md-sys-color-primary);
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--lp-text-primary) 15%, transparent);
  width: 80px;
  height: 80px;
  border-radius: 50%;
}

.feature-icon .material-symbols-outlined {
  font-size: 2.5rem;
}

.feature-item h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--lp-text-primary);
}

.feature-item p {
  font-size: 1rem;
  color: var(--lp-text-secondary);
}

/* ==========================================================================
   How It Works Section
   ========================================================================== */
#how-it-works {
  background-color: var(--md-sys-color-surface-container);
  /* section-title already handled by global styles */
}

.how-it-works-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  position: relative;
}

.step-item {
  /* Card content remains centered */
  background-color: var(--lp-card-background);
  padding: 2rem 1.5rem;
  border-radius: var(--lp-border-radius);
  text-align: center;
  border: 1px solid var(--lp-border-color);
  position: relative;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 4px 8px rgba(var(--md-sys-color-primary-rgb), 0.3);
  border: 2px solid var(--lp-background);
}

.step-item h3 {
  margin-top: 1.5rem;
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  color: var(--lp-text-primary);
}

/* ==========================================================================
   Try Pookies Section
   ========================================================================== */
/* section-title and section-subtitle already handled by global styles if used */
.pookie-cards-grid {
  /* Cards remain as is */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.pookie-card {
  background-color: var(--lp-card-background);
  border-radius: var(--lp-border-radius);
  overflow: hidden;
  box-shadow: var(--lp-shadow-soft);
  transition: var(--lp-transition-medium);
  display: flex;
  flex-direction: column;
}

.pookie-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--lp-shadow-medium);
}

.pookie-card-image {
  width: 100%;
  padding-top: 100%; /* Aspect ratio 1:1 */
  position: relative;
  background-color: var(--md-sys-color-surface-container-high);
}

.pookie-card-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.pookie-card-content {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  /* Content inside card can remain default (left) or centered based on original design */
}

.pookie-card-content h3 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
  color: var(--lp-text-primary);
}

.pookie-card-type {
  font-size: 0.9rem;
  color: var(--lp-text-emphasized);
  margin-bottom: 0.75rem;
  font-weight: 500;
}

.pookie-card-description {
  font-size: 0.95rem;
  color: var(--lp-text-secondary);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.pookie-card .btn {
  width: 100%;
  margin-top: auto;
}

/* ==========================================================================
   Meet the Creator Section - Enhanced (NO CHANGES HERE PER REQUEST)
   ========================================================================== */
#meet-creator {
  background-color: var(--lp-card-background);
  padding-top: 100px;
  padding-bottom: 100px;
}

/* ADDED: Ensure section-title for meet-creator remains centered */
#meet-creator .section-title {
  text-align: center;
}

.creator-showcase {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.creator-intro-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.creator-image-wrapper {
  max-width: 180px;
  flex-shrink: 0;
}

.creator-image {
  width: 100%;
  border-radius: 50%;
}

.creator-bio {
  width: 100%; /* Take full width for text alignment later */
}

.creator-name {
  /* New class for better targeting */
  font-size: 1.8rem;
  font-weight: 700; /* Bolder name */
  color: var(--lp-text-primary);
  margin-bottom: 0.1rem;
  text-align: center;
}

.creator-role {
  font-size: 1.1rem;
  color: var(--lp-text-emphasized);
  margin-bottom: 1.25rem; /* More space after role */
  font-weight: 500;
  text-align: center;
}

.creator-bio-text p {
  /* Target bio paragraphs specifically */
  font-size: 1.05rem;
  color: var(--lp-text-secondary);
  line-height: 1.75;
  margin-bottom: 0.5rem;
  text-align: left; /* Default left align for desktop */
}

.creator-bio-text p:last-of-type {
  margin-bottom: 0;
}

.creator-bio-text p.small {
  font-size: 0.95rem;
  font-style: italic;
}

.creator-connect-card {
  background-color: var(--md-sys-color-surface-container-low);
  padding: 1.5rem;
  border-radius: var(--lp-border-radius);
  text-align: center;
  border-top: 1px solid var(--lp-border-color);
  margin-top: 1.5rem; /* Adjusted margin */
}

.creator-connect-card h4 {
  font-size: 1.3rem;
  color: var(--lp-text-primary);
  margin-bottom: 1.25rem;
}

.creator-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.creator-links .btn-outline {
  border-color: var(--md-sys-color-outline);
  color: var(--lp-text-secondary);
}

.creator-links .btn-outline:hover {
  background-color: var(--md-sys-color-primary-container);
  border-color: var(--md-sys-color-primary-container);
  color: var(--md-sys-color-on-primary-container);
}

/* Responsive adjustments within Meet the Creator section */
@media (min-width: 768px) {
  .creator-intro-card {
    flex-direction: row;
    text-align: left;
    align-items: flex-start;
  }
  .creator-image-wrapper {
    margin-right: 2rem;
    margin-bottom: 0;
  }
  .creator-bio {
    /* Reset width for desktop flex */
    flex: 1;
  }
  .creator-name,
  .creator-role {
    text-align: left; /* Align left on desktop */
  }
  .creator-connect-card {
    margin-top: 2rem;
  }
}

@media (min-width: 992px) {
  .creator-showcase {
    padding: 3rem;
    background-color: var(--md-sys-color-surface-container);
    border-radius: var(--lp-border-radius-large);
  }
}

/* ==========================================================================
   App Download Banner Section
   ========================================================================== */
.app-download-banner {
  background: linear-gradient(
    45deg,
    var(--md-sys-color-primary-container),
    var(--md-sys-color-secondary-container)
  );
  padding: 3rem 0;
  text-align: left; /* CHANGED (from center) */
}

.app-download-banner h2 {
  /* Will inherit text-align: left */
  color: var(--md-sys-color-on-primary-container);
  margin-bottom: 0.75rem;
  font-size: 1.8rem;
}

.app-download-banner p {
  /* Will inherit text-align: left */
  color: var(--md-sys-color-on-secondary-container);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.app-download-banner .btn {
  /* Will align left due to parent's text-align: left */
  background-color: var(--md-sys-color-primary-fixed);
  color: var(--md-sys-color-on-primary-fixed);
}

.app-download-banner .btn:hover {
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

/* ==========================================================================
   Final CTA Section
   ========================================================================== */
#final-cta {
  text-align: left; /* CHANGED (from center) */
  padding: 4rem 0;
}

#final-cta .section-title {
  /* Will inherit text-align: left or use general .section-title style */
  margin-bottom: 1rem;
}

#final-cta p {
  color: var(--lp-text-secondary);
  font-size: 1.2rem;
  max-width: 700px;
  margin-left: 0; /* CHANGED (from auto) */
  margin-right: auto; /* CHANGED */
  margin-bottom: 2rem;
  /* text-align: left; will be inherited */
}
/* Button within #final-cta .container will align left due to #final-cta text-align:left */

/* ==========================================================================
   Footer (NO CHANGES HERE PER REQUEST)
   ========================================================================== */
.site-footer {
  background-color: var(--md-sys-color-surface-container-lowest);
  color: var(--lp-text-secondary);
  padding: 3rem 0;
  text-align: center;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-logo .logo {
  /* Assuming .logo class is used here */
  font-size: 1.5rem;
}

.footer-logo .logo .logo-icon {
  width: 28px;
  height: 28px;
}

.footer-links ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  justify-content: center;
}

.footer-links a {
  color: var(--lp-text-secondary);
}

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

.copyright {
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* ==========================================================================
   Helper/Utility Styles
   ========================================================================== */

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: var(--lp-transition-fast);
  z-index: 999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  background-color: var(--md-sys-color-primary-fixed-dim);
  color: var(--md-sys-color-on-primary);
  transform: scale(1.1);
}

.scroll-to-top .material-symbols-outlined {
  font-size: 1.8rem;
  color: inherit;
}

/* Animation on Scroll - Fade In Up */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */

/* Medium Desktops / Small Laptops */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  h2 {
    font-size: 2rem;
  }
  .section-title {
    font-size: 2.2rem;
  }
  #hero h1 {
    font-size: 2.8rem;
  }
}

/* Tablets */
@media (max-width: 768px) {
  .container {
    width: 95%;
  }

  /* Mobile Navigation */
  .main-nav {
    display: none;
    position: absolute;
    top: 100%; /* Position below header */
    left: 0;
    width: 100%;
    background-color: var(--md-sys-color-surface-container-low);
    padding: 1rem 0;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  }
  .main-nav.active {
    display: block;
  }
  .main-nav ul {
    flex-direction: column;
    align-items: center;
  }
  .main-nav li {
    margin: 0.75rem 0;
  }
  .mobile-nav-toggle {
    display: block;
  }

  /* Hero Section adjustments */
  #hero {
    padding-top: 100px;
    min-height: auto;
    padding-bottom: 60px;
  }
  #hero h1 {
    font-size: 2.2rem;
  }
  .hero-content .subtitle {
    font-size: 1.1rem;
  }

  /* Grid Layouts to single column */
  .features-grid {
    grid-template-columns: 1fr;
  }
  .how-it-works-steps {
    grid-template-columns: 1fr;
  }
  .pookie-cards-grid {
    grid-template-columns: 1fr;
  }

  /* Footer adjustments */
  .footer-content {
    gap: 1rem;
  }
  .footer-links ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* Mobile Devices */
@media (max-width: 480px) {
  * {
    cursor: default !important;
  } /* Global cursor override for smallest screens */

  body {
    font-size: 15px;
  }

  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  .section-title {
    font-size: 1.8rem;
  }
  #hero h1 {
    font-size: 2rem;
  }
  .hero-content .subtitle {
    font-size: 1rem;
  }

  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
  }

  .pookie-card-content {
    padding: 1rem;
  }
  .pookie-card-content h3 {
    font-size: 1.2rem;
  }

  /* Hero CTA Buttons full width */
  .hero-cta-buttons {
    flex-direction: column;
    gap: 0.5rem;
    align-items: stretch; /* CHANGED align-items for full width buttons */
  }
  .hero-cta-buttons .btn {
    width: 100%;
    max-width: 100%; /* CHANGED max-width for full width buttons on mobile */
  }

  /* Meet The Creator Section - Mobile Specifics */
  #meet-creator .container {
    /* Note: Original had !important on padding: 0 1rem; */
    padding-left: 10px; /* which was on .creator-showcase. Keeping this specific for container */
    padding-right: 10px;
    background: transparent; /* This might be for a nested container if any, or for the main one */
  }
  .creator-showcase {
    padding: 0 1rem !important; /* Overriding previous padding */
    gap: 0rem;
  }
  .creator-intro-card {
    gap: 0.5rem;
    margin-bottom: 0rem;
  }
  .creator-image-wrapper {
    max-width: 110px;
    margin-bottom: 0.75rem;
    border-radius: 50%; /* Ensure it stays circle */
  }
  .creator-bio {
    text-align: center;
  }
  .creator-name {
    font-size: 1.6rem;
    margin-bottom: 0.2rem;
  }
  .creator-role {
    font-size: 0.95rem;
    color: var(--lp-text-emphasized);
    margin-bottom: 1rem;
    line-height: 1.4;
  }
  .creator-bio-text {
    margin-top: 0.5rem;
  }
  .creator-bio-text p {
    font-size: 0.95rem;
    line-height: 1.65;
    text-align: left;
    color: var(--md-sys-color-on-surface-variant);
  }
  .creator-bio-text p.small {
    font-size: 0.85rem;
    font-style: italic;
  }
  .creator-connect-card {
    padding: 0rem;
    padding-top: 0.75rem;
    background-color: transparent;
    border-top: 1px solid var(--md-sys-color-outline-variant);
  }
  .creator-connect-card h4 {
    font-size: 1.15rem;
    margin-bottom: 1rem;
    font-weight: 500;
  }
  .creator-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .creator-links-row {
    /* For side-by-side buttons within the column flow if needed */
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
  }
  .creator-links-row .btn {
    flex: 1;
    padding: 0.7rem 0.5rem; /* Smaller padding for smaller buttons */
    font-size: 0.8rem; /* Smaller font for smaller buttons */
  }
  .creator-link-block-button {
    /* For full-width buttons in the column */
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }
  .creator-links .btn .material-symbols-outlined,
  .creator-links .btn .btn-icon-svg {
    font-size: 1.1em; /* Slightly smaller icons in these buttons */
  }
  .creator-links .btn-outline {
    /* Ensure hover states are still defined or inherited */
    border-color: var(--md-sys-color-outline);
    color: var(--lp-text-secondary);
  }
  .creator-links .btn-outline:hover {
    background-color: var(--md-sys-color-primary-container);
    border-color: var(--md-sys-color-primary-container);
    color: var(--md-sys-color-on-primary-container);
  }
}
