/* ========================================
   CSS Variables (Color Palette)
======================================== */
:root {
    /* Colors (Premium Palette) */
    --color-background: #FAFAF8;
    --color-foreground: #2d3436;
    /* Softer black */
    --color-card: #FFFFFF;
    --color-primary: #7C9885;
    /* Sage Green */
    --color-primary-dark: #5C7463;
    /* Darker Sage Green for Hover */
    --color-primary-foreground: #FFFFFF;
    --color-secondary: #F4F1EB;
    /* Warm Grey/Beige */
    --color-muted: #EBE7E0;
    --color-muted-foreground: #636e72;
    /* Placeholder, corrected in logic below */
    --color-accent: #D4C5A9;
    /* Sand */
    --color-border: #E5E2DB;

    /* Typography */
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Sans JP', sans-serif;
    /* Reverted to Sans */

    /* Effects */
    --radius: 0.75rem;
    --shadow-soft: 0 4px 20px -2px rgba(124, 152, 133, 0.1), 0 0 0 1px rgba(124, 152, 133, 0.05);
    --shadow-hover: 0 10px 30px -4px rgba(124, 152, 133, 0.2), 0 0 0 1px rgba(124, 152, 133, 0.1);
    --ease-premium: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-background);
    color: var(--color-foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ========================================
   Header
======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(229, 226, 219, 0.5);
    z-index: 1000;
    transition: all 0.4s var(--ease-premium);
}

.header-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-logo a {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    text-decoration: none;
}

.logo-main {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    letter-spacing: 0.02em;
}

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

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

.header-nav a {
    text-decoration: none;
    color: var(--color-foreground);
    font-size: 0.9375rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

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

.header-nav .nav-cta {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    transition: all 0.3s var(--ease-premium);
    font-weight: 600;
    border: 1px solid transparent;
}

.header-nav .nav-cta:hover {
    background-color: var(--color-primary-dark);
    /* Dark Green Hover */
    color: white;
    /* Keep text white */
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 15px rgba(124, 152, 133, 0.25);
    border-color: transparent;
}

.mobile-menu-button {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-button span {
    width: 24px;
    height: 2px;
    background-color: var(--color-foreground);
    transition: all 0.3s ease;
}

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

    .mobile-menu-button {
        display: none;
    }
}

/* Mobile Menu Styles */
@media (max-width: 767px) {
    .header-nav {
        display: none;
        /* Hidden by default */
        position: fixed;
        top: 60px;
        /* Reduced from 80px to close gap */
        left: 0;
        width: 100%;
        background-color: rgba(250, 250, 248, 0.85);
        /* Transparent */
        backdrop-filter: blur(12px);
        /* Glass effect */
        -webkit-backdrop-filter: blur(12px);
        flex-direction: column;
        align-items: stretch;
        /* Changed from center */
        padding: 0;
        /* Removed padding */
        gap: 0;
        /* Removed gap */
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
        z-index: 999;
    }

    .header-nav.is-open {
        display: flex;
        /* Shown when open */
        animation: slideDown 0.3s ease-out forwards;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

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

    /* Hamburger Animation */
    .mobile-menu-button[aria-expanded="true"] span:nth-child(1) {
        transform: translateY(6px) rotate(45deg);
        /* Symmetry Fix */
    }

    .mobile-menu-button[aria-expanded="true"] span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-button[aria-expanded="true"] span:nth-child(3) {
        transform: translateY(-6px) rotate(-45deg);
        /* Symmetry Fix */
    }

    /* Mobile Layout Adjustments */
    .section-container,
    .hero-container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .section-title {
        font-size: 1.75rem;
        margin-bottom: 2.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        /* Smaller hero title */
    }

    /* Force Grid Stacking */
    .features-grid,
    .pain-points {
        grid-template-columns: 1fr !important;
        /* Stack vertically */
    }

    .pain-point-card-enhanced {
        min-width: 0;
        /* Safety */
    }

    /* Enhanced Mobile Menu Styling */
    .header-nav a {
        padding: 1rem 1.5rem;
        border-bottom: 1px solid var(--color-border);
        text-align: center;
        width: 100%;
        display: block;
    }

    .header-nav a:last-child {
        border-bottom: none;
    }

    .header-nav .nav-cta {
        background-color: var(--color-primary);
        color: white;
        border-radius: 0;
        /* Remove rounded corners */
        border-bottom: none;
        padding: 1rem 1.5rem;
        font-weight: 600;
        margin-top: 0;
        /* Remove gap */
    }
}

/* ========================================
   Typography
======================================== */
h1,
h2,
h3 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.05em;
}

.section-title {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 3.5rem;
    color: var(--color-foreground);
    position: relative;
    display: block;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 1rem;
    letter-spacing: 0.05em;
    /* Relaxed spacing */
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--color-primary);
    opacity: 0.3;
}

.section-intro,
.section-outro {
    text-align: center;
    color: var(--color-muted-foreground);
    font-size: 1.125rem;
    line-height: 1.75;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.section-outro {
    margin: 4rem auto 0;
    background-color: #FDFcfb;
    border: 1px solid var(--color-border);
    padding: 3rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.section-outro::before {
    content: '"';
    position: absolute;
    top: -1rem;
    left: 2rem;
    font-size: 10rem;
    font-family: serif;
    opacity: 0.05;
    color: var(--color-foreground);
    line-height: 1;
}

.text-muted {
    color: var(--color-muted-foreground);
}

/* ========================================
   Layout Containers
======================================== */
.section-container {
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-container-narrow {
    max-width: 48rem;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ========================================
   Buttons
======================================== */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-premium);
    position: relative;
    overflow: hidden;
}

.btn-primary:hover,
.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    /* Stronger movement */
    box-shadow: 0 8px 15px rgba(124, 152, 133, 0.25);
    /* Stronger shadow */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-primary-foreground);
    box-shadow: 0 4px 14px 0 rgba(124, 152, 133, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    /* Dark Green Hover */
    color: white;
    box-shadow: 0 8px 20px 0 rgba(74, 76, 75, 0.2);
    /* Clean shadow */
    transform: translateY(-4px) scale(1.02);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.125rem;
}

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

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

/* ========================================
   Hero Section - Enhanced
======================================== */
.hero-section {
    position: relative;
    background-color: var(--color-background);
    overflow: hidden;
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background-image: url('images/hero-bg-premium.png');
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;  /* ← 追加 */
    opacity: 0;
    animation:
        heroFadeIn 2s ease-out forwards,
        heroZoom 30s linear infinite alternate;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-gradient {
        background-attachment: scroll; /* モバイルでは通常スクロール */
    }
}

/* Gradient Overlay for Text Readability */
.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(250, 250, 248, 0.4) 0%, rgba(250, 250, 248, 0.8) 100%);
    z-index: 1;
}

