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

:root {
    /* Color Palette - Warm but Professional */
    --primary-color: #6366F1;
    --primary-dark: #4F46E5;
    --primary-light: #818CF8;
    --secondary-color: #8B5CF6;
    --accent-color: #EC4899;
    --success-color: #10B981;

    --text-primary: #1F2937;
    --text-secondary: #6B7280;
    --text-light: #9CA3AF;

    --bg-white: #FFFFFF;
    --bg-light: #F9FAFB;
    --bg-gray: #F3F4F6;
    --bg-dark: #111827;

    --border-color: #E5E7EB;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', Georgia, serif;

    /* Spacing */
    --section-padding: 5rem 0;
    --container-padding: 0 1.5rem;

    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    line-height: 1.6;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--text-primary);
}

h2 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 3rem;
    padding: 0 2rem;
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    color: var(--text-primary);
}

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

/* ===================================
   Buttons
   =================================== */
.btn-primary,
.btn-secondary,
.btn-nav {
    display: inline-block;
    padding: 0.875rem 2rem;
    border-radius: 0.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
}

.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 0.625rem 1.5rem;
    font-size: 0.9375rem;
}

.btn-large {
    padding: 1.125rem 2.5rem;
    font-size: 1.125rem;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border-color);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 500;
    transition: color var(--transition-fast);
}

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

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 0.375rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 1.5rem;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-base);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    background: linear-gradient(135deg, #F9FAFB 0%, #E0E7FF 100%);
    padding: 4rem 0 3rem;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    padding-top: 2rem;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
}

.hero-subhead {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
}

.trust-indicator {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.hero-visual {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
}

/* Slideshow Container */
.slideshow-container {
    width: 100%;
    max-width: 500px;
    position: relative;
    margin: 0;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    height: 500px;
}

/* Hide all slides by default */
.slide {
    display: none;
    position: relative;
    animation-name: fadeEffect;
    animation-duration: 1s;
    height: 100%;
}

.slide.active {
    display: block;
}

.slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
}

/* Slideshow dots */
.slideshow-dots {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.dot:hover,
.dot.active {
    background-color: white;
    transform: scale(1.2);
}

/* Fade animation */
@keyframes fadeEffect {
    from {
        opacity: 0.4;
    }
    to {
        opacity: 1;
    }
}

/* ===================================
   Problem Section
   =================================== */
.problem-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.problem-item {
    text-align: center;
    padding: 2rem 1.5rem;
}

.problem-icon {
    font-size: 3rem;
    color: #EF4444;
    margin-bottom: 1rem;
    opacity: 0.8;
}

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

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

.problem-quote {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 3rem;
}

.problem-quote p {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.quote-attribution {
    font-size: 1rem !important;
    font-style: normal !important;
    color: var(--text-secondary) !important;
    margin-top: 1rem !important;
    font-weight: 600;
    text-align: right !important;
}

/* ===================================
   Solution Section
   =================================== */
.solution-section {
    padding: 3rem 0;
    background: var(--bg-light);
}

.solution-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.solution-pillar {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.solution-pillar:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pillar-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 1rem;
}

.pillar-icon svg {
    width: 100%;
    height: 100%;
}

.solution-pillar h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 1.25rem;
}

.solution-pillar ul {
    list-style: none;
    padding: 0;
}

.solution-pillar li {
    padding-left: 1.5rem;
    margin-bottom: 0.625rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

.solution-pillar li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.solution-quote {
    background: var(--bg-gray);
    padding: 2.5rem;
    border-radius: 1rem;
    border-left: 4px solid var(--primary-color);
    margin-top: 3rem;
}

.solution-quote p {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    line-height: 1.6;
}

.solution-quote .quote-attribution {
    font-size: 1rem !important;
    font-style: normal !important;
    color: var(--text-secondary) !important;
    margin-top: 1rem !important;
    font-weight: 600;
    text-align: right !important;
}

/* ===================================
   Team Bio Section
   =================================== */
.team-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.team-card {
    perspective: 1000px;
    height: 650px;
    cursor: pointer;
}

.team-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.team-card.flipped .team-card-inner {
    transform: rotateY(180deg);
}

.team-card-front,
.team-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    padding: 2.5rem;
    background: var(--bg-light);
    box-shadow: var(--shadow-md);
    overflow: visible;
}

.team-card-front {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}

.team-card-back {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 2rem;
}

.team-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.team-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    color: var(--text-primary);
}

