/* Add dark theme colors */
body {
    background-color: #1a1a1a !important;
    color: #ffffff;
}

.body-wrap {
    background-color: #1a1a1a;
    position: relative;
}

.chat-container {
    width: 100%;
    max-width: 768px;
    margin: 2rem auto 0;
    position: relative;
    z-index: 2;
    pointer-events: all;
}

.chat-input-wrapper {
    position: relative;
    pointer-events: all;
    display: flex;
    align-items: center;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 8px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

.chat-input {
    flex: 1;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    outline: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    position: relative;
    pointer-events: all;
}

.chat-input::placeholder {
    color: #808080;
}

.chat-submit {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: #0270D7;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.chat-submit:hover {
    color: #0255a5;
}

/* Add styles for the submit button icon */
.chat-submit svg {
    width: 24px;
    height: 24px;
}

.brand.header-brand a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.header-logo-image {
    height: 32px;
    width: 140px;
}

.logo-text {
    display: none;
}

.site-header {
    background: #1a1a1a;
    position: relative;
    z-index: 10;
}

.hero {
    background: #1a1a1a;
}

/* Adjust text colors for better contrast */
.hero-title {
    color: #ffffff;
}

.hero-paragraph {
    color: #b3b3b3;
}

/* Remove the old hero-figure-box styles and add new data visualization styles */
.data-viz {
    position: absolute;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.9;
    pointer-events: none;
}

.data-viz-01 {
    top: 20%;
    right: 10%;
    transform: rotate(-15deg);
}

.data-viz-02 {
    bottom: 15%;
    left: 15%;
    transform: rotate(10deg);
}

.data-viz-03 {
    top: 15%;
    left: 20%;
    transform: rotate(-5deg);
}

.data-viz-04 {
    bottom: 20%;
    right: 15%;
    transform: rotate(8deg);
}

/* Table styles */
.data-table {
    color: #ffffff;
    font-size: 14px;
}

.table-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #404040;
}

.table-row:last-child {
    border-bottom: none;
}

.table-cell:last-child {
    color: #0270D7;
    font-weight: 600;
}

/* Bar chart styles */
.bar-chart {
    display: flex;
    align-items: flex-end;
    height: 100px;
    gap: 8px;
}

.bar {
    width: 20px;
    background: #0270D7;
    border-radius: 4px 4px 0 0;
    transition: height 0.3s ease;
}

/* Animation for chart elements */
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;
}

.chart-point {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards;
    animation-delay: 1.8s;
}

