* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Critical mobile fixes */
@media (max-width: 780px) {
  * {
    max-width: 100% !important;
  }
  
  html, body {
    overflow-x: hidden !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* Ensure no browser artifacts */
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0 !important;
  padding: 0 !important;
  border: none;
  outline: none;
  background: #ffffff !important;
  min-height: 100vh;
  position: relative;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  height: 100vh;
  overflow: hidden;
  background: #ffffff;
}

/* Mobile body override */
@media (max-width: 780px) {
  body {
    overflow: visible !important;
    height: auto !important;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100% !important;
    max-width: 100% !important;
  }
  
  /* Prevent horizontal scrolling issues */
  html {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }
}

.container {
  display: flex;
  height: 100vh;
  background: #ffffff;
  width: 100%;
  overflow: hidden;
  position: relative;
}

/* Left Sidebar */
.sidebar {
  width: 35%;
  min-width: 35%;
  max-width: 35%;
  background: #000000;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
}

.logo {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.section-title-wrapper {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.team-link {
  color: #4a90e2;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Top CTA Banner */
.top-cta-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  z-index: 100; /* Higher z-index to ensure it's above everything */
  border-bottom: none; /* Remove border completely */
  transition: all 0.3s ease;
  display: none; /* Hidden by default, shown on mobile */
  box-shadow: none; /* Remove shadow */
}

.top-cta-content {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.15rem 1rem; /* Reduced padding */
}

.top-cta-actions {
  display: flex;
  gap: 0.5rem; /* Better spacing between buttons */
}

.top-cta-button {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.65rem; /* Slightly smaller but still readable */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem; /* Reduced padding */
  border: 1px solid; /* Thinner border */
  transition: all 0.3s ease;
  border-radius: 3px; /* Slightly larger radius */
  font-family: "Inter", sans-serif;
}

.top-cta-button.primary {
  background: #4997d0;
  color: #ffffff;
  border-color: #4997d0;
}

.top-cta-button.primary:hover {
  background: #3d7fb8;
  transform: translateY(-1px);
}

.top-cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.top-cta-button.secondary:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-1px);
}

/* Top Right Login Button */
.top-login-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.95);
  color: #000000;
  border: 2px solid #000000;
  padding: 0.75rem 1.5rem;
  font-family: "Inter", sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  z-index: 99999;
  border-radius: 4px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.top-login-btn:hover {
  background: #4997d0;
  color: #ffffff;
  border-color: #4997d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(73, 151, 208, 0.3);
}

/* Right Content Panel */
.content-panel {
  width: 65%;
  min-width: 65%;
  max-width: 65%;
  background: #ffffff;
  color: #000000;
  overflow-y: auto;
  height: 100vh;
  position: relative;
  padding-top: 0;
  scroll-behavior: smooth;
}

.content-inner {
  padding: 4rem 2rem 10rem 2rem;
}

/* Scroll Snap Sections */
.scroll-section {
  min-height: 100vh;
  padding: 2rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
}

.scroll-section.principles-section {
  padding: 2rem 2rem 4rem 2rem;
}

.scroll-section.team-section {
  background: linear-gradient(135deg, rgba(73, 151, 208, 0.02) 0%, rgba(73, 151, 208, 0.05) 100%);
  border-top: 1px solid rgba(73, 151, 208, 0.1);
  border-bottom: 1px solid rgba(73, 151, 208, 0.1);
}

.scroll-section.letters-section {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.05) 100%);
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.scroll-section.contact-section {
  background: linear-gradient(135deg, rgba(30, 136, 229, 0.02) 0%, rgba(30, 136, 229, 0.05) 100%);
  border-top: 1px solid rgba(30, 136, 229, 0.1);
}

/* Team Section Styles */
.team-header {
  text-align: center;
  margin-bottom: 2rem;
}

.team-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000000;
  margin-bottom: 0.5rem;
}

