/* Digital Clinic Design System - Professional medical-inspired DX consulting theme */

/* CSS Variables */
:root {
    /* Core brand colors inspired by medical/digital fusion */
    --background: hsl(0, 0%, 100%);
    --foreground: hsl(215, 25%, 27%);
    
    --card: hsl(0, 0%, 100%);
    --card-foreground: hsl(215, 25%, 27%);
    
    --popover: hsl(0, 0%, 100%);
    --popover-foreground: hsl(215, 25%, 27%);
    
    /* Primary: Professional medical blue */
    --primary: hsl(214, 84%, 56%);
    --primary-foreground: hsl(0, 0%, 100%);
    --primary-muted: hsl(214, 84%, 96%);
    
    /* Secondary: Clean clinical white with subtle tint */
    --secondary: hsl(214, 32%, 97%);
    --secondary-foreground: hsl(215, 25%, 27%);
    
    /* Muted tones for backgrounds */
    --muted: hsl(214, 32%, 97%);
    --muted-foreground: hsl(215, 16%, 47%);
    
    /* Accent: Warm orange for highlights and CTAs */
    --accent: hsl(25, 95%, 62%);
    --accent-foreground: hsl(0, 0%, 100%);
    --accent-muted: hsl(25, 95%, 95%);
    
    /* Trust-building green for success states */
    --success: hsl(142, 76%, 36%);
    --success-foreground: hsl(0, 0%, 100%);
    --success-muted: hsl(142, 76%, 95%);
    
    --destructive: hsl(0, 84%, 60%);
    --destructive-foreground: hsl(0, 0%, 100%);
    
    --border: hsl(214, 32%, 91%);
    --input: hsl(214, 32%, 91%);
    --ring: hsl(214, 84%, 56%);
    
    /* Gradients for modern appeal */
    --gradient-primary: linear-gradient(135deg, hsl(214, 84%, 56%), hsl(214, 84%, 66%));
    --gradient-accent: linear-gradient(135deg, hsl(25, 95%, 62%), hsl(25, 95%, 72%));
    --gradient-hero: linear-gradient(135deg, hsl(214, 84%, 56%) 0%, hsl(214, 84%, 66%) 50%, hsl(25, 95%, 62%) 100%);
    --gradient-subtle: linear-gradient(180deg, hsl(214, 32%, 99%), hsl(214, 32%, 97%));
    
    /* Shadows for depth */
    --shadow-sm: 0 1px 2px 0 hsl(214, 84%, 56%, 0.05);
    --shadow-md: 0 4px 6px -1px hsl(214, 84%, 56%, 0.1), 0 2px 4px -1px hsl(214, 84%, 56%, 0.06);
    --shadow-lg: 0 10px 15px -3px hsl(214, 84%, 56%, 0.1), 0 4px 6px -2px hsl(214, 84%, 56%, 0.05);
    --shadow-xl: 0 20px 25px -5px hsl(214, 84%, 56%, 0.1), 0 10px 10px -5px hsl(214, 84%, 56%, 0.04);
    
    /* Animations */
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    --radius: 0.5rem;
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
    :root {
        --background: hsl(215, 28%, 17%);
        --foreground: hsl(0, 0%, 95%);
        --card: hsl(215, 28%, 17%);
        --card-foreground: hsl(0, 0%, 95%);
        --popover: hsl(215, 28%, 17%);
        --popover-foreground: hsl(0, 0%, 95%);
        --primary: hsl(214, 84%, 66%);
        --primary-foreground: hsl(215, 28%, 17%);
        --primary-muted: hsl(214, 84%, 25%);
        --secondary: hsl(215, 25%, 25%);
        --secondary-foreground: hsl(0, 0%, 95%);
        --muted: hsl(215, 25%, 25%);
        --muted-foreground: hsl(215, 16%, 65%);
        --accent: hsl(25, 95%, 62%);
        --accent-foreground: hsl(215, 28%, 17%);
        --accent-muted: hsl(25, 95%, 25%);
        --success: hsl(142, 76%, 46%);
        --success-foreground: hsl(215, 28%, 17%);
        --success-muted: hsl(142, 76%, 25%);
        --destructive: hsl(0, 84%, 60%);
        --destructive-foreground: hsl(0, 0%, 95%);
        --border: hsl(215, 25%, 25%);
        --input: hsl(215, 25%, 25%);
        --ring: hsl(214, 84%, 66%);
        --gradient-primary: linear-gradient(135deg, hsl(214, 84%, 66%), hsl(214, 84%, 76%));
        --gradient-accent: linear-gradient(135deg, hsl(25, 95%, 62%), hsl(25, 95%, 72%));
        --gradient-hero: linear-gradient(135deg, hsl(214, 84%, 66%) 0%, hsl(214, 84%, 76%) 50%, hsl(25, 95%, 62%) 100%);
        --gradient-subtle: linear-gradient(180deg, hsl(215, 25%, 20%), hsl(215, 25%, 17%));
    }
}

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    background: var(--background);
    color: var(--foreground);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
}

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

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

