/* ==========================================================================
   Design System & Variables
   ========================================================================== */
:root {
    --primary-color: #D4A39D;      /* Rose Gold / Accent */
    --primary-dark: #C3928C;       /* Darker Rose Gold for Hovers */
    --primary-light: #FFF0F2;      /* Soft Pastel Pink background */
    --secondary-color: #F8D6D2;    /* Pastel coral pink */
    --text-color: #4A3E3D;         /* Soft Dark Brown / Charcoal */
    --text-light: #7D6F6E;         /* Muted Brown */
    --bg-main: linear-gradient(135deg, #FFF0F2 0%, #FFFDF9 50%, #FFF5EA 100%);
    --bg-card: rgba(255, 255, 255, 0.75);
    --border-card: 1px solid rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 10px 30px rgba(74, 62, 61, 0.05);
    --shadow-medium: 0 15px 35px rgba(212, 163, 157, 0.15);
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Outfit', sans-serif;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --border-radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-jp);
    color: var(--text-color);
    background: var(--bg-main);
    background-attachment: fixed;
    line-height: 1.8;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    color: inherit;
    border: none;
    background: none;
    outline: none;
}

/* ==========================================================================
   Typography & Reusable Components
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-title-wrapper {
    margin-bottom: 50px;
}

.section-title-wrapper.text-center {
    text-align: center;
}

.subtitle {
    font-family: var(--font-en);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary-color);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.title-line {
    width: 50px;
    height: 3px;
    background: var(--primary-color);
    margin-top: 15px;
    border-radius: 2px;
}

.title-line.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.section-lead {
    font-size: 1.05rem;
    color: var(--text-light);
    margin-top: 20px;
    line-height: 1.8;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    cursor: pointer;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn i {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, #E5B4AE 100%);
    color: #fff;
    border: none;
    box-shadow: var(--shadow-medium);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

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

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

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

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-color);
    border: var(--border-card);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(74, 62, 61, 0.08);
}

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

.btn-secondary-outline:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-2px);
}

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

.btn-accent-outline:hover {
    background: var(--text-color);
    color: #FFFDF9;
    transform: translateY(-2px);
}

.w-100 {
    width: 100%;
}

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

/* ==========================================================================
   Header / Navigation
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    transition: var(--transition-smooth);
    padding: 24px 0;
}

.main-header.scrolled {
    padding: 14px 0;
    background: rgba(255, 253, 249, 0.85);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 30px rgba(74, 62, 61, 0.03);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: var(--font-en);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--text-color);
}

.logo-accent {
    color: var(--primary-color);
}

.nav-menu ul {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-color);
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.btn-header-cta {
    background: var(--primary-color);
    color: #fff !important;
    padding: 10px 24px !important;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: var(--shadow-medium);
}

.btn-header-cta:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 163, 157, 0.25);
}

.btn-header-cta::after {
    display: none;
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 101;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--text-color);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 60px;
    overflow: hidden;
}

.hero-bg-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.65;
    animation: floatShape 10s infinite alternate ease-in-out;
}

.shape-1 {
    width: 300px;
    height: 300px;
    background: #FFDDE2;
    top: -50px;
    left: -50px;
    animation-delay: 0s;
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: #FFF0D4;
    bottom: -100px;
    right: -100px;
    animation-delay: 2s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #FCE1DC;
    top: 30%;
    right: 15%;
    animation-delay: 4s;
}

@keyframes floatShape {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.1); }
}

.hero-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    z-index: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.hero-label {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-color);
    letter-spacing: 0.05em;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--text-color);
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 40px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

/* Profile Card in Hero */
.hero-profile-card {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    padding: 12px 24px 12px 14px;
    border-radius: 80px;
    box-shadow: 0 10px 30px rgba(212, 163, 157, 0.1);
    position: absolute;
    bottom: -90px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounceSlow 3s infinite ease-in-out;
}

.profile-avatar-container {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #FFFDF9;
    box-shadow: 0 4px 15px rgba(74, 62, 61, 0.08);
    overflow: hidden;
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

.profile-tag {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-color);
    line-height: 1.2;
    margin-top: 2px;
}

@keyframes bounceSlow {
    0%, 100% { transform: translate(-50%, 0); }
    50% { transform: translate(-50%, -10px); }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    text-align: center;
}

.scroll-down span {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--text-light);
    display: block;
    margin-bottom: 8px;
}

