:root {
    /* Color System */
    --color-primary: #1a2332;
    --color-secondary: #2d4263;
    --color-accent: #c84b31;
    --color-accent-light: #e67e5f;
    --color-success: #2d8659;
    --color-background: #fafbfc;
    --color-white: #ffffff;
    --color-text: #1a2332;
    --color-text-light: #5a6c7d;
    --color-border: #e1e8ed;
    
    /* Typography */
    --font-display: 'Crimson Pro', serif;
    --font-body: 'Work Sans', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(26, 35, 50, 0.08);
    --shadow-md: 0 4px 16px rgba(26, 35, 50, 0.12);
    --shadow-lg: 0 8px 32px rgba(26, 35, 50, 0.16);
    
    /* Animation */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.2;
    color: var(--color-text);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text-light);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: all var(--transition-medium);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

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

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

/* Navigation */
.navbar {
    background: var(--color-white);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    animation: slideDown 0.5s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo-primary {
    font-family: var(--font-display);
    color: var(--color-primary);
}

.logo-secondary {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--color-text);
    font-weight: 500;
    transition: color var(--transition-fast);
    position: relative;
}

.nav-menu a:not(.nav-cta):hover {
    color: var(--color-accent);
}

.nav-menu a:not(.nav-cta)::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition-medium);
}

.nav-menu a:not(.nav-cta):hover::after {
    width: 100%;
}

.nav-cta {
    background: var(--color-accent);
    color: var(--color-white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 6px;
}

.nav-cta:hover {
    background: var(--color-accent-light);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--color-primary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Mobile menu active state (hamburger to X animation) */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 8rem 0 6rem;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0.1;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

.hero-content {
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

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

.hero-title {
    color: var(--color-white);
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.title-line {
    display: block;
    animation: slideInLeft 0.8s ease;
    animation-fill-mode: both;
}

.title-line:nth-child(1) { animation-delay: 0.1s; }
.title-line:nth-child(2) { animation-delay: 0.2s; }
.title-line:nth-child(3) { animation-delay: 0.3s; }

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    max-width: 700px;
    margin-bottom: 2rem;
    animation: fadeIn 0.8s ease 0.4s both;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-bottom: 4rem;
    animation: fadeIn 0.8s ease 0.6s both;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    animation: fadeIn 0.8s ease 0.8s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Problem Section */
.problem-section {
    padding: var(--spacing-xl) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: var(--color-accent);
    margin: 1rem auto 0;
}

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

.problem-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.problem-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.problem-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.problem-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.problem-cta {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.problem-cta-text {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.problem-solution {
    font-size: 1.5rem;
    color: var(--color-accent);
}

/* Services Section */
.services-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-top: -2rem;
    margin-bottom: 3rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--color-background);
    border-radius: 16px;
    padding: 3rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-medium);
    border: 3px solid transparent;
}

.bcs-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
}

.ccw-card:hover {
    border-color: var(--color-success);
    transform: translateY(-4px);
}

.service-header {
    margin-bottom: 2rem;
}

.service-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-accent);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.875rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.ccw-card .service-badge {
    background: var(--color-success);
}

.service-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.service-tagline {
    color: var(--color-text-light);
    font-style: italic;
}

.service-description {
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    color: var(--color-text);
}

.service-list {
    list-style: none;
    margin-bottom: 1.5rem;
}

.service-list li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    border-bottom: 1px solid var(--color-border);
}

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

.service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-accent);
    font-weight: bold;
}

.ccw-card .service-list li::before {
    color: var(--color-success);
}

.service-ideal {
    padding: 1rem;
    background: rgba(200, 75, 49, 0.1);
    border-radius: 8px;
    font-size: 0.95rem;
    margin-top: 1.5rem;
}

.ccw-card .service-ideal {
    background: rgba(45, 134, 89, 0.1);
}

.service-btn {
    display: inline-block;
    margin-top: 1.5rem;
    padding: 0.875rem 2rem;
    background: var(--color-accent);
    color: var(--color-white);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all var(--transition-medium);
}

.service-btn:hover {
    background: var(--color-accent-light);
    transform: translateX(4px);
}

.ccw-card .service-btn {
    background: var(--color-success);
}

