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

:root {
    --primary-color: #1a1a2e;
    --accent-color: #e94560;
    --light-accent: #f39c6b;
    --text-dark: #16213e;
    --text-light: #f5f5f5;
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --border-color: #e0e0e0;
    --transition: all 0.3s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

.cookie-banner {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: var(--text-light);
    padding: 1.5rem;
    z-index: 10000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.cookie-banner.show {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.cookie-content p {
    flex: 1;
    margin: 0;
    font-size: 0.95rem;
}

.cookie-content a {
    color: var(--light-accent);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
}

.btn-accept,
.btn-reject {
    padding: 0.6rem 1.5rem;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: 4px;
    transition: var(--transition);
}

.btn-accept {
    background: var(--accent-color);
    color: white;
}

.btn-accept:hover {
    background: #d63850;
    transform: translateY(-2px);
}

.btn-reject {
    background: transparent;
    color: var(--text-light);
    border: 1px solid var(--text-light);
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.1);
}

.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-brand {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

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

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

.nav-links a:after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

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

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

.editorial-container {
    padding-top: 80px;
    min-height: 100vh;
}

.content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.editorial-hero {
    padding: 4rem 0 3rem;
}

.hero-content-narrow {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.editorial-hero h1 {
    font-size: 2.8rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.hero-lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: #555;
    font-weight: 400;
}

.story-intro,
.problem-section,
.insight-reveal,
.testimonial-section,
.reality-check,
.services-display,
.application-section,
.final-message {
    padding: 3rem 0;
}

.story-intro {
    border-top: 1px solid var(--border-color);
}

.opening-line {
    font-size: 1.25rem;
    font-style: italic;
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.content-narrow p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.inline-image {
    margin: 2.5rem 0;
}

.inline-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    display: block;
}

.inline-cta {
    display: inline-block;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1rem;
    transition: var(--transition);
}

.inline-cta:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.problem-section {
    background: var(--bg-gray);
    margin: 3rem 0;
    padding: 3rem 1.5rem;
}

.problem-section h2,
.insight-reveal h2,
.reality-check h2,
.application-section h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.problem-list {
    margin: 2rem 0;
}

.problem-item {
    margin-bottom: 2rem;
}

.problem-item h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--accent-color);
}

.emphasis-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-top: 2rem;
}

.insight-block {
    margin: 2.5rem 0;
    position: relative;
    padding-left: 4rem;
}

.insight-number {
    position: absolute;
    left: 0;
    top: 0;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(233, 69, 96, 0.2);
}

.insight-block h3 {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.cta-block {
    margin: 3rem 0;
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--primary-color), #2a2a3e);
    border-radius: 8px;
    text-align: center;
    color: var(--text-light);
}

.cta-block h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: #d63850;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--primary-color);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    transition: var(--transition);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    margin-left: 1rem;
}

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

.testimonial {
    margin: 2.5rem 0;
    padding: 2rem;
    background: var(--bg-gray);
    border-left: 4px solid var(--accent-color);
    border-radius: 4px;
}

.testimonial p {
    font-size: 1.15rem;
    font-style: italic;
    color: #444;
    margin-bottom: 1rem;
}

.testimonial cite {
    display: block;
    font-style: normal;
    font-size: 0.95rem;
    color: #666;
    font-weight: 600;
}

.program-selector {
    margin: 2rem 0;
}

.program-selector h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.selector-instruction {
    font-size: 1.05rem;
    color: #555;
}

.services-display {
    padding: 3rem 0;
}

.service-card {
    margin: 2.5rem 0;
    padding: 2rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition);
    position: relative;
}

.service-card.featured {
    border-color: var(--accent-color);
    background: linear-gradient(to bottom, #fff, #fff9fa);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 2rem;
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.service-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transform: translateY(-5px);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.service-header h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
}

.age-badge {
    background: var(--primary-color);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-desc {
    font-size: 1.05rem;
    color: #555;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.service-features {
    list-style: none;
    margin: 1.5rem 0;
}

.service-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.98rem;
}

.service-features li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.service-price {
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 1px solid var(--border-color);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
}

.price-amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-period {
    font-size: 1rem;
    color: #666;
}

.btn-select-service {
    width: 100%;
    padding: 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-select-service:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.application-form {
    margin: 2rem 0;
    padding: 2.5rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(233, 69, 96, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--accent-color);
    text-decoration: underline;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: #d63850;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(233, 69, 96, 0.3);
}

.final-message {
    padding: 4rem 0;
    text-align: center;
}

.closing-thought {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    padding: 1rem 2rem;
    z-index: 999;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    display: none;
}

.sticky-cta.show {
    display: block;
}

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

.sticky-text {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
}

.btn-sticky {
    padding: 0.8rem 2rem;
    background: var(--accent-color);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-sticky:hover {
    background: #d63850;
    transform: translateY(-2px);
}

.site-footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    color: #ccc;
}

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

.footer-column h4 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-column a {
    display: block;
    color: #ccc;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #999;
}

.page-header {
    padding: 3rem 0 2rem;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.header-lead {
    font-size: 1.2rem;
    color: #555;
    line-height: 1.7;
}

.about-story,
.philosophy-section,
.team-section,
.values-section,
.impact-section,
.join-section {
    padding: 2.5rem 0;
}

.about-story h2,
.philosophy-section h2,
.team-section h2,
.values-section h2,
.impact-section h2,
.join-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    font-weight: 700;
}

.philosophy-item,
.value-block {
    margin: 2rem 0;
}

.philosophy-item h3,
.value-block h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--accent-color);
}

