:root {
    /* Colors */
    --primary: #0f172a;
    --accent: #2563eb;
    --accent-hover: #1d4ed8;
    --text-main: #334155;
    --text-light: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --border: #e2e8f0;
    --success: #10b981;
    
    /* Segment Colors */
    --color-it: #0ea5e9;
    --color-hr: #ec4899;
    --color-pm: #8b5cf6;
    --color-content: #f59e0b;
    --color-gov: #059669;
    --color-startup: #f43f5e;

    /* Layout */
    --container: 1200px;
    --radius: 12px;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-main);
    line-height: 1.6;
    background-color: var(--white);
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Utilities */
.container { 
    max-width: var(--container); 
    margin: 0 auto; 
    padding: 0 16px; 
    width: 100%;
}
.section { padding: 60px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }
.mb-2 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 2rem; }

h1, h2, h3, h4 { color: var(--primary); font-weight: 800; line-height: 1.2; }
h1 { font-size: 2.5rem; letter-spacing: -0.02em; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 16px; }
h3 { font-size: 1.5rem; margin-bottom: 12px; font-weight: 700; }
p { font-size: 1.125rem; color: var(--text-light); margin-bottom: 24px; }

/* Buttons */
.btn {
    display: inline-flex; 
    align-items: center; 
    justify-content: center;
    padding: 14px 24px; 
    border-radius: 8px; 
    font-weight: 600; 
    font-size: 1rem;
    text-decoration: none; 
    transition: all 0.2s ease; 
    cursor: pointer; 
    border: none;
    white-space: nowrap;
    text-decoration: none;
}

.btn:hover {
    text-decoration: none;
}

.btn-primary { 
    background-color: var(--accent); 
    color: white; 
    box-shadow: var(--shadow); 
}
.btn-primary:hover { 
    background-color: var(--accent-hover); 
    transform: translateY(-2px); 
    color: white; 
}
.btn-outline { 
    background-color: transparent; 
    border: 2px solid var(--border); 
    color: var(--primary); 
}
.btn-outline:hover { 
    border-color: var(--primary); 
    /* background-color: var(--white);  */
    color: black; 
}
.btn-sm { padding: 10px 20px; font-size: 0.9rem; }

/* Header */
header {
    position: sticky; 
    top: 0; 
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95); 
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}
.nav-wrapper { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    height: 72px; 
    padding: 0 16px;
}
.logo { font-size: 1.5rem; font-weight: 900; color: var(--primary); text-decoration: none; }
.logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { 
    text-decoration: none; 
    color: var(--text-main); 
    font-weight: 500; 
    font-size: 0.95rem; 
}
.nav-links a:hover { color: var(--accent); }

/* Hero Section */
.hero { 
    padding: 80px 0 40px; 
    text-align: center; 
    background: radial-gradient(circle at 50% 0%, #eff6ff 0%, #ffffff 70%); 
}
.hero-badge { 
    display: inline-block; 
    background: #dbeafe; 
    color: var(--accent); 
    padding: 6px 16px; 
    border-radius: 20px; 
    font-size: 0.875rem; 
    font-weight: 600; 
    margin-bottom: 24px;
}
.hero p { 
    max-width: 800px; 
    margin: 0 auto 40px; 
    font-size: 1.1rem;
}

/* Segment Navigation (Section 1) */
.segment-nav { margin-top: 40px; }
.segment-grid { 
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 20px; 
    margin-bottom: 40px; 
}
.segment-card {
    background: var(--white); 
    border: 1px solid var(--border); 
    border-radius: var(--radius);
    padding: 20px; 
    text-align: center; 
    text-decoration: none; 
    color: var(--text-main);
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    height: 100%; 
    box-shadow: var(--shadow);
}
.segment-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--accent); 
}
.segment-icon { font-size: 2rem; margin-bottom: 12px; }
.segment-title { font-weight: 700; font-size: 1rem; margin-bottom: 4px; }
.segment-desc { 
    font-size: 0.8rem; 
    color: var(--text-light); 
    line-height: 1.4; 
    margin-bottom: 0; 
}

/* Unified Benefits */
.unified-benefits { 
    display: flex; 
    justify-content: center; 
    gap: 24px; 
    flex-wrap: wrap; 
    margin-bottom: 40px; 
}
.benefit-pill { 
    display: flex; 
    align-items: center; 
    gap: 8px; 
    font-weight: 500; 
    font-size: 0.95rem; 
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 20px;
}

/* Grid Layouts */
.grid-2-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.grid-3-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.roi-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 40px;
}

