/* Reset and Base Styles */
:root {
    --primary-color: #ff6b00;
    --secondary-color: #fdbd56;
    --background-color: #f8f9fa;
    --card-bg-color: #ffffff;
    --text-color: #333333;
    --muted-color: #6c757d;
    --border-color: #e9ecef;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --border-radius: 12px;
    --box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 500;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-secondary {
    color: var(--text-color);
    border-color: var(--border-color);
    border-radius: 30px;
    padding: 10px 24px;
    font-weight: 500;
}

.btn-outline-secondary:hover, .btn-outline-secondary:focus {
    background-color: var(--border-color);
    color: var(--text-color);
}

section {
    padding: 80px 0;
}

/* Header and Navigation */
header {
    padding: 20px 0;
}

.navbar-brand h1 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 0;
    line-height: 1;
}

.navbar-brand h1 span {
    color: var(--primary-color);
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 8px 16px;
    color: var(--text-color);
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color);
}

.navbar-nav .nav-link.btn {
    color: white;
    margin-left: 10px;
}

.navbar-nav .nav-link.btn:hover {
    color: white;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
}

.hero h2 {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
}

.hero p {
    font-size: 18px;
    margin-bottom: 40px;
    color: var(--muted-color);
}

.hero-cta {
    display: flex;
    gap: 16px;
}

.hero-image {
    text-align: center;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* How It Works Section */
.how-it-works {
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    padding: 80px 40px;
    margin: 0 20px;
    box-shadow: var(--box-shadow);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
}

.section-header p {
    font-size: 18px;
    color: var(--muted-color);
    max-width: 600px;
    margin: 0 auto;
}

.step-card {
    text-align: center;
    padding: 40px 25px;
    margin-bottom: 30px;
    position: relative;
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: var(--primary-color);
}

.step-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 25px;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
    transition: transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

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

.step-card h3 {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 600;
}

.step-card p {
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.6;
}

/* Benefits Section */
.benefits {
    padding: 100px 0;
}

.benefit-card {
    text-align: center;
    padding: 30px 20px;
    margin-bottom: 30px;
    background-color: var(--card-bg-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    max-width: 100%;
}

.benefit-card h3 {
    font-size: 18px;
    margin-bottom: 16px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--muted-color);
}

/* CTA Section */
.cta-section {
    background-color: var(--primary-color);
    color: white;
    border-radius: var(--border-radius);
    padding: 60px 40px;
    margin: 0 20px 80px;
}

.cta-section h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta-section p {
    font-size: 18px;
    margin-bottom: 0;
    opacity: 0.9;
}

.cta-section .btn-primary {
    background-color: white;
    border-color: white;
    color: var(--primary-color);
}

.cta-section .btn-primary:hover {
    background-color: var(--background-color);
    border-color: var(--background-color);
}

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

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

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding-top: 60px;
}

.footer-brand h1 {
    font-size: 24px;
    font-weight: 700;
}

.footer-brand h1 span {
    color: var(--primary-color);
}

.footer-brand p {
    color: var(--muted-color);
    margin-top: -5px;
}

footer h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

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

footer ul li {
    margin-bottom: 12px;
}

footer ul li a {
    color: var(--muted-color);
    transition: color 0.3s ease;
}

footer ul li a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    margin-bottom: 0;
    color: var(--muted-color);
}

.footer-bottom a {
    color: var(--muted-color);
    margin-left: 20px;
}

.footer-bottom a:hover {
    color: var(--primary-color);
}

/* Responsive Styles */
@media (max-width: 991px) {
    .hero {
        padding: 60px 0 80px;
    }
    
    .hero h2 {
        font-size: 36px;
    }
    
    .hero-image {
        margin-top: 40px;
    }
    
    .cta-section .text-lg-end {
        text-align: left !important;
        margin-top: 20px;
    }
}