.hero-container {
    position: relative;
    max-width: 72rem;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    width: 100%;
}

.hero-content-split {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3rem;
    max-width: 60rem;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

/* Hero visual - full width below text */
.hero-visual {
    display: block;
    width: 100%;
    margin-top: 2rem;
    animation: heroFadeIn 1.5s var(--ease-premium) forwards;
}

.hero-text {
    text-align: center;
    order: unset;
    max-width: 100%;
}

/* Remove desktop split layout */
@media (min-width: 960px) {
    .hero-content-split {
        /* Keep centered layout on desktop */
        display: flex;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }

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

    .hero-title,
    .hero-description,
    .hero-cta-group,
    .hero-trust-signals {
        text-align: center;
        align-items: center;
    }

    .hero-cta-group {
        flex-direction: row;
        justify-content: center;
    }

    .hero-trust-signals {
        justify-content: center;
    }
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: 1.5rem;
    box-shadow: var(--shadow-soft);
    background: white;
    position: relative;
    z-index: 1;
    transition: transform 0.6s var(--ease-premium),
        box-shadow 0.6s var(--ease-premium);
    object-fit: cover;
    max-height: 400px;
}

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


.hero-title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    /* Noto Sans JP Bold */
    line-height: 1.2;
    color: var(--color-foreground);
    margin-bottom: 2.5rem;
    letter-spacing: 0.02em;
    /* Relaxed from -0.04em */
    position: relative;
    z-index: 2;
    /* Above overlay */
}

/* Text Reveal Animation */
.reveal-text {
    display: inline-block;
    clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
    transform: translateY(20px);
    opacity: 0;
    animation: textReveal 1.2s var(--ease-premium) forwards;
}

.reveal-text:nth-child(1) {
    animation-delay: 0.3s;
}

.reveal-text:nth-child(3) {
    animation-delay: 0.5s;
}

/* Span wrapper is child 3 due to BRs */
.reveal-text:nth-child(5) {
    animation-delay: 0.7s;
}

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

/* Remove the old underline emphasis to be cleaner/more modern */
.hero-title-emphasis::after {
    display: none;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    width: 100%;
}

.hero-cta-group .btn-primary,
.hero-cta-group .btn-secondary {
    padding: 1.25rem 3.5rem;
    /* Larger buttons */
    font-size: 1.25rem;
    min-width: unset;
    /* Let content dictate or set a smaller min-width */
}

.hero-cta-group .btn-secondary {
    background-color: #ffffff;
    /* Solid white */
    color: var(--color-primary);
    border: 1px solid var(--color-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-cta-group .btn-secondary:hover {
    background-color: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 15px rgba(124, 152, 133, 0.25);
}

.hero-trust-signals {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-muted-foreground);
    font-size: 0.9375rem;
}

.trust-item svg {
    color: var(--color-primary);
}

/* Remove old hero styles */
.hero-visual-glow,
.hero-visual-card,
.visual-item,
.visual-dot,
.visual-line-short,
.visual-lines,
.visual-line-full,
.visual-line-80,
.visual-line-60,
.visual-line-85,
.visual-buttons,
.visual-button-primary,
.visual-button-secondary,
.visual-footer {
    display: none;
}

/* ========================================
   Empathy Section - Enhanced
======================================== */
.empathy-section {
    background: linear-gradient(180deg, var(--color-secondary) 0%, rgba(244, 241, 235, 0.3) 100%);
    padding: 6rem 0;
    position: relative;
}

.empathy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 600px;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(124, 152, 133, 0.08), transparent 70%);
    pointer-events: none;
}

.empathy-header {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    width: 100%;
    display: block;
    /* Force block */
}

.section-title-large {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
    width: 100%;
    display: block;
    /* Force block */
    white-space: normal;
}

.empathy-subtitle {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    font-weight: 500;
}

.mobile-break {
    display: none;
}

.pain-points {
    margin-bottom: 5rem;
    display: grid;
    /* Switch to Grid */
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    /* Solid columns */
    gap: 2rem;
    width: 100%;
    max-width: 90rem;
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
    align-items: center;
    /* Vertically align items */
}

.pain-point-card-enhanced {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-start !important;
    /* LEFT ALIGN to fix zigzag */
    width: 100%;
    /* Fill grid cell */
    min-width: 0;
    /* Prevent grid blowout */
    gap: 1rem;
    transition: transform 0.4s var(--ease-premium);
    font-size: 1.125rem;
    font-weight: 700;
    white-space: normal;
    word-break: break-word;
    /* Revert to standard breaking */
    overflow-wrap: break-word;
    /* Modern standard */
    writing-mode: horizontal-tb;
    /* FORCE HORIZONTAL */
    text-align: left;
}

.pain-point-card-enhanced:hover {
    /* No hover effect requested */
    transform: none;
    box-shadow: none;
}

.pain-point-icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    background: transparent;
    /* Remove background */
    border-radius: 0;
    display: flex;
    align-items: center;
    /* Center */
    justify-content: center;
}

.pain-point-icon svg {
    color: var(--color-primary);
    width: 2rem;
    height: 2rem;
}

.pain-point-card-enhanced p {
    color: var(--color-foreground);
    font-size: 1.125rem;
    line-height: 1.7;
    font-weight: 500;
    margin: 0;
    padding-top: 0.5rem;
}

.empathy-closing-enhanced {
    background: linear-gradient(135deg,
            rgba(124, 152, 133, 0.08) 0%,
            rgba(232, 220, 196, 0.2) 100%);
    border-radius: 1.5rem;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px solid rgba(124, 152, 133, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    max-width: 40rem;
    /* Restrict width */
    margin: 4rem auto 0;
    /* Center and add top margin */
}

.empathy-closing-enhanced p {
    font-size: 1.25rem;
    /* Larger */
    font-weight: 700;
    /* Bolder */
    color: var(--color-foreground);
}

/* Enhanced "Not Alone" statement */
.empathy-closing-enhanced strong {
    display: block;
    margin-top: 1rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--color-primary);
    letter-spacing: 0.05em;
    background: linear-gradient(120deg, transparent 0%, transparent 100%);
    /* can add marker effect here if needed */
}