.team-subtitle {
  font-size: 1.2rem;
  color: #666666;
  font-weight: 500;
  line-height: 1.4;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.team-member {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 2.5rem;
  border: 3px solid #000000;
  background: #ffffff;
  transition: all 0.3s ease;
  width: 100%;
  min-height: 200px;
}

.team-member.carlos:hover {
  transform: translateY(-8px);
  box-shadow: 16px 16px 0px #1e88e5;
  background: rgba(30, 136, 229, 0.02);
  border-left-color: #1e88e5;
}

.team-member.snoopy:hover {
  transform: translateY(-8px);
  box-shadow: 16px 16px 0px #fb8c00;
  background: rgba(251, 140, 0, 0.02);
  border-left-color: #fb8c00;
}

.team-member.carlos .member-name {
  color: #1e88e5;
}

.team-member.snoopy .member-name {
  color: #fb8c00;
}

.team-member.carlos .member-photo {
  border-color: #1e88e5;
}

.team-member.snoopy .member-photo {
  border-color: #fb8c00;
}

.member-photo {
  flex-shrink: 0;
  width: 140px;
  height: 140px;
  border: 3px solid #4997d0;
  overflow: hidden;
  border-radius: 50%;
}

.member-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-info {
  flex: 1;
}

.member-name {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #4997d0;
  margin-bottom: 0.75rem;
}

.member-role {
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000;
  margin-bottom: 1.25rem;
}

.member-bio {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  font-weight: 500;
}

/* Principles Cards Section */
/* Journey Cards Section */
.journey {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  max-width: 100%;
  padding-left: 2rem;
  width: 100%;
}

/* Timeline spine */
.journey::before {
display: none;
}

.phase-card {
  position: relative;
  min-height: 280px;
  border: 3px solid #000000;
  background: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 3rem 5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background-size: 0% 100%;
  background-repeat: no-repeat;
  background-position: left center;
  transition: background-size 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
}

/* Timeline dots for each phase */
.phase-card::before {
  content: "";
  position: absolute;
  left: -4.5rem;
  top: 2rem;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  z-index: 2;
  transition: all 0.3s ease;
}

.phase-card:hover {
  transform: translateY(-8px);
  box-shadow: 16px 16px 0px #000000, 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Sweep fill animation backgrounds */
.growth.in-view {
  background-size: 100% 100%;
}

.clarity.in-view {
  background-size: 100% 100%;
}

.accountability.in-view {
  background-size: 100% 100%;
}

/* Individual phase styling */
.growth {
  background-image: linear-gradient(135deg, rgba(30, 136, 229, 0.1) 0%, rgba(30, 136, 229, 0.05) 100%);
  border-left: 4px solid #1e88e5;
}

.growth::before {
  background: #1e88e5;
}

.growth:hover .principle-title {
  color: #1e88e5;
}

.growth .solution-item {
  border-left-color: #1e88e5;
}

.clarity {
  background-image: linear-gradient(135deg, rgba(67, 160, 71, 0.1) 0%, rgba(67, 160, 71, 0.05) 100%);
  border-left: 4px solid #43a047;
}

.clarity::before {
  background: #43a047;
}

.clarity:hover .principle-title {
  color: #43a047;
}

.clarity .solution-item {
  border-left-color: #43a047;
}

.accountability {
  background-image: linear-gradient(135deg, rgba(251, 140, 0, 0.1) 0%, rgba(251, 140, 0, 0.05) 100%);
  border-left: 4px solid #fb8c00;
}

.accountability::before {
  background: #fb8c00;
}

.accountability:hover .principle-title {
  color: #fb8c00;
}

.accountability .solution-item {
  border-left-color: #fb8c00;
}

.principle-title {
  font-size: 2.5rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  transition: all 0.3s ease;
  position: relative;
  color: #4997d0;
}

.principle-subtitle {
  font-size: 1.1rem;
  color: #666666;
  font-weight: 500;
  line-height: 1.4;
  margin-bottom: 1rem;
}

.principle-quote {
font-size: 1rem;
color: #888888;
font-style: italic;
font-weight: 500;
margin-bottom: 2rem;
line-height: 1.4;
}

.principle-button {
  background: #000000;
  color: #ffffff;
  border: none;
  padding: 1rem 2rem;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
  margin-top: auto;
  position: relative;
  z-index: 5;
}

.principle-button:hover {
  background: #4997d0;
  transform: translateY(-2px);
}

/* Solutions Reveal Animation */
.solutions-reveal {
  position: absolute;
  bottom: 0;
  right: 0;
  top: 0;
  width: 50%;
  background: rgba(0, 0, 0, 0.95);
  color: #ffffff;
  padding: 2rem 2rem;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
  border-left: 3px solid #4997d0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.phase-card:hover .solutions-reveal {
  transform: translateX(0);
}

.services-heading {
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4997d0;
  margin: 0 0 1.5rem 0;
  text-align: center;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.phase-card:hover .services-heading {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.1s;
}

.solution-item {
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  border-left: 3px solid #4997d0;
  padding-left: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #ffffff;
}

.phase-card:hover .solution-item:nth-child(2) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

.phase-card:hover .solution-item:nth-child(3) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.3s;
}

.phase-card:hover .solution-item:nth-child(4) {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.4s;
}

/* Staggered Layout for Desktop - removed for journey layout */
@media (min-width: 781px) {
  .journey {
    gap: 3rem;
  }
}



/* Card Color Accents */
.growth-card:hover {
  border-color: #1e88e5;
}

.clarity-card:hover {
  border-color: #43a047;
}

.accountability-card:hover {
  border-color: #fb8c00;
}

/* Staggered Layout for Desktop */
@media (min-width: 781px) {
  .principles-grid {
    gap: 3rem;
  }

  .principle-card:nth-child(2) {
    margin-left: 2rem;
  }

  .principle-card:nth-child(3) {
    margin-left: 4rem;
  }
}

/* Letters from my Team Section */
.letters-section {
margin-top: 0;
padding: 4rem 0 0 0;
border-top: none;
background: transparent;
width: 100%;
position: relative;
box-sizing: border-box;
}

.letters-header {
  margin-bottom: 4rem;
  text-align: center;
}

.letters-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000000;
  margin-bottom: 0.5rem;
}

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

.letter-card {
  background: transparent;
  padding: 3rem 4rem;
  border-left: 3px solid #000000;
  transition: all 0.2s ease;
}

.letter-card:hover {
  background: rgba(0, 0, 0, 0.02);
  border-left-color: #4997d0;
  transform: translateX(4px);
}

.letter-content {
  margin-bottom: 2rem;
}

.letter-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333333;
  font-style: italic;
  margin: 0;
}

