/* ==========================================================================
   TiNova Health - World-Class Healthcare Infrastructure Website
   Complete CSS with all design fixes applied
   ========================================================================== */

/* ==========================================================================
   ROOT & RESET
   ========================================================================== */

:root {
    /* Brand Colors */
    --color-navy: #0A1929;
    --color-navy-light: #102A4C;
    --color-navy-lighter: #0D2244;
    --color-teal: #00B4B4;
    --color-cyan: #00E5E5;
    --color-white: #FFFFFF;
    --color-grey-light: #F5F7FA;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --spacing-unit: 8px;
    --container-max: 1320px;
    
    /* Transitions */
    --transition-smooth: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 18px;
    line-height: 1.7;
    color: var(--color-navy);
    background: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   INTRO OVERLAY ANIMATION (FIX 3)
   ========================================================================== */

#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: var(--color-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

#intro-overlay.fade-out {
    opacity: 0;
    transform: translateY(-100%);
}

.intro-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.intro-logo-wrap {
    opacity: 0;
    transform: scale(0.85);
    animation: introLogoIn 0.9s var(--transition-smooth) 0.3s forwards;
}

.intro-logo {
    height: 120px;
    width: auto;
    max-width: 340px;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(0,180,180,0.4));
}

.intro-divider {
    width: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-teal), transparent);
    opacity: 0;
    animation: introDividerIn 0.6s ease 1.1s forwards;
}

.intro-tagline {
    font-family: var(--font-primary);
    font-size: 28px;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    margin: 0;
    opacity: 0;
    transform: translateY(16px);
    animation: introTextIn 0.7s ease 1.2s forwards;
    text-align: center;
    max-width: 500px;
    line-height: 1.4;
}

.intro-sub {
    font-family: var(--font-primary);
    font-size: 13px;
    font-weight: 600;
    color: var(--color-teal);
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin: 0;
    opacity: 0;
    animation: introTextIn 0.7s ease 1.5s forwards;
}

@keyframes introLogoIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes introDividerIn {
    to {
        width: 200px;
        opacity: 1;
    }
}

@keyframes introTextIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================================================
   HEADER (FIX 2 & FIX 7)
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--color-navy);
    height: 96px;
    transition: box-shadow 0.3s ease, background 0.3s ease;
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 32px;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 96px;
}

.logo-link {
    display: block;
}

.header-logo {
    height: 72px;
    width: auto;
    display: block;
    object-fit: contain;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: rgba(255,255,255,0.85);
    position: relative;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-cyan);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-teal);
}

.nav-dropdown {
    position: relative;
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 4px;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-navy-light);
    border: 1px solid rgba(0,180,180,0.2);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 240px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    transform: translateX(-50%) translateY(-8px);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    font-size: 15px;
    color: var(--color-white);
    transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: rgba(0,180,180,0.1);
    color: var(--color-teal);
}

.nav-cta {
    border: 1px solid var(--color-teal);
    border-radius: 4px;
    padding: 8px 20px;
    color: var(--color-cyan);
}

.nav-cta:hover {
    background: var(--color-teal);
    color: var(--color-navy);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 24px;
}

.mobile-menu-btn span {
    width: 100%;
    height: 3px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION (FIX 6)
   ========================================================================== */

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,25,41,0.85) 0%, rgba(10,25,41,0.65) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 920px;
    margin: 0 auto;
    padding: 0 32px;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 24px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin-bottom: 40px;
}

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

.btn {
    display: inline-block;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-cyan) 100%);
    color: var(--color-navy);
    box-shadow: 0 8px 24px rgba(0,180,180,0.3);
}

.btn-primary:hover {
    box-shadow: 0 12px 32px rgba(0,180,180,0.5);
    transform: translateY(-2px);
}

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

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

.hero-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 3;
}

.indicator {
    width: 40px;
    height: 3px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--color-teal);
    transition: width 0.3s ease;
}

.indicator.active {
    background: rgba(255,255,255,0.3);
}

.indicator.active::before {
    width: 100%;
    animation: indicatorProgress 5s linear;
}

@keyframes indicatorProgress {
    from { width: 0; }
    to { width: 100%; }
}

.hero-scroll-hint {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    transition: opacity 0.3s ease;
}

.hero-scroll-hint.hidden {
    opacity: 0;
}