.closing-content h3 {
    font-size: 1.5rem;
    color: var(--color-foreground);
    margin-bottom: 1rem;
    font-weight: 600;
}

.closing-content p {
    font-size: 1.125rem;
    color: var(--color-muted-foreground);
    line-height: 1.8;
}

.footer-copyright {
    margin-top: 2rem;
    font-size: 0.875rem;
    color: var(--color-foreground);
    /* Ensure visibility */
    opacity: 0.8;
}

.closing-content strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   Philosophy Section
======================================== */
.philosophy-section {
    background-color: var(--color-card);
    padding: 5rem 0;
}

.principles-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

.principle-card {
    text-align: center;
}

.principle-icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 auto 1rem;
    background-color: rgba(124, 152, 133, 0.1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.principle-icon svg {
    color: var(--color-primary);
}

.principle-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.principle-card p {
    color: var(--color-muted-foreground);
    line-height: 1.75;
}

/* ========================================
   Features Section
======================================== */
.features-section {
    background-color: var(--color-secondary);
    padding: 5rem 0;
}

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

.feature-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.4);
    transition: all 0.4s var(--ease-premium);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(124, 152, 133, 0.3);
}

.feature-icon {
    width: 3rem;
    height: 3rem;
    background-color: rgba(124, 152, 133, 0.1);
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.feature-icon svg {
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

.feature-card p {
    color: var(--color-muted-foreground);
    line-height: 1.75;
    font-size: 0.875rem;
}

/* ========================================
   Limitations Section
======================================== */
.limitations-section {
    background-color: rgba(244, 241, 235, 0.5);
    padding: 5rem 0;
}

.limitations-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.limitation-card {
    background-color: var(--color-card);
    border-radius: 1rem;
    padding: 1.5rem 2rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(229, 226, 219, 0.3);
}

.limitation-card p {
    color: var(--color-foreground);
    line-height: 1.75;
    font-size: 1.125rem;
}

/* Redesigned Limitations Conclusion as "Badge/Stamp" */
/* Redesigned Limitations Conclusion as "Badge/Stamp" */
/* Redesigned Limitations Conclusion as Typographic Marker (No Box) */
.limitation-highlight {
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 4rem auto 0;
    text-align: center;
    position: relative;
    max-width: none;
    transform: none;
}

/* Higher Specificity Selector */
/* Balanced Specificity Selector */
/* Balanced Specificity Selector */
.limitations-section .limitation-highlight p {
    font-size: 2.25rem !important;
    /* Smaller as requested (36px) */
    font-weight: 800;
    color: var(--color-foreground);
    display: inline-block;
    /* Changed to inline-block for better control */
    background: linear-gradient(transparent 65%, rgba(235, 200, 90, 0.8) 65%);
    padding: 0 1rem;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    /* Force 1 line */
}

@media (max-width: 768px) {
    .limitations-section .limitation-highlight p {
        font-size: 1.75rem !important;
        /* Larger size */
        white-space: normal !important;
        /* Allow wrapping */
        line-height: 1.6;
        width: auto;
        /* Reset width */
        display: inline !important;
        /* Must be inline for clone */
        -webkit-box-decoration-break: clone;
        /* Chrome/Safari */
        box-decoration-break: clone;
        /* Apply bg to each line */
    }

}

/* ========================================
   Pricing Section
======================================== */
.pricing-section {
    background-color: var(--color-card);
    padding: 5rem 0;
    text-align: center;
}

.pricing-card {
    background: #ffffff;
    /* Solid Opaque */
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 3rem 2rem;
    box-shadow: var(--shadow-soft);
    max-width: 32rem;
    margin: 0 auto;
    transition: transform 0.5s var(--ease-premium), box-shadow 0.5s var(--ease-premium);
}

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

/* Pricing Section Alignment Fix */
.pricing-section .section-title {
    text-align: center !important;
    /* Force override */
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

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

.pricing-amount {
    font-size: 3rem;
    font-weight: 600;
    color: var(--color-foreground);
    margin-bottom: 1.5rem;
}

.pricing-tax {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--color-muted-foreground);
}

.pricing-description {
    color: var(--color-muted-foreground);
    font-size: 1.125rem;
    line-height: 1.75;
    margin-bottom: 2rem;
}

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

.pricing-note p {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
}

/* ========================================
   Why This Price Section
======================================== */
.why-price-section {
    background-color: var(--color-background);
    padding: 6rem 0;
}

/* Intro */
.reason-intro {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 4rem;
}

.reason-question {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-foreground);
    margin-bottom: 1rem;
    position: relative;
}

.reason-answer {
    font-size: 1rem;
    color: var(--color-muted-foreground);
    line-height: 1.7;
}

/* Reasons Grid */
.reasons-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

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

.reason-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s var(--ease-premium);
}

.reason-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.reason-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1), rgba(232, 220, 196, 0.15));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-icon svg {
    color: var(--color-primary);
}

.reason-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-foreground);
}

.reason-card p {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--color-muted-foreground);
}

/* Founder Brief */
.founder-brief {
    background: linear-gradient(135deg, rgba(244, 241, 235, 0.5), rgba(232, 220, 196, 0.3));
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 2rem;
    align-items: start;
}