.letter-author {
  text-align: right;
}

.letter-author strong {
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #000000;
}

.letter-author span {
  font-size: 0.8rem;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Drop a Word Section */
.drop-word-section {
  margin-top: 0;
  padding: 0;
  border-top: none;
}

.drop-word-header {
  text-align: center;
  margin-bottom: 3rem;
}

.drop-word-title {
  font-size: 2rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #000000;
  margin-bottom: 0.5rem;
}

.drop-word-subtitle {
  font-size: 1.1rem;
  color: #666666;
  font-weight: 500;
  line-height: 1.4;
}

.form-note {
  font-size: 0.9rem;
  color: #888888;
  font-style: italic;
  margin-top: 0.5rem;
  text-align: center;
}

.drop-word-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.form-input {
  padding: 1rem 1.2rem;
  border: 3px solid #000000;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: #4997d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(73, 151, 208, 0.15);
}

.form-textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 3px solid #000000;
  background: #ffffff;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  resize: vertical;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-textarea:focus {
  border-color: #4997d0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(73, 151, 208, 0.15);
}

.submit-word-btn {
  background: #000000;
  color: #ffffff;
  border: 3px solid #000000;
  padding: 1rem 2rem;
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 auto;
}

.submit-word-btn:hover {
  background: #4997d0;
  border-color: #4997d0;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(73, 151, 208, 0.3);
}

.btn-arrow {
  transition: transform 0.3s ease;
}

.submit-word-btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* Enhanced Footer CTA */
.footer-cta {
  position: fixed;
  bottom: 0;
  left: 35%;
  width: 65%;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  z-index: 15;
  border-top: 3px solid #4997d0;
  transition: all 0.3s ease;
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 2rem;
  gap: 2rem;
}

.cta-left {
  flex: 1;
}

