:root {
    --brand-primary-dark: #1a2f3d;
    --brand-primary-mid: #4a5d7a;
    --brand-accent-gold: #ffb84d;
    --brand-accent-green: #7cc142;
    --brand-neutral-ivory: #f8f5e8;
    --brand-neutral-white: #ffffff;
    --brand-accent-muted-teal: #6b8a94;
    --brand-accent-red: #d63384;
    --text-dark: #1a1a1a;
    --text-light: #f8f9fa;
    --text-muted-custom: #6c757d;
    --shadow-light: rgba(0,0,0,0.06);
    --shadow-medium: rgba(0,0,0,0.1);
    --shadow-heavy: rgba(0,0,0,0.15);
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    color: var(--brand-primary-mid);
    background-color: var(--brand-neutral-white);
    padding-top: 78px;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Global spacing and layout fixes */
.container {
    position: relative;
    z-index: 1;
}

section {
    position: relative;
    z-index: 1;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--brand-primary-dark);
    margin-bottom: 0.75rem;
}

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3, h4 { font-weight: 600; }

/* Navigation */
.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.navbar-brand img {
    transition: all 0.3s ease;
    filter: brightness(1.1) contrast(1.1);
}

.navbar-light .navbar-nav .nav-link {
    color: #2c3e50;
    font-weight: 600;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--brand-accent-gold);
}

/* Scrolled state navigation links */
.navbar.scrolled .navbar-light .navbar-nav .nav-link {
    color: #2c3e50;
    font-weight: 600;
}

.navbar.scrolled .navbar-light .navbar-nav .nav-link:hover {
    color: var(--brand-accent-gold);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--brand-accent-gold);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Ensure underlines work in both states */
.navbar.scrolled .navbar-light .navbar-nav .nav-link::after {
    background: var(--brand-accent-gold);
}

.btn-cta {
    background-color: var(--brand-accent-gold);
    border-color: var(--brand-accent-gold);
    color: var(--brand-primary-dark);
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.3);
    text-shadow: none;
}

.btn-cta:hover {
    background-color: #f0a040;
    border-color: #f0a040;
    color: var(--brand-primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.4);
}

/* Mobile navigation improvements */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background-color: rgba(44, 62, 80, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.navbar-toggler:hover {
    background-color: rgba(44, 62, 80, 0.2);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(26, 47, 61, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Scrolled state mobile toggler */
.navbar.scrolled .navbar-toggler {
    background-color: rgba(255, 255, 255, 0.1);
}

.navbar.scrolled .navbar-toggler:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.navbar.scrolled .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.9)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Ensure navbar is always visible */
.navbar {
    z-index: 1030;
}

/* Scroll to top button z-index */
.scroll-to-top {
    z-index: 1020 !important;
}

/* Improve dropdown visibility if used */
.navbar .dropdown-menu {
    background-color: rgba(26, 47, 61, 0.95);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.navbar .dropdown-item {
    color: var(--brand-neutral-white);
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background-color: rgba(255, 184, 77, 0.1);
    color: var(--brand-accent-gold);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-mid) 100%);
    color: var(--brand-neutral-white);
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.08)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.08)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.08)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.25;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    color: var(--brand-neutral-white);
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--brand-neutral-white);
    opacity: 0.98;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.hero-subtext {
    font-size: 1rem;
    color: var(--brand-neutral-white);
    opacity: 0.9;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.key-stats {
    margin: 3rem 0;
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    font-size: 1.2rem;
    opacity: 0.95;
    position: relative;
    z-index: 2;
    color: var(--brand-neutral-white);
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Remove unused animating class since we removed the strong elements */

/* Stat icons */
.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent-gold), #f0a040);
    color: var(--brand-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
    font-size: 1.8rem;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.25);
    transition: transform 0.3s ease;
}

.stat-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

