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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html,
body {
    overflow-x: hidden;
    overflow-y: auto;
}

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

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

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2.2rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

/* Colors */
:root {
    --primary-color: #2c5aa0;
    --secondary-color: #4a90e2;
    --accent-color: #7cc7d8;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --text-color: #333;
    --text-light: #666;
    --text-lighter: #999;
    --bg-light: #f8f9fa;
    --bg-lighter: #ffffff;
    --border-color: #e9ecef;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 500;
    text-align: center;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
    min-width: 160px;
}

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

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

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

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

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    min-width: 200px;
}

.btn i {
    margin-right: 8px;
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.highlight-yellow {
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    font-weight: 700;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
}

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

.logo h1 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin: 0;
}

.nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav a {
    color: var(--text-color);
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav a:hover {
    background: var(--bg-light);
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    position: relative;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

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

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

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

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 40, 80, 0.65), rgba(40, 60, 100, 0.55));
    z-index: -1;
}

.hero-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 0;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 30px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.4);
    padding: 20px 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    display: inline-block;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    line-height: 1.8;
    opacity: 0.98;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px 25px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-problems {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-problems p {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.1rem;
    margin-bottom: 0;
    padding: 12px 24px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border: 1px solid var(--warning-color);
    border-radius: 25px;
    backdrop-filter: blur(8px);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-cta {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-content {
    text-align: center;
}

.cta-content h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.4);
    padding: 15px 25px;
    border-radius: 12px;
    backdrop-filter: blur(8px);
    display: inline-block;
}

.cta-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.98;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.3);
    padding: 15px 20px;
    border-radius: 10px;
    backdrop-filter: blur(6px);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.ideal-balance {
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.ideal-balance h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.ideal-balance p {
    margin-bottom: 10px;
}

.ideal-balance .small-text {
    font-size: 0.9rem;
    color: var(--text-light);
}

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Problems Section */
.problems-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, rgba(44, 90, 160, 0.05) 100%);
    padding: 80px 0;
}

/* Problems Swipe */
.problems-swipe-container {
    margin-top: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.swipe-instruction {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.swipe-instruction i.fa-hand-point-right {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.swipe-animation {
    display: inline-block;
    animation: swipeHint 2s infinite;
}

@keyframes swipeHint {
    0%, 100% {
        transform: translateX(0);
        opacity: 1;
    }
    50% {
        transform: translateX(10px);
        opacity: 0.7;
    }
}

.problems-swipe-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    touch-action: pan-x;
    user-select: none;
}

.problems-swipe-track {
    display: flex;
    transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    width: 400%; /* 4カード分 */
}

.problem-swipe-item {
    width: 25%; /* 各カードは25%の幅 */
    flex-shrink: 0;
    padding: 0 10px;
}

.swipe-progress {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 0 5px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background-color: rgba(44, 90, 160, 0.2);
    border-radius: 2px;
    overflow: hidden;
    margin-right: 15px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 25%; /* 初期値：1/4 */
}

.progress-text {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
    min-width: 40px;
}

/* Enhanced touch feedback */
.problems-swipe-track.swiping {
    transition: none;
}

.problem-card {
    cursor: grab;
    transition: all 0.3s ease;
}

.problem-card:active {
    cursor: grabbing;
    transform: scale(0.98);
}

/* Visual feedback for swipe direction */
.problems-swipe-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 30px;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.8), transparent);
    pointer-events: none;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.problems-swipe-wrapper.has-more::before {
    opacity: 1;
}

/* Legacy grid styles */
.problems-grid {
    display: none; /* Hidden by default, swipe is primary */
}