.cta-tagline {
  font-weight: 900;
  font-size: 1.2rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.cta-subtitle {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #4997d0;
}

.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.7rem 1.5rem;
  border: 2px solid;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button.primary {
  background: #4997d0;
  color: #ffffff;
  border-color: #4997d0;
  box-shadow: 0 2px 8px rgba(73, 151, 208, 0.3);
}

.cta-button.primary:hover {
  background: #3d7fb8;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(73, 151, 208, 0.4);
}

.cta-button.secondary {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.cta-button.secondary:hover {
  background: #ffffff;
  color: #000000;
  transform: translateY(-2px);
}

.cta-button.tertiary {
  background: transparent;
  color: #4997d0;
  border-color: #4997d0;
}

.cta-button.tertiary:hover {
  background: #4997d0;
  color: #ffffff;
  transform: translateY(-2px);
}

.post {
  margin-bottom: 6rem;
  padding: 0 4rem;
}

.post-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.post-date {
  font-size: 1rem;
  color: #666666;
  margin-top: 0.3rem;
  font-weight: 400;
}

/* Responsiveness */
@media (max-width: 780px) {
  html, body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    width: 100% !important;
  }

  body {
    overflow-x: hidden !important;
    overflow-y: auto !important;
    height: auto !important;
    font-size: 16px;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    padding-top: 25px; /* Reduced padding to show logo */
  }

  /* Show top CTA banner on mobile */
  .top-cta-banner {
    display: block !important;
  }

  .container {
    flex-direction: column !important;
    height: auto !important;
    overflow: visible !important;
    min-height: 100vh;
    width: 100% !important;
    max-width: 100%;
  }

  .sidebar {
    width: 100% !important;
    height: auto !important;
    position: relative !important;
    text-align: center;
    padding: 0.5rem 1.5rem 2.5rem 1.5rem; /* Ultra reduced top padding */
    min-height: auto;
    max-width: none !important;
    min-width: auto !important;
    display: block;
    flex-shrink: 0;
    background: #000000;
  }

  .section-title-wrapper {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.6rem;
    line-height: 1.2;
    margin-bottom: 0.5rem;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    text-align: center;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }

  .logo {
    font-size: 0.7rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.1em;
  }

  /* Mobile Top Login Button - Hide default, replaced by banner */
  .top-login-btn {
    display: none !important; /* Hide on mobile, replaced by top banner */
  }

  .content-panel {
    width: 100% !important;
    height: auto !important;
    overflow-y: visible !important;
    overflow-x: hidden !important;
    padding-top: 0;
    position: relative;
    flex: 1;
    background: #ffffff;
    max-width: none !important;
    min-width: auto !important;
  }

  .scroll-section {
    min-height: auto;
    padding: 3rem 1rem;
  }

  .scroll-section.principles-section {
    padding: 2rem 1rem 3rem 1rem;
  }

  .content-inner {
    padding: 2rem 1rem 6rem 1rem;
    max-width: 100%;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
  }

  .journey {
    padding-left: 0;
    padding-right: 0;
    gap: 2rem;
    margin-top: 1.5rem;
    width: 100%;
    max-width: 100%;
    overflow: visible !important; /* Fix mobile cards overflow */
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
  }

  .journey::before {
    display: none;
  }

  .phase-card {
    min-height: 220px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-width: 2px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    border-radius: 8px;
    overflow: visible !important; /* Fix mobile cards interaction */
    padding: 2rem 1.5rem;
    touch-action: manipulation; /* Better mobile touch */
  }

  /* Mobile card interactions - Fix for three principle cards */
  .phase-card {
    min-height: 220px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    border-width: 2px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    position: relative;
    border-radius: 8px;
    overflow: visible !important; /* Fix mobile cards interaction */
    padding: 2rem 1.5rem;
    touch-action: manipulation; /* Better mobile touch */
    cursor: pointer;
  }

  /* Mobile hover states for cards */
  .phase-card:hover,
  .phase-card:active,
  .phase-card:focus {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0px #000000;
    border-color: #4997d0;
  }

  .phase-card.growth:hover,
  .phase-card.growth:active {
    border-left-color: #1e88e5;
    box-shadow: 8px 8px 0px #1e88e5;
  }

  .phase-card.clarity:hover,
  .phase-card.clarity:active {
    border-left-color: #43a047;
    box-shadow: 8px 8px 0px #43a047;
  }

  .phase-card.accountability:hover,
  .phase-card.accountability:active {
    border-left-color: #fb8c00;
    box-shadow: 8px 8px 0px #fb8c00;
  }

  /* Mobile solutions reveal - simplified for mobile */
  .solutions-reveal {
    position: static !important;
    width: 100% !important;
    background: rgba(0, 0, 0, 0.05) !important;
    color: #333333 !important;
    padding: 1.5rem 0 0 0 !important;
    transform: none !important;
    border-left: none !important;
    margin-top: 1rem;
    border-top: 2px solid #4997d0;
  }

  .services-heading {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    text-align: left !important;
    color: #4997d0 !important;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 1 !important;
    transform: none !important;
  }

  .solution-item {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding: 0.4rem 0;
    color: #333333 !important;
    line-height: 1.4;
    border-left: none !important;
    opacity: 1 !important;
    transform: none !important;
    padding-left: 0 !important;
  }

  .phase-card::before {
    display: none;
  }

  .principle-title {
    font-size: 1.8rem;
    line-height: 1.1;
    margin-bottom: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }

  .principle-subtitle {
    font-size: 1rem;
    line-height: 1.4;
    color: #666666;
    font-weight: 500;
    margin-bottom: 1rem;
  }

  .principle-quote {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #888888;
    font-style: italic;
  }

  .principle-button {
    padding: 0.8rem 1.5rem;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #000000;
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
  }

  .principle-button:hover,
  .principle-button:active {
    background: #4997d0;
    transform: translateY(-2px);
  }

  /* Improved touch targets for mobile */
  .team-link {
    color: #4a90e2;
  }

  /* Mobile Footer CTA - Hide since we have top banner */
  .footer-cta {
    display: none !important; /* Hide footer CTA on mobile, replaced by top banner */
  }

  /* Mobile Sections */
  .letters-section {
    margin-top: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    border-top: none;
    position: relative;
    box-sizing: border-box;
  }

  .letters-title {
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #000000;
  }

  .letters-grid {
    gap: 2rem;
    padding: 0;
    max-width: 100%;
  }

  .letter-card {
    padding: 2rem 1.5rem;
    margin: 0;
    border-width: 2px;
    border-left: 3px solid #000000;
    max-width: 100%;
    box-sizing: border-box;
    background: transparent;
    transition: all 0.3s ease;
  }

  .letter-card:hover {
    background: rgba(0, 0, 0, 0.02);
    border-left-color: #4997d0;
    transform: translateX(4px);
  }

  .letter-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333333;
    font-style: italic;
    margin-bottom: 1.5rem;
  }

  .letter-author strong {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .letter-author span {
    font-size: 0.8rem;
    color: #666666;
    text-transform: uppercase;
    letter-spacing: 0.05em;
  }

  .drop-word-section {
    margin-top: 0;
    padding: 2.5rem 1.5rem;
    border-top: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: visible !important;
  }

  .drop-word-form {
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }

  .drop-word-title {
    font-size: 1.6rem;
    margin-bottom: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #000000;
  }

  .drop-word-subtitle {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    width: 100%;
    box-sizing: border-box;
  }

  .form-input,
  .form-textarea {
    padding: 1rem 1.2rem;
    font-size: 16px; /* Prevents zoom on iOS */
    border-width: 2px;
    border: 2px solid #000000;
    background: #ffffff;
    font-family: "Inter", sans-serif;
    font-weight: 500;
    transition: all 0.3s ease;
    outline: none;
    border-radius: 4px;
    width: 100%;
    box-sizing: border-box;
    -webkit-appearance: none; /* Fix iOS styling */
    appearance: none;
  }

  .form-input:focus,
  .form-textarea:focus {
    border-color: #4997d0;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73, 151, 208, 0.15);
  }

  .form-textarea {
    min-height: 120px;
    resize: vertical;
    margin-bottom: 2rem;
    line-height: 1.5;
  }

  .submit-word-btn {
    padding: 1rem 2rem;
    font-size: 1rem;
    border-width: 2px;
    background: #000000;
    color: #ffffff;
    border: 2px solid #000000;
    font-family: "Inter", sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
    border-radius: 4px;
  }

  .submit-word-btn:hover,
  .submit-word-btn:active {
    background: #4997d0;
    border-color: #4997d0;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(73, 151, 208, 0.3);
  }

  /* Mobile Team Section */
  .team-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #000000;
  }

  .team-subtitle {
    font-size: 1rem;
    color: #666666;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 2rem;
  }

  .team-member {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem 1.5rem;
    border-width: 2px;
    margin: 0;
    width: 100%;
  }

  .team-member.carlos:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0px #1e88e5;
  }

  .team-member.snoopy:hover {
    transform: translateY(-4px);
    box-shadow: 8px 8px 0px #fb8c00;
  }

  .member-photo {
    width: 100px;
    height: 100px;
    border-width: 2px;
    margin: 0 auto;
  }

  .member-name {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    color: #4997d0;
  }

  .member-role {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #000000;
  }

  .member-bio {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #333333;
    font-weight: 500;
  }

  .post {
    padding: 0 1.5rem;
    margin-bottom: 4rem;
  }

  .post-title {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: -0.01em;
  }

  .post-date {
    font-size: 1rem;
    color: #666666;
    font-weight: 400;
  }
}

