/* ===========================
   FC Sales LP — Design System
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700;900&display=swap');

/* ---------- CSS Custom Properties ---------- */
:root {
    /* Brand Colors */
    --navy-900: #0a1628;
    --navy-800: #0f1f3d;
    --navy-700: #1a2a4a;
    --navy-600: #253d66;
    --navy-500: #2f5083;
    --navy-400: #4a6fa5;
    --navy-300: #7a9cc7;

    --orange-500: #ff6b2b;
    --orange-400: #ff8f5c;
    --orange-300: #ffb08a;
    --orange-600: #e85a1e;
    --orange-glow: rgba(255, 107, 43, 0.35);

    --white: #ffffff;
    --gray-50: #f8f9fc;
    --gray-100: #eef1f6;
    --gray-200: #d8dde8;
    --gray-300: #b0b8c9;
    --gray-600: #5a6577;
    --gray-800: #2d3344;

    /* Gradients */
    --gradient-hero: linear-gradient(145deg, var(--navy-900) 0%, var(--navy-700) 50%, var(--navy-600) 100%);
    --gradient-orange: linear-gradient(135deg, var(--orange-500) 0%, var(--orange-400) 100%);
    --gradient-card: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    --gradient-cta-section: linear-gradient(145deg, var(--navy-800) 0%, var(--navy-900) 100%);

    /* Typography */
    --font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --fs-hero: clamp(2rem, 5vw, 3.5rem);
    --fs-hero-sub: clamp(1.1rem, 2.5vw, 1.5rem);
    --fs-section-title: clamp(1.6rem, 4vw, 2.5rem);
    --fs-card-title: clamp(1.1rem, 2vw, 1.35rem);
    --fs-body: clamp(0.95rem, 1.5vw, 1.1rem);
    --fs-small: 0.875rem;

    /* Spacing */
    --section-padding: clamp(3rem, 8vw, 6rem);
    --container-max: 1100px;

    /* Borders & Shadows */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --shadow-card: 0 8px 32px rgba(10, 22, 40, 0.12);
    --shadow-card-hover: 0 16px 48px rgba(10, 22, 40, 0.2);
    --shadow-glow: 0 0 40px var(--orange-glow);

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-family);
    font-size: var(--fs-body);
    line-height: 1.8;
    color: var(--gray-800);
    background: var(--white);
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- Container ---------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ---------- Scroll Animation Base ---------- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

/* ================================
   HEADER / NAVIGATION
   ================================ */
.site-header {
    background-color: #fdfdfb;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

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

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

.logo img {
    max-height: 48px;
    width: auto;
    display: block;
}

.header-cta {
    display: none;
}

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

/* ================================
   HERO SECTION
   ================================ */
.hero {
    position: relative;
    background: var(--gradient-hero);
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    overflow: hidden;
}

/* Animated background particles */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 80%, var(--orange-glow) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(74, 111, 165, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 60% 60%, rgba(255, 107, 43, 0.08) 0%, transparent 30%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

@keyframes heroGlow {
    0% {
        opacity: 0.6;
    }

    100% {
        opacity: 1;
    }
}

/* Diagonal geometric accent */
.hero::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 80px;
    background: var(--white);
    clip-path: polygon(0 60%, 100% 0%, 100% 100%, 0 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem 0 5rem;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 107, 43, 0.15);
    border: 1px solid rgba(255, 107, 43, 0.3);
    border-radius: 100px;
    padding: 0.4rem 1.2rem;
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--orange-400);
    margin-bottom: 2rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero-label::before {
    content: '';
    display: block;
    width: 8px;
    height: 8px;
    background: var(--orange-500);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.3);
    }
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 900;
    color: var(--white);
    line-height: 1.4;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title .highlight {
    color: var(--orange-500);
    position: relative;
}

.hero-title .highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
    border-radius: 2px;
    opacity: 0.6;
}