.mouse-icon {
    width: 20px;
    height: 32px;
    border: 2px solid var(--text-light);
    border-radius: 12px;
    margin: 0 auto;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background-color: var(--primary-color);
    border-radius: 2px;
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

@keyframes scrollWheel {
    0% { top: 6px; opacity: 1; }
    50% { top: 14px; opacity: 0; }
    100% { top: 6px; opacity: 1; }
}

/* ==========================================================================
   About Section
   ========================================================================== */
.about-section {
    padding: 140px 0 100px;
}

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

.about-image-wrapper {
    position: relative;
    padding: 20px;
}

.about-image-bg {
    position: absolute;
    top: 40px;
    left: 40px;
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: var(--border-radius-lg);
    z-index: 0;
}

.about-image {
    position: relative;
    z-index: 1;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-medium);
    background-color: #FFFDF9;
    padding: 10px;
}

.about-text-content h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.4;
}

.lead-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.body-text {
    color: var(--text-light);
    margin-bottom: 18px;
    font-size: 0.98rem;
    text-align: justify;
}

.about-meta {
    margin-top: 30px;
    border-top: 1px dashed rgba(212, 163, 157, 0.4);
    padding-top: 20px;
}

.meta-item {
    display: flex;
    margin-bottom: 12px;
}

.meta-label {
    min-width: 120px;
    font-weight: 700;
    color: var(--text-color);
    position: relative;
}

.meta-label::after {
    content: '：';
    position: absolute;
    right: 10px;
}

.meta-value {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ==========================================================================
   Pain Points Section
   ========================================================================== */
.pain-section {
    padding: 100px 0;
}

.pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

.pain-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    padding: 40px 30px;
    box-shadow: var(--shadow-soft);
    text-align: center;
    transition: var(--transition-smooth);
}

.pain-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 62, 61, 0.08);
}

.pain-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(212, 163, 157, 0.12);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    color: var(--primary-color);
    font-size: 1.5rem;
}

.pain-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.pain-card p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.7;
    text-align: left;
}

.pain-solution-banner {
    background: linear-gradient(135deg, rgba(255, 240, 242, 0.8) 0%, rgba(255, 245, 234, 0.8) 100%);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    padding: 40px;
    text-align: center;
    box-shadow: var(--shadow-soft);
}

.banner-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.banner-content h3 span {
    color: var(--primary-color);
}

.banner-content p {
    color: var(--text-light);
    margin-bottom: 24px;
    font-size: 0.98rem;
}

/* ==========================================================================
   Features Section
   ========================================================================== */
.features-section {
    padding: 100px 0;
}

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

.feature-item {
    position: relative;
    padding-top: 40px;
}

.feature-num {
    font-family: var(--font-en);
    font-size: 3.5rem;
    font-weight: 700;
    color: rgba(212, 163, 157, 0.18);
    position: absolute;
    top: -15px;
    left: 0;
    line-height: 1;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}

.feature-item p {
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* ==========================================================================
   Services Section
   ========================================================================== */
.services-section {
    padding: 100px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    padding: 40px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.service-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.service-lead {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-dark);
    margin-bottom: 24px;
}

.service-list {
    margin-top: auto;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    font-size: 0.92rem;
    color: var(--text-light);
}

.service-list li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
    font-size: 0.85rem;
}

/* ==========================================================================
   Case Studies Section
   ========================================================================== */
.cases-section {
    padding: 100px 0;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.case-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
    display: flex;
    flex-direction: column;
}

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

.case-badge {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
}

.case-header {
    padding: 24px 24px 10px;
}

.case-category {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 0.05em;
    display: block;
    margin-bottom: 4px;
}