.scroll-arrow {
    margin-top: 8px;
    font-size: 20px;
    animation: scrollBounce 2s infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ==========================================================================
   SECTIONS
   ========================================================================== */

.section-padding {
    padding: 120px 0;
}

.section-header {
    margin-bottom: 80px;
}

.section-header.centered {
    text-align: center;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 80px;
}

.section-caption {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 16px;
}

.section-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: var(--color-navy);
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.section-subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.7;
    color: rgba(10,25,41,0.7);
}

.dark-section {
    background: var(--color-navy);
}

.dark-section .section-header.light .section-title,
.dark-section .section-header.light .section-subtitle {
    color: var(--color-white);
}

.dark-section .section-header.light .section-subtitle {
    opacity: 0.75;
}

.bg-light {
    background: var(--color-grey-light);
}

.text-teal {
    color: var(--color-teal);
}

/* ==========================================================================
   CONCEPT SECTION (FIX 10)
   ========================================================================== */

.concept-visual {
    display: flex;
    justify-content: center;
    margin-top: 80px;
}

.ecosystem-diagram {
    position: relative;
    width: 600px;
    height: 600px;
}

.ecosystem-connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.ecosystem-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--color-teal), var(--color-cyan));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    color: var(--color-white);
    z-index: 3;
    animation: pulse-ring 2.5s infinite;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 rgba(0,180,180,0.4);
    }
    70% {
        box-shadow: 0 0 0 20px rgba(0,180,180,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,180,180,0);
    }
}

.ecosystem-node {
    position: absolute;
    width: 70px;
    height: 70px;
    background: rgba(0,180,180,0.12);
    border: 1.5px solid rgba(0,180,180,0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--color-white);
    text-align: center;
    line-height: 1.3;
    padding: 8px;
    z-index: 2;
}

.ecosystem-node.node-1 {
    top: 65px;
    left: 50%;
    transform: translateX(-50%);
}

.ecosystem-node.node-2 {
    top: 165px;
    right: 65px;
}

.ecosystem-node.node-3 {
    top: 305px;
    right: 65px;
}

.ecosystem-node.node-4 {
    bottom: 65px;
    left: 50%;
    transform: translateX(-50%);
}

.ecosystem-node.node-5 {
    top: 305px;
    left: 65px;
}

/* ==========================================================================
   WHY TINOVA SECTION (FIX 8)
   ========================================================================== */

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

.why-card {
    background: var(--color-white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.why-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.why-image {
    height: 240px;
    overflow: hidden;
}

.why-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.why-card:hover .why-image img {
    transform: scale(1.05);
}

.why-body {
    padding: 32px;
}

.why-title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 16px;
    line-height: 1.3;
}

.why-text {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(10,25,41,0.7);
}

/* ==========================================================================
   MODULES SECTION (FIX 4)
   ========================================================================== */

.modules-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.module-card {
    background: linear-gradient(145deg, var(--color-navy-light) 0%, var(--color-navy-lighter) 100%);
    border: 1px solid rgba(0,180,180,0.2);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.4s var(--transition-smooth), 
                box-shadow 0.4s ease,
                border-color 0.3s ease;
    position: relative;
}

.module-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-teal), var(--color-cyan));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.module-card:hover {
    transform: translateY(-12px);
    border-color: var(--color-teal);
    box-shadow: 0 32px 80px rgba(0,180,180,0.2),
                0 8px 24px rgba(0,0,0,0.4);
}

.module-card:hover::before {
    opacity: 1;
}

.module-image {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.module-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10,25,41,0.4);
    transition: background 0.3s ease;
}

.module-card:hover .module-image::after {
    background: rgba(10,25,41,0.2);
}

.module-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.module-card:hover .module-image img {
    transform: scale(1.08);
}

.module-body {
    padding: 28px 28px 32px;
}

.module-number {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 12px;
}

.module-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 12px;
}

.module-description {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
    margin-bottom: 20px;
}

.module-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-teal);
    display: inline-block;
    position: relative;
    padding-bottom: 2px;
}

.module-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-teal);
    transition: width 0.3s ease;
}

.module-link:hover::after {
    width: 100%;
}

.modules-cta {
    margin-top: 60px;
}

.cta-content {
    background: rgba(0,180,180,0.08);
    border: 1px solid rgba(0,180,180,0.2);
    border-radius: 16px;
    padding: 40px;
    text-align: center;
}

.cta-text {
    font-size: 20px;
    color: var(--color-white);
    margin-bottom: 24px;
    line-height: 1.6;
}

/* ==========================================================================
   BENEFIT SECTION (FIX 9)
   ========================================================================== */

.benefit-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 48px rgba(0,0,0,0.15);
}