::-webkit-scrollbar-thumb {
    background: var(--muted-foreground);
    border-radius: 4px;
    opacity: 0.3;
}

::-webkit-scrollbar-thumb:hover {
    opacity: 0.5;
}

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

@media (min-width: 640px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Utilities */
.icon {
    width: 1.5rem;
    height: 1.5rem;
}

.highlight {
    color: var(--primary);
}

.success {
    color: var(--success);
}

/* Button System */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    transition: var(--transition-smooth);
    cursor: pointer;
    border: none;
    text-decoration: none;
    font-family: inherit;
}

.btn:focus-visible {
    outline: 2px solid var(--ring);
    outline-offset: 2px;
}

.btn:disabled {
    pointer-events: none;
    opacity: 0.5;
}

/* Button variants */
.btn-primary {
    background: var(--gradient-primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

.btn-accent {
    background: var(--gradient-accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-lg);
}

.btn-accent:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.05);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-lg);
}

.btn-cta-glow {
    background: var(--gradient-accent);
    color: var(--accent-foreground);
    box-shadow: var(--shadow-xl);
    animation: pulse-glow 2s ease-in-out infinite;
}

.btn-cta-glow:hover {
    box-shadow: 0 0 60px hsl(25, 95%, 62%, 0.6);
    transform: scale(1.05);
}

/* Button sizes */
.btn-sm {
    height: 2.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-default {
    height: 3rem;
    padding: 0.75rem 1.5rem;
}

.btn-lg {
    height: 3.5rem;
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-xl {
    height: 4rem;
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
}

/* Animations */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px hsl(var(--primary), 0.3);
    }
    50% {
        box-shadow: 0 0 40px hsl(var(--primary), 0.6);
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slide-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.animate-fade-in {
    animation: fade-in 0.6s ease-out;
}

.animate-slide-up {
    animation: slide-up 0.6s ease-out;
}

.animate-scale-in {
    animation: scale-in 0.4s ease-out;
}

.animate-pulse-glow {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.logo-inner {
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 0.125rem;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

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

@media (min-width: 768px) {
    .nav {
        display: flex;
    }
}

.nav-link {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.mobile-menu-btn {
    display: block;
    padding: 0.5rem;
    border-radius: var(--radius);
    color: var(--muted-foreground);
    background: none;
    border: none;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.mobile-menu-btn:hover {
    color: var(--primary);
    background: var(--muted);
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 4rem 0 8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-subtle);
    overflow: hidden;
    margin-top: 4rem;
}

@media (min-width: 640px) {
    .hero-section {
        padding: 6rem 0 10rem;
    }
}

@media (min-width: 1024px) {
    .hero-section {
        padding: 8rem 0 12rem;
    }
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: var(--gradient-hero);
    opacity: 0.05;
}

.hero-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(48px);
    animation: pulse-glow 4s ease-in-out infinite;
}

.hero-decoration-1 {
    top: 5rem;
    right: 2.5rem;
    width: 18rem;
    height: 18rem;
    background: hsl(var(--primary), 0.1);
}

.hero-decoration-2 {
    bottom: 5rem;
    left: 2.5rem;
    width: 24rem;
    height: 24rem;
    background: hsl(var(--accent), 0.1);
    animation-delay: 1s;
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr 1fr;
        gap: 3rem;
    }
}

.hero-text {
    animation: fade-in 0.6s ease-out;
}

.hero-title-container {
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title-line {
    color: var(--foreground);
}

.hero-title-highlight {
    background: var(--gradient-primary);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 1.25rem;
    }
}

.hero-subtitle-emphasis {
    font-weight: 600;
    color: var(--foreground);
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
    }
}

.trust-indicators {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

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

.trust-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.trust-value.success {
    color: var(--success);
}

.trust-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.hero-image-container {
    position: relative;
    animation: scale-in 0.4s ease-out 0.3s both;
    margin-bottom: 20px; /* ここで余白を調整 */
}

.hero-image-wrapper {
    position: relative;
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    transform: rotate(2deg);
    transition: var(--transition-smooth);
    /* margin-bottom: 20px; ← この行を削除 */
}

.hero-image-wrapper:hover {
    transform: rotate(0deg);
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
}

.hero-badge {
    position: absolute;
    top: -1rem;
    right: -1rem;
    background: var(--accent);
    color: var(--accent-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

/* Problems Section */
.problems-section {
    padding: 5rem 0;
    background: hsl(var(--muted), 0.3);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fade-in 0.6s ease-out;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .section-title {
        font-size: 2.5rem;
    }
}

.section-description {
    font-size: 1.125rem;
    color: var(--muted-foreground);
    max-width: 48rem;
    margin: 0 auto;
}

.problems-intro {
    margin-bottom: 1rem;
}

.problems-intro-text {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.problems-intro-emphasis {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.problems-grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 768px) {
    .problems-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.problems-image {
    position: relative;
    animation: scale-in 0.4s ease-out;
}

.problems-image-wrapper {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    position: relative;
}

.problems-img {
    width: 100%;
    height: auto;
    border-radius: var(--radius);
}

.problems-alert {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--destructive);
    border-radius: 50%;
    animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2);
        opacity: 0;
    }
}

.problems-list {
    animation: slide-up 0.6s ease-out 0.3s both;
}

.problems-list-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 2rem;
}

.problem-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin-bottom: 1.5rem;
    transition: var(--transition-smooth);
}

.problem-item:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.02);
}

