/* ====== DOCTRELLO GLOBAL STYLES ====== */
/* Variables, Typography, Buttons, Cards, Layout */
/* Brand Colors: #234c78 (Primary), #4c7031 (Secondary) */

/* ====== CSS VARIABLES ====== */
:root {
    --primary: #234c78;
    --secondary: #4c7031;
    --white: #ffffff;
    --light-bg: #f5f7fa;
    --text-dark: #1e2b3c;
    --text-soft: #4a5b6a;
    --border-light: #e6e9f0;
    --spacing-section: 100px;
    --spacing-mobile: 60px;
}

/* ====== TYPOGRAPHY & BASE STYLES ====== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--primary);
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.75rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

.display-4 {
    font-size: 3rem;
    font-weight: 700;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

.display-6 {
    font-size: 2rem;
    font-weight: 700;
}

p {
    color: var(--text-soft);
    line-height: 1.7;
}

.lead {
    font-size: 1.2rem;
    font-weight: 400;
    color: var(--text-soft);
}

/* ====== SECTION LABELS ====== */
.section-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
    display: block;
}

/* ====== GLOBAL BUTTON STYLES ====== */
.btn {
    padding: 0.75rem 2rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
    color: white;
}

.btn-primary:hover {
    background-color: #1a3a5a;
    border-color: #1a3a5a;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(35, 76, 120, 0.1);
}

.btn-outline-primary {
    border: 1.5px solid var(--primary);
    color: var(--primary);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(35, 76, 120, 0.1);
}

.btn-outline-secondary {
    border: 1.5px solid var(--secondary);
    color: var(--secondary);
    background: transparent;
}

.btn-outline-secondary:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(76, 112, 49, 0.1);
}

.btn-lg {
    padding: 0.875rem 2.5rem;
    font-size: 1rem;
}

/* ====== HERO SECTION ====== */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(to bottom, white, var(--light-bg) 100%);
}

.hero-sub {
    font-size: 1.2rem;
    color: var(--text-soft);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* ====== TRUST SECTION ====== */
.trust-section {
    background-color: var(--light-bg);
    padding: var(--spacing-section) 0;
}

.incubator-badge {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid var(--border-light);
    font-weight: 500;
    color: var(--primary);
    transition: all 0.2s ease;
}

.incubator-badge:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-color: var(--primary);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 60px;
}

.stat-item {
    font-size: 1rem;
    color: var(--text-soft);
    position: relative;
    text-align: center;
}

.stat-item strong {
    color: var(--primary);
    font-size: 1.75rem;
    display: block;
    font-weight: 700;
    margin-bottom: 5px;
}

/* ====== SERVICE CARDS (What We Do) ====== */
.service-card {
    background: white;
    padding: 35px 25px;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.service-card:hover {
    box-shadow: 0 15px 35px rgba(35, 76, 120, 0.05);
    border-color: transparent;
    transform: translateY(-5px);
}

.service-icon {
    font-size: 2.5rem;
    line-height: 1;
}

/* ====== PATH CARDS (B2B/B2C Split) ====== */
.path-card {
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.path-card:hover {
    box-shadow: 0 25px 45px rgba(35, 76, 120, 0.08);
    border-color: transparent;
}

.path-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.path-features {
    list-style: none;
    padding: 0;
}

.path-features li {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
}

.path-features li span {
    margin-right: 10px;
}

/* ====== STEP CARDS (How It Works) ====== */
.step-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    height: 100%;
    padding: 30px 20px;
}

.step-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(35, 76, 120, 0.03);
}

.step-number {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid var(--border-light);
    margin: 0 auto 20px;
}

/* ====== MONETIZATION CARDS ====== */
.monetization-card {
    background: white;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    height: 100%;
    padding: 25px 15px;
}

.monetization-card:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(35, 76, 120, 0.1);
}

.monetization-card:hover .h4,
.monetization-card:hover h5,
.monetization-card:hover p {
    color: white !important;
}

/* ====== ECOSYSTEM CARDS ====== */
.ecosystem-card {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    height: 100%;
}

.ecosystem-card:hover {
    box-shadow: 0 20px 40px rgba(35, 76, 120, 0.05);
    border-color: transparent;
    transform: translateY(-5px);
}

.ecosystem-badge {
    display: inline-block;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ecosystem-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.ecosystem-sub {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 1.5rem;
}

.ecosystem-audience {
    font-size: 0.8rem;
    color: var(--text-soft);
    font-style: italic;
    margin-top: 1.5rem;
}

/* ====== PLATFORM CARDS ====== */
.platform-card {
    background: white;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
    height: 100%;
}

.platform-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(35, 76, 120, 0.03);
}