.stat-icon i {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Buttons */
.btn-primary {
    background-color: var(--brand-accent-gold);
    border-color: var(--brand-accent-gold);
    color: var(--brand-primary-dark);
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background-color: #e8a726;
    border-color: #e8a726;
    color: var(--brand-primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(250, 181, 73, 0.3);
}

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

/* Section Backgrounds */
.section-bg-ivory {
    background-color: var(--brand-neutral-ivory);
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-bg-white {
    background-color: var(--brand-neutral-white);
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Ensure proper stacking context */
section {
    position: relative;
    z-index: 1;
}

/* Hero section specific z-index */
.hero-section {
    z-index: 0;
    margin-bottom: 0;
    padding-bottom: 2rem;
}

/* Problems section - ensure it doesn't overlap form */
#problems {
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

/* Section Headings */
.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
}

.section-heading small {
    font-size: 1.2rem;
    color: var(--brand-accent-muted-teal);
    font-weight: 400;
}

/* Problem Cards */
.problem-card {
    background-color: var(--brand-neutral-white);
    border-radius: 15px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(240, 240, 240, 0.8);
    text-align: center;
    position: relative;
    z-index: 2;
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.problem-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent-muted-teal), #7a9ba5);
    color: var(--brand-neutral-white);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(107, 138, 148, 0.25);
    transition: transform 0.3s ease;
}

.problem-card h4 {
    color: var(--brand-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.problem-card p {
    color: var(--brand-primary-mid);
    line-height: 1.6;
}

/* Workflow Section */
.workflow-container {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
}

.workflow-card {
    background-color: var(--brand-neutral-white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    z-index: 2;
    text-align: center;
    border: 1px solid rgba(240, 240, 240, 0.8);
}

.workflow-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.step-number {
    background: linear-gradient(135deg, var(--brand-accent-gold), #f0a040);
    color: var(--brand-primary-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.25);
    transition: transform 0.3s ease;
}

.workflow-card:hover .step-number {
    transform: scale(1.1);
}

.step-content h4 {
    color: var(--brand-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 700;
}

.step-content p {
    color: var(--brand-primary-mid);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* Benefit Cards */
.benefit-card {
    background-color: var(--brand-neutral-white);
    border-radius: 15px;
    padding: 2.5rem 2rem;
    height: 100%;
    box-shadow: 0 8px 30px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(240, 240, 240, 0.8);
    text-align: center;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px var(--shadow-medium);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-accent-gold), #f0a040);
    color: var(--brand-primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem auto;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.25);
    transition: transform 0.3s ease;
}

.benefit-card h4 {
    color: var(--brand-primary-dark);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.benefit-card p {
    color: var(--brand-primary-mid);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

/* Benefit highlights */
.benefit-highlight {
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.1), rgba(240, 160, 64, 0.1));
    border-left: 4px solid var(--brand-accent-gold);
    padding: 1rem;
    border-radius: 0 8px 8px 0;
    margin-top: auto;
    font-weight: 600;
    color: var(--brand-primary-dark);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.benefit-highlight:hover {
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.15), rgba(240, 160, 64, 0.15));
    transform: translateX(5px);
}

.benefit-highlight i {
    color: var(--brand-accent-gold);
    margin-right: 0.75rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* KeySession Content */
.keysession-content {
    padding: 2.5rem;
    background-color: var(--brand-neutral-white);
    border-radius: 15px;
    box-shadow: 0 8px 30px var(--shadow-light);
    height: 100%;
    position: relative;
    z-index: 2;
    border: 1px solid rgba(240, 240, 240, 0.6);
}

.keysession-content h4 {
    color: var(--brand-primary-dark);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.keysession-content p {
    color: var(--brand-primary-mid);
    line-height: 1.7;
    margin-bottom: 2rem;
    font-size: 1.05rem;
    opacity: 0.95;
}





.stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.stats-row .stat-item {
    text-align: center;
    flex: 1;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.08), rgba(240, 160, 64, 0.08));
    border-radius: 12px;
    border: 1px solid rgba(255, 184, 77, 0.15);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stats-row .stat-item:hover {
    background: linear-gradient(135deg, rgba(255, 184, 77, 0.12), rgba(240, 160, 64, 0.12));
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.2);
    border-color: rgba(255, 184, 77, 0.25);
}

.stats-row .stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--brand-accent-gold);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.stat-label {
    color: var(--brand-primary-dark);
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.05);
    margin-top: 0.25rem;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-list li {
    padding: 0.75rem 0;
    color: var(--brand-primary-mid);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 1.05rem;
    border-bottom: 1px solid rgba(240, 240, 240, 0.8);
}

.feature-list li:last-child {
    border-bottom: none;
}

.feature-list li i {
    color: var(--brand-accent-gold);
    margin-right: 1rem;
    font-size: 1.2rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Demo Preview Section */
.demo-container {
    max-width: 1000px;
    margin: 0 auto;
}

.demo-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.demo-tab {
    background: var(--brand-neutral-white);
    border: 2px solid var(--brand-primary-mid);
    color: var(--brand-primary-mid);
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
}

.demo-tab.active,
.demo-tab:hover {
    background: var(--brand-primary-mid);
    color: var(--brand-neutral-white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 93, 122, 0.3);
}

.demo-content {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.demo-panel {
    display: none;
}

.demo-panel.active {
    display: block;
}

.demo-image-container {
    position: relative;
    overflow: hidden;
}

.demo-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 47, 61, 0.8) 0%, rgba(74, 93, 122, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.demo-image-container:hover .demo-overlay {
    opacity: 1;
}

.demo-image-container:hover .demo-image {
    transform: scale(1.05);
}

.demo-highlight {
    text-align: center;
    color: var(--brand-neutral-white);
    padding: 20px;
}

.demo-highlight h5 {
    color: var(--brand-accent-gold);
    margin-bottom: 10px;
    font-weight: 700;
}

/* Before After Section */
.before-card,
.after-card {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
}

.before-card:hover,
.after-card:hover {
    transform: translateY(-5px);
}

.card-header-before {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-header-after {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.card-header-before h4,
.card-header-after h4 {
    margin: 0;
    color: white;
}

.problem-list,
.solution-list {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.problem-list li,
.solution-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.problem-list li:last-child,
.solution-list li:last-child {
    border-bottom: none;
}

.problem-list li i {
    color: #dc3545;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

.solution-list li i {
    color: #28a745;
    margin-right: 15px;
    width: 20px;
    text-align: center;
}

/* Features Detail Section */
.feature-card {
    background: var(--brand-neutral-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    border: 1px solid #eee;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: #4a5d7a;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 4px 15px rgba(74, 93, 122, 0.3);
    transition: transform 0.3s ease;
}

.feature-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 93, 122, 0.4);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 20px;
}

.feature-list li {
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.feature-list li i {
    color: var(--brand-accent-green);
    margin-right: 10px;
    width: 16px;
}

/* Statistics Dashboard Section */
.stats-dashboard {
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-mid) 100%);
    color: white;
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

.stat-card:hover .stat-icon {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.4);
}

.stat-icon {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    background: var(--brand-accent-gold);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.3);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    color: var(--brand-accent-gold);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Case Studies Section */
.case-study-card {
    background: var(--brand-neutral-white);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
    height: 100%;
    border-left: 5px solid var(--brand-accent-gold);
}

.case-study-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #eee;
}

.case-header h4 {
    margin: 0;
    color: var(--brand-primary-dark);
}

.case-tag {
    background: var(--brand-accent-gold);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.case-content p {
    margin-bottom: 20px;
    font-style: italic;
    color: var(--brand-primary-mid);
}

.case-stats {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.case-stat {
    background: var(--brand-neutral-ivory);
    padding: 10px 15px;
    border-radius: 10px;
    text-align: center;
    flex: 1;
    min-width: 80px;
}

.case-stat strong {
    display: block;
    color: var(--brand-accent-gold);
    font-size: 1.2rem;
    font-weight: 700;
}

/* Pricing Section */
.pricing-card {
    background-color: var(--brand-neutral-white);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 15px 40px var(--shadow-medium);
    border: 2px solid rgba(255, 184, 77, 0.1);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px var(--shadow-heavy);
    border-color: rgba(255, 184, 77, 0.2);
}

.pricing-header {
    text-align: center;
    margin-bottom: 2rem;
}

.pricing-header h3 {
    color: var(--brand-primary-dark);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

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

.currency {
    font-size: 1.5rem;
    color: var(--brand-accent-gold);
    font-weight: 600;
}

.amount {
    font-size: 3.5rem;
    color: var(--brand-accent-gold);
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1.2rem;
    color: var(--brand-primary-mid);
    font-weight: 500;
}

.trial-banner {
    background: linear-gradient(135deg, var(--brand-accent-gold), #f0a040);
    color: var(--brand-primary-dark);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.3);
}

.trial-banner i {
    margin-right: 0.5rem;
    font-size: 1.2rem;
}

.trial-text {
    text-align: center;
    color: var(--brand-primary-mid);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.pricing-features {
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(240, 240, 240, 0.8);
}

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

.feature-item i {
    color: var(--brand-accent-gold);
    margin-right: 1rem;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.feature-item span {
    color: var(--brand-primary-dark);
    font-weight: 500;
    font-size: 1.05rem;
}

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

.pricing-footer .btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.3);
}

/* CTA Section */
.cta-final-section {
    background: linear-gradient(135deg, var(--brand-primary-dark) 0%, var(--brand-primary-mid) 100%);
    color: var(--brand-neutral-white);
    position: relative;
    z-index: 1;
    margin-top: 0;
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.cta-final-section .section-heading {
    color: var(--brand-neutral-white);
    text-shadow: 0 2px 6px rgba(0,0,0,0.25);
    opacity: 1;
}

.cta-final-section .lead {
    color: var(--brand-neutral-white);
    opacity: 0.95;
    text-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.cta-benefit {
    text-align: center;
    padding: 1rem;
    font-size: 1.1rem;
    color: var(--brand-neutral-white);
    opacity: 0.95;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.cta-benefit i {
    color: var(--brand-accent-gold);
    margin-right: 0.5rem;
    font-size: 1.3rem;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.2));
}

/* Footer */
.bg-primary-dark {
    background-color: var(--brand-primary-dark) !important;
}

.text-white-75 {
    color: rgba(255, 255, 255, 0.75) !important;
}

.text-white-75:hover {
    color: var(--brand-accent-gold) !important;
    text-decoration: none;
}

/* Animation Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Demo tabs responsive */
    .demo-tabs {
        flex-direction: column;
        gap: 5px;
    }
    
    .demo-tab {
        width: 100%;
        text-align: center;
    }
    
    /* Statistics responsive */
    .stat-card {
        margin-bottom: 20px;
    }
    
    .case-stats {
        flex-direction: column;
    }
    
    .case-stat {
        margin-bottom: 10px;
    }
    
    /* Feature cards responsive */
    .feature-card {
        margin-bottom: 30px;
    }
    
    /* Before after cards responsive */
    .before-card,
    .after-card {
        margin-bottom: 30px;
    }
}
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .workflow-card {
        padding: 2rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
        margin-bottom: 1rem;
    }
    
    .stats-row {
        flex-direction: column;
    }
    
    .stats-row .stat-item {
        margin-bottom: 1rem;
    }
    
    .cta-benefit {
        margin-bottom: 1rem;
    }
    
    /* Fix mobile spacing issues */
    .problem-card,
    .benefit-card,
    .keysession-content {
        margin-bottom: 1.5rem;
    }
    
    .workflow-card {
        margin-bottom: 1.5rem;
    }
    
    /* Mobile stat icons */
    .stat-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
    }
    
    .benefit-highlight {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    /* Mobile stats improvements */
    .stats-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .stats-row .stat-item {
        padding: 0.75rem;
    }
    
    .stats-row .stat-item strong {
        font-size: 1.8rem;
    }
    
    .keysession-content {
        padding: 2rem;
    }
    
    .keysession-content h4 {
        font-size: 1.3rem;
    }
    
    .keysession-content p {
        font-size: 1rem;
    }
    
    .feature-list li {
        font-size: 1rem;
        padding: 0.5rem 0;
    }
    
    /* Mobile pricing improvements */
    .pricing-card {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .pricing-header h3 {
        font-size: 1.5rem;
    }
    
    .amount {
        font-size: 2.8rem;
    }
    
    .currency {
        font-size: 1.3rem;
    }
    
    .period {
        font-size: 1rem;
    }
    
    .trial-banner {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .pricing-footer .btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
    
    /* Mobile navigation improvements */
    .navbar {
        padding: 0.75rem 0;
    }
    
    .navbar.scrolled {
        padding: 0.5rem 0;
    }
    
    .navbar-brand img {
        width: 140px !important;
    }
    
    .navbar-nav {
        background-color: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-radius: 12px;
        margin-top: 1rem;
        padding: 1rem;
        box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        border-radius: 8px;
        margin: 0.25rem 0;
        text-align: center;
        color: #2c3e50 !important;
        font-weight: 600;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(255, 184, 77, 0.1);
        color: var(--brand-accent-gold) !important;
    }
    
    .btn-cta {
        margin-top: 0.5rem;
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .btn-xl {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    .problem-card,
    .benefit-card,
    .keysession-content {
        padding: 1.5rem;
    }
}

/* HubSpot Form Styling */
.hs-form-frame {
    background-color: var(--brand-neutral-white);
    border-radius: 15px;
    padding: 2.5rem;
    box-shadow: 0 8px 30px var(--shadow-light);
    position: relative;
    z-index: 10;
    border: 1px solid rgba(240, 240, 240, 0.8);
    margin: 1rem 0;
}

/* Form container improvements */
.hs-form-frame-container {
    position: relative;
    z-index: 10;
    margin: 2rem 0;
    padding: 1rem 0;
}

/* Form sections */
#form-section,
#contact-form-section {
    position: relative;
    z-index: 5;
    background-color: var(--brand-neutral-white);
    border-top: 1px solid rgba(240, 240, 240, 0.8);
    border-bottom: 1px solid rgba(240, 240, 240, 0.8);
}

/* Ensure form is always on top */
.hs-form-frame,
.hs-form-frame * {
    position: relative;
    z-index: 10;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.fadeInUp {
    animation: fadeInUp 0.8s ease forwards;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Additional spacing and visual improvements */
.section-heading {
    margin-bottom: 3rem;
}

.section-heading + .row {
    margin-top: 2rem;
}

/* Improve button contrast and visibility */
.btn-primary {
    box-shadow: 0 4px 15px rgba(255, 184, 77, 0.3);
    font-weight: 700;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 184, 77, 0.4);
    transform: translateY(-2px);
}

/* Ensure all text in dark sections is properly visible */
.hero-section *,
.cta-final-section * {
    color: var(--brand-neutral-white);
}

.hero-section .stat-item,
.cta-final-section .cta-benefit {
    color: var(--brand-neutral-white) !important;
}

/* Better text contrast */
.problem-card p,
.benefit-card p,
.keysession-content p,
.step-content p {
    color: var(--brand-primary-mid);
    opacity: 0.9;
}

/* Improve icon visibility */
.problem-icon i,
.benefit-icon i {
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.1));
}

/* Fix any potential overflow issues */
.row {
    margin-left: 0;
    margin-right: 0;
}

.col-lg-4,
.col-lg-6,
.col-md-4,
.col-md-6 {
    padding-left: 15px;
    padding-right: 15px;
}
