/* ==========================================
   R&S Life Support - Main Stylesheet
   ========================================== */

/* ==========================================
   1. CSS Variables & Root Settings
   ========================================== */
:root {
    /* Colors */
    --primary-color: #2563eb;
    --secondary-color: #3b82f6;
    --accent-color: #60a5fa;
    --dark-color: #1e293b;
    --light-color: #f8fafc;
    --text-color: #334155;
    --text-light: #64748b;
    --white: #ffffff;
    --black: #000000;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-accent: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;
    
    /* Typography */
    --font-primary: 'Noto Sans JP', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-normal: 0.5s ease;
    --transition-slow: 0.8s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

/* ==========================================
   2. Global Styles
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    background-color: var(--light-color);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

/* ==========================================
   3. Preloader
   ========================================== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

#preloader.loaded {
    opacity: 0;
    visibility: hidden;
}

.loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.loader-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 30px;
}

.loader-logo {
    width: 80px;
    height: 80px;
    animation: pulse 2s infinite;
}

.loader-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.loader-text {
    font-size: 2rem;
    font-weight: 700;
    color: var(--dark-color);
    font-family: var(--font-secondary);
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.5;
    }
    50% {
        opacity: 1;
    }
}

.loader-bar {
    width: 200px;
    height: 4px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

.loader-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    animation: loading 1.5s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

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

/* ==========================================
   4. Navigation
   ========================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: var(--white);
    box-shadow: var(--shadow-md);
}

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

.logo {
    height: 50px;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    height: 100%;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark-color);
    font-family: var(--font-secondary);
    white-space: nowrap;
    transition: var(--transition-fast);
}

.navbar.scrolled .logo-text {
    color: var(--primary-color);
}

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

.nav-link {
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition-fast);
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    z-index: 1001;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--dark-color);
    transition: var(--transition-fast);
}

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

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

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

/* ==========================================
   5. Hero Section
   ========================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 50px;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.3;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    background: rgba(255, 255, 255, 0.3);
    top: -100px;
    right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 300px;
    height: 300px;
    background: rgba(59, 130, 246, 0.3);
    bottom: -50px;
    left: -50px;
    animation-delay: 5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: rgba(147, 51, 234, 0.3);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
    }
    66% {
        transform: translateY(30px) rotate(240deg);
    }
}

.hero .container {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    color: var(--white);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    font-family: var(--font-secondary);
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, #e0e7ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-highlight {
    color: var(--white);
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
    line-height: 1.8;
}

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

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition-fast);
    cursor: pointer;
    border: none;
    font-size: 1rem;
    font-family: inherit;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    gap: 3rem;
    justify-content: center;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: var(--font-secondary);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Hero image removed for cleaner design */

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: var(--white);
    opacity: 0.7;
    animation: bounce 2s infinite;
}

.mouse {
    width: 25px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 20px;
    position: relative;
}

.wheel {
    width: 3px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(10px);
    }
}

@keyframes scroll-wheel {
    0% {
        top: 8px;
        opacity: 1;
    }
    100% {
        top: 20px;
        opacity: 0;
    }
}

/* ==========================================
   6. Section Commons
   ========================================== */
section {
    padding: var(--spacing-xxl) 0;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    position: relative;
    display: inline-block;
    margin-bottom: 1rem;
}

.title-en {
    display: block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.title-jp {
    display: block;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--dark-color);
    font-family: var(--font-secondary);
}

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

/* ==========================================
   7. About Section
   ========================================== */
.about {
    background: var(--white);
}

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

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
}

.text-highlight-blue {
    color: var(--primary-color);
    font-weight: 900;
    position: relative;
    display: inline-block;
}

.text-highlight-blue::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-primary);
    animation: expand 1s ease-in-out;
}

@keyframes expand {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.about-text p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--text-light);
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.feature-item:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.feature-item i {
    color: var(--primary-color);
    font-size: 1.25rem;
}

.feature-item:hover i {
    color: var(--white);
}

.about-images {
    position: relative;
}

.image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    position: relative;
}

.image-grid img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-normal);
}

.grid-img-1 {
    grid-column: 1 / -1;
}

.grid-img-2 {
    grid-column: 1 / -1;
    margin-top: -50px;
}

.image-grid img:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   8. Problem Section
   ========================================== */
.problem {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

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

.problem-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
    cursor: pointer;
}

.problem-card:hover {
    transform: translateY(-10px) rotateZ(-2deg);
    box-shadow: var(--shadow-xl);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-normal);
}

