/* Circe Contrast Font */
@font-face {
    font-family: 'Circe Contrast';
    src: url('../fonts/CirceContrast-Regular.woff2') format('woff2'),
         url('../fonts/CirceContrast-Regular.woff') format('woff'),
         url('../fonts/CirceContrast-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Circe Contrast';
    src: url('../fonts/CirceContrast-Bold.woff2') format('woff2'),
         url('../fonts/CirceContrast-Bold.woff') format('woff'),
         url('../fonts/CirceContrast-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Sanvera logo color profile 7 - Blue → Purple → Magenta → Rose → Peach gradient */
    --sanvera-blue: #4A90E2;        /* Blue (center - deep) */
    --sanvera-purple-blue: #6B5B95; /* Purple-blue */
    --sanvera-purple: #9B59B6;      /* Purple */
    --sanvera-magenta: #D67A9B;     /* Deep magenta-pink */
    --sanvera-pink: #E91E63;        /* Bright pink */
    --sanvera-rose: #F4A5B8;        /* Warm rose pink */
    --sanvera-peach: #FFB88C;       /* Soft peach */
    --sanvera-orange: #FFA07A;      /* Light orange (edge - light) */
    
    /* Black-based color palette */
    --black-pure: #000000;           /* Pure black */
    --black-dark: #0A0A0A;           /* Very dark black */
    --black-mid: #1A1A1A;           /* Dark grey-black */
    --black-light: #2A2A2A;          /* Light grey-black */
    --grey-dark: #3A3A3A;             /* Dark grey */
    --grey-mid: #4A4A4A;             /* Medium grey */
    --grey-light: #6A6A6A;           /* Light grey */
    
    /* Primary colors - subtle logo colors as accents on black */
    --primary-color: #B88AA0;        /* Subtle magenta-pink */
    --primary-dark: #8B6A9B;         /* Subtle purple */
    --primary-light: #C89AB0;        /* Subtle rose pink */
    --secondary-color: #6A9ACA;      /* Subtle blue */
    --accent-color: #D4A890;         /* Subtle peach */
    --accent-bright: #C4987A;       /* Subtle orange */
    
    /* Text colors */
    --text-primary: #FFFFFF;          /* White text */
    --text-secondary: #CCCCCC;        /* Light grey text */
    --text-light: #999999;            /* Medium grey text */
    
    /* Background colors - black theme */
    --bg-light: #1A1A1A;             /* Dark background */
    --bg-white: #0A0A0A;             /* Very dark background */
    --bg-section: #141414;            /* Section background */
    
    /* Border and UI colors */
    --border-color: #333333;          /* Dark grey border */
    --border-light: rgba(214, 122, 155, 0.3);
    --success-color: #4CAF50;
}

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

body {
    font-family: 'Circe Contrast', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    font-weight: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Ensure all text elements use Circe Contrast */
h1, h2, h3, h4, h5, h6,
p, span, a, li, td, th,
.btn, .card, .dropdown-item,
input, textarea, select {
    font-family: 'Circe Contrast', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Navbar */
.navbar {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 2rem 0;
    transition: all 0.3s ease;
    top: 0;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

.navbar.scrolled {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: none;
    padding: 1rem 0;
    box-shadow: none;
}

.navbar.scrolled .navbar-nav .nav-link {
    color: var(--text-primary) !important;
}

.navbar.scrolled .navbar-brand {
    color: var(--text-primary) !important;
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
}

.navbar .container {
    padding-left: 2rem;
    padding-right: 2rem;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}


.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary) !important;
    text-decoration: none;
    font-family: 'Circe Contrast', sans-serif;
    letter-spacing: -0.01em;
    padding: 0;
    margin: 0;
}

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

.navbar-logo {
    height: 80px;
    width: auto;
    display: block;
}

.navbar-brand-text {
    background: linear-gradient(135deg, var(--sanvera-blue) 0%, var(--sanvera-purple) 50%, var(--sanvera-peach) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 600;
}

.navbar-nav .nav-link:hover {
    color: var(--accent-color) !important;
    background: rgba(255, 184, 140, 0.1);
    border-radius: 6px;
}

.dropdown-menu {
    background: var(--black-mid);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    font-family: 'Circe Contrast', sans-serif;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

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

.btn-primary-custom {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.3) 0%, rgba(155, 91, 182, 0.3) 50%, rgba(255, 184, 140, 0.3) 100%);
    border: 1px solid rgba(255, 184, 140, 0.4);
    color: var(--text-primary);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Circe Contrast', sans-serif;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.4) 0%, rgba(155, 91, 182, 0.4) 50%, rgba(255, 184, 140, 0.4) 100%);
    border-color: rgba(255, 184, 140, 0.6);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 184, 140, 0.3);
}

.btn-outline-custom {
    border: 1.5px solid rgba(255, 184, 140, 0.4);
    color: var(--accent-color);
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Circe Contrast', sans-serif;
    background: transparent;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-outline-custom:hover {
    border-color: rgba(255, 184, 140, 0.6);
    color: var(--sanvera-peach);
    background: rgba(255, 184, 140, 0.1);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Hero Section */
.hero-section {
    padding: 12rem 0 6rem;
    background-color: #000000;
    background: #000000;
    position: relative;
    margin-top: 0;
    overflow: hidden;
    min-height: 100vh;
}

.knowledge-graph-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.6;
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000;
    z-index: 0;
    pointer-events: none;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section .container > * {
    position: relative;
    z-index: 3;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
    font-family: 'Circe Contrast', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    line-height: 1.7;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    font-family: 'Circe Contrast', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    letter-spacing: 0.01em;
}

.hero-buttons {
    margin-top: 2rem;
}

/* Resources Section */
.resources-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.resource-card {
    background: var(--black-mid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.resource-card:hover {
    box-shadow: 0 8px 24px rgba(255, 184, 140, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 184, 140, 0.3);
}

.resource-badge {
    display: inline-block;
    background: rgba(255, 184, 140, 0.15);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 184, 140, 0.25);
}

.resource-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.resource-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.resource-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.resource-link:hover {
    color: var(--sanvera-peach);
    text-decoration: underline;
}

/* Workforce Solutions Section */
.workforce-section {
    padding: 6rem 0;
    background: var(--black-pure);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    font-family: 'Circe Contrast', sans-serif;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.section-subtitle {
    font-size: 1.125rem;
    font-family: 'Circe Contrast', sans-serif;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.65;
    font-weight: 400;
}

.solution-card {
    background: var(--black-mid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.solution-card:hover {
    box-shadow: 0 8px 24px rgba(255, 184, 140, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 184, 140, 0.3);
    background: var(--black-light);
}

.solution-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.solution-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.solution-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.solution-link:hover {
    color: var(--sanvera-peach);
    gap: 0.75rem;
}

.solution-link span {
    transition: transform 0.3s ease;
}

.solution-link:hover span {
    transform: translateX(4px);
}

/* Platform Section */
.platform-section {
    padding: 6rem 0;
    background: var(--bg-section);
}

.platform-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--black-mid);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.feature-item:hover {
    background: var(--black-light);
    box-shadow: 0 4px 12px rgba(255, 184, 140, 0.1);
    border-color: rgba(255, 184, 140, 0.25);
}

.feature-item h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.feature-item p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.platform-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Partners Section */
.partners-section {
    padding: 4rem 0;
    background: var(--black-pure);
}

.partner-logo {
    display: inline-block;
    padding: 1rem 2rem;
    margin: 0 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Customer Stories Section */
.customer-stories-section {
    padding: 6rem 0;
    background: var(--bg-section);
}

.customer-tabs {
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 3rem;
}

.customer-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--text-secondary);
    font-weight: 500;
    padding: 1rem 2rem;
    transition: all 0.3s ease;
    background: transparent;
}

.customer-tabs .nav-link:hover {
    color: var(--accent-color);
    border-bottom-color: rgba(255, 184, 140, 0.4);
}

.customer-tabs .nav-link.active {
    color: var(--accent-color);
    border-bottom-color: rgba(255, 184, 140, 0.6);
    background: rgba(255, 184, 140, 0.08);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
}

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

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(155, 91, 182, 0.8) 50%, rgba(255, 184, 140, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

.case-study-info {
    margin-bottom: 1.5rem;
}

.case-study-info p {
    margin: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.case-study-image {
    background: var(--black-mid);
    border-radius: 12px;
    padding: 3rem;
    text-align: center;
}

.placeholder-image {
    background: var(--black-light);
    border-radius: 8px;
    padding: 4rem 2rem;
    color: var(--text-light);
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
}

/* Case Studies Grid */
.case-studies-grid-section {
    padding: 4rem 0;
    background: var(--black-pure);
}

.case-study-card {
    background: var(--black-mid);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
}

.case-study-card:hover {
    box-shadow: 0 8px 24px rgba(255, 184, 140, 0.15);
    transform: translateY(-4px);
    border-color: rgba(255, 184, 140, 0.3);
}

.case-stats {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

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

.case-stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.8) 0%, rgba(155, 91, 182, 0.8) 50%, rgba(255, 184, 140, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.case-stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.case-study-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.case-study-link {
    color: var(--accent-color);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.case-study-link:hover {
    color: var(--sanvera-peach);
    text-decoration: underline;
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: var(--black-mid);
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.03) 0%, rgba(155, 91, 182, 0.03) 30%, rgba(214, 122, 155, 0.03) 60%, rgba(255, 184, 140, 0.03) 100%);
    pointer-events: none;
}

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

.cta-buttons {
    margin-top: 2.5rem;
}

/* Newsletter Section */
.newsletter-section {
    padding: 5rem 0;
    background: var(--bg-section);
}

.newsletter-section h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.newsletter-section p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.newsletter-form {
    max-width: 500px;
    margin: 0 auto;
}

.newsletter-form .input-group {
    display: flex;
    gap: 0.5rem;
}

.newsletter-form .form-control {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    font-size: 1rem;
    background: var(--black-mid);
    color: var(--text-primary);
}

.newsletter-form .form-control:focus {
    outline: none;
    border-color: rgba(255, 184, 140, 0.4);
    box-shadow: 0 0 0 3px rgba(255, 184, 140, 0.1);
    background: var(--black-light);
}

.newsletter-message {
    margin-top: 1rem;
    min-height: 24px;
}

/* Footer */
.footer {
    background: var(--black-pure);
    color: var(--text-primary);
    padding: 4rem 0 2rem;
    position: relative;
    overflow: hidden;
    border-top: 1px solid var(--border-color);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(74, 144, 226, 0.5) 0%, rgba(155, 91, 182, 0.5) 50%, rgba(255, 184, 140, 0.5) 100%);
}

.footer h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

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

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--accent-color);
    padding-left: 4px;
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-address {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-links-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-links-horizontal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

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

.footer-contact {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-copyright {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-top: 1rem;
}

.footer-copyright a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer-copyright a:hover {
    color: var(--accent-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .navbar-logo {
        height: 60px;
    }
    
    .navbar-brand-text {
        font-size: 1.25rem;
    }
    
    .hero-section {
        padding: 10rem 0 4rem;
        margin-top: 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .platform-buttons {
        flex-direction: column;
    }
    
    .platform-buttons .btn {
        width: 100%;
    }
    
    .customer-tabs .nav-link {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .footer-links-horizontal {
        flex-direction: column;
        gap: 0.75rem;
    }
}

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

/* Navbar scroll effect */
.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