.benefit-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 3px solid rgba(0,180,180,0.2);
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benefit-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 12px;
}

.benefit-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(10,25,41,0.7);
}

/* ==========================================================================
   FOUNDER SECTION (FIX 1)
   ========================================================================== */

.founder-content {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 80px;
    align-items: center;
}

.founder-image-wrap {
    position: relative;
}

.founder-image {
    width: 100%;
    max-width: 460px;
    border-radius: 16px;
    border: 3px solid rgba(0,180,180,0.3);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    object-fit: cover;
    aspect-ratio: 3/4;
}

.founder-badge {
    position: absolute;
    bottom: 24px;
    left: 24px;
    background: rgba(10,25,41,0.95);
    backdrop-filter: blur(10px);
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid rgba(0,180,180,0.3);
}

.badge-role {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 4px;
}

.badge-name {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    display: block;
}

.founder-text {
    max-width: 720px;
}

.founder-quote p {
    font-size: 20px;
    line-height: 1.8;
    color: rgba(10,25,41,0.85);
    margin-bottom: 28px;
    font-style: italic;
}

.founder-signature {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 2px solid rgba(0,180,180,0.2);
    font-size: 17px;
    color: var(--color-navy);
    line-height: 1.6;
}

.founder-signature strong {
    font-weight: 700;
    font-size: 20px;
    color: var(--color-navy);
}

/* ==========================================================================
   TRUST & COMPLIANCE
   ========================================================================== */

.badges-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
}

.badge-item {
    text-align: center;
    padding: 32px;
    background: rgba(0,180,180,0.08);
    border: 1px solid rgba(0,180,180,0.2);
    border-radius: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.badge-item:hover {
    transform: translateY(-4px);
    border-color: var(--color-teal);
}

.badge-icon {
    font-size: 40px;
    color: var(--color-teal);
    margin-bottom: 16px;
}

.badge-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1.4;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 80px;
}

.contact-info-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: 32px;
}

.contact-details {
    margin-bottom: 48px;
}

.detail-item {
    margin-bottom: 28px;
}

.detail-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 8px;
}

.detail-value {
    font-size: 18px;
    font-weight: 500;
    color: var(--color-navy);
    line-height: 1.7;
}

.detail-value a {
    color: var(--color-teal);
}

.detail-value a:hover {
    text-decoration: underline;
}

.contact-categories {
    padding-top: 32px;
    border-top: 2px solid rgba(0,180,180,0.2);
}

.category-item {
    margin-bottom: 20px;
    font-size: 15px;
    line-height: 1.7;
}

.category-item strong {
    display: block;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 4px;
}

.category-item a {
    color: var(--color-teal);
}

.contact-form {
    background: var(--color-grey-light);
    padding: 48px;
    border-radius: 16px;
    border: 1px solid rgba(0,180,180,0.1);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-navy);
    margin-bottom: 8px;
}

input,
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 16px;
    font-family: var(--font-primary);
    color: var(--color-navy);
    background: var(--color-white);
    border: 1px solid rgba(10,25,41,0.2);
    border-radius: 6px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-teal);
    box-shadow: 0 0 0 3px rgba(0,180,180,0.1);
}

textarea {
    resize: vertical;
}

.btn-full {
    width: 100%;
}

.form-note {
    margin-top: 16px;
    font-size: 13px;
    color: rgba(10,25,41,0.6);
    text-align: center;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */

.cta-section {
    background: var(--color-grey-light);
}

.cta-box {
    background: var(--color-white);
    border: 2px solid rgba(0,180,180,0.2);
    border-radius: 20px;
    padding: 60px;
    text-align: center;
    box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

.cta-title {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-navy);
    margin-bottom: 20px;
    line-height: 1.3;
}

.cta-box .cta-text {
    font-size: 18px;
    color: rgba(10,25,41,0.7);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    background: var(--color-navy);
    padding: 80px 0 40px;
    color: var(--color-white);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 40px;
    width: auto;
    margin-bottom: 20px;
}

.footer-tagline {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-teal);
    margin-bottom: 16px;
}

.footer-text {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(255,255,255,0.65);
}

.footer-heading {
    font-size: 16px;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}

.footer-links {
    list-style: none;
}

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

.footer-links a,
.footer-contact li,
.footer-contact a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--color-teal);
}

.footer-contact {
    list-style: none;
}

.footer-contact li {
    margin-bottom: 16px;
    line-height: 1.6;
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    margin-bottom: 8px;
}