@media (max-width: 767px) {
    .founder-brief {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.founder-photo {
    grid-row: 1 / 3;
}

@media (max-width: 767px) {
    .founder-photo {
        grid-row: auto;
    }
}

.founder-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--color-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto;
}

.founder-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.founder-role {
    font-size: 0.875rem;
    color: var(--color-muted-foreground);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.founder-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.founder-title {
    font-size: 0.9375rem;
    color: var(--color-muted-foreground);
}

.founder-message {
    grid-column: 2;
}

@media (max-width: 767px) {
    .founder-message {
        grid-column: 1;
    }
}

.founder-message p {
    font-size: 0.9375rem;
    line-height: 1.8;
    color: var(--color-foreground);
}

/* Closing */
.reason-closing {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}

.reason-closing p {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--color-foreground);
}

.reason-closing strong {
    color: var(--color-primary);
    font-weight: 600;
}

/* ========================================
   Suitability Section
======================================== */
.suitability-section {
    background-color: var(--color-secondary);
    padding: 5rem 0;
}

.suitability-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.suitability-card {
    border-radius: 1rem;
    padding: 1.5rem 2rem;
}

.suitability-card.good-fit {
    background-color: rgba(124, 152, 133, 0.05);
    border: 1px solid rgba(124, 152, 133, 0.2);
}

.suitability-card.not-fit {
    background-color: rgba(244, 241, 235, 0.5);
    border: 1px solid rgba(229, 226, 219, 0.5);
}

.suitability-card h3 {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--color-foreground);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.suitability-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.suitability-icon.good svg {
    color: var(--color-primary);
}

.suitability-icon.bad {
    background-color: var(--color-muted);
}

.suitability-icon.bad svg {
    color: var(--color-muted-foreground);
}

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

.suitability-card li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.suitability-card.good-fit li svg {
    color: var(--color-primary);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.suitability-card.not-fit li svg {
    color: var(--color-muted-foreground);
    flex-shrink: 0;
    margin-top: 0.125rem;
}

.suitability-card li span {
    line-height: 1.75;
}

.suitability-card.good-fit li span {
    color: var(--color-foreground);
}

.suitability-card.not-fit li span {
    color: var(--color-muted-foreground);
}

/* Flow Section styles replaced by migrated styles below */

.flow-number-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.flow-number {
    width: 3rem;
    height: 3rem;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-primary-foreground);
    font-weight: 500;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.flow-line {
    width: 2px;
    flex-grow: 1;
    background-color: rgba(124, 152, 133, 0.2);
    margin: 0.5rem 0;
}

.flow-content {
    padding-bottom: 0.5rem;
}

.flow-content h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
    color: var(--color-foreground);
}

.flow-content p {
    color: var(--color-muted-foreground);
    line-height: 1.75;
}

/* ========================================
   FAQ Section
======================================== */
.faq-section {
    background-color: var(--color-secondary);
    padding: 5rem 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background-color: var(--color-card);
    border-radius: 0.75rem;
    padding: 0 1.5rem;
    border: 1px solid rgba(229, 226, 219, 0.3);
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.faq-item summary {
    padding: 1.25rem 0;
    cursor: pointer;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--color-foreground);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] summary::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding-bottom: 1.25rem;
}

.faq-answer p {
    color: var(--color-muted-foreground);
    line-height: 1.75;
}

/* ========================================
   Final CTA Section
======================================== */
.final-cta-section {
    position: relative;
    background-color: var(--color-background);
    overflow: hidden;
}

.final-cta-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(232, 220, 196, 0.3),
            var(--color-background),
            rgba(244, 241, 235, 0.3));
}

.final-cta-container {
    position: relative;
    max-width: 48rem;
    margin: 0 auto;
    padding: 5rem 1.5rem;
    text-align: center;
}

.final-cta-container h2 {
    font-size: 1.875rem;
    margin-bottom: 2rem;
    color: var(--color-foreground);
}

.final-cta-content {
    margin-bottom: 2.5rem;
}

.final-cta-main {
    font-size: 1.25rem;
    color: var(--color-foreground);
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.final-cta-sub {
    color: var(--color-muted-foreground);
    font-size: 1.125rem;
}

/* ========================================
   Footer
======================================== */
.footer {
    background-color: #333333;
    padding: 2.5rem 0;
}

.footer-container {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    font-weight: 500;
}

.footer-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-left: 0.5rem;
}

.footer-tagline {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.875rem;
}

/* ========================================
   Responsive Design
======================================== */
@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }

    .section-title-large {
        font-size: 3rem;
    }

    .mobile-break {
        display: inline;
    }

    .hero-section {
        min-height: calc(100vh - 80px);
    }

    .hero-title {
        font-size: 3.5rem;
    }

    .hero-description {
        font-size: 1.25rem;
    }

    .hero-cta-group {
        flex-direction: row;
        gap: 1.5rem;
    }

    .hero-cta-group .btn-primary,
    .hero-cta-group .btn-secondary {
        min-width: 240px;
    }

    .empathy-section,
    .philosophy-section,
    .features-section,
    .limitations-section,
    .pricing-section,
    .suitability-section,
    .flow-section,
    .faq-section,
    .final-cta-section {
        padding: 7rem 0;
    }

    .pain-point-card-enhanced {
        padding: 2rem 1.75rem;
    }

    .pain-point-card-enhanced p {
        font-size: 1.25rem;
    }

    .empathy-closing-enhanced {
        padding: 3.5rem 3rem;
    }

    .closing-content h3 {
        font-size: 1.75rem;
    }

    .closing-content p {
        font-size: 1.25rem;
    }

    .desktop-break {
        display: block;
    }

    .principles-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2.5rem;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .limitation-card,
    .limitation-highlight {
        padding: 2rem;
    }

    .limitation-card p,
    .limitation-highlight p {
        font-size: 1.125rem;
    }

    .pricing-card {
        padding: 3rem;
    }

    .pricing-amount {
        font-size: 3.75rem;
    }

    .pricing-tax {
        font-size: 1.75rem;
    }

    .suitability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .suitability-card {
        padding: 2rem;
    }

    .flow-step {
        gap: 2rem;
    }

    .final-cta-container h2 {
        font-size: 2.25rem;
    }

    .final-cta-main {
        font-size: 1.5rem;
    }

    .final-cta-sub {
        font-size: 1.25rem;
    }
}

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

    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .hero-section {
        margin-top: 70px;
    }

    .hero-container {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .empathy-icon-large {
        width: 64px;
        height: 64px;
    }

    .empathy-icon-large svg {
        width: 36px;
        height: 36px;
    }

    .section-title-large {
        font-size: 1.875rem;
    }

    .pain-point-icon {
        width: 40px;
        height: 40px;
    }

    .pain-point-icon svg {
        width: 20px;
        height: 20px;
    }

    .empathy-closing-enhanced {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   Animations
======================================== */
@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 14px 0 rgba(124, 152, 133, 0.25);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(124, 152, 133, 0.1);
        transform: scale(1.02);
    }

    100% {
        box-shadow: 0 4px 14px 0 rgba(124, 152, 133, 0.25);
    }
}

.animate-fade-in-up {
    opacity: 0;
    animation: fadeInUp 1s var(--ease-premium) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn 1.2s ease-out forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1.0s;
}

.btn-pulse {
    animation: pulse 3s infinite ease-in-out;
}