.hero-subtitle {
    font-size: var(--fs-hero-sub);
    color: var(--gray-300);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-subtitle strong {
    color: var(--white);
    font-weight: 700;
}

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

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

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

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

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    border: none;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 700;
    border-radius: var(--radius-md);
    transition: all var(--transition-smooth);
    text-align: center;
    line-height: 1.5;
}

.btn-primary {
    background: var(--gradient-orange);
    color: var(--white);
    font-size: clamp(0.9rem, 1.8vw, 1.1rem);
    padding: 1.1rem 2.2rem;
    box-shadow: 0 8px 24px rgba(255, 107, 43, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow), 0 12px 32px rgba(255, 107, 43, 0.4);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-sm {
    font-size: var(--fs-small);
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
}

.btn-icon {
    font-size: 1.2em;
    transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-icon {
    transform: translateX(4px);
}

/* ================================
   SECTION COMMON
   ================================ */
.section {
    padding: var(--section-padding) 0;
}

.section-bg-gray {
    background: var(--gray-50);
}

.section-bg-navy {
    background: var(--gradient-cta-section);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    display: inline-block;
    font-size: var(--fs-small);
    font-weight: 700;
    color: var(--orange-500);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: var(--fs-section-title);
    font-weight: 900;
    color: var(--navy-900);
    line-height: 1.4;
}

.section-title .accent {
    color: var(--orange-500);
}

.section-subtitle {
    font-size: var(--fs-body);
    color: var(--gray-600);
    margin-top: 0.75rem;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

/* ================================
   PAIN POINTS SECTION
   ================================ */
.pain-grid {
    display: grid;
    gap: 1.5rem;
}

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

.pain-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.pain-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--navy-700), var(--navy-500));
}

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

.pain-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--navy-800), var(--navy-700));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.5rem;
}

.pain-card h3 {
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.pain-card p {
    font-size: var(--fs-body);
    color: var(--gray-600);
    line-height: 1.8;
}

/* ================================
   SOLUTION / FEATURES SECTION
   ================================ */
.feature-grid {
    display: grid;
    gap: 2rem;
}

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

.feature-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 1.75rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.feature-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-orange);
    transform: scaleX(0);
    transition: transform var(--transition-smooth);
}

.feature-card:hover::after {
    transform: scaleX(1);
}

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

.feature-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-orange);
    color: var(--white);
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 6px 20px rgba(255, 107, 43, 0.25);
}

.feature-card h3 {
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.75rem;
    line-height: 1.5;
}

.feature-card p {
    font-size: var(--fs-body);
    color: var(--gray-600);
    line-height: 1.8;
}

/* ================================
   TESTIMONIALS SECTION
   ================================ */
.testimonial-grid {
    display: grid;
    gap: 2rem;
}

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

.testimonial-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    position: relative;
    transition: all var(--transition-smooth);
}

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

.testimonial-quote-icon {
    font-size: 3rem;
    line-height: 1;
    color: var(--orange-400);
    opacity: 0.3;
    margin-bottom: 0.5rem;
}

.testimonial-body {
    font-size: var(--fs-body);
    color: var(--gray-800);
    line-height: 2;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-metric {
    display: inline-block;
    background: rgba(255, 107, 43, 0.08);
    color: var(--orange-600);
    font-weight: 700;
    font-style: normal;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--gray-100);
    padding-top: 1.25rem;
}

.testimonial-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gradient-hero);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--orange-400);
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.testimonial-name {
    font-weight: 700;
    color: var(--navy-900);
    font-size: var(--fs-body);
}

.testimonial-role {
    font-size: var(--fs-small);
    color: var(--gray-600);
}

/* ================================
   FLOW SECTION
   ================================ */
.flow-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    max-width: 700px;
    margin: 0 auto;
}

.flow-step {
    display: flex;
    gap: 1.5rem;
    position: relative;
    padding-bottom: 2.5rem;
}

.flow-step:last-child {
    padding-bottom: 0;
}