.comp-table-wrapper {
    overflow-x: auto;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin: 0 auto;
    -webkit-overflow-scrolling: touch;
}

/* FAQ */
.faq-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-content {
    display: none;
    margin-top: 16px;
    color: var(--text-light);
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.faq-item.active .faq-content {
    display: block;
}

/* Mobile First Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .hero {
        padding: 60px 0 30px;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    /* Button container fix */
    .hero > .container > div:first-of-type {
        display: flex;
        flex-direction: column;
        gap: 12px;
        align-items: center;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
    }
    
    /* Segment grid fix */
    .segment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .segment-card {
        padding: 16px;
        min-height: 140px;
    }
    
    .unified-benefits {
        gap: 12px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 8px;
        margin-bottom: 30px;
    }
    
    .benefit-pill {
        white-space: nowrap;
        font-size: 0.85rem;
        padding: 6px 12px;
    }
    
    /* Grid layouts */
    .grid-2-cols {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .grid-3-cols {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roi-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .section {
        padding: 40px 0;
    }
    
    /* Navigation */
    .nav-links {
        display: none;
    }
    
    /* Table responsiveness */
    .comp-table-wrapper table {
        min-width: 600px;
        font-size: 0.9rem;
    }
    
    .comp-table-wrapper th,
    .comp-table-wrapper td {
        padding: 12px 16px;
    }
    
    /* FAQ */
    .faq-item {
        padding: 16px;
    }
    
    .pricing-cards {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .segment-grid {
        grid-template-columns: 1fr;
    }
    
    .segment-card {
        padding: 20px;
    }
    
    .roi-bar {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .roi-bar > div {
        padding: 15px;
        background: var(--bg-light);
        border-radius: var(--radius);
    }
    
    .btn {
        font-size: 0.95rem;
        padding: 12px 16px;
    }
    
    /* Fix for inline grid elements */
    [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    .grid-1-1 {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .segment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .container {
        padding: 0 24px;
    }
}

/* Print styles */
@media print {
    .btn, .hero-badge, .nav-links {
        display: none !important;
    }
    
    .segment-card {
        break-inside: avoid;
    }
}




.hero-button-container {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-bottom: 40px;
    width: 100%;
}

@media (max-width: 768px) {
    .hero-button-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-button-container .btn {
        min-width: 280px;
        max-width: 100%;
    }
}
/* rewrite */

#main_container {
    padding-top: 0px !important;
}


/* New CSS classes for the refactored HTML */

/* Common utility classes */
.mb-70 { margin-bottom: 70px; }
.mt-40 { margin-top: 40px; }

/* Hero section */
.hero-subtitle {
    max-width: 800px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-light);
}

/* Segment navigation */
.segment-nav-title {
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--text-light);
    text-align: center;
}

/* Segment cards with different colors */
.segment-it { border-top: 4px solid var(--color-it); }
.segment-hr { border-top: 4px solid var(--color-hr); }
.segment-pm { border-top: 4px solid var(--color-pm); }
.segment-content { border-top: 4px solid var(--color-content); }
.segment-gov { border-top: 4px solid var(--color-gov); }
.segment-startup { border-top: 4px solid var(--color-startup); }

/* Section styles */
.section-subtitle {
    color: var(--text-main);
    margin-bottom: 20px;
}

/* Problem list */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-item {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
    color: var(--text-main);
}

.problem-item:before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #ef4444;
}

/* Solution cards */
.solution-card {
    background: white;
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    height: 100%;
}

.solution-it { border-top: 4px solid var(--color-it); }
.solution-hr { border-top: 4px solid var(--color-hr); }
.solution-content { 
    border-left: 4px solid var(--color-content);
    background: var(--bg-light);
}

.solution-title {
    color: inherit;
    margin-bottom: 20px;
}

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

.solution-item {
    margin-bottom: 12px;
    display: flex;
    gap: 10px;
    color: var(--text-main);
}

.solution-item:before {
    content: "✅";
    color: var(--success);
}

.btn-full {
    width: 100%;
    margin-top: 20px;
}

/* ROI stats */
.roi-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: center;
    margin-top: 60px;
}

.roi-stat {
    padding: 20px;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.roi-value {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 8px;
}

.roi-label {
    font-size: 0.9rem;
    color: var(--text-light);
    line-height: 1.4;
}

/* Feature items */
.feature-item {
    margin-bottom: 20px;
}

.feature-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--text-main);
}

.feature-desc {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.5;
}