/* Suitability Not Fit - Darker Background */
.suitability-card.not-fit {
    background-color: #EBE7E0;
    /* Darker than pure secondary */
    border-color: #dcd6cb;
}

.suitability-card.not-fit h3 {
    opacity: 0.7;
}

/* Founder Message Section */
.founder-section {
    padding: 6rem 0;
    background-color: #fff;
}

.founder-content {
    max-width: 48rem;
    margin: 0 auto;
    background: #FDFCFB;
    border: 1px solid var(--color-border);
    padding: 4rem;
    border-radius: 2px;
    /* Letter feel */
    position: relative;
    box-shadow: var(--shadow-soft);
}

.founder-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-feature-settings: "palt";
    letter-spacing: 0.1em;
}

.founder-text {
    line-height: 2;
    margin-bottom: 3rem;
    font-size: 1rem;
    text-align: justify;
}

.founder-sign {
    text-align: right;
    font-weight: 700;
    margin-top: 2rem;
}

/* Scroll Trigger Utility Classes (JS will toggle these) */
.scroll-fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

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

.scroll-slide-in-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.scroll-slide-in-left.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.scroll-pop-up {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.4s ease-out, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.scroll-pop-up.is-visible {
    opacity: 1;
    transform: scale(1);
}

@keyframes heroFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes heroZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

@keyframes textReveal {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0% 100%);
        transform: translateY(40px);
        opacity: 0;
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 120%, 0% 120%);
        /* 120% to account for descenders */
        transform: translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Footer
======================================== */
.footer {
    background-color: var(--color-foreground);
    /* Dark Background */
    padding: 4rem 1.5rem;
    /* Increased padding */
    text-align: center;
    border-top: none;
    /* No border needed */
    margin-top: 0;
    /* Remove Gap */
    color: white;
    /* Base white color */
}

.footer-container {
    max-width: 80rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    /* Larger */
    font-weight: 700;
    color: white;
    /* White */
}

.footer-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    /* Muted white */
    letter-spacing: 0.05em;
}

.footer-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    /* Muted white */
    margin-bottom: 2rem;
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    /* Dimmer copyright */
    font-size: 0.75rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle divider */
    padding-top: 1.5rem;
    width: 100%;
    max-width: 20rem;
}

.footer-copyright small {
    font-size: 100%;
    /* Reset small to inherit */
}

/* Empathy Visual */
.empathy-visual {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.empathy-image {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
}

/* ========================================
   Form & Privacy Policy Styles
======================================== */
.form-container,
.policy-container {
    max-width: 800px;
    margin: 0 auto 60px;
    /* Changed to padding-top handling */
    padding: 140px 1.5rem 0;
    /* Use padding to clear fixed header safely */
    width: 100%;
    box-sizing: border-box;
}

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

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

.form-required {
    color: #e74c3c;
    margin-left: 0.25rem;
    font-size: 0.875rem;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background-color: #fff;
    color: var(--color-foreground);
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 152, 133, 0.1);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin: 2rem 0;
}

.btn-submit {
    width: 100%;
    justify-content: center;
    font-size: 1.125rem;
    padding: 1rem;
    border: none;
    cursor: pointer;
}

.error-message {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

/* Privacy Policy Specific */
.policy-content h1 {
    margin-bottom: 3rem;
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-align: center;
    font-weight: 800;
}

.policy-content h2 {
    margin-top: 3rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    border-bottom: 2px solid var(--color-secondary);
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.policy-content p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: var(--color-foreground);
}

.policy-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    list-style-type: disc;
}

.policy-content li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

/* Confirm Table */
.confirm-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 2rem;
}

.confirm-table th,
.confirm-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--color-border);
    text-align: left;
    vertical-align: top;
}

.confirm-table th {
    width: 30%;
    font-weight: 600;
    color: var(--color-muted-foreground);
    background: var(--color-secondary);
    white-space: nowrap;
}

