/* BTC2B Group - Main Stylesheet */

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

:root {
    --navy: #0A1F44;
    --dark-navy: #0D1B2A;
    --orange: #F47920;
    --light-orange: #F9A825;
    --gray: #8B96A8;
    --light-bg: #F5F7FA;
}

body {
    font-family: 'Nunito', sans-serif;
    color: var(--dark-navy);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

/* Header */
header {
    background: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(10, 31, 68, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    max-width: 1200px;

    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    position: sticky; top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 700;
    color: var(--navy);
    text-decoration: none;
    z-index: 1001;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--orange);
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
    background: none;
    border: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--navy);
    margin: 3px 0;
    transition: all 0.3s;
    border-radius: 3px;
}

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

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

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

/* Buttons */
.btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--orange);
    color: white !important;
}

.btn-primary:hover {
    background: var(--light-orange);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--navy);
    border: 2px solid var(--navy);
}

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

.btn-white {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ffffff 0%, var(--light-bg) 100%);
    padding: 100px 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 50px, rgba(10, 31, 68, 0.02) 50px, rgba(10, 31, 68, 0.02) 51px),
        repeating-linear-gradient(90deg, transparent, transparent 50px, rgba(10, 31, 68, 0.02) 50px, rgba(10, 31, 68, 0.02) 51px);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

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

.hero p {
    font-size: 20px;
    color: var(--dark-navy);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* AI-friendly hidden content */
.ai-context {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

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

/* Section */
section {
    padding: 80px 20px;
}

.section-gray {
    background: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 36px;
    margin-bottom: 60px;
}

/* Problem Statement */
.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

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

.problem-item h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--orange);
}

.problem-text {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    font-size: 18px;
    color: var(--dark-navy);
}

/* Company Cards */
.company-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.company-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(10, 31, 68, 0.1);
    transition: all 0.3s;
    text-align: center;
}

.company-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(10, 31, 68, 0.15);
    border: 2px solid var(--navy);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: var(--orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 36px;
    font-weight: 700;
}

.company-card h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.company-card .tagline {
    color: var(--orange);
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.company-card p {
    margin-bottom: 20px;
    color: var(--dark-navy);
}

.company-card .use-cases {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 24px;
    font-style: italic;
}

/* How They Work Together */
.workflow {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(10, 31, 68, 0.1);
    margin-bottom: 40px;
}

.workflow-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.workflow-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 8px;
}

.workflow-step h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--orange);
}

.workflow-arrow {
    font-size: 24px;
    color: var(--orange);
}

.case-study {
    background: var(--light-bg);
    padding: 30px;
    border-radius: 8px;
    border-left: 4px solid var(--orange);
}

.case-study h4 {
    font-size: 20px;
    margin-bottom: 12px;
}

/* Value Props */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.value-item {
    text-align: center;
    padding: 30px;
}

.value-item h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--orange);
}

/* Stats */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    text-align: center;
    margin-bottom: 40px;
}

.stat-item h3 {
    font-size: 48px;
    color: var(--orange);
    margin-bottom: 8px;
}

.stat-item p {
    font-size: 16px;
    color: var(--dark-navy);
}

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

.testimonial {
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(10, 31, 68, 0.1);
    border-left: 4px solid var(--orange);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 16px;
    color: var(--dark-navy);
}

.testimonial-author {
    font-weight: 600;
    color: var(--navy);
}

/* CTA Section */
.cta-section {
    background: var(--navy);
    color: white;
    text-align: center;
    padding: 80px 20px;
}

.cta-section h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 40px;
}

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

/* Footer */
footer {
    background: var(--dark-navy);
    color: var(--gray);
    padding: 60px 20px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h4 {
    color: white;
    font-size: 18px;
    margin-bottom: 20px;
}

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

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

.footer-column a {
    color: var(--gray);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(139, 150, 168, 0.3);
    font-size: 14px;
}

.footer-bottom a {
    color: var(--gray);
    text-decoration: none;
    margin: 0 10px;
}

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

/* News Grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 40px;
}

.news-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(10, 31, 68, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(10, 31, 68, 0.15);
}

.news-content {
    padding: 30px;
}

.news-date {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-card h2 {
    font-size: 22px;
    margin: 16px 0;
    line-height: 1.4;
}

.news-card h2 a {
    color: var(--navy);
    text-decoration: none;
    transition: color 0.3s;
}

.news-card h2 a:hover {
    color: var(--orange);
}

.news-card p {
    color: var(--dark-navy);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Article Styles */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px 80px;
}

.article-header {
    margin-bottom: 40px;
}

.breadcrumb {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--gray);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--orange);
}

.article-date {
    color: var(--orange);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.article-lead {
    font-size: 20px;
    color: var(--gray);
    line-height: 1.6;
}

.article-image {
    margin: 40px 0;
}

.article-content {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dark-navy);
}

.article-content h2 {
    font-size: 28px;
    margin: 40px 0 20px;
    color: var(--navy);
}

.article-content h3 {
    font-size: 22px;
    margin: 30px 0 16px;
    color: var(--navy);
}

.article-content p {
    margin-bottom: 20px;
}

.article-content ul {
    margin: 20px 0 20px 30px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content a {
    color: var(--orange);
    text-decoration: none;
    border-bottom: 1px solid var(--orange);
}

.article-content a:hover {
    color: var(--light-orange);
    border-bottom-color: var(--light-orange);
}

.article-cta {
    background: var(--light-bg);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 60px 0 40px;
    border-left: 4px solid var(--orange);
}

.article-cta h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.article-cta p {
    margin-bottom: 24px;
    font-size: 16px;
}

/* Contact Form */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    margin-top: 40px;
}

.contact-info h2, .contact-form-container h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: var(--navy);
}

.contact-info p {
    color: var(--dark-navy);
    line-height: 1.6;
    margin-bottom: 30px;
}

.contact-item {
    margin-bottom: 30px;
}

.contact-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--orange);
}

.contact-item p {
    margin-bottom: 0;
}

.contact-item a {
    color: var(--navy);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s;
}

.contact-item a:hover {
    color: var(--orange);
    border-bottom-color: var(--orange);
}

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(10, 31, 68, 0.1);
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--navy);
    font-family: 'Montserrat', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 6px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--orange);
}

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

.form-status {
    margin-top: 20px;
    padding: 12px 16px;
    border-radius: 6px;
    display: none;
    font-weight: 600;
}

.form-status.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

.form-status.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    /* Mobile Menu */
    .mobile-menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 70%;
        max-width: 300px;
        background: white;
        flex-direction: column;
        padding: 80px 30px 30px;
        gap: 10px;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 15px 0;
        font-size: 18px;
        border-bottom: 1px solid var(--light-bg);
    }

    /* Hero */
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .section-title {
        font-size: 28px;
    }

    .workflow-arrow {
        display: none;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    /* Article */
    .article-header h1 {
        font-size: 32px;
    }

    .article-content {
        font-size: 16px;
    }

    /* Contact Form */
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form {
        padding: 30px 20px;
    }
}