/* ==========================================================================
   TTYCMO - Talk To Your CMO Homepage Styles (Redesign)
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Variables / Design Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Brand Colors - Keep Teal Primary */
  --color-primary: #35d29b;
  --color-primary-dark: #07393e;
  --color-primary-light: #39c489;

  /* Shido Accent - Orange for featured items */
  --color-accent-orange: #ff9500;
  --color-accent-orange-hover: #e68600;

  /* Backgrounds - Adopt Shido's lighter palette */
  --bg-primary: #f8f9fc;
  --bg-secondary: #ffffff;
  --bg-tertiary: #edf2f7;

  /* Glass effects */
  --glass-border: rgba(0, 0, 0, 0.1);
  --glass-bg: rgba(255, 255, 255, 0.95);

  /* Text */
  --color-text-main: #1f2937;
  --color-text-muted: #6b7280;
  --color-text-light: #9ca3af;

  /* Shadows */
  --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.1);

  /* Transitions */
  --transition-base: 0.3s ease;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Typography */
  --font-heading: 'Instrument Serif', serif;
  --font-body: 'DM Sans', sans-serif;

  /* Gradients */
  --gradient-text: linear-gradient(135deg, #07393e 0%, #35d29b 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* Animated Background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background:
    radial-gradient(circle at 20% 30%, rgba(53, 210, 155, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(7, 57, 62, 0.06) 0%, transparent 50%);
  z-index: -1;
  pointer-events: none;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-base);
}

ul,
ol {
  list-style: none;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  /* Instrument Serif is naturally bold/distinctive */
  line-height: 1.2;
  color: var(--color-primary-dark);
}

h1 {
  font-size: 3.5rem;
}

h2 {
  font-size: 2.5rem;
}

h3 {
  font-size: 1.75rem;
  font-family: var(--font-body);
  font-weight: 700;
}

h4 {
  font-size: 1.25rem;
  font-family: var(--font-body);
  font-weight: 700;
}

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

p {
  font-family: var(--font-body);
}

/* --------------------------------------------------------------------------
   Container
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  transition: all var(--transition-base);
}

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

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: -0.02em;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 50px;
  margin-bottom: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-main);
  transition: 0.3s;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  /* Pill shape */
  transition: all var(--transition-base);
  cursor: pointer;
  font-family: var(--font-body);
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background: var(--color-primary-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(53, 210, 155, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary-dark);
  border: 1px solid var(--color-primary-dark);
}

