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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --text-primary: #1f2937;
    --text-secondary: #4b5563;
    --text-light: #6b7280;
    --bg-light: #f9fafb;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --accent-color: #10b981;
    --highlight-bg: #eff6ff;
    --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);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-white);
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

.nav-logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
}

.nav-logo:hover {
    opacity: 0.8;
}

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

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: #2662ea;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
}

.nav-link:hover {
    color: #1e4fa8;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #2662ea;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 24px;
}

/* Signup Page Layout */
.signup-page-wrapper {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: flex-start;
}

.signup-page-wrapper > .container {
    flex: 1;
    max-width: 800px;
    margin: 0;
}

/* Hero Section */
.hero {
    margin-bottom: 60px;
    text-align: center;
}

.hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
    margin-bottom: 0;
    letter-spacing: -0.02em;
}

/* Sections */
.section {
    margin-bottom: 20px;
}

/* Remove margin from last child in sections so section margin provides consistent spacing */
.section > *:last-child {
    margin-bottom: 0 !important;
}

/* Specifically target all paragraph types that are last in sections */
.section p:last-child,
.section p.lead-text:last-child,
.section p.emphasis:last-child,
.section p.cta-lead:last-child {
    margin-bottom: 0 !important;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Typography */
p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
}

.lead-text {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

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

/* Highlight Box */
.highlight-box {
    background: var(--highlight-bg);
    border-left: 4px solid var(--primary-color);
    padding: 32px;
    border-radius: 8px;
    margin: 40px 0;
}

.solution-box {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-left: 4px solid var(--primary-color);
}

/* Pain Points */
.pain-point {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 28px;
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pain-point:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.pain-point-quote {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-style: italic;
}

/* Principles */
.principle {
    display: flex;
    gap: 24px;
    margin-bottom: 40px;
    padding: 32px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.principle-number {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
}

.principle-content {
    flex: 1;
}

.principle-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.3;
}

.insight-quote {
    font-style: italic;
    color: var(--primary-color);
    font-weight: 500;
    margin-top: 12px;
    padding-left: 20px;
    border-left: 3px solid var(--primary-color);
}

/* Benefits List */
.benefits-list {
    list-style: none;
    margin: 24px 0;
    padding: 0;
}

.benefits-list li {
    padding: 4px 0;
    padding-left: 32px;
    position: relative;
    color: var(--text-secondary);
    font-size: 18px;
}

.benefits-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: 700;
    font-size: 20px;
}

.benefits-list li strong {
    color: var(--text-primary);
}

/* Story Section */
.complaint-quote {
    background: #fef2f2;
    border-left: 4px solid #ef4444;
    padding: 16px 20px;
    margin: 20px 0;
    border-radius: 6px;
    font-style: italic;
    color: var(--text-primary);
}

.course-name {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 20px 0;
    text-align: center;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 8px;
}

.testimonial {
    background: #f0fdf4;
    border-left: 4px solid var(--accent-color);
    padding: 24px;
    margin: 24px 0;
    border-radius: 8px;
}

.testimonial-quote {
    font-style: italic;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-size: 18px;
}

.testimonial-quote:last-child {
    margin-bottom: 0;
}

/* CTA Section */
.final-cta {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
    border-radius: 12px;
    margin: 60px 0;
}

.cta-lead {
    font-size: 22px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.cta-section {
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    margin-top: 60px;
}

.cta-button-container {
    margin: 32px 0;
}

.cta-button {
    display: inline-block;
    background: var(--primary-color);
    color: white;
    padding: 18px 40px;
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    letter-spacing: 0.01em;
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.cta-button:active {
    transform: translateY(0);
}

.ps-note {
    margin-top: 32px;
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
}

.ps-link {
    color: var(--primary-color);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.ps-link:hover {
    color: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .nav-container {
        flex-direction: column;
        gap: 16px;
        padding: 16px 20px;
    }

    .nav-links {
        gap: 24px;
    }

    .hero-title {
        font-size: 32px;
    }

    .section-title {
        font-size: 26px;
    }

    .principle {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .principle-number {
        margin-bottom: 16px;
    }

    .cta-section {
        padding: 28px 20px;
    }

    .highlight-box {
        padding: 24px;
    }

    .signup-form-container {
        padding: 28px 20px;
    }

    .signup-page-wrapper {
        flex-direction: column;
        padding: 0 20px;
    }

    .schedule-sidebar {
        position: relative;
        top: 0;
        width: 100%;
        margin-top: 40px;
        order: -1;
    }

    .schedule-box {
        max-width: 600px;
        margin: 0 auto;
    }

    .main-footer {
        margin-top: 60px;
        padding: 32px 0;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 16px;
    }

    p {
        font-size: 17px;
    }

    .lead-text {
        font-size: 19px;
    }
}

@media (max-width: 480px) {
    .nav-links {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .hero-title {
        font-size: 28px;
    }

    .section-title {
        font-size: 22px;
    }

    .cta-button {
        padding: 16px 32px;
        font-size: 18px;
    }

    .signup-form-container {
        padding: 24px 16px;
    }

    .form-placeholder {
        padding: 40px 16px;
    }

    .signup-page-wrapper {
        padding: 0 16px;
    }

    .schedule-box {
        padding: 24px 20px;
    }

    .schedule-box-title {
        font-size: 20px;
    }

    .main-footer {
        margin-top: 40px;
        padding: 24px 0;
    }

    .footer-heading {
        font-size: 16px;
    }

    .footer-link {
        font-size: 15px;
    }
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: white;
}

/* Sign-up Form Styles */
.signup-form-container {
    max-width: 600px;
    margin: 40px auto;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.form-placeholder {
    text-align: center;
    padding: 60px 20px;
    background: var(--bg-white);
    border: 2px dashed var(--border-color);
    border-radius: 8px;
}

.form-placeholder-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.form-placeholder-note {
    font-size: 16px;
    color: var(--text-light);
    font-style: italic;
    margin-bottom: 0;
}

/* Sticky Sidebar for Signup Page */
.schedule-sidebar {
    position: sticky;
    top: 80px;
    width: 320px;
    flex-shrink: 0;
    align-self: flex-start;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.schedule-box {
    background: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 32px;
    box-shadow: var(--shadow-lg);
}

.schedule-box-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 24px;
    text-align: center;
    line-height: 1.3;
}

.schedule-button-container {
    margin-bottom: 24px;
    text-align: center;
}

.schedule-button-container .cta-button {
    width: 100%;
    text-align: center;
}

.schedule-form-container {
    margin-top: 24px;
}

.schedule-form-container .form-placeholder {
    padding: 40px 20px;
}

/* Footer */
.main-footer {
    background: var(--bg-light);
    border-top: 1px solid var(--border-color);
    margin-top: 80px;
    padding: 40px 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-section {
    text-align: center;
}

.footer-heading {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 20px;
    letter-spacing: 0.01em;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.footer-links li {
    margin: 0;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 16px;
    transition: color 0.2s ease;
    position: relative;
}

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

.footer-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Samples Page Styles */
.samples-list {
    margin-top: 40px;
}

.sample-item {
    margin-bottom: 32px;
    padding: 28px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sample-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.sample-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.sample-link:hover {
    text-decoration: none;
}

.sample-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0;
    transition: color 0.2s ease;
}

.sample-item:hover .sample-title {
    color: var(--primary-color);
}