.footer-compliance {
    font-size: 13px;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.08em;
}

/* ==========================================================================
   MODULE PAGES
   ========================================================================== */

.module-page {
    padding-top: 96px;
}

.back-to-home {
    background: var(--color-grey-light);
    padding: 20px 0;
}

.back-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-teal);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: gap 0.3s ease;
}

.back-link:hover {
    gap: 12px;
}

.module-hero {
    position: relative;
    height: 60vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: cover;
    background-position: center;
}

.module-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(10,25,41,0.85) 0%, rgba(10,25,41,0.65) 100%);
}

.module-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.module-badge {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid var(--color-teal);
    border-radius: 20px;
    margin-bottom: 24px;
}

.module-hero-title {
    font-size: 64px;
    font-weight: 900;
    color: var(--color-white);
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.01em;
}

.module-hero-subtitle {
    font-size: 22px;
    font-weight: 400;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
}

.module-intro,
.feature-section {
    overflow: hidden;
}

.content-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-row.reverse {
    direction: rtl;
}

.content-row.reverse > * {
    direction: ltr;
}

.content-col {
}

.content-text {
}

.content-title {
    font-size: 44px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 24px;
}

.content-body {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(10,25,41,0.75);
    margin-bottom: 20px;
}

.content-image {
}

.content-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.feature-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 12px;
}

.feature-title {
    font-size: 36px;
    font-weight: 800;
    color: var(--color-navy);
    line-height: 1.2;
    margin-bottom: 20px;
}

.feature-text {
    font-size: 17px;
    line-height: 1.8;
    color: rgba(10,25,41,0.75);
    margin-bottom: 16px;
}

.blog-section {
    background: var(--color-navy);
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.blog-card {
    background: var(--color-navy-light);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0,180,180,0.2);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-teal);
}

.blog-image {
    height: 200px;
    overflow: hidden;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-body {
    padding: 28px;
}

.blog-category {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-teal);
    display: block;
    margin-bottom: 12px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-white);
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-excerpt {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255,255,255,0.65);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 1199px) {
    .header-logo {
        height: 56px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .module-hero-title {
        font-size: 52px;
    }
    
    .content-title,
    .feature-title {
        font-size: 36px;
    }
    
    .founder-content {
        grid-template-columns: 380px 1fr;
        gap: 60px;
    }
    
    .founder-image {
        max-width: 380px;
    }
}

@media (max-width: 1023px) {
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .modules-grid .module-card:nth-child(5) {
        grid-column: 1 / -1;
        max-width: 500px;
        margin: 0 auto;
    }
}

@media (max-width: 767px) {
    .header {
        height: 72px;
    }
    
    .header-inner {
        height: 72px;
    }
    
    .header-logo {
        height: 44px;
    }
    
    .main-nav {
        position: fixed;
        top: 72px;
        right: -100%;
        width: 280px;
        height: calc(100vh - 72px);
        background: var(--color-navy-light);
        flex-direction: column;
        align-items: flex-start;
        padding: 32px;
        gap: 24px;
        transition: right 0.3s ease;
        overflow-y: auto;
        z-index: 999;
    }
    
    .main-nav.active {
        right: 0;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        margin-top: 8px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .module-page {
        padding-top: 72px;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .intro-logo {
        height: 80px;
        max-width: 240px;
    }
    
    .intro-tagline {
        font-size: 20px;
        max-width: 320px;
    }
    
    .section-padding {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .section-subtitle {
        font-size: 17px;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid {
        grid-template-columns: 1fr;
    }
    
    .modules-grid .module-card:nth-child(5) {
        max-width: none;
    }
    
    .benefit-grid {
        grid-template-columns: 1fr;
    }
    
    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .founder-image {
        max-width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .module-hero {
        min-height: 400px;
    }
    
    .module-hero-title {
        font-size: 36px;
    }
    
    .module-hero-subtitle {
        font-size: 17px;
    }
    
    .content-row,
    .content-row.reverse {
        grid-template-columns: 1fr;
        gap: 40px;
        direction: ltr;
    }
    
    .content-title {
        font-size: 32px;
    }
    
    .feature-title {
        font-size: 28px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 40px 24px;
    }
    
    .cta-title {
        font-size: 28px;
    }
    
    .contact-form {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .ecosystem-diagram {
        transform: scale(0.7);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .module-hero-title {
        font-size: 28px;
    }
    
    .content-title {
        font-size: 26px;
    }
    
    .cta-title {
        font-size: 24px;
    }
}