.team-school {
    font-size: 0.9375rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

.team-bio {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: left;
    margin-top: 0.5rem;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
}

.team-bio::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.team-card-back h4 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    color: white;
}

.writing-sample {
    text-align: left;
}

.writing-sample p {
    font-size: 1rem;
    line-height: 1.7;
    color: white;
    font-style: italic;
    margin: 0;
}

/* ===================================
   How It Works Section
   =================================== */
.how-it-works {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.how-it-works-title {
    white-space: nowrap;
    font-size: clamp(1.5rem, 3vw, 3rem);
}

.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin: 4rem 0;
    position: relative;
    gap: 2rem;
}

.timeline::before {
    content: "";
    position: absolute;
    top: 2rem;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--border-color);
    z-index: 0;
}

.timeline-item {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.timeline-marker {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-md);
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.timeline-content p {
    color: var(--text-secondary);
    font-size: 1rem;
}

.components-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.component-card {
    background: var(--bg-light);
    padding: 2.5rem;
    border-radius: 1rem;
    border: 2px solid var(--border-color);
    transition: border-color var(--transition-base);
}

.component-card:hover {
    border-color: var(--primary-color);
}

.component-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--primary-color);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.component-time {
    font-size: 0.9375rem;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 1rem;
}

.component-card ul {
    list-style: none;
    padding: 0;
}

.component-card li {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    position: relative;
    color: var(--text-secondary);
}

.component-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

/* ===================================
   What You Get Section
   =================================== */
.what-you-get {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #EDE9FE 0%, #DBEAFE 100%);
}

.deliverables-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.deliverables-column h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.checkmark-list,
.outcome-list {
    list-style: none;
    padding: 0;
}

.checkmark-list li,
.outcome-list li {
    padding-left: 2rem;
    margin-bottom: 1rem;
    position: relative;
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

.checkmark-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
    font-size: 1.25rem;
}

.outcome-list li::before {
    content: "◆";
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1rem;
}

/* ===================================
   Pricing Section
   =================================== */
.pricing-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto 3rem;
}

.pricing-card {
    background: var(--bg-white);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    padding: 2.5rem;
    position: relative;
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.pricing-card.featured {
    border-color: var(--primary-color);
    border-width: 3px;
    box-shadow: var(--shadow-lg);
}

.pricing-badge {
    position: absolute;
    top: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
}

.pricing-card h3 {
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
}

.price {
    text-align: center;
    margin-bottom: 2rem;
}

.currency {
    font-size: 1.5rem;
    color: var(--text-secondary);
    vertical-align: super;
}

.amount {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-display);
}

.period {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.pricing-features {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
    width: 100%;
    display: block;
}

.value-comparison {
    text-align: center;
    padding: 2rem;
    background: var(--bg-light);
    border-radius: 1rem;
    max-width: 900px;
    margin: 0 auto;
}

.value-comparison p {
    margin: 0;
    font-size: 1.0625rem;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

/* ===================================
   Trust Section
   =================================== */
.trust-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.trust-title {
    white-space: nowrap;
    font-size: clamp(1.5rem, 3vw, 3rem);
}

.trust-content {
    max-width: 1000px;
    margin: 0 auto;
}

.founder-section {
    margin-bottom: 3rem;
}

.founder-card {
    display: flex;
    align-items: center;
    gap: 2rem;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.founder-avatar {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
}

.founder-avatar svg {
    width: 100%;
    height: 100%;
}

.founder-info h4 {
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
}

.founder-info p {
    margin: 0;
    font-size: 1.0625rem;
}

.testimonial-section {
    margin-bottom: 3rem;
}

.testimonial-card {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
    position: relative;
}

.quote-mark {
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.testimonial-author {
    text-align: right;
    color: var(--text-secondary);
    font-weight: 600;
    margin: 0;
}

.sample-essay h4 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
}

.essay-comparison {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-md);
}

.essay-before,
.essay-after {
    padding: 1.5rem;
    border-radius: 0.5rem;
}

.essay-before {
    background: #FEE2E2;
    border-left: 4px solid #EF4444;
}

.essay-after {
    background: #D1FAE5;
    border-left: 4px solid var(--success-color);
}

.label {
    display: block;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
}

.essay-before p,
.essay-after p {
    font-size: 0.9375rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-primary);
}

.arrow {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: bold;
}

/* ===================================
   FAQ Section
   =================================== */
.faq-section {
    padding: var(--section-padding);
    background: var(--bg-white);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding: 1.5rem 0;
}

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

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-align: left;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-toggle {
    font-size: 2rem;
    color: var(--primary-color);
    transition: transform var(--transition-base);
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding-top: 1rem;
    margin: 0;
    color: var(--text-secondary);
    font-size: 1.0625rem;
}

/* ===================================
   Final CTA Section
   =================================== */
.final-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.final-cta .btn-primary {
    background: white;
    color: var(--primary-color);
}

.final-cta .btn-primary:hover {
    background: var(--bg-light);
}

.final-cta .btn-secondary {
    border-color: white;
    color: white;
}

.final-cta .btn-secondary:hover {
    background: white;
    color: var(--primary-color);
}

.cta-subtext {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    margin-bottom: 2rem;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 1.0625rem;
}

.contact-info a {
    color: white;
    text-decoration: underline;
    font-weight: 600;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--bg-dark);
    padding: 3rem 0;
    color: white;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: white;
}