@media (max-width: 767px) {
    section {
        padding: 60px 0;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .hero-cta .btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-section .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .cta-section .btn-outline-secondary {
        margin-left: 0 !important;
    }
    
    .footer-main {
        text-align: center;
    }
    
    .footer-brand {
        margin-bottom: 40px;
    }
    
    footer h4 {
        margin-top: 30px;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom .text-md-end {
        text-align: center !important;
        margin-top: 10px;
    }
    
    .footer-bottom a {
        display: block;
        margin: 10px 0;
    }
}

/* Add to the Header and Navigation section */
.brand-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand-logo {
    height: 80px;
    width: auto;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-tagline {
    font-size: 12px;
    color: var(--muted-color);
    margin-top: -5px;
    margin-bottom: 0;
    font-weight: 500;
}

/* Add this to style the Bootstrap icons in the benefit cards */
.benefit-icon i {
    font-size: 36px;
    color: var(--primary-color);
}

/* Make the benefit icon containers display the icons correctly */
.benefit-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Thetanuts Attribution Styles */
.thetanuts-attribution {
    background-color: rgba(255, 107, 0, 0.05);
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
    margin-bottom: 20px;
}

.thetanuts-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--muted-color);
    font-size: 15px;
}

.thetanuts-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 4px;
}

.thetanuts-icon {
    font-size: 18px;
    color: var(--primary-color);
    opacity: 0.8;
}

.thetanuts-info {
    display: inline-block;
    margin-left: 5px;
    font-size: 14px;
    cursor: help;
    position: relative;
}

.thetanuts-tooltip {
    display: none;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    padding: 12px;
    background-color: var(--card-bg-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    z-index: 100;
    text-align: left;
    color: var(--muted-color);
    font-size: 13px;
    font-weight: normal;
    line-height: 1.5;
}

.thetanuts-info:hover .thetanuts-tooltip {
    display: block;
}

.tech-learn-more {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--muted-color);
    font-size: 14px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tech-learn-more:hover {
    color: var(--primary-color);
}

.tech-learn-more i {
    font-size: 12px;
}

@media (max-width: 768px) {
    .tech-learn-more {
        display: none;
    }
    
    .thetanuts-container {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* Improved Technology Section Styling */
.technology-section {
    background-color: rgba(255, 107, 0, 0.05);
    padding: 60px 0;
    margin: 0 0 20px;
    border-bottom: 1px solid rgba(255, 107, 0, 0.1);
}

.technology-section .section-header p {
    max-width: 800px;
    margin: 0 auto;
    color: var(--muted-color);
    font-size: 18px;
    line-height: 1.6;
}

.technology-step {
    text-align: center;
    background-color: var(--card-bg-color);
    border: 1px solid rgba(255, 107, 0, 0.1);
    padding: 40px 25px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.technology-step:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(255, 107, 0, 0.15);
}

/* Improved Icon Styling */
.step-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background-color: rgba(255, 107, 0, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease;
    border: 2px solid rgba(255, 107, 0, 0.1);
}

.step-icon i {
    font-size: 40px;
    color: var(--primary-color);
}

.technology-step:hover .step-icon {
    transform: scale(1.05);
    background-color: rgba(255, 107, 0, 0.2);
}

.technology-step h3 {
    font-size: 22px;
    margin-bottom: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.technology-step p {
    color: var(--muted-color);
    font-size: 16px;
    line-height: 1.6;
}

.technology-footer {
    text-align: center;
    margin-top: 50px;
}

/* Styled Button */
.btn-outline-primary {
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 30px;
    padding: 12px 28px;
    font-weight: 500;
    background-color: transparent;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 0, 0.2);
}

/* Update the styling for the brand text */
.navbar-brand h1 span, .brand-text h1 span {
    color: var(--primary-color);
}

.visualization-container {
    width: 100%;
    height: 320px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    background-color: #f8f9fa;
    overflow: hidden;
  }

/* Add these styles at the end of your CSS file */
.simple-example {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    margin-top: 20px;
}

.simple-example .card-header {
    background-color: rgba(255, 107, 0, 0.1);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    padding: 15px 20px;
}

.simple-example .card-header h4 {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--text-color);
}

.simple-example .card-body {
    padding: 20px;
    background-color: var(--card-bg-color);
}

.example-scenario {
    margin: 15px 0;
}

.scenario-item {
    padding: 15px;
    background-color: rgba(248, 249, 250, 0.7);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.scenario-item:last-child {
    border-left: 3px solid var(--warning-color);
}

.scenario-item .badge {
    margin-bottom: 10px;
    padding: 6px 12px;
    font-weight: 500;
}

.scenario-item p {
    margin-bottom: 8px;
}

.scenario-item p:last-child {
    margin-bottom: 0;
}

.text-success {
    display: flex;
    align-items: center;
    gap: 6px;
}

.text-success i {
    font-size: 14px;
}

/* Add this responsive spacing fix */
@media (max-width: 767px) {
    .example-scenario .col-md-6:last-child {
        margin-top: 15px;
    }
}