:root {
    --color-primary: #1a2a44;
    /* Deep Navy */
    --color-accent: #c5a47e;
    /* Premium Gold/Bronze */
    --color-accent-light: #e6c9a8;
    --color-text: #333333;
    --color-text-light: #ffffff;
    --color-bg-light: #f9f9f9;
    --color-bg-dark: #111111;

    --font-main: 'Noto Sans JP', sans-serif;
    --font-eng: 'Outfit', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    --container-width: 1100px;
    --header-height: 70px;
}

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

body {
    font-family: var(--font-main);
    color: var(--color-text);
    line-height: 1.6;
    background-color: #fff;
    padding-bottom: 80px;
    /* Space for mobile CTA */
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

html {
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
}

/* Typography Utilities */
.text-center {
    text-align: center;
}

.highlight {
    color: var(--color-accent);
    font-weight: bold;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent), #a68560);
    color: white;
    box-shadow: 0 4px 15px rgba(197, 164, 126, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 164, 126, 0.6);
}

.btn-sm {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
}

/* Shine Effect */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    20% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: var(--header-height);
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-eng);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--color-primary);
    letter-spacing: 1px;
}

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

.nav a {
    font-weight: 500;
    color: var(--color-primary);
}

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

/* Hero Section */
/* Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    /* Remove fixed height to allow image to define height */
    height: auto;
    min-height: auto;
    display: block;
    margin-top: var(--header-height);
    background-color: var(--color-primary);
    padding: 0;
    overflow: hidden;
}

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

/* Overlay removed */
.overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
}

.hero-tagline {
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.2s;
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.4s;
}