/* Enhanced Mobile Touch and Visual Fixes */
@media (max-width: 480px) {
  html, body {
    overflow: visible !important;
    height: auto !important;
  }

  .section-title {
    font-size: 1.4rem;
    line-height: 1.15;
    word-break: break-word;
  }
  
  .principle-title {
    font-size: 1.6rem;
    line-height: 1.1;
  }
  
  .sidebar {
    padding: 2rem 1.25rem;
  }
  
  .content-inner {
    padding: 2rem 1rem 4rem 1rem;
  }
  
  .principle-card {
    min-height: 160px;
    border-radius: 8px;
    overflow: hidden;
  }
  
  .card-front,
  .card-back,
  .card-hover {
    padding: 1.75rem 1.25rem;
  }
  
  .principle-subtitle {
    font-size: 0.9rem;
    line-height: 1.35;
  }
  
  .supporting-phrase {
    font-size: 0.85rem;
    margin: 1rem 0;
  }
  
  .letters-section,
  .drop-word-section {
    padding: 2rem 1rem;
  }
  
  .letter-card {
    margin: 0;
    padding: 1.75rem 1.25rem;
    border-radius: 8px;
  }
  
  .letters-title,
  .drop-word-title {
    font-size: 1.4rem;
  }

  .cta-content {
    padding: 1.5rem 1rem;
  }

  .cta-tagline {
    font-size: 1rem;
  }

  .cta-actions {
    gap: 0.75rem;
  }

  .cta-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.8rem;
    border-radius: 6px;
  }

  /* Better form styling for small screens */
  .form-input,
  .form-textarea {
    font-size: 16px; /* Prevents zoom on iOS */
    border-radius: 6px;
  }

  .submit-word-btn {
    border-radius: 6px;
    min-height: 48px; /* Better touch target */
  }

  /* Improved drawer close button */
  .drawer-close {
    min-width: 48px;
    min-height: 48px;
    border-radius: 6px;
  }
}