@media (max-width: 768px) {

    .confirm-table th,
    .confirm-table td {
        display: block;
        width: 100%;
    }

    .confirm-table th {
        border-bottom: none;
        padding-bottom: 0.25rem;
        background: transparent;
        color: var(--color-primary);
    }

    .confirm-table td {
        padding-top: 0;
        padding-bottom: 1.5rem;
    }

    /* ========================================
   Refactor Additions (3-Plan, SEO, Etc.)
======================================== */

    /* --- Hero Price Summary --- */
    .hero-price-summary {
        display: flex;
        gap: 1.5rem;
        justify-content: center;
        background: rgba(255, 255, 255, 0.8);
        backdrop-filter: blur(8px);
        padding: 1.5rem;
        border-radius: 1rem;
        border: 1px solid var(--color-border);
        margin-top: 2rem;
        box-shadow: var(--shadow-soft);
    }

    .price-summary-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
        position: relative;
        padding: 0 1rem;
    }

    .price-summary-item:not(:last-child)::after {
        content: '';
        position: absolute;
        right: -0.75rem;
        top: 10%;
        height: 80%;
        width: 1px;
        background: var(--color-border);
    }

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

    .summary-price {
        font-size: 1.125rem;
        font-weight: 700;
        color: var(--color-foreground);
    }

    .summary-badge {
        font-size: 0.75rem;
        color: var(--color-primary);
        background: rgba(124, 152, 133, 0.1);
        padding: 0.125rem 0.5rem;
        border-radius: 1rem;
        margin-bottom: 0.25rem;
    }

    /* --- SEO Explanation Section --- */
    .seo-section {
        padding: 6rem 0;
        background-color: var(--color-secondary);
        /* Same as Empathy bg base or similar */
    }

    .seo-card {
        background: white;
        padding: 3rem;
        border-radius: 1.5rem;
        box-shadow: var(--shadow-soft);
    }

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

    .seo-item {
        padding: 1.5rem;
        background: var(--color-background);
        border-radius: 1rem;
        height: 100%;
    }

    .seo-item h3 {
        margin-bottom: 1rem;
        color: var(--color-primary);
        font-size: 1.25rem;
    }

    /* --- Plan Comparison Table --- */
    .plan-comparison {
        width: 100%;
        border-collapse: collapse;
        margin: 2rem 0;
        background: var(--color-card);
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: var(--shadow-soft);
    }

    .plan-comparison th,
    .plan-comparison td {
        padding: 1.5rem 1rem;
        text-align: center;
        border-bottom: 1px solid var(--color-border);
        vertical-align: middle;
    }

    .plan-comparison th {
        background: var(--color-secondary);
        font-weight: 700;
        color: var(--color-foreground);
        font-size: 1.125rem;
    }

    .plan-comparison .popular {
        background: rgba(124, 152, 133, 0.1);
        /* Light Primary */
        color: var(--color-primary-dark);
        font-weight: 700;
        position: relative;
    }

    .plan-comparison th.popular {
        background: var(--color-primary);
        color: white;
    }

    .plan-comparison tbody tr:hover {
        background-color: rgba(244, 241, 235, 0.5);
    }

    .table-check {
        color: var(--color-primary);
        width: 20px;
        height: 20px;
    }

    @media (max-width: 768px) {
        .plan-comparison {
            display: none;
            /* Hide table on mobile */
        }
    }

    /* --- Mobile Tabs --- */
    .plan-tabs {
        display: none;
    }

    @media (max-width: 768px) {
        .plan-tabs {
            display: block;
            width: 100%;
            margin: 0 auto;
            max-width: 24rem;
        }

        .plan-tab-buttons {
            display: flex;
            gap: 0.5rem;
            margin-bottom: 1.5rem;
            background: var(--color-secondary);
            padding: 0.25rem;
            border-radius: 0.75rem;
        }

        .plan-tab-button {
            flex: 1;
            padding: 0.75rem;
            background: transparent;
            border: none;
            border-radius: 0.5rem;
            cursor: pointer;
            transition: all 0.3s ease;
            font-weight: 600;
            color: var(--color-muted-foreground);
            font-size: 0.875rem;
        }

        .plan-tab-button.active {
            background: white;
            color: var(--color-primary);
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        }

        .plan-tab-content {
            display: none;
            animation: fadeIn 0.3s ease;
        }

        .plan-tab-content.active {
            display: block;
        }

        /* Recycle Pricing Card styles for Tab Content */
        .plan-tab-content .pricing-card {
            margin: 0;
            width: 100%;
        }
    }

    /* --- What's Included (Features) Grid --- */
    .included-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        align-items: stretch;
    }

    @media (max-width: 960px) {
        .included-grid {
            grid-template-columns: 1fr;
            max-width: 32rem;
            margin: 0 auto;
        }

        .hero-price-summary {
            flex-direction: column;
            align-items: center;
            width: 100%;
        }

        .price-summary-item:not(:last-child)::after {
            display: none;
        }

        .price-summary-item {
            width: 100%;
            border-bottom: 1px solid var(--color-border);
            padding-bottom: 0.5rem;
        }

        .price-summary-item:last-child {
            border-bottom: none;
        }
    }

    /* --- Profile Section --- */
    .profile-grid {
        display: flex;
        gap: 3rem;
        align-items: flex-start;
        max-width: 900px;
        margin: 3rem auto 0;
        background: white;
        padding: 3rem;
        border-radius: 1.5rem;
        box-shadow: var(--shadow-soft);
    }

    .profile-image-wrapper {
        flex-shrink: 0;
    }

    .profile-image-placeholder {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background: var(--color-secondary);
        border: 4px solid var(--color-primary);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        color: var(--color-muted-foreground);
    }

    .profile-image-placeholder svg {
        opacity: 0.5;
        margin-bottom: 0.5rem;
    }

    .placeholder-text {
        font-size: 0.875rem;
        opacity: 0.6;
    }

    .profile-image {
        width: 200px;
        height: 200px;
        border-radius: 50%;
        object-fit: cover;
        border: 4px solid var(--color-primary);
        display: none;
        /* Hidden by default */
    }

    .profile-content {
        flex: 1;
    }

    .profile-name {
        font-size: 1.75rem;
        font-weight: 700;
        color: var(--color-foreground);
        margin-bottom: 0.5rem;
    }

    .profile-title {
        font-size: 1.125rem;
        color: var(--color-primary);
        margin-bottom: 2rem;
    }

    @media (max-width: 768px) {
        .profile-grid {
            flex-direction: column;
            align-items: center;
            text-align: center;
            padding: 2rem;
        }

        .profile-image-placeholder,
        .profile-image {
            width: 160px;
            height: 160px;
        }
    }
}

/* ========================================
   Custom Styles (Migrated from index.html)
   ======================================== */

/* --- Consultation Flow Section (New) --- */
.consultation-flow-section {
    padding: 3rem 0;
    background-color: #fff;
    border-bottom: 1px solid var(--color-border);
}

.cta-flow-diagram {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.flow-step {
    flex: 1;
    min-width: 200px;
    padding: 2rem 1rem;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 0.75rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    margin-bottom: 0 !important;
    /* Force reset */
}

.flow-step-number {
    width: 32px;
    height: 32px;
    background: var(--color-primary);
    color: #fff;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
    flex-shrink: 0;
}

.flow-step-title {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--color-foreground);
    margin-bottom: 0.5rem;
    white-space: nowrap;
    text-align: center;
}

.flow-step-desc {
    font-size: 0.9rem;
    color: var(--color-muted-foreground);
}

.flow-arrow {
    color: var(--color-primary);
    font-size: 1.5rem;
    flex-shrink: 0;
    align-self: center;
    margin: 0 1rem;
}