/* Problem scenarios */
.problem-scenarios {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.scenario-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.scenario-number {
    background: #fce7f3;
    color: var(--color-hr);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-weight: 600;
}

/* Feature cards */
.feature-card {
    background: white;
    padding: 30px;
    border-radius: var(--radius);
    height: 100%;
}

.feature-pm { border-top: 4px solid var(--color-pm); }
.feature-gov { border-top: 4px solid var(--color-gov); }

.feature-card-title {
    color: inherit;
    margin-bottom: 20px;
}

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

.feature-list-item {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-main);
}

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

.feature-card-cta {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.btn-pm {
    border-color: var(--color-pm);
    color: var(--color-pm);
}

.btn-pm:hover {
    background-color: var(--color-pm);
    color: white;
}

.btn-gov {
    border-color: var(--color-gov);
    color: var(--color-gov);
}

.btn-gov:hover {
    background-color: var(--color-gov);
    color: white;
}

/* Content creators section */
.content-feature {
    margin-bottom: 24px;
}

.content-feature-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.content-icon {
    background: #fef3c7;
    color: var(--color-content);
    padding: 8px;
    border-radius: 8px;
}

/* Startup section */
.startup-container {
    background: #fff1f2;
    border-radius: var(--radius);
    padding: 40px;
    border: 1px solid #fecdd3;
}

.startup-title {
    color: var(--color-startup);
    margin-bottom: 16px;
}

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

.startup-list-item {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
    color: var(--text-main);
}

.startup-list-item:before {
    content: "✅";
    position: absolute;
    left: 0;
    color: var(--success);
}

.btn-startup {
    background-color: var(--color-startup);
    border-color: var(--color-startup);
}

.btn-startup:hover {
    background-color: #dc2626;
    border-color: #dc2626;
}

.evolution-card {
    background: white;
    padding: 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.evolution-title {
    text-align: center;
    margin-bottom: 20px;
    color: var(--text-main);
}

.evolution-timeline {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.evolution-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--border);
    padding-bottom: 10px;
}

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

.evolution-price {
    font-weight: 700;
    color: var(--success);
}

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

.comparison-table thead tr {
    background: var(--primary);
    color: white;
}

.comparison-table th {
    padding: 20px;
    text-align: left;
    font-weight: 600;
}

thead .kbpublisher-col {
    background: var(--accent);
    color: white;
}

.kbpublisher-col {
    background: #eff6ff;
    /* text-align: center; */
    font-weight: 700;
    color: var(--accent);
}

.comparison-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    color: var(--text-main);
}

.feature-highlight {
    color: var(--accent);
    font-weight: 700;
}

.feature-check {
    color: var(--success);
    font-weight: 600;
}

/* Pricing section */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pricing-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    transition: 0.3s;
    position: relative;
    background: var(--white);
}

.pricing-card-community {
    background: var(--bg-light);
}

.pricing-card-cloud {
    border: 2px solid var(--accent);
    box-shadow: var(--shadow);
}

.pricing-card-license {
    background: var(--bg-light);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-title {
    color: var(--text-main);
    margin-bottom: 10px;
}

.pricing-price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--text-main);
    margin: 20px 0;
}

.pricing-card-cloud .pricing-price {
    color: var(--accent);
}

.pricing-period {
    color: var(--text-light);
    margin-bottom: 20px;
}

.pricing-features {
    list-style: none;
    padding: 0;
    text-align: left;
    margin: 30px 0;
}

.pricing-features li {
    margin-bottom: 10px;
    padding-left: 24px;
    position: relative;
    color: var(--text-main);
}

.pricing-features li:before {
    content: "✅";
    position: absolute;
    left: 0;
    color: var(--success);
}

.btn-pricing {
    width: 100%;
    margin-top: 10px;
}

.btn-license {
    background: white;
}

/* FAQ section */
.faq-container {
    max-width: 800px;
}

.faq-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main);
}

.faq-arrow {
    transition: transform 0.3s;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    margin-top: 16px;
    color: var(--text-light);
    padding-top: 16px;
    border-top: 1px solid var(--border);
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Final CTA */
.final-cta {
    background: var(--primary);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 20px;
}

.final-cta p {
    color: #cbd5e1;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn-cta-outline {
    color: white;
    border-color: white;
}

.btn-cta-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .roi-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .roi-bar {
        grid-template-columns: 1fr;
    }
    
    .roi-value {
        font-size: 2rem;
    }
    
    .pricing-card {
        padding: 30px 20px;
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
}