.footer-social p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
}

/* ===================================
   Mobile-Specific Enhancements
   =================================== */
/* Ensure images and media don't cause overflow */
img,
video,
iframe {
    max-width: 100%;
    height: auto;
}

/* Mobile menu overlay - handled in media query */

/* Better tap targets on mobile */
@media (hover: none) and (pointer: coarse) {
    button,
    a,
    .faq-question,
    .team-card {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Prevent iOS double-tap zoom on buttons and links */
    button,
    a {
        touch-action: manipulation;
    }
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    :root {
        --section-padding: 2.5rem 0;
        --container-padding: 0 1rem;
    }

    /* Prevent overflow and handle text wrapping */
    html,
    body {
        overflow-x: hidden;
        max-width: 100vw;
    }

    .container {
        padding: var(--container-padding);
        overflow-x: hidden;
    }

    /* Better text handling on mobile */
    h1, h2, h3, h4, h5, h6, p, li {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Navigation */
    .navbar {
        position: sticky;
    }

    .nav-content {
        padding: 0.875rem 0;
    }

    .logo {
        font-size: 1.5rem;
    }

    .nav-links {
        position: fixed;
        top: 4rem;
        right: -100%;
        width: 75%;
        max-width: 300px;
        height: calc(100vh - 4rem);
        background: var(--bg-white);
        flex-direction: column;
        align-items: flex-start;
        padding: 2rem 1.5rem;
        box-shadow: var(--shadow-xl);
        transition: right var(--transition-base);
        gap: 1.5rem;
        z-index: 9999;
    }

    .nav-links.active {
        right: 0;
    }

    /* Mobile menu backdrop */
    .nav-links.active::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }

    .nav-links a {
        width: 100%;
        padding: 0.5rem 0;
        font-size: 1.125rem;
    }

    .btn-nav {
        margin-top: 1rem;
        width: 100%;
        text-align: center;
    }

    .mobile-menu-toggle {
        display: flex;
        z-index: 10000;
    }

    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -7px);
    }

    /* Typography */
    h1 {
        font-size: clamp(2rem, 8vw, 2.75rem);
        line-height: 1.1;
    }

    h2 {
        font-size: clamp(1.75rem, 6vw, 2.25rem);
        padding: 0 0.5rem;
        margin-bottom: 2rem;
        line-height: 1.2;
    }

    h3 {
        font-size: clamp(1.125rem, 4vw, 1.375rem);
    }

    p {
        font-size: 1rem;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 0 2.5rem;
        background: linear-gradient(135deg, #F9FAFB 0%, #E0E7FF 100%);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
        padding-top: 0;
    }

    .hero-text {
        padding: 0;
    }

    .hero-text h1 {
        margin-bottom: 1rem;
        line-height: 1.15;
    }

    .hero-subhead {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
        padding: 0;
    }

    .hero-cta {
        align-items: center;
        gap: 1rem;
        width: 100%;
    }

    .hero-cta .btn-primary {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }

    .trust-indicator {
        font-size: 0.875rem;
        text-align: center;
    }

    .hero-visual {
        order: -1;
        justify-content: center;
        margin-bottom: 0;
    }

    .slideshow-container {
        max-width: 100%;
        height: 350px;
        margin: 0;
        border-radius: 0.75rem;
    }

    .slideshow-dots {
        bottom: 0.75rem;
        gap: 0.5rem;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    /* Solution Section */
    .solution-section {
        padding: 2.5rem 0;
    }

    .solution-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-bottom: 2rem;
    }

    .solution-pillar {
        padding: 1.5rem;
    }

    .pillar-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0.75rem;
    }

    .solution-pillar h3 {
        font-size: 1.125rem;
        margin-bottom: 0.75rem;
    }

    .solution-pillar li {
        font-size: 0.875rem;
        margin-bottom: 0.5rem;
        padding-left: 1.25rem;
    }

    .solution-quote,
    .problem-quote {
        padding: 1.5rem;
        margin-top: 2rem;
        border-radius: 0.75rem;
    }

    .solution-quote p,
    .problem-quote p {
        font-size: 1.125rem;
        line-height: 1.5;
    }

    .quote-attribution {
        font-size: 0.9375rem !important;
        margin-top: 0.75rem !important;
    }

    /* How It Works Section */
    .how-it-works {
        padding: 2.5rem 0;
    }

    .how-it-works-title,
    .trust-title {
        white-space: normal;
        font-size: clamp(1.5rem, 5vw, 2rem);
        line-height: 1.2;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
        margin: 2rem 0;
    }

    .timeline::before {
        top: 0;
        bottom: 0;
        left: 2rem;
        width: 2px;
        height: auto;
    }

    .timeline-item {
        display: flex;
        gap: 1.25rem;
        text-align: left;
    }

    .timeline-marker {
        width: 4rem;
        height: 4rem;
        margin: 0;
        flex-shrink: 0;
        font-size: 1rem;
    }

    .timeline-content h3 {
        font-size: 1.25rem;
        margin-bottom: 0.25rem;
    }

    .timeline-content p {
        font-size: 0.9375rem;
    }

    .components-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2rem;
    }

    .component-card {
        padding: 1.5rem;
    }

    .component-number {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .component-card h3 {
        font-size: 1.125rem;
        margin-bottom: 0.5rem;
    }

    .component-time {
        font-size: 0.875rem;
        margin-bottom: 0.75rem;
    }

    .component-card li {
        font-size: 0.9375rem;
        margin-bottom: 0.5rem;
        padding-left: 1.25rem;
    }

    /* What You Get Section */
    .what-you-get {
        padding: 2.5rem 0;
    }

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

    .deliverables-column h3 {
        font-size: 1.25rem;
        margin-bottom: 1rem;
    }

    .checkmark-list li,
    .outcome-list li {
        font-size: 0.9375rem;
        margin-bottom: 0.75rem;
        padding-left: 1.75rem;
    }

    .checkmark-list li::before {
        font-size: 1.125rem;
    }

    /* Pricing Section */
    .pricing-section {
        padding: 2.5rem 0;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 2rem;
    }

    .pricing-card {
        padding: 2rem 1.5rem;
    }

    .pricing-badge {
        top: -0.75rem;
        font-size: 0.8125rem;
        padding: 0.375rem 1.25rem;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }

    .price {
        margin-bottom: 1.5rem;
    }

    .currency {
        font-size: 1.25rem;
    }

    .amount {
        font-size: 3rem;
    }

    .period {
        font-size: 1.125rem;
    }

    .pricing-features {
        margin-bottom: 1.5rem;
    }

    .pricing-features li {
        padding: 0.625rem 0;
        font-size: 0.9375rem;
    }

    .value-comparison {
        padding: 1.5rem;
        margin-top: 0;
    }

    .value-comparison p {
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    /* Trust Section */
    .trust-section {
        padding: 2.5rem 0;
    }

    .founder-section {
        margin-bottom: 2rem;
    }

    .founder-card {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .founder-avatar {
        width: 80px;
        height: 80px;
        margin: 0 auto;
    }

    .founder-info h4 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .founder-info p {
        font-size: 0.9375rem;
    }

    .testimonial-section {
        margin-bottom: 2rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .quote-mark {
        font-size: 3rem;
        top: 0.5rem;
        left: 1rem;
    }

    .testimonial-text {
        font-size: 1rem;
        padding-left: 1rem;
        margin-bottom: 0.75rem;
    }

    .testimonial-author {
        font-size: 0.9375rem;
    }

    .sample-essay h4 {
        font-size: 1.375rem;
        margin-bottom: 1.5rem;
    }

    .essay-comparison {
        grid-template-columns: 1fr;
        gap: 1.25rem;
        padding: 1.5rem;
    }

    .essay-before,
    .essay-after {
        padding: 1.25rem;
    }

    .label {
        font-size: 0.8125rem;
        margin-bottom: 0.5rem;
    }

    .essay-before p,
    .essay-after p {
        font-size: 0.875rem;
        line-height: 1.5;
    }

    .arrow {
        transform: rotate(90deg);
        text-align: center;
        font-size: 1.5rem;
    }

    /* FAQ Section */
    .faq-section {
        padding: 2.5rem 0;
    }

    .faq-item {
        padding: 1.25rem 0;
    }

    .faq-question {
        font-size: 1.0625rem;
        gap: 0.75rem;
    }

    .faq-toggle {
        font-size: 1.75rem;
        margin-left: 0.5rem;
    }

    .faq-answer p {
        padding-top: 0.75rem;
        font-size: 0.9375rem;
        line-height: 1.6;
    }

    /* Final CTA Section */
    .final-cta {
        padding: 2.5rem 0;
    }

    .final-cta h2 {
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.875rem;
        margin-bottom: 1.25rem;
        padding: 0 1rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 100%;
        padding: 0.875rem 2rem;
    }

    .cta-subtext {
        font-size: 0.9375rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    .contact-info p {
        font-size: 0.9375rem;
        padding: 0 1rem;
    }

    /* Footer */
    .footer {
        padding: 2rem 0;
    }

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

    .footer-logo {
        font-size: 1.375rem;
    }

    .footer-links {
        flex-direction: column;
        gap: 0.75rem;
    }

    .footer-links a {
        font-size: 0.9375rem;
    }

    .footer-social p {
        font-size: 0.875rem;
    }

    /* Team Cards - Keep mobile behavior */
    .team-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .team-card {
        height: auto;
        min-height: 400px;
    }

    .team-card-inner {
        height: 100%;
        min-height: 400px;
    }

    .team-card-front,
    .team-card-back {
        position: static;
        padding: 2.5rem 1.5rem;
        min-height: 400px;
        display: flex;
        flex-direction: column;
        backface-visibility: visible;
        transform: none !important;
    }

    .team-card-back {
        display: none;
        background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
        justify-content: flex-start;
    }

    .team-card.flipped .team-card-inner {
        transform: none;
    }

    .team-card.flipped .team-card-front {
        display: none !important;
    }

    .team-card.flipped .team-card-back {
        display: flex !important;
    }

    .team-photo {
        width: 120px;
        height: 120px;
        margin-bottom: 1.25rem;
        flex-shrink: 0;
    }

    .team-card h3 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
        margin-top: 0;
        flex-shrink: 0;
    }

    .team-school {
        font-size: 0.9375rem;
        margin-bottom: 1.25rem;
        flex-shrink: 0;
    }

    .team-bio {
        font-size: 0.9375rem;
        line-height: 1.6;
        padding-left: 0;
        margin-bottom: 0;
        flex-grow: 1;
    }

    .team-bio::before {
        display: none;
    }

    .team-card-back h4 {
        font-size: 1.5rem;
        margin-bottom: 1.25rem;
        flex-shrink: 0;
    }

    .writing-sample {
        flex-grow: 1;
        display: flex;
        align-items: center;
    }

    .writing-sample p {
        font-size: 0.9375rem;
        line-height: 1.6;
        margin: 0;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

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

@media (max-width: 480px) {
    :root {
        --container-padding: 0 1rem;
        --section-padding: 2rem 0;
    }

    .container {
        padding: var(--container-padding);
    }

    /* Typography */
    h1 {
        font-size: clamp(1.875rem, 7vw, 2.25rem);
        line-height: 1.1;
    }

    h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
        padding: 0 0.5rem;
        margin-bottom: 1.5rem;
    }

    h3 {
        font-size: 1.125rem;
    }

    /* Hero Section */
    .hero {
        padding: 1.5rem 0 2rem;
    }

    .hero-text {
        padding: 0;
    }

    .hero-text h1 {
        margin-bottom: 0.875rem;
    }

    .hero-subhead {
        font-size: 0.9375rem;
        line-height: 1.55;
        padding: 0;
        margin-bottom: 1.25rem;
    }

    .hero-cta .btn-primary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .slideshow-container {
        height: 300px;
        border-radius: 0.5rem;
    }

    .trust-indicator {
        font-size: 0.8125rem;
    }

    /* Solution Section */
    .solution-pillar,
    .component-card {
        padding: 1.25rem;
    }

    .pillar-icon {
        width: 36px;
        height: 36px;
    }

    .solution-pillar h3,
    .component-card h3 {
        font-size: 1.0625rem;
    }

    .solution-pillar li,
    .component-card li {
        font-size: 0.8125rem;
        padding-left: 1rem;
    }

    .solution-quote p,
    .problem-quote p {
        font-size: 1rem;
        line-height: 1.5;
    }

    .solution-quote,
    .problem-quote {
        padding: 1.25rem;
    }

    /* Timeline */
    .timeline {
        margin: 1.5rem 0;
        gap: 1.5rem;
    }

    .timeline-marker {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 0.9375rem;
    }

    .timeline-content h3 {
        font-size: 1.125rem;
    }

    .timeline-content p {
        font-size: 0.875rem;
    }

    /* Component Cards */
    .component-number {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.125rem;
    }

    .component-time {
        font-size: 0.8125rem;
    }

    /* Pricing */
    .pricing-card {
        padding: 1.75rem 1.25rem;
    }

    .pricing-badge {
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }

    .pricing-card h3 {
        font-size: 1.375rem;
    }

    .amount {
        font-size: 2.75rem;
    }

    .currency {
        font-size: 1.125rem;
    }

    .period {
        font-size: 1rem;
    }

    .pricing-features li {
        font-size: 0.875rem;
        padding: 0.5rem 0;
    }

    .value-comparison {
        padding: 1.25rem;
    }

    .value-comparison p {
        font-size: 0.875rem;
    }

    /* Trust Section */
    .founder-card {
        padding: 1.25rem;
    }

    .founder-avatar {
        width: 70px;
        height: 70px;
    }

    .founder-info h4 {
        font-size: 1.125rem;
    }

    .founder-info p {
        font-size: 0.875rem;
    }

    .testimonial-card {
        padding: 1.5rem 1.25rem;
    }

    .quote-mark {
        font-size: 2.5rem;
    }

    .testimonial-text {
        font-size: 0.9375rem;
        padding-left: 0.5rem;
    }

    .testimonial-author {
        font-size: 0.875rem;
    }

    .sample-essay h4 {
        font-size: 1.25rem;
        margin-bottom: 1.25rem;
    }

    .essay-comparison {
        padding: 1.25rem;
        gap: 1rem;
    }

    .essay-before,
    .essay-after {
        padding: 1rem;
    }

    .essay-before p,
    .essay-after p {
        font-size: 0.8125rem;
    }

    /* FAQ */
    .faq-item {
        padding: 1rem 0;
    }

    .faq-question {
        font-size: 1rem;
    }

    .faq-toggle {
        font-size: 1.5rem;
    }

    .faq-answer p {
        font-size: 0.875rem;
    }

    /* Final CTA */
    .final-cta {
        padding: 2rem 0;
    }

    .final-cta h2 {
        margin-bottom: 1.25rem;
        padding: 0 0.5rem;
    }

    .cta-buttons {
        gap: 0.75rem;
        margin-bottom: 1rem;
    }

    .cta-buttons .btn-primary,
    .cta-buttons .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .cta-subtext {
        font-size: 0.875rem;
    }

    .contact-info p {
        font-size: 0.875rem;
    }

    /* Footer */
    .footer {
        padding: 1.75rem 0;
    }

    .footer-logo {
        font-size: 1.25rem;
    }

    .footer-links a {
        font-size: 0.875rem;
    }

    .footer-social p {
        font-size: 0.8125rem;
    }

    /* Buttons */
    .btn-primary,
    .btn-secondary {
        padding: 0.875rem 1.5rem;
        font-size: 0.9375rem;
    }

    .btn-large {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }

    /* What You Get */
    .deliverables-column h3 {
        font-size: 1.125rem;
    }

    .checkmark-list li,
    .outcome-list li {
        font-size: 0.875rem;
        padding-left: 1.5rem;
    }
}

/* ===================================
   Tablet / Medium Screen Optimization
   =================================== */
@media (min-width: 481px) and (max-width: 768px) {
    /* Slightly larger text for tablets */
    h2 {
        font-size: clamp(2rem, 5vw, 2.5rem);
    }

    .hero-subhead {
        font-size: 1.125rem;
    }

    .slideshow-container {
        height: 400px;
    }

    /* Two column layouts for some sections on tablet */
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    /* Better spacing for tablets */
    .solution-pillar,
    .component-card {
        padding: 2rem;
    }

    .testimonial-text {
        font-size: 1.125rem;
    }
}

/* ===================================
   Large Tablet / Small Desktop
   =================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        padding: 0 2rem;
    }

    /* Adjust grid columns for smaller desktop */
    .solution-grid,
    .components-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
        margin-left: auto;
        margin-right: auto;
    }

    .team-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        gap: 3rem;
    }

    .deliverables-grid {
        max-width: 800px;
    }

    .essay-comparison {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* ===================================
   Utility Classes
   =================================== */
.text-center {
    text-align: center;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