@media (max-width: 767px) {
    .cta-flow-diagram {
        flex-direction: column;
        gap: 1rem;
    }

    .flow-step {
        width: 100%;
        max-width: 100%;
        flex-direction: row;
        justify-content: flex-start;
        gap: 1rem;
        text-align: left;
        padding: 1rem;
    }

    .flow-step-number {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .flow-step div {
        text-align: left;
    }

    .flow-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
}

/* --- Micro-copy Enhancements --- */
.section-microcopy {
    text-align: center;
    font-size: 0.85rem;
    color: var(--color-muted-foreground);
    margin-top: 0.5rem;
    font-weight: 500;
}

.guarantee-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(124, 152, 133, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-top: 1rem;
}

/* --- Comparison Table --- */
.comparison-section {
    background: var(--color-background);
    padding: 5rem 0;
}

.comparison-table {
    max-width: 800px;
    margin: 3rem auto 0;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.comparison-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    border-bottom: 1px solid var(--color-border);
}

.comparison-row:last-child {
    border-bottom: none;
}

.comparison-header {
    background: var(--color-secondary);
    font-weight: 700;
    padding: 1.5rem 1rem;
    text-align: center;
}

.comparison-cell {
    padding: 1.5rem 1rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
}

.comparison-cell:first-child {
    text-align: left;
    font-weight: 600;
    background: #fafafa;
}

.comparison-highlight {
    background: rgba(124, 152, 133, 0.05);
    font-weight: 600;
    color: var(--color-primary);
}

@media (max-width: 767px) {
    .comparison-row {
        grid-template-columns: 1fr 1fr;
    }

    /* First cell (Item Name) spans full width */
    .comparison-cell:first-child {
        grid-column: 1 / -1;
        background: var(--color-secondary);
        font-weight: 700;
        justify-content: center;
        border-bottom: 1px dotted rgba(0, 0, 0, 0.1);
        padding: 1rem;
    }

    /* Hide "Comparison Item" header text on mobile */
    .comparison-header:first-child {
        display: none;
    }
}

/* --- Global Refinements --- */
.svg-icon {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    stroke-width: 2;
}

.svg-icon-lg {
    width: 2.5rem;
    height: 2.5rem;
}

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

.text-gold {
    color: #D4C5A9;
}

.text-error {
    color: #e74c3c;
}

/* --- Hero Section Refinements --- */
.hero-section {
    background-color: #f7f6f2;
}

/* Hero Alignment Fixes (World Class) */
.hero-content-split {
    display: flex;
    justify-content: center;
    width: 100%;
}

.hero-text {
    width: 100%;
    max-width: 900px;
    text-align: center;
    margin: 0 auto;
}

.hero-title,
.hero-description {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.hero-description {
    max-width: 720px;
}

.hero-cta-group {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.hero-gradient {
    background-image: url('https://leaveit.manmaru.me/wp-content/themes/leaveit-theme/assets/images/mainbg3.jpg');

    background-size: cover;
    background-position: center;
    opacity: 0;
    animation: heroFadeIn 2s ease-out forwards;
}

.hero-gradient::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(250, 250, 248, 0.7) 0%, rgba(250, 250, 248, 0.6) 100%);
}

.hero-title span {
    display: block;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.8s ease forwards;
}

.hero-title span:nth-child(1) {
    animation-delay: 0.2s;
}

.hero-title span:nth-child(2) {
    animation-delay: 0.4s;
}

.hero-title span:nth-child(3) {
    animation-delay: 0.6s;
}

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

/* --- Trust Proof Block --- */
.hero-trust-proof {
    background: rgba(255, 255, 255, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(8px);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 767px) {
    .hero-trust-proof {
        padding: 1.5rem 1rem;
        width: 95%;
    }

    .trust-proof-grid {
        gap: 1rem;
    }
}

.trust-proof-grid {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-stat.with-divider {
    border-left: 1px solid rgba(0, 0, 0, 0.08);
    border-right: 1px solid rgba(0, 0, 0, 0.08);
}

@media (max-width: 767px) {
    .trust-stat.with-divider {
        border: none;
    }
}

.trust-val {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-primary);
    line-height: 1.1;
    font-feature-settings: "palt";
    margin-bottom: 0.25rem;
}

.trust-val small {
    font-size: 0.9rem;
    font-weight: 500;
    margin-left: 0.2rem;
    color: var(--color-foreground);
}

.trust-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted-foreground);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

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

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

/* --- SEO Section Refinement --- */
.seo-explanation-section {
    background-color: var(--color-secondary);
    padding: 6rem 0;
}

.seo-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-top: 3rem;
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

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

.seo-card {
    background: #fff;
    padding: 3rem 2.5rem;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    height: 100%;
    transition: transform 0.3s ease;
}

.seo-card:hover {
    transform: translateY(-5px);
}

.seo-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    list-style: none;
    font-weight: 500;
}

.seo-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3em;
    width: 1.25em;
    height: 1.25em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%237C9885'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='3' d='M5 13l4 4L19 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

/* --- Plan Recommendation Banner --- */
.standard-recommendation {
    background: #fff;
    border: 1px solid var(--color-border);
    border-top: 4px solid #D4C5A9;
    /* Muted Gold */
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 5rem;
    text-align: center;
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.recommendation-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

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

.rec-icon {
    color: #D4C5A9;
    margin-bottom: 1rem;
}

/* --- Plans & Table Layout Fix --- */
.plan-feature-card {
    background: #fff;
    border-radius: 1rem;
    box-shadow: var(--shadow-soft);
    padding: 2.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    border: 1px solid var(--color-border);
    height: 100%;
    transition: transform 0.3s ease;
}

.plan-feature-card.recommended {
    border: 2px solid var(--color-primary);
    transform: scale(1.05);
    /* Slightly larger */
    z-index: 2;
}

@media (max-width: 900px) {
    .plan-feature-card.recommended {
        transform: none;
    }
}

.popular-badge {
    background: #D4C5A9;
    color: #fff;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    display: inline-block;
    vertical-align: middle;
    margin-left: 0.5rem;
    letter-spacing: 0.05em;
}

/* Centered Table Fix */
.plan-table-wrapper {
    max-width: 960px;
    margin: 0 auto;
    border-radius: 1rem;
    overflow: hidden;
    /* For border radius */
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-soft);
}

.plan-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    table-layout: fixed;
    /* Equal width control */
}

.plan-table th,
.plan-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
    font-size: 1rem;
    vertical-align: middle;
}

.plan-table th {
    text-align: center;
    /* Center header too */
    background: #fafafa;
    color: var(--color-muted-foreground);
    font-weight: 600;
    width: 25%;
    /* Fixed width */
}

/* First column (Items) */
.plan-table th:first-child {
    text-align: left;
    background: #fff;
    width: 25%;
    padding-left: 2rem;
}

.plan-table td:first-child {
    text-align: left;
    padding-left: 2rem;
    font-weight: 600;
    color: var(--color-foreground);
}

.plan-column-std {
    background-color: rgba(124, 152, 133, 0.05) !important;
}

/* --- Campaign Section (Clean & Simple vs Kudoi) --- */
.campaign-section {
    background: var(--color-primary);
    background: linear-gradient(135deg, #7C9885 0%, #5C7463 100%);
    color: #fff;
    padding: 6rem 0;
    text-align: center;
}

.campaign-section h2 {
    margin-bottom: 3rem;
    /* Spacing fix */
    color: #fff;
}

.campaign-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1.5rem;
    padding: 4rem 2rem;
    max-width: 720px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.2);
    /* Soft glow for emphasis */
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.1);
}