@keyframes drawLine {
    from {
        stroke-dashoffset: 3000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

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

/* Make sure the placeholder SVG doesn't interfere */
.placeholder {
    opacity: 0;
}

/* Header navigation styles */
.site-header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-nav {
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    position: relative;
}

.nav-link {
    color: #b3b3b3;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
    cursor: pointer;
}

.nav-link:hover {
    color: #ffffff;
}

/* Small button variant */
.button-sm {
    padding: 8px 24px;
    font-size: 14px;
    height: auto;
}

.button-sm.button-primary {
    cursor: pointer;
    position: relative;
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: #2d2d2d;
    padding: 32px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    border: 1px solid #404040;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

.modal-content h2 {
    color: #ffffff;
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 24px;
}

.modal-content p {
    color: #b3b3b3;
    margin-bottom: 24px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-input {
    background: #1a1a1a;
    border: 1px solid #404040;
    padding: 12px 16px;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
}

.modal-input:focus {
    outline: none;
    border-color: #0270D7;
}

.modal-input::placeholder {
    color: #808080;
}

.button-block {
    width: 100%;
}

/* Add to existing modal styles */
.error-message {
    color: #ff4646;
    font-size: 14px;
    min-height: 20px;
    margin-top: -8px;
}

.modal-input.error {
    border-color: #ff4646;
}

.button-primary:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Footer styles */
.footer-logo-image {
    width: 200px;
    height: auto;
}

.footer-brand {
    margin-bottom: 24px;
}

.footer-social-links {
    margin-bottom: 24px;
}

.footer-copyright {
    color: #b3b3b3;
}

.hero-figure {
    position: relative;
    z-index: 1;
}

/* Contact form styles */
.contact-form-wrapper {
    max-width: 600px;
    margin: 48px auto 0;
    padding: 32px;
    background: #2d2d2d;
    border-radius: 12px;
    border: 1px solid #404040;
    position: relative;
}

.contact-section {
    position: relative;
}

.form-group {
    margin-bottom: 24px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffffff;
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: #1a1a1a;
    border: 1px solid #404040;
    border-radius: 6px;
    color: #ffffff;
    font-size: 16px;
    transition: border-color 0.2s ease;
    position: relative;
}

.form-input:focus {
    outline: none;
    border-color: #0270D7;
}

textarea.form-input {
    resize: vertical;
    min-height: 120px;
}

.form-status {
    margin-top: 16px;
    padding: 12px;
    border-radius: 6px;
    text-align: center;
    display: none;
}

.form-status.success {
    display: block;
    background: rgba(39, 174, 96, 0.1);
    color: #27ae60;
}

.form-status.error {
    display: block;
    background: rgba(231, 76, 60, 0.1);
    color: #e74c3c;
}

/* Add pricing visualization styles */
.pricing {
    position: relative;
    overflow: hidden;
}

.pricing-viz {
    position: absolute;
    background: #2d2d2d;
    border: 1px solid #404040;
    border-radius: 8px;
    padding: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    opacity: 0.1;
}

.pricing-viz-01 {
    top: 10%;
    right: 5%;
    transform: rotate(10deg);
}

.pricing-viz-02 {
    bottom: 15%;
    left: 8%;
    transform: rotate(-8deg);
}

.pricing-viz-03 {
    top: 60%;
    right: 15%;
    transform: rotate(5deg);
}

.pricing-viz-04 {
    top: 20%;
    left: 10%;
    transform: rotate(-12deg);
}

/* Add animated background charts */
.background-charts {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-chart {
    position: absolute;
    opacity: 0.3;
    transform-origin: center;
    transform: scale(2);
    stroke-width: 6;
}

.bg-chart-1 {
    top: 5%;
    left: -5%;
    width: 1800px;
    height: 1200px;
    transform: rotate(15deg) scale(2);
}

.bg-chart-2 {
    bottom: 15%;
    right: -5%;
    width: 2000px;
    height: 1600px;
    transform: rotate(-10deg) scale(2);
}

.bg-chart-3 {
    top: 40%;
    left: 20%;
    width: 1400px;
    height: 1000px;
    transform: rotate(5deg) scale(2);
}

/* Update CTA section styles */
.cta {
    background-color: #1a1a1a !important;  /* Match body background */
    position: relative;
}

.cta-inner {
    background-color: #2d2d2d;  /* Match other dark sections */
    border: 1px solid #404040;  /* Add border like other sections */
    border-radius: 12px;  /* Match other components */
    padding: 48px 16px;
}

.cta .section-title {
    color: #ffffff;  /* Match other text */
}

/* Update hero-copy z-index */
.hero-copy {
    position: relative;
    z-index: 3;
}

/* Simplify background chart animations */
.bg-chart {
    position: absolute;
    opacity: 0.3;
    transform-origin: center;
    transform: scale(2);
    stroke-width: 6;
    /* Remove continuous animations */
}

/* Give each chart a static position and rotation */
.bg-chart-1 {
    top: 5%;
    left: -5%;
    width: 1800px;
    height: 1200px;
    transform: rotate(15deg) scale(2);
}

.bg-chart-2 {
    bottom: 15%;
    right: -5%;
    width: 2000px;
    height: 1600px;
    transform: rotate(-10deg) scale(2);
}

.bg-chart-3 {
    top: 40%;
    left: 20%;
    width: 1400px;
    height: 1000px;
    transform: rotate(5deg) scale(2);
}

/* Optimize line drawing animation to run only once */
@keyframes drawLine {
    from {
        stroke-dashoffset: 3000;
    }
    to {
        stroke-dashoffset: 0;
    }
}

/* Update SVG paths to run animation only once */
.bg-chart path {
    animation: drawLine 2s ease forwards;  /* Remove infinite, run once */
}

/* Optimize other animations */
.chart-line {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLine 2s ease forwards;  /* Run once instead of infinite */
}

.chart-point {
    opacity: 0;
    animation: fadeIn 0.3s ease forwards 1.8s;  /* Run once with delay */
}

/* About page styles */
.about-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.about-content {
    max-width: 768px;
    margin: 0 auto;
}

.about-text {
    color: #b3b3b3;
    font-size: 18px;
    line-height: 1.6;
}

.about-text h3 {
    color: #ffffff;
    margin-top: 48px;
    margin-bottom: 16px;
    font-size: 24px;
}

.about-text p {
    margin-bottom: 24px;
}

.about-text .text-lg {
    font-size: 24px;
    color: #ffffff;
    line-height: 1.4;
}

.about-company {
    border-top: 1px solid #404040;
    padding-top: 32px;
}

.text-primary {
    color: #0270D7;
    text-decoration: none;
}

.text-primary:hover {
    text-decoration: underline;
}

.mt-64 {
    margin-top: 64px;
}

/* FAQ page styles */
.faq-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.faq-content {
    max-width: 768px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 48px;
}

.faq-item h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 16px;
}

.faq-item p {
    color: #b3b3b3;
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
}

/* Privacy page styles */
.privacy-section {
    padding-top: 80px;
    padding-bottom: 80px;
}

.privacy-content {
    max-width: 768px;
    margin: 0 auto;
}

.privacy-text {
    color: #b3b3b3;
    font-size: 18px;
    line-height: 1.6;
}

.privacy-item {
    margin-bottom: 48px;
}

.privacy-item h3 {
    color: #ffffff;
    font-size: 24px;
    margin-bottom: 16px;
}

.privacy-item p {
    margin-bottom: 16px;
}

.privacy-item ul {
    list-style-type: disc;
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-item li {
    margin-bottom: 8px;
}

/* Additional privacy page styles */
.privacy-text .text-sm {
    font-size: 14px;
    color: #808080;
}

.privacy-text strong {
    color: #ffffff;
    font-weight: 600;
}

.privacy-text .address {
    margin: 16px 0;
    padding-left: 16px;
    border-left: 2px solid #404040;
}

.privacy-text h3 {
    font-size: 24px;
    color: #ffffff;
    margin: 32px 0 16px;
}

.privacy-text ul {
    list-style-type: disc;
    margin-left: 24px;
    margin-bottom: 16px;
}

.privacy-text li {
    margin-bottom: 8px;
    color: #b3b3b3;
}

.privacy-text a.text-primary {
    color: #0270D7;
    text-decoration: none;
}

.privacy-text a.text-primary:hover {
    text-decoration: underline;
}

.mb-16 {
    margin-bottom: 16px;
} 