.problem-number {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    background: var(--destructive);
    color: var(--destructive-foreground);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
}

.problem-text {
    color: var(--foreground);
    line-height: 1.6;
}

.problems-cta {
    margin-top: 3rem;
    padding: 2rem;
    background: var(--gradient-primary);
    border-radius: var(--radius);
    text-align: center;
    animation: pulse-glow 2s ease-in-out infinite;
}

.problems-cta-text {
    color: white;
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.problems-cta-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
}

/* Solution Section */
.solution-section {
    padding: 5rem 0;
    background: var(--background);
}

.features-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    padding: 1.5rem;
    text-align: center;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
    animation: slide-up 0.6s ease-out;
}

.feature-card:hover {
    box-shadow: var(--shadow-lg);
    transform: scale(1.05);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.feature-description {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.6;
}

/* Comparison Section */
.comparison-section {
    animation: fade-in 0.6s ease-out 0.5s both;
}

.comparison-title {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--foreground);
}

.comparison-table-wrapper {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.table-header {
    padding: 1rem 1.5rem;
    text-align: center;
    font-weight: 600;
    background: var(--gradient-primary);
    color: white;
}

.table-header:first-child {
    text-align: left;
}

.table-row {
    border-bottom: 1px solid var(--border);
}

.table-row-even {
    background: hsl(var(--muted), 0.2);
}

.table-cell {
    padding: 1rem 1.5rem;
}

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

.table-center {
    text-align: center;
}

.table-excellent {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.table-good {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.table-fair {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--muted-foreground);
}

/* Process Section */
.process-section {
    padding: 5rem 0;
    background: var(--gradient-subtle);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: var(--primary-muted);
    color: var(--primary);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.process-steps {
    position: relative;
}

.process-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
    display: none;
}

@media (min-width: 1024px) {
    .process-line {
        display: block;
    }
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    animation: slide-up 0.6s ease-out;
}

@media (min-width: 1024px) {
    .process-step {
        flex-direction: row;
    }
    
    .process-step-reverse {
        flex-direction: row-reverse;
    }
}

.process-card {
    flex: 1;
    padding: 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: var(--transition-smooth);
    margin: 0 3rem;
}

.process-card:hover {
    box-shadow: var(--shadow-xl);
    transform: scale(1.02);
}

@media (min-width: 1024px) {
    .process-step .process-card {
        margin-right: 3rem;
        margin-left: 0;
    }
    
    .process-step-reverse .process-card {
        margin-left: 3rem;
        margin-right: 0;
    }
}

.process-number {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    box-shadow: var(--shadow-lg);
}

.process-content {
    flex: 1;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.process-description {
    color: var(--muted-foreground);
    line-height: 1.6;
    white-space: pre-line;
}

.process-dot {
    display: none;
    width: 1.5rem;
    height: 1.5rem;
    background: var(--gradient-primary);
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: var(--shadow-lg);
    z-index: 10;
}

@media (min-width: 1024px) {
    .process-dot {
        display: block;
    }
}

.process-cta {
    text-align: center;
    margin-top: 4rem;
    animation: fade-in 0.6s ease-out 1s both;
}

.process-cta-card {
    background: white;
    border-radius: 1rem;
    box-shadow: var(--shadow-xl);
    padding: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

.process-cta-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 1rem;
}

.process-cta-description {
    color: var(--muted-foreground);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.process-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

@media (min-width: 640px) {
    .process-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

.process-stat {
    /* Individual stat styling handled by process-stat-value */
}

.process-stat-value {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.process-stat-value.success {
    color: var(--success);
}

.process-stat-value.primary {
    color: var(--primary);
}

.process-stat-value.accent {
    color: var(--accent);
}

.process-stat-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Case Studies Section */
.case-studies-section {
    padding: 5rem 0;
    background: hsl(var(--muted), 0.3);
}

.cases-list {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.case-card {
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius);
    background: white;
    transition: var(--transition-smooth);
    animation: slide-up 0.6s ease-out;
}

.case-card:hover {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

@media (min-width: 1024px) {
    .case-card {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.case-image {
    position: relative;
}

.case-img {
    width: 100%;
    height: 16rem;
    object-fit: cover;
}

@media (min-width: 1024px) {
    .case-img {
        height: 100%;
    }
}

.case-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--primary-foreground);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
}

.case-content {
    padding: 2rem;
}

@media (min-width: 1024px) {
    .case-content {
        padding: 2.5rem;
    }
}

.case-meta {
    margin-bottom: 1.5rem;
}

.case-industry {
    font-size: 0.875rem;
    color: var(--muted-foreground);
    margin-bottom: 0.5rem;
}

.case-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.case-challenge,
.case-solution,
.case-results {
    margin-bottom: 1.5rem;
}

.case-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 0.75rem;
}

.case-text {
    color: var(--muted-foreground);
    line-height: 1.6;
}

.case-list {
    list-style: none;
    padding: 0;
}

.case-list-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.case-list-item::before {
    content: '';
    display: block;
    width: 0.5rem;
    height: 0.5rem;
    background: var(--primary);
    border-radius: 50%;
    margin-top: 0.5rem;
    margin-right: 0.75rem;
    flex-shrink: 0;
}

.case-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

@media (min-width: 640px) {
    .case-metrics {
        grid-template-columns: repeat(3, 1fr);
    }
}

.case-metric {
    text-align: center;
    padding: 1rem;
    background: var(--gradient-subtle);
    border-radius: var(--radius);
}

.case-metric-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.25rem;
}

.case-metric-label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* CTA Section */
.cta-section {
    padding: 5rem 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: hsl(var(--primary), 0.1);
}

.cta-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(32px);
}

.cta-decoration-1 {
    top: 2.5rem;
    right: 2.5rem;
    width: 8rem;
    height: 8rem;
    background: rgba(255, 255, 255, 0.1);
}

.cta-decoration-2 {
    bottom: 2.5rem;
    left: 2.5rem;
    width: 12rem;
    height: 12rem;
    background: hsl(var(--accent), 0.2);
}

.cta-content {
    position: relative;
    z-index: 10;
}

.cta-main {
    max-width: 64rem;
    margin: 0 auto;
    text-align: center;
    animation: fade-in 0.6s ease-out;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

@media (min-width: 640px) {
    .cta-title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .cta-title {
        font-size: 3rem;
    }
}

.cta-highlight {
    color: var(--accent);
}

.cta-description {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button-container {
    margin-bottom: 3rem;
}

.cta-main-button {
    animation: pulse-glow 2s ease-in-out infinite;
}

.cta-note {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 32rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .cta-features {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.cta-feature-icon {
    width: 4rem;
    height: 4rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.cta-feature-icon .icon {
    width: 2rem;
    height: 2rem;
    color: white;
}

.cta-feature-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.cta-feature-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.875rem;
}

/* Footer */
.footer {
    background: var(--foreground);
    color: var(--background);
    padding: 3rem 0;
}

.footer-content {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

.footer-section {
    /* Individual section styling handled by child elements */
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo-icon {
    width: 2rem;
    height: 2rem;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.75rem;
}

.footer-logo-inner {
    width: 1rem;
    height: 1rem;
    background: white;
    border-radius: 0.125rem;
}

.footer-logo-text {
    font-size: 1.25rem;
    font-weight: 700;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.footer-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

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

.footer-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition-smooth);
}

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

.footer-contact {
    /* Styling handled by child elements */
}

.footer-contact-text {
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
}

.footer-contact-highlight {
    font-weight: 600;
    color: var(--primary);
}

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

/* Responsive adjustments */
@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .trust-indicators {
        gap: 1rem;
    }
    
    .trust-value {
        font-size: 1.25rem;
    }
    
    .trust-label {
        font-size: 0.75rem;
    }
}