.card-icon i {
    font-size: 2rem;
    color: var(--white);
}

.problem-card:hover .card-icon {
    transform: rotateY(360deg);
}

.problem-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

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

/* ==========================================
   9. Services Section
   ========================================== */
.services {
    background: var(--white);
    overflow: hidden;
}

.services-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.service-circle {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto;
}

.circle-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    z-index: 2;
    box-shadow: var(--shadow-xl);
}

.circle-center h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.circle-center p {
    font-size: 0.9rem;
    text-align: center;
}

.service-items {
    position: absolute;
    width: 100%;
    height: 100%;
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.service-item {
    position: absolute;
    width: 100px;
    height: 100px;
    top: 50%;
    left: 50%;
    margin: -50px 0 0 -50px;
    transform-origin: center;
    transform: rotate(calc(60deg * var(--i))) translateY(-200px);
}

.service-item .item-icon {
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-fast);
    animation: rotate-reverse 30s linear infinite;
}

@keyframes rotate-reverse {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(-360deg);
    }
}

.service-item .item-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.service-item span {
    font-size: 0.75rem;
    color: var(--text-color);
    text-align: center;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
}

.service-item:hover .item-icon {
    transform: scale(1.2);
    background: var(--gradient-primary);
}

.service-item:hover .item-icon i {
    color: var(--white);
}

.service-details h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.service-list {
    list-style: none;
}

.service-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 10px;
    transition: var(--transition-fast);
}

