:root {
  --purple: #4A0374;
  --yellow: #F9A620;
  --white: #F4F4F9;
  --max: 1280px;
  --padX: clamp(1rem, 2.4vw, 2.2rem);
  --text: rgba(244, 244, 249, 0.96);

  /* Background gradient (from your image) */
  --bg1: #4A0C4D;
  --bg2: #330941;
  --bg3: #190633;
  --lineargradient: linear-gradient(135deg, var(--bg1) 0%, var(--bg3) 70%);
}

body {
    background: var(--lineargradient);
    color: var(--text);
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
    font-size: clamp(16px, 0.28vw + 15px, 18px);
    line-height: 1.6;
}

/* Layout */
.container {
    max-width: var(--max);
    margin: 0 auto;
    padding: 0 var(--padX);
}

/* Hero Section */
.story-hero {
    padding: clamp(2.4rem, 5vw, 4.5rem) 0 clamp(1.2rem, 2vw, 1.8rem);
}

.story-hero h1 {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.2rem, 5vw, rem);
    font-weight: 700;
    margin: 0;
    text-align: center;
    letter-spacing: -0.02em;
}

.highlight {
    color: var(--yellow);
}


/* Founder Section */
.founder-section {
  position: relative;
  overflow: hidden;
  padding: clamp(2.4rem, 6vw, 5.6rem) 0;
  color: #fff;
}

.container {
  width: min(1200px, 90%);
  margin: 0 auto;
}

.founder-content-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.founder-image-container {
  display: flex;
  justify-content: center;
}

.founder-image {
  position: relative;
  width: 100%;
  max-width: 360px;
  border-radius: 28px;
  overflow: hidden;
  border: 3px solid #f0ab2d;
  box-shadow: 0 0 0 8px rgba(240, 171, 45, 0.08);
}

.founder-image img {
  display: block;
  width: 100%;
  height: auto;
}

.founder-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 20px 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.72), rgba(0,0,0,0.08));
}

.founder-info h2 {
  margin: 0 0 6px;
  font-size: clamp(1.35rem, 2vw, 1.9rem);
  line-height: 1.1;
}

.founder-title {
  margin: 0;
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  opacity: 0.92;
}

.founder-text h1 {
  margin: 0 0 20px;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1;
}

.founder-lead {
  margin: 0 0 20px;
  font-size: 1.9rem;
  line-height: 1.25;
  color: #f0ab2d;
  max-width: 16ch;
}

.founder-description {
  font-size: clamp(1.04rem, 1.1vw, 1.25rem);
  line-height: 1.72;
  max-width: 58ch;
  margin: 0;
}

.founder-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 30px;
}

.founder-tags span {
  display: inline-flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.06);
  font-size: 0.98rem;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  padding: 16px 28px;
  border-radius: 999px;
  background: #f0ab2d;
  color: #21002f;
  text-decoration: none;
  font-weight: 700;
}

.btn-secondary {
  display: inline-block;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
}

@media (max-width: 900px) {
  .founder-content {
    grid-template-columns: 1fr;
    gap: 1.4rem;
  }

  .founder-image-container {
    justify-content: center;
  }

  .founder-description {
    max-width: none;
  }
}

/* CTA Section */
.cta-section {
    padding: 1.5rem 0;
}

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

.cta-content p {
    font-size: clamp(1rem, 1.2vw, 1.15rem);
    color: var(--white);
    margin: 0;
}

.cta-content .quiz-button {
    display: inline-flex;
    align-items: center;
    padding: 0.6rem 1.2rem;
    background-color: var(--yellow);
    color: var(--purple);
    text-decoration: none;
    border-radius: 2rem;
    font-weight: 500;
    font-size: 0.95rem;
    transition: background-color 0.3s;
}

.cta-content .cta-button::after {
    content: "→";
    margin-left: 0.5rem;
    font-family: 'Inter', sans-serif;
}

.cta-content .cta-button:hover {
    background-color: #fbb540;
}

/* Testimonial Section */
.testimonial-section {
    padding: 3rem 0;
    background-color: #f7f5fb;
}

.testimonial-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.testimonial-content blockquote {
    font-size: clamp(1.2rem, 2.3vw, 1.7rem);
    font-style: italic;
    color: var(--purple);
    margin: 0 0 1.5rem;
    line-height: 1.4;
    font-weight: 400;
}

.testimonial-author {
    color: var(--purple);
}

.testimonial-author p {
    margin: 0.2rem 0;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Features Section */
.features-section {
    padding: 3rem 0 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.feature-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 2px solid var(--yellow);
}

.feature-card h3 {
    font-family: 'Inter', sans-serif;
    color: var(--purple);
    margin: 0 0 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-card p {
    color: var(--purple);
    margin: 0;
    line-height: 1.5;
    font-size: 0.98rem;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 992px) {
    .founder-content {
        gap: 1.7rem;
        text-align: center;
    }

    .founder-image {
        width: 100%;
        max-width: 400px;
        height: auto;
        aspect-ratio: 1;
        margin: 0 auto;
    }

    .founder-description {
        max-width: 600px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .story-hero h1 {
        font-size: clamp(2rem, 8vw, 2.6rem);
    }

    .testimonial-content blockquote {
        font-size: 1.3rem;
    }

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

    .cta-content {
        flex-direction: column;
        gap: 0.8rem;
    }
}

@media (max-width: 480px) {
    .founder-section {
        padding-top: 2rem;
    }

    .founder-image {
        max-width: 300px;
    }
}

/* ========== Desktop Optimization (1920px+) ========== */
@media (min-width: 1920px) {
    :root {
        --max: 1400px;
        --padX: 2.5rem;
    }

    .story-hero {
        padding: 5rem 0 2.5rem;
    }

    .story-hero h1 {
        font-size: 4rem;
    }

    .founder-section {
        padding: 4rem 0;
    }

    .founder-content {
        gap: 2.5rem;
    }

    .founder-image {
        max-width: 500px;
        min-height: 400px;
    }

    .founder-text h2 {
        font-size: 2.4rem;
        margin-bottom: 1.35rem;
    }

    .founder-text p {
        font-size: 1.1rem;
        margin-bottom: 1rem;
        max-width: 70ch;
    }

    .testimonial-section {
        padding: 4rem 0;
    }

    .testimonial-content blockquote {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }

    .testimonial-author p {
        font-size: 1.05rem;
    }

    .features-section {
        padding: 4rem 0 5rem;
    }

    .features-grid {
        gap: 2rem;
    }

    .feature-card {
        padding: 2.5rem;
        border-radius: 18px;
    }

    .feature-card h3 {
        font-size: 1.35rem;
        margin-bottom: 1.25rem;
    }

    .feature-card p {
        font-size: 1.05rem;
    }

    .cta-section {
        padding: 4rem 0;
    }

    .cta-content {
        gap: 1.5rem;
    }

    .cta-content h2 {
        font-size: 2.4rem;
    }

    .cta-content p {
        font-size: 1.1rem;
    }
}