.flow-step-line {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.flow-step-dot {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: 900;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(255, 107, 43, 0.3);
    z-index: 2;
}

.flow-step-connector {
    width: 3px;
    flex: 1;
    background: linear-gradient(180deg, var(--orange-400), var(--gray-200));
    border-radius: 2px;
    margin-top: 0.5rem;
}

.flow-step:last-child .flow-step-connector {
    display: none;
}

.flow-step-content {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.75rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    flex: 1;
    transition: all var(--transition-smooth);
}

.flow-step-content:hover {
    box-shadow: var(--shadow-card-hover);
    transform: translateX(4px);
}

.flow-step-content h3 {
    font-size: var(--fs-card-title);
    font-weight: 700;
    color: var(--navy-900);
    margin-bottom: 0.5rem;
}

.flow-step-content p {
    font-size: var(--fs-body);
    color: var(--gray-600);
    line-height: 1.7;
}

/* ================================
   FAQ SECTION
   ================================ */
.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--gray-100);
    overflow: hidden;
    transition: box-shadow var(--transition-smooth);
}

.faq-item:hover {
    box-shadow: var(--shadow-card-hover);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    user-select: none;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    font-family: var(--font-family);
    font-size: var(--fs-body);
    font-weight: 700;
    color: var(--navy-900);
    line-height: 1.6;
    transition: color var(--transition-fast);
}

.faq-question:hover {
    color: var(--orange-500);
}

.faq-toggle {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gray-50);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-smooth);
    font-size: 1.1rem;
    color: var(--navy-700);
}

.faq-item.active .faq-toggle {
    background: var(--gradient-orange);
    color: var(--white);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
    padding: 0 1.75rem 1.5rem;
    font-size: var(--fs-body);
    color: var(--gray-600);
    line-height: 1.9;
}

/* ================================
   FINAL CTA SECTION
   ================================ */
.cta-section {
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 30% 70%, var(--orange-glow) 0%, transparent 50%),
        radial-gradient(circle at 70% 30%, rgba(74, 111, 165, 0.15) 0%, transparent 50%);
}

.cta-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1rem 0;
}

.cta-inner .section-title {
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-inner .section-subtitle {
    color: var(--gray-300);
    margin-bottom: 2.5rem;
}

.cta-inner .btn-primary {
    font-size: clamp(0.95rem, 2vw, 1.15rem);
    padding: 1.25rem 2.5rem;
}

.cta-note {
    font-size: var(--fs-small);
    color: var(--gray-300);
    margin-top: 1rem;
    opacity: 0.7;
}

/* ================================
   FOOTER
   ================================ */
.site-footer {
    background: var(--navy-900);
    padding: 2rem 0;
    text-align: center;
}

.footer-text {
    font-size: var(--fs-small);
    color: var(--gray-300);
    opacity: 0.5;
}

/* ================================
   STATS BAR
   ================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}

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

.stat-value {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 900;
    color: var(--orange-500);
    line-height: 1.2;
}

.stat-label {
    font-size: var(--fs-small);
    color: var(--gray-300);
    margin-top: 0.25rem;
}

/* ================================
   RESPONSIVE ADJUSTMENTS
   ================================ */
@media (max-width: 767px) {
    .hero-content {
        padding: 1.5rem 0 4rem;
    }

    .hero-title br {
        display: none;
    }

    .stats-bar {
        gap: 0.5rem;
    }

    .stat-value {
        font-size: 1.6rem;
    }

    .pain-card,
    .feature-card {
        padding: 1.5rem 1.25rem;
    }

    .testimonial-card {
        padding: 1.75rem 1.5rem;
    }

    .flow-step {
        gap: 1rem;
    }

    .flow-step-content {
        padding: 1.25rem;
    }

    .btn-primary {
        padding: 1rem 1.5rem;
        font-size: 0.95rem;
    }
}

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

    .hero-content {
        padding: 3rem 0 6rem;
    }
}

/* ================================
   UTILITY
   ================================ */
.text-center {
    text-align: center;
}

.mt-2 {
    margin-top: 2rem;
}

.mb-2 {
    margin-bottom: 2rem;
}