.case-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.case-body {
    padding: 0 24px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.case-stat {
    background: rgba(212, 163, 157, 0.05);
    border-radius: var(--border-radius-sm);
    padding: 16px;
    margin: 15px 0 20px;
    border: 1px solid rgba(212, 163, 157, 0.15);
}

.stat-item {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.stat-item:last-child {
    margin-bottom: 0;
}

.stat-label {
    font-size: 0.72rem;
    color: var(--text-light);
    font-weight: 500;
}

.stat-val {
    font-family: var(--font-en), var(--font-jp);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-color);
}

.stat-val i {
    font-size: 0.8rem;
    margin: 0 4px;
    color: var(--primary-color);
}

.case-desc {
    font-size: 0.88rem;
    color: var(--text-light);
    line-height: 1.6;
    text-align: justify;
}

.cases-disclaimer {
    font-size: 0.8rem;
    color: var(--text-light);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */
.pricing-section {
    padding: 100px 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
    margin-bottom: 50px;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    padding: 45px 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(74, 62, 61, 0.08);
}

/* Popular Plan highlight */
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    transform: scale(1.03);
    box-shadow: var(--shadow-medium);
    background: #FFFDFD;
}

.pricing-card.popular:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 20px 45px rgba(212, 163, 157, 0.25);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: #fff;
    padding: 4px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(212, 163, 157, 0.3);
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.plan-desc {
    font-size: 0.82rem;
    color: var(--text-light);
    line-height: 1.4;
    min-height: 38px;
}

.plan-price {
    margin-top: 15px;
    color: var(--text-color);
}

.plan-price .currency {
    font-family: var(--font-en);
    font-size: 1.2rem;
    font-weight: 600;
}

.plan-price .amount {
    font-family: var(--font-en);
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.plan-price .period {
    font-size: 0.85rem;
    color: var(--text-light);
}

.plan-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.plan-features {
    margin-bottom: 35px;
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 14px;
    font-size: 0.88rem;
    color: var(--text-color);
}

.plan-features li i {
    margin-right: 10px;
    margin-top: 4px;
    font-size: 0.95rem;
}

.plan-features li.disabled {
    color: var(--text-light);
    opacity: 0.55;
}

.plan-features li i.fa-circle-check {
    color: var(--primary-color);
}

.plan-features li i.fa-circle-xmark {
    color: var(--text-light);
}

.pricing-notes {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-notes p {
    font-size: 0.8rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.pricing-notes p i {
    color: var(--primary-color);
    margin-right: 4px;
}

/* ==========================================================================
   Work Flow Section
   ========================================================================== */
.flow-section {
    padding: 100px 0;
}

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

/* Timeline center line */
.flow-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 45px;
    width: 2px;
    height: 100%;
    background-color: rgba(212, 163, 157, 0.25);
}

.flow-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 50px;
}

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

.flow-badge {
    font-family: var(--font-en);
    font-size: 0.75rem;
    font-weight: 700;
    width: 90px;
    height: 32px;
    background: #FFFDF9;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(212, 163, 157, 0.1);
}

.flow-content {
    margin-left: 30px;
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    padding: 30px;
    box-shadow: var(--shadow-soft);
    flex-grow: 1;
}

.flow-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.flow-content p {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.7;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: 100px 0;
}

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

.faq-item {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: var(--border-card);
    border-radius: var(--border-radius-md);
    margin-bottom: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    padding: 24px 30px;
    display: flex;
    align-items: center;
    text-align: left;
    cursor: pointer;
    background: none;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text-color);
}

.faq-q-icon {
    font-family: var(--font-en);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-right: 15px;
}

.faq-question {
    flex-grow: 1;
    padding-right: 20px;
    line-height: 1.5;
}

.faq-toggle-icon {
    font-size: 0.9rem;
    color: var(--text-light);
    transition: transform 0.3s ease;
}

/* Panel transitions */
.faq-panel {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
    padding: 0 30px 24px 50px;
    font-size: 0.92rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* Active styles added by JS */
.faq-item.active {
    background: #FFFDFD;
    border-color: rgba(212, 163, 157, 0.4);
}

.faq-item.active .faq-toggle-icon {
    transform: rotate(45deg);
    color: var(--primary-color);
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-section {
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.contact-section .section-title {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.contact-section .title-line {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    margin-top: 18px;
    border-radius: 2px;
}

.contact-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(254, 222, 226, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 0;
}

.contact-section .container {
    position: relative;
    z-index: 1;
}

.contact-card {
    background: var(--bg-card);
    backdrop-filter: blur(15px);
    border: var(--border-card);
    border-radius: var(--border-radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-medium);
    max-width: 900px;
    margin: 0 auto;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 8px;
}

.form-group label .required {
    background-color: #E29E96;
    color: #fff;
    font-size: 0.68rem;
    padding: 1px 6px;
    border-radius: 4px;
    margin-left: 6px;
    font-weight: 500;
    vertical-align: middle;
}

.form-group input,
.form-group select,
.form-group textarea {
    background-color: #FFFDF9;
    border: 1px solid rgba(212, 163, 157, 0.3);
    border-radius: var(--border-radius-sm);
    padding: 12px 16px;
    font-size: 0.95rem;
    color: var(--text-color);
    transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #B5A8A6;
    font-size: 0.9rem;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(212, 163, 157, 0.15);
    background-color: #fff;
}

/* Custom Checkbox */
.checkbox-container {
    display: inline-flex;
    align-items: center;
    position: relative;
    cursor: pointer;
    font-size: 0.88rem;
    user-select: none;
    padding-left: 30px;
    color: var(--text-light);
}

.checkbox-container a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    height: 20px;
    width: 20px;
    background-color: #FFFDF9;
    border: 1px solid rgba(212, 163, 157, 0.4);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark::after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark::after {
    display: block;
}

.checkbox-container .checkmark::after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Form Errors */
.error-msg {
    font-size: 0.8rem;
    color: #D36A5E;
    margin-top: 6px;
    display: none;
}

.form-group.has-error input,
.form-group.has-error select,
.form-group.has-error textarea {
    border-color: #D36A5E;
    background-color: #FFF8F7;
}

.form-group.has-error .error-msg,
.form-privacy.has-error .error-msg {
    display: block;
}

.btn-submit {
    min-width: 200px;
    padding: 16px 40px;
}

/* Form Success State */
.contact-success-msg {
    text-align: center;
    padding: 40px 0;
}

.success-icon {
    font-size: 3.5rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.contact-success-msg h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}

.contact-success-msg p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-back-form {
    padding: 10px 24px;
}

.d-none {
    display: none !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.main-footer {
    padding: 60px 0;
    background: #FFFDF9;
    border-top: 1px solid rgba(212, 163, 157, 0.15);
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-nav a {
    font-size: 0.9rem;
    color: var(--text-light);
}

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

.copyright {
    font-size: 0.8rem;
    color: var(--text-light);
    opacity: 0.7;
}

/* ==========================================================================
   Scroll Reveal Animation styles
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   Responsive Styles
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.8rem;
    }
    
    .about-grid {
        gap: 40px;
    }
    
    .pain-grid,
    .features-grid,
    .pricing-grid,
    .cases-grid {
        gap: 20px;
    }
}

@media (max-width: 768px) {
    /* Header & Navigation */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 75%;
        max-width: 320px;
        height: 100vh;
        background: rgba(255, 253, 249, 0.96);
        backdrop-filter: blur(20px);
        box-shadow: -10px 0 30px rgba(74, 62, 61, 0.05);
        z-index: 99;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        padding: 100px 40px 40px;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.1rem;
        font-weight: 600;
    }
    
    .btn-header-cta {
        display: block;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }
    
    .hamburger-btn {
        display: flex;
    }
    
    /* Hamburger Active */
    .hamburger-btn.active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-btn.active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    /* Hero */
    .hero-section {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
    }
    
    .hero-cta-group {
        flex-direction: column;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }
    
    .hero-profile-card {
        bottom: -70px;
    }
    
    /* Grid Layouts to 1 Column */
    .about-grid,
    .pain-grid,
    .features-grid,
    .services-grid,
    .cases-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* About image placement */
    .about-image-wrapper {
        max-width: 320px;
        margin: 0 auto;
    }
    
    /* Pricing scale correction */
    .pricing-card.popular {
        transform: none !important;
        border-width: 1px;
    }
    
    .pricing-card.popular:hover {
        transform: translateY(-5px) !important;
    }
    
    .popular-badge {
        top: -14px;
    }
    
    /* Timeline adjustments */
    .flow-timeline::before {
        left: 20px;
    }
    
    .flow-step {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .flow-badge {
        width: 80px;
        height: 28px;
        font-size: 0.7rem;
        margin-left: 20px; /* Aligns visually with the line */
        margin-bottom: 15px;
    }
    
    .flow-content {
        margin-left: 20px;
        padding: 24px;
    }
    
    /* Form rows */
    .form-row {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-card {
        padding: 30px 20px;
    }
    
    .faq-trigger {
        padding: 20px;
    }
    
    .faq-answer {
        padding: 0 20px 20px 40px;
    }
    
    .contact-section .section-title {
        font-size: 1.8rem;
    }
}