.mentor-list,
.impact-list {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

.mentor-list li,
.impact-list li {
    margin-bottom: 0.75rem;
    font-size: 1.05rem;
}

.service-detail-card {
    margin: 3rem 0;
    padding: 2.5rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    position: relative;
}

.service-detail-card.featured-card {
    border-color: var(--accent-color);
}

.featured-label {
    position: absolute;
    top: -15px;
    left: 2.5rem;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
}

.service-detail-header {
    margin-bottom: 1.5rem;
}

.service-detail-header h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.age-badge-large {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    font-size: 0.95rem;
    font-weight: 600;
    display: inline-block;
}

.service-price-large {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-top: 1rem;
}

.service-overview {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #555;
    margin-bottom: 2rem;
}

.service-detail-content h3 {
    font-size: 1.4rem;
    margin: 2rem 0 1rem;
    color: var(--primary-color);
}

.feature-list,
.structure-list {
    list-style: none;
    margin: 1rem 0;
}

.feature-list li,
.structure-list li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 1.05rem;
}

.feature-list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.2rem;
}

.structure-list li:before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1.5rem;
}

.contact-info-section,
.contact-guidance,
.visit-notice,
.quick-questions {
    padding: 2rem 0;
}

.contact-detail {
    margin: 2rem 0;
}

.contact-detail h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.contact-detail a {
    color: var(--accent-color);
    text-decoration: none;
}

.contact-detail a:hover {
    text-decoration: underline;
}

.contact-note {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.5rem;
}

.guidance-item {
    margin: 2rem 0;
}

.guidance-item h3 {
    font-size: 1.2rem;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.faq-item {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--bg-gray);
    border-radius: 6px;
}

.faq-item h3 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

.thanks-page-content {
    padding: 4rem 0;
    text-align: center;
}

.success-icon {
    font-size: 4rem;
    color: var(--accent-color);
    margin-bottom: 2rem;
}

.thanks-page-content h1 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.thanks-lead {
    font-size: 1.3rem;
    color: #555;
    margin-bottom: 3rem;
}

.thanks-message {
    text-align: left;
    margin: 3rem 0;
}

.thanks-message h2 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.next-step {
    display: flex;
    gap: 1.5rem;
    margin: 2rem 0;
    align-items: flex-start;
}

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

.step-content h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.thanks-service-info {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--bg-gray);
    border-radius: 8px;
}

.thanks-notice {
    margin: 3rem 0;
    padding: 1.5rem;
    background: #fff3cd;
    border-left: 4px solid #ffc107;
    border-radius: 4px;
}

.thanks-actions {
    margin: 3rem 0;
    text-align: left;
}

.thanks-actions h3 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.action-list {
    list-style: none;
    padding-left: 1.5rem;
}

.action-list li {
    margin: 0.75rem 0;
}

.action-list a {
    color: var(--accent-color);
    text-decoration: none;
    font-size: 1.05rem;
}

.action-list a:hover {
    text-decoration: underline;
}

.thanks-cta {
    margin: 3rem 0;
}

.thanks-quote {
    margin: 3rem 0;
    font-size: 1.3rem;
    font-style: italic;
    color: #666;
}

.legal-page {
    padding-bottom: 3rem;
}

.legal-page section {
    margin: 2.5rem 0;
}

.legal-page h2 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 2rem 0 1rem;
}

.legal-page h3 {
    font-size: 1.3rem;
    color: var(--accent-color);
    margin: 1.5rem 0 0.75rem;
}

.legal-page ul,
.legal-page ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.legal-page li {
    margin: 0.5rem 0;
    line-height: 1.7;
}

.legal-page a {
    color: var(--accent-color);
    text-decoration: underline;
}

.legal-page a:hover {
    color: var(--primary-color);
}

.last-updated {
    font-size: 0.95rem;
    color: #666;
    font-style: italic;
    margin-bottom: 2rem;
}

.cookies-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.cookies-table th,
.cookies-table td {
    padding: 0.75rem;
    text-align: left;
    border: 1px solid var(--border-color);
}

.cookies-table th {
    background: var(--bg-gray);
    font-weight: 600;
    color: var(--primary-color);
}

.cookies-table code {
    background: var(--bg-gray);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: monospace;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .floating-nav {
        flex-direction: column;
        padding: 1rem;
        gap: 1rem;
    }

    .nav-links {
        gap: 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .editorial-hero h1 {
        font-size: 2rem;
    }

    .hero-lead {
        font-size: 1.1rem;
    }

    .sticky-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-content {
        flex-direction: column;
    }

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

    .service-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .insight-block {
        padding-left: 3rem;
    }

    .insight-number {
        font-size: 2rem;
    }

    .btn-secondary {
        margin-left: 0;
        margin-top: 1rem;
    }

    .service-price-large {
        flex-direction: column;
        gap: 0.25rem;
    }

    .next-step {
        flex-direction: column;
        gap: 1rem;
    }

    .cookies-table {
        font-size: 0.9rem;
    }

    .cookies-table th,
    .cookies-table td {
        padding: 0.5rem;
    }
}

@media (max-width: 480px) {
    .editorial-hero h1 {
        font-size: 1.6rem;
    }

    .hero-lead {
        font-size: 1rem;
    }

    .content-narrow {
        padding: 0 1rem;
    }

    .application-form {
        padding: 1.5rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 0.9rem 1.5rem;
    }
}