.service-list li:hover {
    background: linear-gradient(135deg, #667eea15 0%, #764ba215 100%);
    transform: translateX(10px);
}

.service-list i {
    color: var(--primary-color);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.service-list strong {
    display: block;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

.service-list p {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* ==========================================
   10. Process Section
   ========================================== */
.process {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.process .section-title .title-jp {
    color: var(--white);
}

.process .section-title .title-en {
    color: var(--accent-color);
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.process-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
}

.timeline-item {
    position: relative;
    padding: 2rem 0;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
    text-align: right;
}

.timeline-number {
    width: 80px;
    height: 80px;
    background: var(--white);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.timeline-content {
    flex: 1;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    transition: var(--transition-fast);
}

.timeline-content:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

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

.timeline-content p {
    opacity: 0.9;
    line-height: 1.6;
}

/* ==========================================
   11. Pricing Section - Minimalist Wave Design
   ========================================== */
.pricing {
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 50%, #fafafa 100%);
    position: relative;
    overflow: hidden;
}

.pricing::before,
.pricing::after {
    content: '';
    position: absolute;
    width: 120%;
    height: 200px;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(37, 99, 235, 0.03), 
        transparent);
    transform: rotate(-3deg);
}

.pricing::before {
    top: -100px;
    left: -10%;
    animation: wave-move 20s linear infinite;
}

.pricing::after {
    bottom: -100px;
    right: -10%;
    animation: wave-move 25s linear infinite reverse;
}

@keyframes wave-move {
    0% {
        transform: translateX(-100px) rotate(-3deg);
    }
    100% {
        transform: translateX(100px) rotate(-3deg);
    }
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    max-width: 1200px;
    margin: 0 auto 3rem;
    background: linear-gradient(90deg, #e2e8f0 0%, #cbd5e1 100%);
    border-radius: 20px;
    padding: 1px;
    position: relative;
    z-index: 1;
}

.pricing-card {
    background: var(--white);
    padding: 3rem 2rem;
    position: relative;
    transition: all 0.3s ease;
    overflow: hidden;
}

.pricing-card:first-child {
    border-radius: 20px 0 0 20px;
}

.pricing-card:last-child {
    border-radius: 0 20px 20px 0;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.pricing-card:hover::before {
    transform: translateX(100%);
}

.pricing-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(37, 99, 235, 0.02) 0%, 
        transparent 30%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pricing-card:hover::after {
    opacity: 1;
}

.pricing-card:nth-child(2) {
    position: relative;
    z-index: 2;
}

.pricing-card:nth-child(2)::before {
    height: 6px;
    background: linear-gradient(90deg, 
        #667eea 0%, 
        #764ba2 50%, 
        #f093fb 100%);
}

.pricing-card.featured {
    transform: scale(1.08);
    box-shadow: 0 25px 50px rgba(102, 126, 234, 0.15);
    border-radius: 20px;
    margin: -25px -15px;
    z-index: 3;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9ff 100%);
    border: 2px solid rgba(102, 126, 234, 0.1);
}

.pricing-card.featured .card-header {
    border-bottom-color: rgba(102, 126, 234, 0.1);
}

.pricing-card.featured .card-header h3 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.4rem;
}

.card-ribbon {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.card-header {
    text-align: center;
    padding-bottom: 2rem;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 2rem;
}

.card-header h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--text-light);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.amount {
    font-size: 3.5rem;
    font-weight: 200;
    color: var(--dark-color);
    font-family: var(--font-secondary);
    line-height: 1;
    position: relative;
}

.pricing-card:nth-child(2) .amount {
    font-weight: 700;
    font-size: 4rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.unit {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 400;
    opacity: 0.7;
}

.card-body ul {
    list-style: none;
}

.card-body li {
    padding: 1rem 0;
    color: var(--text-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.card-body li:last-child {
    border-bottom: none;
}

.card-body li:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.card-body i {
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.pricing-card:nth-child(2) .card-body i {
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-body li:hover i {
    transform: scale(2);
    background: var(--gradient-primary);
}

.pricing-note {
    text-align: center;
    margin-top: 4rem;
    padding: 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.95) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    color: var(--dark-color);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.pricing-note::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.05) 0%, transparent 70%);
    animation: pulse-slow 10s ease-in-out infinite;
}

.pricing-note p {
    position: relative;
    z-index: 1;
    color: var(--text-color);
    line-height: 1.8;
}

.pricing-note p:first-child {
    margin-bottom: 1rem;
}

.pricing-note i {
    color: var(--primary-color);
    margin-right: 0.75rem;
    font-size: 1.25rem;
}

.pricing-note strong {
    color: var(--primary-color);
    font-weight: 700;
}

.pricing-example {
    max-width: 700px;
    margin: 3rem auto 0;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
    border-radius: 30px;
    padding: 3rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.pricing-example::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
}

.pricing-example h3 {
    text-align: center;
    font-size: 1.75rem;
    margin-bottom: 2.5rem;
    color: var(--dark-color);
    font-weight: 700;
    position: relative;
}

.pricing-example h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.example-calculation {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.05);
}

.example-calculation table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.example-calculation tr {
    transition: var(--transition-fast);
}

.example-calculation tr:hover:not(.total):not(.service-fee):not(.subtotal) {
    background: rgba(102, 126, 234, 0.05);
}

.example-calculation tr td:first-child {
    border-radius: 10px 0 0 10px;
}

.example-calculation tr td:last-child {
    border-radius: 0 10px 10px 0;
}

.example-calculation tr.subtotal {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
}

.example-calculation tr.subtotal td {
    font-weight: 600;
    color: var(--primary-color);
    border-top: 2px solid var(--primary-color);
    border-bottom: 1px solid rgba(37, 99, 235, 0.3);
}

.example-calculation tr.service-fee {
    background: linear-gradient(90deg, rgba(251, 191, 36, 0.15) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.example-calculation tr.service-fee td {
    color: #d97706;
    font-weight: 600;
}

.example-calculation tr.total {
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.3);
    transform: scale(1.02);
}

.example-calculation tr.total td {
    color: var(--white);
    font-weight: 900;
    padding: 1.5rem 1rem;
    border: none;
}

.example-calculation td {
    padding: 1.25rem 1rem;
    font-size: 1.05rem;
    position: relative;
}

.example-calculation td i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    width: 20px;
    display: inline-block;
    text-align: center;
}

.example-calculation .amount {
    text-align: right;
    font-weight: 700;
    font-family: var(--font-secondary);
    font-size: 1.1rem;
}

.example-calculation tr.total .amount {
    font-size: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.example-note {
    margin-top: 1.5rem;
    text-align: center;
    color: var(--text-color);
    font-size: 0.95rem;
    font-style: normal;
    line-height: 1.6;
}

/* ==========================================
   12. Team Section
   ========================================== */
.team {
    background: var(--white);
}

.team-image {
    max-width: 900px;
    margin: 0 auto 3rem;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.team-image img {
    width: 100%;
    height: auto;
    transition: var(--transition-slow);
}

.team-image:hover img {
    transform: scale(1.05);
}

.team-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.team-features .feature {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: var(--transition-fast);
}

.team-features .feature:hover {
    background: var(--gradient-primary);
    color: var(--white);
    transform: translateY(-5px);
}

.team-features .feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.team-features .feature:hover i {
    color: var(--white);
}

.team-features .feature h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.team-features .feature p {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ==========================================
   13. CTA Section
   ========================================== */
.cta {
    background: var(--gradient-primary);
    color: var(--white);
    padding: var(--spacing-xl) 0;
}

.cta-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    font-family: var(--font-secondary);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

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

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

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

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

/* ==========================================
   14. Contact Section
   ========================================== */
.contact {
    background: var(--light-color);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.contact-info p {
    margin-bottom: 2rem;
    color: var(--text-light);
    line-height: 1.8;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--dark-color);
}

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

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-group {
    position: relative;
    margin-bottom: 2rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    font-size: 1rem;
    font-family: inherit;
    background: transparent;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: var(--text-light);
    transition: var(--transition-fast);
    pointer-events: none;
    background: var(--white);
    padding: 0 0.5rem;
}

.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -0.75rem;
    font-size: 0.875rem;
    color: var(--primary-color);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

/* ==========================================
   15. Footer
   ========================================== */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

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

.footer-logo p {
    opacity: 0.8;
    line-height: 1.6;
    margin: 0;
}

.footer-contact {
    margin-top: 1rem;
}

.footer-contact p {
    margin: 0.5rem 0;
    font-size: 0.95rem;
}

.footer-contact i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-links h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--white);
    transform: translateX(5px);
    display: inline-block;
}

.footer-social h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.social-links a:hover {
    background: var(--gradient-primary);
    transform: translateY(-3px);
}

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

/* ==========================================
   16. Back to Top Button
   ========================================== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-fast);
    z-index: 999;
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   17. Responsive Design
   ========================================== */
@media (max-width: 1024px) {
    .hero .container {
        flex-direction: column;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
    }
    
    .service-circle {
        transform: scale(0.8);
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: var(--transition-fast);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .problem-grid {
        grid-template-columns: 1fr;
    }
    
    .services-showcase {
        grid-template-columns: 1fr;
        padding: 0;
    }
    
    .service-main {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        overflow: hidden;
        padding: 20px 0;
    }
    
    .service-circle {
        width: 500px;
        height: 500px;
        margin: 0;
        position: static;
        transform: scale(0.65) translateX(0);
    }
    
    .service-details {
        padding: 0 20px;
        margin-top: 0;
    }
    
    /* Keep rotation animation on mobile */
    .service-items {
        animation: rotate 30s linear infinite !important;
    }
    
    .service-item .item-icon {
        animation: rotate-reverse 30s linear infinite !important;
    }
    
    .timeline-item {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr;
        gap: 0;
        background: none;
        padding: 0;
    }
    
    .pricing-card {
        border-radius: 20px !important;
        margin: 1rem 0 !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }
    
    .pricing-card.featured {
        transform: scale(1);
        margin: 1rem 0 !important;
    }
    
    .pricing-example {
        margin: 2rem 1rem 0;
        padding: 2rem 1.5rem;
    }
    
    .example-calculation {
        padding: 1rem;
    }
    
    .example-calculation td {
        padding: 0.75rem 0.5rem;
        font-size: 0.9rem;
    }
    
    .example-calculation tr.total td {
        padding: 1rem 0.5rem;
    }
    
    .example-calculation tr.total .amount {
        font-size: 1.25rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }
    
    .section-title .title-jp {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .service-main {
        overflow: hidden;
        padding: 10px 0;
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .service-circle {
        width: 500px;
        height: 500px;
        margin: 0;
        position: static;
        transform: scale(0.6) translateX(0);
    }
    
    .service-details {
        margin-top: -20px;
    }
    
    .circle-center h3 {
        font-size: 1.3rem;
    }
    
    .circle-center p {
        font-size: 0.85rem;
    }
    
    .service-item span {
        font-size: 0.7rem;
    }
    
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
    }
    
    .loader-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .loader-text {
        font-size: 1.5rem;
    }
    
    .logo {
        height: 40px;
    }
    
    .logo-text {
        font-size: 0.9rem;
    }
}

/* ==========================================
   18. Animations
   ========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

.text-right {
    text-align: right;
}

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

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

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.hidden {
    display: none;
}

.visible {
    display: block;
}

/* ==========================================
   20. Print Styles
   ========================================== */
@media print {
    .navbar,
    .hero-buttons,
    .scroll-indicator,
    .back-to-top,
    .footer-social,
    .nav-toggle {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    .container {
        max-width: 100%;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    img {
        max-width: 100%;
        page-break-inside: avoid;
    }
}