.campaign-header-text {
    font-weight: 700;
    font-size: 1.25rem;
    opacity: 1;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.campaign-price-wrapper {
    margin: 1.5rem 0;
}

.campaign-price-old {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.8;
    font-weight: 500;
    display: inline-block;
    margin-right: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.campaign-price-off {
    font-size: 4rem;
    /* Slightly reduced from massive 5rem */
    font-weight: 900;
    line-height: 1;
    /* text-shadow: 0 4px 20px rgba(0,0,0,0.3); */
    color: #FFD700;
    /* Gold */
    margin-top: 0;
    display: inline-block;
    vertical-align: middle;
}

@media (max-width: 767px) {
    .campaign-price-off {
        font-size: 3.5rem;
        display: block;
        margin-top: 0.5rem;
    }
}

.countdown-box {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-top: 1.5rem;
    display: inline-block;
    min-width: 220px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#countdown-timer {
    font-size: 2rem;
    /* Reduced slightly */
    font-weight: 900;
    font-family: 'Courier New', Courier, monospace;
    display: block;
    margin: 0;
    letter-spacing: 0.05em;
    color: #fff;
}

.campaign-btn {
    background: #D4C5A9;
    /* Gold/Sand */
    color: #fff;
    padding: 1.25rem 4rem;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 100px;
    text-decoration: none;
    display: inline-block;
    margin-top: 3rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.campaign-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
    background: #cbbba0;
}

/* --- Intermediate CTA Style (Fixed R4) --- */
.intermediate-cta-wrapper {
    max-width: 720px;
    margin: 5rem auto;
    /* Clean spacing */
    text-align: center;
    padding: 4rem 2rem;
    background-color: #fff;
    border: 1px solid var(--color-border);
    border-radius: 1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    /* Flex layout for vertical stacking */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.intermediate-cta-title {
    font-size: 1.5rem;
    margin-bottom: 0;
    /* Reset */
    color: var(--color-foreground);
}

/* New prominent button for intermediate CTA */
.btn-gold-block {
    display: inline-block;
    background-color: #D4C5A9;
    color: #fff;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(212, 197, 169, 0.4);
    font-size: 1.1rem;
}

.btn-gold-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 197, 169, 0.6);
    background-color: #cbbba0;
}

.cta-microcopy {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--color-muted-foreground);
}

/* --- Conclusion Box --- */
.conclusion-box {
    background: linear-gradient(135deg, rgba(124, 152, 133, 0.1) 0%, rgba(212, 197, 169, 0.1) 100%);
    border-left: 4px solid var(--color-primary);
    padding: 2rem 2.5rem;
    margin: 3rem auto;
    max-width: 720px;
    border-radius: 0.75rem;
    text-align: center;
}

.conclusion-box p {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-foreground);
    line-height: 1.6;
}

/* R4: Hide break on Desktop */
@media (min-width: 768px) {
    .mobile-break {
        display: none;
    }
}

/* --- Profile Image --- */
.profile-image-placeholder {
    width: 240px;
    height: 240px;
    background-image: url('https://images.unsplash.com/photo-1556157382-97eda2d62296?ixlib=rb-1.2.1&auto=format&fit=crop&w=800&q=80');
    background-size: cover;
    background-position: center;
    border-radius: 1rem;
    /* Modern rounded square */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    filter: grayscale(20%);
    /* Artistic touch */
}

/* About Us Spacing Fix */
.profile-section {
    padding-top: 6rem;
}

/* --- Risk Reversal Fix (R4) --- */
.risk-reversal-box {
    margin-top: 6rem;
    /* Increased margin */
    margin-bottom: 3rem;
    text-align: center;
    /* Ensure center alignment of container */
}

.risk-reversal-list {
    list-style: none !important;
    padding: 0;
    margin: 2rem auto 0;
    max-width: 800px;
    /* R4: Widened max-width */
    display: flex;
    /* Flex for alignment */
    flex-direction: column;
    align-items: center;
    /* Center items */
    gap: 1rem;
}

.risk-reversal-list li {
    width: 100%;
    /* Full width within max-width */
    max-width: 720px;
    /* R4: Increased to allow single line */
    list-style-type: none !important;
    /* Force no bullet */
    display: flex;
    align-items: center;
    justify-content: center;
    /* Center content of li */
    gap: 1rem;
    font-size: 1.1rem;
    /* Slightly larger text */
    background: #fff;
    padding: 1.25rem 1.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
    text-align: center;
    /* Text center */
}

/* Icon adjustment */
.risk-reversal-list li svg {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

/* R4: Ensure left align on mobile if needed, but center on PC looks good with wide card */
@media (max-width: 767px) {
    .risk-reversal-list li {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* --- Section Features (Full Width BG) --- */
.section-features {
    background-color: var(--color-secondary);
    padding: 6rem 0;
    margin-top: 4rem;
}

/* --- Profile Section (Added) --- */
.profile-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.profile-image-wrapper {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
}

@media (min-width: 768px) {
    .profile-grid {
        grid-template-columns: 4fr 6fr;
        /* Image 40%, Text 60% */
        gap: 4rem;
    }

    .profile-image-wrapper {
        margin: 0;
        /* Left align on desktop */
        max-width: 100%;
        /* Let grid control width */
    }
}
/* ===== WordPress Specific Styles ===== */

/* Admin Bar Fix */
.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .site-header {
        top: 46px;
    }
}

/* Post Content Images */
.work-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 0.5rem 1rem;
    background: var(--color-secondary);
    border-radius: 0.5rem;
    color: var(--color-foreground);
    text-decoration: none;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background: var(--color-primary);
    color: white;
}

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

/* Contact Form 7 Styles */
.wpcf7-form-control {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--color-border);
    border-radius: 0.5rem;
    font-family: var(--font-sans);
    font-size: 1rem;
}

.wpcf7-form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(124, 152, 133, 0.1);
}

.wpcf7-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpcf7-submit:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
}

.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

.wpcf7-response-output {
    margin: 2rem 0;
    padding: 1rem;
    border-radius: 0.5rem;
}

.wpcf7-mail-sent-ok {
    background: rgba(124, 152, 133, 0.1);
    border: 1px solid var(--color-primary);
    color: var(--color-primary-dark);
}

.wpcf7-validation-errors {
    background: rgba(231, 76, 60, 0.1);
    border: 1px solid #e74c3c;
    color: #c0392b;
}