/* CSS for mobile alerts */
.mobile-alert {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
}

/* Improved mobile device class */
.mobile-device .principle-card {
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}

.mobile-device .principle-card:active {
  transform: translateY(-2px) scale(0.98);
}

/* Performance optimizations for mobile */
@media (max-width: 780px) {
  * {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
  }

  .principle-card,
  .letter-card,
  .cta-button,
  .team-link {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
  }
}

/* Better mobile focus styles */
@media (max-width: 780px) {
  .team-link:focus,
  .cta-button:focus,
  .principle-button:focus,
  .submit-word-btn:focus,
  .drawer-close:focus {
    outline: 2px solid #4997d0;
    outline-offset: 2px;
  }

  .form-input:focus,
  .form-textarea:focus {
    outline: none;
    box-shadow: 0 0 0 2px #4997d0;
  }
}

/* Testimonials System Styles */
.real-testimonial {
  position: relative;
}

.real-testimonial::after {
  content: '✓ Real Feedback';
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  color: #4997d0;
  background: rgba(73, 151, 208, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.no-testimonials {
  opacity: 0.8;
  border: 2px dashed rgba(73, 151, 208, 0.3);
  background: rgba(73, 151, 208, 0.02);
}

.no-testimonials .letter-content p {
  color: #666;
  font-style: italic;
}

/* Testimonials fade-in animation */
.letters-grid .letter-card {
  opacity: 1; /* Ensure testimonials are always visible */
  transform: translateY(0);
  animation: fadeInTestimonial 0.8s ease-out forwards;
}

/* Mobile-first approach - no animation issues */
@media (max-width: 780px) {
  .letters-grid .letter-card {
    opacity: 1 !important;
    transform: translateY(0) !important;
    animation: none !important;
    display: block !important;
    visibility: visible !important;
  }
  
  /* Ensure testimonials grid is always visible on mobile */
  .letters-grid {
    display: grid !important;
    opacity: 1 !important;
  }
  
  /* Force testimonials to show regardless of JavaScript state */
  #testimonials-grid {
    display: grid !important;
    opacity: 1 !important;
  }
  
  #testimonials-grid .letter-card {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }
}

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