.hero-title .highlight {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

.hero-sub {
    font-size: 1.1rem;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.6s;
}

.hero-cta {
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.8s;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Floating CTA for Mobile */
.floating-cta {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 999;
    width: 90%;
    max-width: 400px;
    display: none;
    /* Hidden by default on desktop */
}

.floating-cta .btn {
    width: 100%;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Global Section Styles */
.section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.section-desc {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Problem Section */
.problem-section {
    background-color: #f4f4f4;
    color: var(--color-text);
}

.highlight-warn {
    color: #b93c3c;
    background: linear-gradient(transparent 70%, rgba(185, 60, 60, 0.1) 70%);
}

.problem-list {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    max-width: 800px;
    margin: 0 auto 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    /* Further reduced */
}

.problem-item {
    display: flex;
    align-items: stretch;
    /* Center align items */
    gap: 1rem;
    padding: 0.8rem 1.5rem;
    /* Reduced vertical padding */
}

.problem-item.reverse {
    flex-direction: row-reverse;
}

.problem-icon-wrapper {
    flex: 0 0 80px;
    /* Enlarge image space */
    width: 80px;
    height: 80px;
    aspect-ratio: 1/1;
    background: transparent;
    /* No background */
    border-radius: 0;
    /* No circle */
    overflow: hidden;
    /* Allow image to be seen fully */
    border: none;
    /* No border */
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensure full image is visible */
    transform: none;
    /* Slight zoom if needed */
}

.problem-bubble {
    background: #ebebeb;
    /* Darker gray */
    /* Slightly darker than white list for contrast */
    padding: 1.5rem;
    border-radius: 15px;
    position: relative;
    color: var(--color-text);
    font-weight: bold;
    flex: 1;
    border: 1px solid #eee;
}

/* Bubble Tail Left */
.problem-item:not(.reverse) .problem-bubble::before {
    content: '';
    position: absolute;
    top: 25px;
    left: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #ebebeb;
}

.problem-item:not(.reverse) .problem-bubble::after {
    /* Border for tail */
    content: '';
    position: absolute;
    top: 25px;
    left: -11px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #eee;
    z-index: -1;
}

/* Bubble Tail Right */
.problem-item.reverse .problem-bubble::before {
    content: '';
    position: absolute;
    top: 25px;
    right: -10px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #ebebeb;
}

.problem-item.reverse .problem-bubble::after {
    /* Border for tail */
    content: '';
    position: absolute;
    top: 25px;
    right: -11px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #eee;
    z-index: -1;
}

/* Hiding old elements if they persist in HTML */
.check-icon,
.problem-voice,
.voice-text,
.quote {
    display: none;
}


.bridge-text {
    font-size: 1.5rem;
    font-weight: 700;
}

.highlight-lg {
    color: var(--color-accent);
    font-size: 1.8rem;
}

/* Solution Section */
.solution-section {
    background-color: var(--color-primary);
    color: white;
    background-image: linear-gradient(135deg, var(--color-primary) 0%, #111a2e 100%);
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(197, 164, 126, 0.2) 0%, transparent 70%);
    border-radius: 50%;
}

.solution-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    line-height: 1.3;
}

.text-gradient {
    background: linear-gradient(to right, #fff, var(--color-accent-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.solution-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 3rem;
    border-radius: 20px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.solution-name {
    font-family: var(--font-eng);
    font-size: 3rem;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.divider {
    border: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3), transparent);
    margin: 2rem 0;
}

.solution-detail {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Service Details Section */
.service-section {
    background-color: white;
}

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

.service-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 2rem;
    border-radius: 15px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
    text-align: center;
    /* Center align content */
}

/* Removed alternating gray backgrounds as per user request */

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

.service-number {
    font-family: var(--font-eng);
    font-size: 3rem;
    font-weight: 700;
    color: var(--color-accent);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.8;
}

/* Deprecated old icon class, keeping for safety or removing if confirmed unused. Removing. */

.service-icon-img-container {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    /* Center horizontally */
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Deprecated old icon class, keeping for safety or removing if confirmed unused. Removing. */

.service-title {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.service-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.service-text {
    text-align: left;
    /* Keep text readable */
    margin-bottom: 1rem;
}

.service-points {
    margin-top: 1rem;
    font-size: 0.95rem;
    text-align: left;
    /* Keep points readable */
}

.service-points li {
    margin-bottom: 0.5rem;
    padding-left: 1.2rem;
    position: relative;
}

.service-points li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.service-points li::before {
    content: '•';
    color: var(--color-accent);
    position: absolute;
    left: 0;
    top: 0;
}

.service-image-container {
    margin: 1.5rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.service-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.service-card:hover .service-img {
    transform: scale(1.03);
}

/* Comparison Section */
.comparison-section {
    background-color: #f9f9f9;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.comparison-table {
    width: 100%;
    min-width: 600px;
    /* Force scroll */
    border-collapse: collapse;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
    padding: 1.2rem;
    text-align: center;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
    /* Prevent squashing */
}

.comparison-table th {
    background-color: #333;
    color: white;
    font-weight: 700;
}

.comparison-table th.highlight-col {
    background-color: var(--color-primary);
    position: relative;
    padding-top: 2rem;
}

.comparison-table th.highlight-col::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: var(--color-accent);
    color: white;
    font-size: 0.7rem;
    padding: 2px 0;
    letter-spacing: 1px;
}

.comparison-table td.highlight-col {
    background-color: rgba(26, 42, 68, 0.05);
    color: var(--color-primary);
    font-weight: bold;
    border-left: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.feature-head {
    font-weight: 700;
    background-color: #f4f4f4;
}

/* Authority Section */
.authority-section {
    background-color: white;
}

.authority-card {
    background: white;
    border: 1px solid #eee;
    border-radius: 20px;
    padding: 3rem;
    max-width: 900px;
    /* Increased to fit image */
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    text-align: left;
    /* Align text to left for flex */
}

/* Flex layout for Authority */
.authority-flex {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.authority-image-box {
    flex: 0 0 300px;
    /* Fixed width for image */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

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

.authority-content {
    flex: 1;
}

.authority-name {
    font-size: 1.5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.authority-role {
    font-size: 1rem;
    color: #888;
    font-weight: 500;
    display: block;
    margin-top: 0.5rem;
}

.authority-quote {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.authority-quote::before {
    content: '“';
    font-family: serif;
    font-size: 5rem;
    color: rgba(197, 164, 126, 0.2);
    position: absolute;
    top: -40px;
    left: -20px;
    z-index: -1;
}

.authority-link {
    display: inline-block;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 2px;
}

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

/* Bonus Section */
.bonus-section {
    background: linear-gradient(135deg, #1a2a44 0%, #304a75 100%);
    color: white;
}

.bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.bonus-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
}

.bonus-icon {
    width: 80px;
    /* Fixed width for icon container */
    height: 80px;
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bonus-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bonus-image-wrapper {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.bonus-img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s;
}

.bonus-item:hover .bonus-img {
    transform: scale(1.02);
}

.bonus-title {
    font-size: 1.2rem;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.bonus-text {
    font-size: 0.95rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .header {
        display: none;
        /* Hide header on mobile as requested */
    }

    .hero-section {
        margin-top: 0;
        /* Remove top margin since header is hidden */
    }

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

    .authority-card {
        text-align: center;
        padding: 2rem;
    }

    .authority-image-box {
        margin-bottom: 0;
        max-width: 100%;
        flex: none;
        /* Fix: prevents 300px height reservation in column mode */
        width: 100%;
        /* Ensure full width */
    }
}

/* Target Section */
.target-section {
    background-color: white;
}

.target-list {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.target-list li {
    font-size: 1.1rem;
    padding: 0.8rem 0;
    border-bottom: 1px dashed #eee;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.target-list li:last-child {
    border-bottom: none;
}

.target-list .check-mark {
    color: var(--color-accent);
    font-weight: bold;
}

.highlight-target {
    font-weight: 700;
    background: linear-gradient(transparent 60%, rgba(197, 164, 126, 0.2) 60%);
}

/* Flow Section */
.flow-section {
    background-color: #f9f9f9;
}

.timeline {
    max-width: 800px;
    margin: 3rem auto 0;
    position: relative;
    padding-left: 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 49px;
    /* Adjust based on markers */
    height: 100%;
    width: 2px;
    background: #ddd;
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-marker {
    width: 60px;
    height: 60px;
    background: var(--color-primary);
    color: white;
    font-size: 0.9rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 1;
    border: 4px solid #f9f9f9;
    white-space: nowrap;
    padding: 0 4px;
}

.timeline-content {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    flex-grow: 1;
}

.timeline-title {
    font-size: 1.2rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--color-accent);
    display: inline-block;
    padding-bottom: 5px;
}

.timeline-content ul {
    margin-top: 1rem;
    font-size: 0.95rem;
}

/* New Flow List Styles */
.flow-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.flow-li {
    margin-bottom: 1.2rem;
    padding-left: 0;
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.5rem;
}

.flow-li:last-child {
    margin-bottom: 0;
}

.flow-main {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-primary);
    display: inline;
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.flow-sub {
    font-size: 0.85rem;
    font-weight: 500;
    color: #888;
    background: #f0f0f0;
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

.flow-desc {
    font-size: 0.95rem;
    color: #666;
    margin-top: 0.2rem;
    width: 100%;
    /* Force new line */
}

/* Video Facade Styles */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background-color: #000;
    aspect-ratio: 16/9;
    cursor: pointer;
}

.video-facade {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s;
}

.video-wrapper:hover .video-facade img {
    opacity: 0.8;
}

.play-button {
    position: absolute;
    width: 68px;
    height: 48px;
    background-color: rgba(33, 33, 33, 0.8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
    z-index: 2;
}

.play-button::before {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 16px;
    border-color: transparent transparent transparent #fff;
}

.video-wrapper:hover .play-button {
    background-color: #f00;
}


/* Type Colors - Marker Highlight */
.type-appearance .flow-main {
    background: linear-gradient(transparent 60%, rgba(0, 123, 255, 0.3) 60%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.type-coach .flow-main {
    background: linear-gradient(transparent 60%, rgba(232, 62, 140, 0.3) 60%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.type-work .flow-main {
    background: linear-gradient(transparent 60%, rgba(40, 167, 69, 0.3) 60%);
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

.type-roadmap .flow-main {
    background: linear-gradient(transparent 60%, rgba(197, 164, 126, 0.4) 60%);
    /* Adjusted to Gold */
    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}

/* Pricing Section */
.pricing-section {
    background-color: white;
}

.pricing-card {
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: 20px;
    padding: 3rem;
    max-width: 700px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(197, 164, 126, 0.15);
}

.pricing-plan-name {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--color-primary);
}

.pricing-original {
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 0.5rem;
}

.strike {
    text-decoration: line-through;
}

.pricing-arrow {
    font-size: 1.5rem;
    color: var(--color-accent);
    margin: 0.5rem 0;
}

.pricing-special-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #b93c3c;
    margin-bottom: 0.5rem;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--color-primary);
    line-height: 1;
    margin-bottom: 0.5rem;
    font-family: var(--font-eng);
}

.unit {
    font-size: 1rem;
    font-weight: 500;
    margin-left: 5px;
}

.pricing-note {
    color: #b93c3c;
    font-weight: bold;
    margin-bottom: 2rem;
}

.payment-methods {
    background: #f4f4f4;
    padding: 0.8rem;
    border-radius: 5px;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: inline-block;
}

.cta-note {
    font-size: 0.85rem;
    color: #888;
    margin-top: 1rem;
}

/* FAQ Section */
.faq-section {
    background-color: #f9f9f9;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    padding: 1.5rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.03);
}

.faq-question {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-primary);
    cursor: pointer;
    position: relative;
    padding-right: 20px;
}

.problem-list {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.problem-item {
    background: #fff;
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.problem-icon-wrapper {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.problem-icon-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* FAQ Accordion Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s, margin 0.3s;
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    transition: 0.3s;
}

.faq-question.active::after {
    transform: translateY(-50%) rotate(45deg);
}

/* Footer Adjustments */
.footer {
    background-color: var(--color-primary);
    color: white;
    padding: 3rem 0;
    text-align: center;
}

.footer a {
    color: white;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.6rem;
    }

    .solution-title {
        font-size: 1.8rem;
    }

    .solution-name {
        font-size: 2rem;
    }

    .problem-voice {
        font-size: 0.9rem;
    }
}

/* Student Changes Section */
.changes-section {
    background-color: #f9f9f9;
    padding: 4rem 0;
}

.changes-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.change-item {
    width: 100%;
    max-width: 800px;
    /* Optional constraint for desktop */
}

.change-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Ensure footer contact matches overall style */
.footer-contact a:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Mobile Optimizations (approx 397px and below) */
@media (max-width: 480px) {

    /* Optimize Problem Section */
    .problem-list {
        padding: 1rem;
    }

    .problem-item {
        padding: 0.8rem 1rem;
        gap: 0.8rem;
    }

    .problem-icon-wrapper {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }

    .problem-bubble {
        padding: 1rem;
        font-size: 0.95rem;
    }

    /* Adjust bubble tail position for smaller icon */
    .problem-item:not(.reverse) .problem-bubble::before,
    .problem-item:not(.reverse) .problem-bubble::after {
        top: 20px;
        /* Centered relative to smaller icon */
    }

    .problem-item.reverse .problem-bubble::before,
    .problem-item.reverse .problem-bubble::after {
        top: 20px;
    }

    /* Optimize Flow Section */
    .timeline {
        padding-left: 10px;
    }

    .timeline::before {
        left: 45px;
        /* Center with 70px marker + 10px padding */
    }

    .timeline-item {
        gap: 1rem;
    }

    .timeline-marker {
        width: 70px;
        height: 70px;
        font-size: 0.85rem;
        /* Fit text */
        border-width: 3px;
        white-space: nowrap;
        letter-spacing: -0.5px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .timeline-content {
        padding: 1.5rem;
    }

    /* Flow styles moved to global scope */

    /* Override list bullet */
    .timeline-content li::before {
        display: none;
    }

    .timeline-title {
        font-size: 1.1rem;
    }

    /* Further Mobile Optimizations */
    .section-title {
        font-size: 1.5rem;
        /* Slightly smaller for mobile */
        word-break: auto-phrase;
        /* Better line breaks if supported */
    }

    .service-card {
        padding: 1.25rem 1rem;
        /* Reduced padding to expand content width */
    }

    .authority-card {
        padding: 1.5rem;
        /* Reduced padding */
    }

    /* Expand images visually */
    .service-image-container {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        width: calc(100% + 1rem);
        max-width: none;
        border-radius: 5px;
    }

    .change-item {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
        width: 100vw;
        max-width: none;
        border-radius: 0;
        box-shadow: none;
    }

    .change-img {
        border-radius: 0;
    }
}