.btn-outline:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--color-primary-dark);
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding-top: 160px;
  padding-bottom: 80px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(53, 210, 155, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  line-height: 1.1;
  margin-bottom: 0.5rem;
  color: var(--color-primary-dark);
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  /* Match h1 size visually */
  margin-bottom: 1.5rem;
  display: block;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

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

.hero-image img {
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
}

/* --------------------------------------------------------------------------
   Sections General
   -------------------------------------------------------------------------- */
.section {
  padding: 5rem 0;
}

.section-light {
  background: var(--bg-primary);
}

.section-white {
  background: #fff;
}

.section-gray {
  background: var(--bg-tertiary);
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-description {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* --------------------------------------------------------------------------
   Services Grid
   -------------------------------------------------------------------------- */
.services-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(53, 210, 155, 0.3);
}

.service-icon {
  margin-bottom: 1.5rem;
  color: var(--color-primary);
}

.service-card h3 {
  margin-bottom: 0.75rem;
  color: var(--color-primary-dark);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Featured Service (Shido) */
.service-card-featured {
  border-color: rgba(255, 149, 0, 0.3);
  background: linear-gradient(135deg, #fff 0%, #fffbf5 100%);
}

.service-card-featured:hover {
  border-color: var(--color-accent-orange);
  box-shadow: 0 8px 30px rgba(255, 149, 0, 0.15);
}

.service-icon-shido {
  color: var(--color-accent-orange);
}

.service-card-featured .btn-primary {
  background: var(--color-accent-orange);
}

.service-card-featured .btn-primary:hover {
  background: var(--color-accent-orange-hover);
}

/* --------------------------------------------------------------------------
   Founder / About
   -------------------------------------------------------------------------- */
.founder-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  padding: 2.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-soft);
  max-width: 900px;
  margin: 0 auto;
}

.founder-photo {
  width: 100%;
  border-radius: 16px;
  object-fit: cover;
}

.founder-content h3 {
  margin-bottom: 0.25rem;
}

.founder-content h4 {
  font-size: 1rem;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.founder-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 1rem;
  font-style: italic;
}

.founder-content p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
}

.founder-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.stat {
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* --------------------------------------------------------------------------
   Process
   -------------------------------------------------------------------------- */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.process-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all var(--transition-base);
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(53, 210, 155, 0.3);
}

.process-card-featured {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.process-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.process-icon {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

.process-week {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
  display: block;
}

.process-checklist li {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.check-icon {
  width: 20px;
  height: 20px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.process-image {
  margin-top: 1.5rem;
  border-radius: 8px;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Problem Section
   -------------------------------------------------------------------------- */
.problem-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.problem-card {
  background: #fff;
  padding: 2rem;
  border-radius: 16px;
  text-align: center;
  border: 1px solid rgba(254, 108, 108, 0.2);
  box-shadow: 0 4px 20px rgba(254, 108, 108, 0.05);
}

.problem-icon-red {
  background: rgba(254, 108, 108, 0.1);
  color: #fe6c6c;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.problem-icon-red svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   Comparison
   -------------------------------------------------------------------------- */
.comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.comparison-card {
  padding: 2.5rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
}

.comparison-card-negative h3 {
  color: #c53030;
  background: #fff5f5;
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.comparison-card-positive h3 {
  color: var(--color-primary);
  background: rgba(53, 210, 155, 0.1);
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 50px;
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.comparison-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-text-main);
}

.comparison-card-negative ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: #cbd5e0;
  border-radius: 50%;
}

.comparison-card-positive ul li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   Resources Grid
   -------------------------------------------------------------------------- */
.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.resource-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all var(--transition-base);
}

.resource-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.resource-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonials-wrapper {
  background: var(--color-primary-dark);
  padding: 4rem;
  border-radius: 20px;
  position: relative;
  color: #fff;
}

.testimonials-container {
  display: flex;
  overflow-x: auto;
  gap: 2rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding-bottom: 1rem;
}

.testimonials-container::-webkit-scrollbar {
  display: none;
}

.testimonial-card {
  min-width: 350px;
  background: #fff;
  color: var(--color-text-main);
  padding: 2rem;
  border-radius: 16px;
  scroll-snap-align: start;
}

.testimonial-rating {
  color: #f59e0b;
  margin-bottom: 1rem;
}

.testimonial-card p {
  font-style: italic;
  margin-bottom: 1rem;
}

.testimonial-card cite {
  font-weight: 700;
  font-style: normal;
  font-size: 0.9rem;
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  z-index: 10;
  color: var(--color-primary-dark);
}

.testimonial-prev {
  left: 2rem;
}

.testimonial-next {
  right: 2rem;
}

/* --------------------------------------------------------------------------
   Contact Form / CTA
   -------------------------------------------------------------------------- */
.section-cta {
  background: var(--color-primary-dark);
  color: white;
  text-align: center;
}

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

.section-cta p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 3rem;
  font-size: 1.2rem;
}

.contact-options {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-wrapper {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.contact-form-wrapper p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-row {
  display: flex;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-family: var(--font-body);
}

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

.contact-form button {
  margin-top: 1rem;
  width: 100%;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.footer {
  padding: 4rem 0 2rem;
  background: #fff;
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  margin-top: 1rem;
  color: var(--color-text-muted);
  max-width: 300px;
}

.footer h4 {
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
}

.footer-links ul li {
  margin-bottom: 0.75rem;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--color-text-light);
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }

  .hero-content {
    margin: 0 auto;
    order: 1;
  }

  /* Image below text on mobile? or swap? Usually Image TOP or Text TOP. Let's keep Text top. */
  .hero-image {
    order: 2;
  }

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

  .services-grid-4,
  .process-timeline,
  .problem-cards,
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .founder-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .founder-stats {
    justify-content: center;
  }

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

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

  html {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    /* Hide nav links by default */
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    padding: 2rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  }

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

  .mobile-menu-btn {
    display: flex;
  }

  .hero {
    padding-top: 120px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 2.5rem;
  }

  .services-grid-4,
  .process-timeline,
  .problem-cards,
  .resources-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }

  .mobile-hint {
    display: block;
  }

  .comparison-grid {
    overflow-x: auto;
    display: flex;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
  }

  .comparison-card {
    min-width: 85vw;
    scroll-snap-align: center;
  }
}