.ccw-card .service-btn:hover {
    background: #3ca876;
}

/* Integration Box */
.integration-box {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
}

.integration-box h3 {
    color: var(--color-white);
    font-size: 2rem;
    margin-bottom: 1rem;
}

.integration-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.integration-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}

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

.integration-label {
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--color-white);
}

.integration-desc {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.integration-item.center .integration-label {
    color: var(--color-accent);
    font-size: 1.5rem;
}

.integration-arrow {
    font-size: 2rem;
    color: var(--color-accent);
}

/* Differentiators Section */
.differentiators-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-background);
}

.diff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.diff-card {
    position: relative;
    padding: 2rem;
}

.diff-number {
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 700;
    color: rgba(200, 75, 49, 0.1);
    position: absolute;
    top: -1rem;
    left: 1rem;
    z-index: 0;
}

.diff-card h3 {
    position: relative;
    z-index: 1;
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.diff-card p {
    position: relative;
    z-index: 1;
}

/* Process Section */
.process-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.process-timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    flex: 1;
    text-align: center;
    padding: 2rem 1rem;
}

.process-number {
    width: 60px;
    height: 60px;
    background: var(--color-accent);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem;
    box-shadow: var(--shadow-md);
}

.process-step h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.process-connector {
    width: 60px;
    height: 2px;
    background: var(--color-border);
    margin-top: 4rem;
    position: relative;
}

.process-connector::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: -10px;
    color: var(--color-accent);
    font-size: 1.5rem;
}

/* Results Section */
.results-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-background);
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.result-card {
    background: var(--color-white);
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

.result-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.result-stat {
    font-family: var(--font-display);
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-bottom: 1rem;
}

.result-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* About Section */
.about-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    align-items: center;
}

.about-image-placeholder {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-white);
    text-align: center;
    line-height: 1.3;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-intro {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
}

.about-emphasis {
    font-weight: 600;
    font-style: italic;
    color: var(--color-accent);
    font-size: 1.125rem;
}

.about-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
}

.credential {
    padding: 1rem;
    background: var(--color-background);
    border-radius: 8px;
    text-align: center;
}

.credential strong {
    display: block;
    font-size: 1.5rem;
    color: var(--color-accent);
    margin-bottom: 0.25rem;
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-xl) 0;
    background: var(--color-background);
}

.faq-grid {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.faq-item {
    background: var(--color-white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-medium);
}

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

.faq-question {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.faq-answer p {
    color: var(--color-text-light);
}

/* CTA Section */
.cta-section {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
    color: var(--color-white);
}

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

.cta-content h2 {
    color: var(--color-white);
    margin-bottom: 1rem;
}

.cta-content > p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-feature {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
}

/* Footer */
.footer {
    background: var(--color-primary);
    color: rgba(255, 255, 255, 0.8);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column h4 {
    color: var(--color-white);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 0.75rem;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-legal a:hover {
    color: var(--color-accent);
}

/* Responsive Design */
@media (max-width: 968px) {
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        flex-direction: column;
    }
    
    .process-connector {
        width: 2px;
        height: 40px;
        margin: 0 auto;
    }
    
    .process-connector::after {
        content: '↓';
        top: auto;
        bottom: -10px;
        right: -10px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-white);
        width: 100%;
        height: calc(100vh - 80px);
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
        padding: 3rem 0;
        z-index: 1000;
        overflow-y: auto;
    }
    
    .nav-menu.active {
        transform: translateX(0);
    }
    
    .nav-menu li {
        margin: 2rem 0;
    }
    
    .nav-menu a {
        font-size: 1.5rem;
    }
    
    .nav-cta {
        display: inline-block;
        margin-top: 1rem;
    }
    
    body.menu-open {
        overflow: hidden;
    }
    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .integration-visual {
        flex-direction: column;
    }
    
    .integration-arrow {
        transform: rotate(90deg);
    }
    
    .diff-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .about-credentials {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.5rem;
    }

    
    .hero {
        padding: 4rem 0 3rem;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .integration-visual {
        flex-direction: column;
    }
    
    .integration-arrow {
        transform: rotate(90deg);
    }
    
    .diff-grid,
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .about-credentials {
        grid-template-columns: 1fr;
    }
    
    .cta-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