.platform-domain {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.platform-tagline {
    font-size: 0.95rem;
    color: var(--secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

/* ====== BENEFITS LIST ====== */
.benefits-list {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}

.benefits-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 1rem;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-light);
}

.benefits-list li:last-child {
    border-bottom: none;
}

.benefits-list li:before {
    content: "—";
    color: var(--secondary);
    font-weight: 700;
    position: absolute;
    left: 0;
}

/* ====== VISION SECTION ====== */
.vision-section {
    background: linear-gradient(135deg, white, var(--light-bg));
    padding: var(--spacing-section) 0;
}

.vision-quote {
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--primary);
    line-height: 1.5;
    border-left: 4px solid var(--secondary);
    padding-left: 30px;
    margin-top: 0;
    font-style: normal;
}

.vision-stat-card {
    background: white;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    border-left: 6px solid var(--secondary);
}

/* ====== CTA SECTION ====== */
.cta-section {
    padding: 100px 0;
    text-align: center;
    background: white;
}

.cta-title {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.final-cta {
    padding: 100px 0;
    background: white;
    border-top: 1px solid var(--border-light);
}

/* ====== BACK TO TOP BUTTON ====== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--primary);
    color: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(35, 76, 120, 0.2);
    z-index: 9999;
    border: none;
    cursor: pointer;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: var(--secondary);
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(76, 112, 49, 0.3);
}

.back-to-top:hover i {
    transform: translateY(-3px);
}

/* ====== BADGES ====== */
.badge {
    padding: 6px 12px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.7rem;
    letter-spacing: 0.03em;
}

.badge.bg-light {
    background-color: var(--light-bg) !important;
    color: var(--text-soft);
}

/* ====== ANIMATIONS ====== */
.fade-in {
    animation: fadeIn 0.8s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hover-lift {
    transition: transform 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
}

/* ====== RESPONSIVE GLOBAL STYLES ====== */

/* Large Desktop */
@media (max-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    :root { --spacing-section: 80px; }
    .display-4 { font-size: 2.75rem; }
}

/* Tablet Landscape */
@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .hero { padding: 60px 0 80px; }
    .stats { flex-direction: column; gap: 30px; align-items: center; }
    .stat-item { width: 100%; max-width: 300px; }
    .vision-quote { font-size: 1.25rem; margin-top: 30px; }
    .ecosystem-title { font-size: 1.5rem; }
    .ecosystem-sub { font-size: 1.1rem; }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    .display-4 { font-size: 2.25rem; }
    .display-5 { font-size: 2rem; }
    .display-6 { font-size: 1.75rem; }
    .hero { padding: 40px 0 60px; text-align: center; }
    .hero-sub { font-size: 1.1rem; }
    .btn { width: 100%; margin-bottom: 10px; }
    .hero-buttons { flex-direction: column; gap: 10px; }
    .ecosystem-card { padding: 30px; }
    .platform-card { padding: 25px; }
    .cta-section { padding: 60px 0; }
    .cta-title { font-size: 2rem; }
    .benefits-list li { font-size: 0.95rem; }
    .vision-stat-card { margin-top: 30px; }
    .back-to-top { bottom: 25px; right: 25px; width: 45px; height: 45px; }
}

/* Mobile */
@media (max-width: 576px) {
    .container { padding-left: 20px; padding-right: 20px; }
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    .display-4 { font-size: 2rem; }
    .display-5 { font-size: 1.75rem; }
    .display-6 { font-size: 1.5rem; }
    .section-label { font-size: 0.7rem; }
    .incubator-badge { padding: 15px; font-size: 0.85rem; }
    .stat-item strong { font-size: 1.5rem; }
    .service-card { padding: 25px 20px; }
    .service-icon { font-size: 2rem; }
    .step-number { width: 40px; height: 40px; font-size: 1.25rem; }
    .btn-lg { padding: 0.75rem 1.5rem; font-size: 0.95rem; }
    .back-to-top { bottom: 20px; right: 20px; width: 40px; height: 40px; font-size: 1rem; }
}

/* Small Mobile */
@media (max-width: 375px) {
    h1 { font-size: 1.5rem; }
    .hero-sub { font-size: 1rem; }
    .stat-item strong { font-size: 1.25rem; }
    .path-badge { padding: 4px 12px; font-size: 0.65rem; }
}