.problem-card {
    background: white;
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    height: 100%;
    margin: 0 auto;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.problem-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.problem-image-icon {
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

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

.problem-card h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.25rem;
    line-height: 1.4;
    flex-shrink: 0;
    text-align: center;
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
    font-size: 1rem;
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}



.problems-cta {
    text-align: center;
    font-size: 1.2rem;
    color: var(--primary-color);
    font-weight: 500;
}

/* CondiView Section */
.condiview-section {
    background: var(--bg-light);
}

.condiview-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.feature-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.feature-item p {
    color: var(--text-light);
    margin: 0;
}

.condiview-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.condiview-images .result-image {
    padding-block: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Electron Section */
.electron-section {
    background: white;
}

.electron-content {
    display: grid;
    gap: 40px;
}

.cycle-explanation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.cycle-explanation {
    margin-bottom: 40px;
}

.cycle-explanation h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.4rem;
}

.cycle-diagram {
    text-align: center;
    margin: 30px 0;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.cycle-diagram-image {
    max-width: 640px;
    width: 100%;
    margin-inline: auto;
}

.cycle-steps {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
}

.cycle-steps p {
    margin-bottom: 0;
}

.step {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
}

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

.affected-substances h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.affected-substances ul {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
}

.affected-substances li {
    padding: 10px 15px;
    background: white;
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 4px solid var(--accent-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.solution-box {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 30px 25px 25px;
    border-radius: 20px;
    text-align: center;
}

.solution-box h3 {
    margin-bottom: 25px;
    font-size: 1.35rem;
    white-space: nowrap;
}

.solution-steps {
    display: flex;
    gap: 15px;
}

.solution-step {
    flex-grow: 1;
    padding: 18px 15px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.solution-step i {
    font-size: 1.8rem;
    margin-bottom: 8px;
    color: var(--accent-color);
}

.solution-step p {
    margin: 0;
    line-height: 1.4;
}

.solution-step p strong {
    font-size: 1.4em;
}

.arrow-down {
    align-self: center;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    margin: 8px 0;
}

.arrow-down i {
    rotate: -90deg;
}

/* ImmunoPower Section */
.immunopower-section {
    background: var(--bg-light);
    padding: 50px 0;
}

.immunopower-section .section-header {
    margin-bottom: 40px;
}

.immunopower-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.immunopower-images {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.immunopower-images img {
    max-width: none;
    width: 100%;
    border-radius: 15px;
    box-shadow: var(--shadow);
}
.immunopower-images .treatment-image {
    aspect-ratio: 1 / 1;
    overflow: hidden;
}
.immunopower-images .treatment-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.features {
    display: grid;
    gap: 30px;
}

.feature {
    /* display: flex;
    align-items: flex-start;
    gap: 20px; */
    display: grid;
    grid-template-columns: 50px 1fr;
    grid-template-rows: auto auto;
    gap: 0 20px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.feature i {
    grid-column: 1 / 1;
    grid-row: 1 / 3;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.feature h3 {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.feature p {
    grid-column: 2 / 3;
    grid-row: 2 / 3;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

/* Before/After Section */
.before-after-section {
    background: white;
    text-align: center;
}

.comparison-image {
    max-width: 900px;
    width: 100%;
    margin: 0 auto 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.explanation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.explanation-item {
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    text-align: center;
}

.explanation-item i {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin: 0 auto 20px;
}

.explanation-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.explanation-item p {
    color: var(--text-light);
    margin: 0;
}

/* Flow Section */
.flow-section {
    background: var(--bg-light);
}

.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.flow-step {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 40px;
    align-items: center;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.step-content p {
    color: var(--text-light);
    line-height: 1.7;
}

.step-image {
    max-width: 200px;
}

.step-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Price Section */
.price-section {
    background: white;
}

.price-content {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

/* Monitor Campaign */
.monitor-campaign {
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
    padding: 80px 40px 50px;
    border-radius: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.campaign-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(5px);
    color: var(--primary-color);
}

.monitor-campaign h3 {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.monitor-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 40px 0;
}

.monitor-plan {
    background: #fff;
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    color: var(--primary-color);
}

.monitor-plan h4 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    background: rgba(255, 193, 7,0.5);
}

.monitor-plan p {
    margin-bottom: 20px;
}

.price {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.original {
    text-decoration: line-through;
    opacity: 0.7;
    font-size: 1.1rem;
}

.free {
    font-size: 2rem;
    font-weight: bold;
    color: #e9700d;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3); */
}

/* Regular Pricing */
.regular-pricing h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.pricing-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

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

.pricing-card.featured {
    border-color: var(--secondary-color);
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05), rgba(122, 199, 216, 0.05));
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--secondary-color);
    color: white;
    padding: 8px 20px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.pricing-card h4 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.plan-details {
    margin-bottom: 30px;
}

.plan-details p {
    color: var(--text-light);
    line-height: 1.6;
}

.duration {
    font-weight: 500;
    color: var(--text-color);
    margin-top: 10px;
}

.pricing {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px 15px;
    background: var(--bg-light);
    border-radius: 10px;
}

.price-row.normal {
    background: white;
    border: 1px solid var(--border-color);
}

.label {
    font-weight: 500;
    color: var(--text-color);
}

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

.discount {
    background: var(--warning-color);
    color: #333;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.payment-info {
    text-align: center;
    margin-top: 30px;
    padding: 20px;
    background: var(--bg-light);
    border-radius: 10px;
}

.payment-info i {
    color: var(--secondary-color);
    margin-right: 8px;
}

/* Access Information */
.access-info {
    background: var(--bg-light);
    padding: 50px 40px;
    border-radius: 20px;
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
    margin-bottom: 40px;
}

.access-details h3 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 1.5rem;
}

.address p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 15px;
}

.address strong {
    color: var(--primary-color);
}

.business-hours {
    margin-top: 30px;
}

.business-hours h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.business-hours ul {
    list-style: none;
    padding: 0;
}

.business-hours li {
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.business-hours .closed {
    color: var(--warning-color);
    font-weight: 500;
}

.google-map {
    margin-top: 30px;
}

.google-map h4 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.google-map h4 i {
    margin-right: 8px;
    color: var(--secondary-color);
}

.map-container {
    box-shadow: var(--shadow);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.map-container:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.map-container iframe {
    width: 100%;
    height: 300px;
    border: 0;
    display: block;
}

.facility-image {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.facility-image img {
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.reservation-info {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.reservation-info h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

.reservation-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 25px;
}

/* Restrictions Section */
.restrictions-section {
    background: var(--bg-light);
}

.restrictions-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.restriction-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    border-left: 4px solid var(--warning-color);
}

.restriction-item i {
    width: 50px;
    height: 50px;
    background: var(--warning-color);
    color: #333;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.restriction-item p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-note {
    text-align: center;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.contact-note i {
    color: var(--secondary-color);
    margin-right: 10px;
    font-size: 1.2rem;
}

.contact-note *:last-child {
    margin-bottom: 0;
}

/* FAQ Section */
.faq-section {
    background: white;
}

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

.faq-item {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.faq-question {
    padding: 25px 30px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.faq-question:hover {
    background: var(--bg-lighter);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.faq-question i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    box-sizing: content-box;
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 25px 30px;
    max-height: 250px;
}

.faq-answer p {
    margin: 0;
    color: var(--text-light);
    line-height: 1.7;
}

/* Profile Section */
.profile-section {
    background: var(--bg-light);
}

.profile-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
}

.profile-image img {
    max-width: 400px;
    margin-inline: auto;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.profile-text h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.profile-text h3 span {
    font-size: 0.7em;
}

.title {
    color: var(--secondary-color);
    font-size: 1.2rem;
    font-weight: 500;
    margin-bottom: 30px;
}

.profile-highlights {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.highlight-item i {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    flex-shrink: 0;
}

.highlight-item p {
    margin-bottom: 0;
}

.profile-description p {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.profile-description blockquote {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 25px 30px;
    border-radius: 15px;
    font-style: italic;
    font-size: 1.1rem;
    margin: 30px 0;
    text-align: center;
    position: relative;
}

.profile-description blockquote::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -10px;
    left: 20px;
    opacity: 0.3;
}

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

.final-cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 25px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.final-cta-section p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.95;
}

.final-cta-buttons {
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.final-cta-buttons .btn {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.final-cta-buttons .btn-secondary {
    color:#fff;
}

.final-cta-buttons .btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-3px);
}

.contact-info {
    margin-top: 40px;
    opacity: 0.9;
}

.contact-info p {
    margin: 10px 0;
    font-size: 1rem;
}

.contact-info i {
    margin-right: 10px;
    color: var(--accent-color);
}

/* Footer */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-info h3 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-info p {
    line-height: 1.6;
    opacity: 0.8;
}

.footer-hours h4,
.footer-links h4 {
    color: var(--accent-color);
    margin-bottom: 20px;
}

.footer-hours ul,
.footer-links ul {
    list-style: none;
    padding: 0;
    opacity: 0.8;
}

.footer-hours li,
.footer-links li {
    padding: 5px 0;
}

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

.footer-links li {
    position: relative;
    padding-left: 1em;
    border-top: 1px solid var(--accent-color);
}

.footer-links li:last-child {
    border-bottom: 1px solid var(--accent-color);
}

.footer-links a {
    display: block;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    opacity: 0.7;
}

/* Floating CTA */
.floating-cta {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-width: 320px;
    background: linear-gradient(135deg, var(--success-color), #20c997);
    color: white;
    padding: 16px 25px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 24px;
}

.floating-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.6);
}

.floating-btn i {
    font-size: 1.2rem;
}

/* for Tablet Design*/
@media (max-width: 960px) {
    .affected-substances ul {
        grid-template-columns: repeat(2,1fr);
    }
    .profile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

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

    /* Header */
    .nav {
        display: none;
    }

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

    /* Mobile Navigation */
    .nav.mobile-open {
        display: block !important;
        position: fixed;
        top: 57px;
        left: 0;
        right: 0;
        bottom: 0;
        background: #ffffff !important;
        z-index: 1000;
        padding: 40px 20px;
        box-shadow: 0 2px 20px rgba(0,0,0,0.15);
        border-top: 2px solid var(--primary-color);
        height: calc(100vh - 57px);
    }

    .nav.mobile-open ul {
        display: flex !important;
        flex-direction: column;
        gap: 25px;
        padding: 40px 0;
        margin: 0;
        list-style: none;
        background: white;
        /* border-radius: 15px;
        box-shadow: 0 4px 20px rgba(0,0,0,0.1); */
    }

    .nav.mobile-open ul li {
        width: 100%;
        text-align: center;
        opacity: 0;
        animation: fadeInUp 0.5s ease forwards;
        background: transparent;
    }

    .nav.mobile-open ul li:nth-child(1) { animation-delay: 0.1s; }
    .nav.mobile-open ul li:nth-child(2) { animation-delay: 0.2s; }
    .nav.mobile-open ul li:nth-child(3) { animation-delay: 0.3s; }
    .nav.mobile-open ul li:nth-child(4) { animation-delay: 0.4s; }

    .nav.mobile-open ul li a {
        display: block;
        padding: 18px 25px;
        border-radius: 12px;
        transition: all 0.3s ease;
        color: var(--primary-color);
        font-weight: 600;
        font-size: 1.1rem;
        text-decoration: none;
        border: 2px solid var(--border-color);
        background: rgba(44, 90, 160, 0.05);
    }

    .nav.mobile-open ul li a:hover,
    .nav.mobile-open ul li a:active {
        background: var(--primary-color);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 4px 15px rgba(44, 90, 160, 0.4);
        border-color: var(--primary-color);
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-title {
        font-size: 2.2rem;
        padding: 15px 20px;
    }

    .hero-title span {
        display: inline-block;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        padding: 15px 18px;
    }

    .hero-subtitle span {
        display: inline-block;
    }

    .cta-content h3 {
        font-size: 1.5rem;
        padding: 12px 18px;
    }

    .cta-content h3 span {
        display: inline-block;
    }

    .cta-description {
        padding: 12px 15px;
        font-size: 1rem;
    }

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

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }



    .cycle-diagram-image {
        max-width: 480px;
    }

    .affected-substances ul {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Problems Swipe Mobile */
    .problems-swipe-container {
        max-width: 100%;
        margin: 0 10px;
        margin-top: 40px;
    }

    .swipe-instruction {
        font-size: 0.8rem;
        margin-bottom: 15px;
    }

    .problem-swipe-item {
        padding: 0 5px;
    }

    .problem-card {
        padding: 25px 15px;
        min-height: 280px;
    }

    .problem-image-icon {
        width: 110px;
        height: 110px;
        margin-bottom: 15px;
    }

    .problem-card h3 {
        font-size: 1.15rem;
        margin-bottom: 12px;
        text-align: center;
    }

    .problem-card p {
        font-size: 0.95rem;
        line-height: 1.5;
        text-align: center;
    }

    .swipe-progress {
        margin-top: 15px;
        padding: 0 10px;
    }

    .progress-text {
        font-size: 0.8rem;
        min-width: 35px;
    }

    /* Grid layouts to single column */
    .about-content,
    .condiview-content,
    .immunopower-content,
    .profile-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cycle-explanation {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* ImmunoPower Section Mobile */
    .immunopower-section {
        padding: 40px 0;
    }

    .immunopower-section .section-header {
        margin-bottom: 30px;
    }

    .solution-box {
        margin-top: 30px;
        padding: 25px 20px 20px;
    }

    .solution-box h3 {
        margin-bottom: 20px;
        font-size: 1.25rem;
    }

    .solution-steps {
        flex-direction: column;
        gap: 12px;
    }

    .solution-step {
        padding: 15px 12px;
    }

    .solution-step i {
        font-size: 1.6rem;
        margin-bottom: 6px;
    }

    .arrow-down {
        font-size: 1.2rem;
        margin: 6px 0;
    }

    .arrow-down i {
        rotate: 0deg;
    }

    /* Flow steps */
    .flow-step {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .flow-step:nth-child(even) {
        grid-template-columns: 1fr;
    }

    .step-image {
        max-width: 100%;
    }

    .step-content p {
        text-align: left;
    }

    /* Pricing */
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .monitor-plans {
        grid-template-columns: 1fr;
    }

    .access-grid {
        grid-template-columns: 1fr;
    }

    /* LINE QR Section Tablet */
    .line-qr-section {
        padding: 18px;
    }

    .line-qr {
        max-width: 180px;
    }

    .qr-url {
        font-size: 0.85rem;
    }

    .footer-content .footer-links {
        grid-column: 1 / 3;
    }

    .footer-content .footer-links ul {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0 20px;
    }
    .footer-links li:nth-last-child(2) {
        border-bottom: 1px solid var(--accent-color);
    }

    /* Floating CTA */
    .floating-btn {
        min-width: 180px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .access-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .reservation-buttons,
    .final-cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-content .footer-links {
        grid-column: 1 / 2;
    }

    .footer-content .footer-links ul {
        display: block;
    }
    .footer-links li:nth-last-child(2) {
        border-bottom: 0;
    }

    /* Floating CTA */
    .floating-cta {
        bottom: 20px;
        right: 20px;
    }

    /* Font sizes */
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.4rem;
    }

    section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 40px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

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

    .btn {
        padding: 12px 20px;
        font-size: 0.9rem;
        min-width: 140px;
    }

    .btn-large {
        padding: 14px 24px;
        font-size: 1rem;
        min-width: 160px;
    }

    .monitor-campaign {
        padding: 100px 20px 50px;
    }

    .monitor-campaign h3 {
        font-size: 1.8rem;
    }

    .final-cta-section h2 {
        font-size: 2rem;
    }

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

    /* Problems Swipe Small Mobile */
    .problems-swipe-container {
        margin: 0 8px;
        margin-top: 35px;
    }

    .problem-card {
        padding: 20px 12px;
        min-height: 250px;
    }

    .problem-image-icon {
        width: 90px;
        height: 90px;
        margin-bottom: 12px;
    }

    .problem-card h3 {
        font-size: 1.05rem;
        line-height: 1.3;
        text-align: center;
    }

    .problem-card p {
        font-size: 0.9rem;
        line-height: 1.4;
        text-align: center;
    }

    /* LINE QR Section Mobile */
    .line-qr-section {
        padding: 15px;
        margin-top: 20px;
    }

    .line-qr {
        max-width: 150px;
    }

    .qr-url {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Google Map Mobile */
    .map-container iframe {
        height: 250px;
    }
}

/* Animation States */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* LINE QR Code Section */
.line-qr-section {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.05), rgba(139, 195, 74, 0.05));
    border: 2px solid rgba(76, 175, 80, 0.2);
    border-radius: 15px;
    text-align: center;
}

.line-qr-section h4 {
    color: var(--success-color);
    margin-bottom: 20px;
    font-size: 1.2rem;
    font-weight: 600;
}

.line-qr-section h4 i {
    margin-right: 8px;
    color: #00B900;
}

.qr-code {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.line-qr {
    max-width: 200px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.line-qr:hover {
    transform: scale(1.05);
}

.qr-url {
    font-size: 0.9rem;
    color: var(--text-light);
    font-family: monospace;
    background: rgba(255, 255, 255, 0.7);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    margin: 0;
    word-break: break-all;
}

