@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Funding Banner */

:root {
    --primary-blue: #00477A;
    --primary-teal: #00B29E;
}

/* Funding Banner */
.funding-banner {
    background: #FF6B6B;
    color: white;
    padding: 12px 0;
    text-align: center;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1002;
    font-size: 14px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.funding-banner-content p {
    margin: 0;
    font-weight: 500;
}

/* Adjust header to sit below banner */
.header {
    position: fixed;
    top: 48px !important;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

/* Push all page content down to account for banner + header */
body {
    padding-top: 160px !important;
}

/* Specifically adjust the hero section */
.hero {
    padding-top: 160px !important;
}

/* Mobile responsiveness for banner */
@media (max-width: 768px) {
    .funding-banner {
        font-size: 12px;
        padding: 10px 1rem;
        height: 44px;
    }
    
    .header {
        top: 44px !important;
    }
    
    body {
        padding-top: 110px !important;
    }
}
/* Funding Banner ends */

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

:root {
    --primary-blue: #00477A;
    --primary-teal: #EF4444;
    --white: #FFFFFF;
    --black: #000000;
    --dark-gray: #333333;
    --light-gray: #F8FAFC;
    --border-gray: #E2E8F0;
    --text-secondary: #64748B;
    --accent-gold: #F8FAFC;
    --success-green: #F8FAFC;
    --warning-orange: #96CEB4;
    --error-red: #EF4444;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    background: #FFFFFF;
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo img {
    height: 75px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    transition: width 0.3s ease;
}

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

.nav-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
    box-shadow: 0 4px 20px rgba(0, 71, 122, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 71, 122, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

.btn-white {
    background: white;
    color: var(--primary-blue);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.btn-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.btn-hero {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    color: white;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    width: 100%;
}

.hero-content {
    text-align: center;
    margin-bottom: 4rem;
}

.hero-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}
.hero-icon {
    animation: cardFlip 3s ease-in-out infinite;
}

.hero-content h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.hero-content h2 {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
    color: var(--accent-gold);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
}

.stat-text {
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Common Section Styles */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* Architecture Section */
.architecture {
    background: var(--light-gray);
}

.architecture-diagram {
    position: relative;
    margin-bottom: 4rem;
}

.diagram-container {
    position: relative;
    background: white;
    border-radius: 30px;
    padding: 4rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.central-node {
    text-align: center;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
    border-radius: 25px;
    padding: 3rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 2;
}

.central-node .node-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.central-node h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.central-node p {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.node-features {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
}

.participant-nodes {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.participant-node {
    background: var(--light-gray);
    border: 2px solid var(--border-gray);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.participant-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.participant-node .node-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.participant-node h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.node-data {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.data-layer, .model-layer, .encryption-layer {
    padding: 0.8rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
}

.data-layer {
    background: #E3F2FD;
    color: #1565C0;
}

.model-layer {
    background: #F3E5F5;
    color: #7B1FA2;
}

.encryption-layer {
    background: #E8F5E8;
    color: #388E3C;
}

.connection-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.connection-line {
    position: absolute;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    height: 3px;
    border-radius: 2px;
    opacity: 0.6;
    animation: pulse 2s ease-in-out infinite;
}

.line-1 {
    top: 45%;
    left: 15%;
    width: 25%;
    transform: rotate(-15deg);
}

.line-2 {
    top: 45%;
    left: 35%;
    right: 35%;
    width: 30%;
}

.line-3 {
    top: 45%;
    right: 15%;
    width: 25%;
    transform: rotate(15deg);
}

@keyframes pulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

/* Credit Card Themed Elements */
.hero-icon {
    animation: cardFlip 3s ease-in-out infinite;
}

@keyframes cardFlip {
    0%, 100% {
        transform: rotateY(0deg);
    }
    50% {
        transform: rotateY(180deg);
    }
}

.architecture-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.benefit-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.benefit-card h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Data Sovereignty Section */
.data-sovereignty {
    background: white;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.content-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.content-text h3 {
    font-size: 1.3rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
    font-weight: 600;
}

.content-text p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

.sovereignty-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.sovereignty-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.sovereignty-feature .feature-icon {
    font-size: 2rem;
    min-width: 60px;
}

.feature-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.feature-content p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 1rem;
}

.data-flow-diagram {
    position: relative;
}

.data-flow-container {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.local-environment, .global-environment {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.local-environment h4, .global-environment h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    text-align: center;
}

.data-stage {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.stage-icon {
    font-size: 1.5rem;
    min-width: 30px;
}

.transmission-layer {
    text-align: center;
    padding: 1rem 0;
}

.encrypted-params {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    position: relative;
}

.encrypted-params::before, .encrypted-params::after {
    content: '↓';
    position: absolute;
    font-size: 2rem;
    color: var(--primary-blue);
    left: 50%;
    transform: translateX(-50%);
}

.encrypted-params::before {
    top: -3rem;
}

.encrypted-params::after {
    bottom: -3rem;
}

/* Federation Section */
.federation {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-teal) 100%);
    color: white;
}

.federation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.federation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.federation-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.card-icon {
    font-size: 2.5rem;
}

.card-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
}

.card-content p {
    margin-bottom: 1.5rem;
    opacity: 0.9;
    line-height: 1.6;
}

.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    opacity: 0.9;
    font-weight: 500;
}

/* Features Section */
.features {
    background: var(--light-gray);
}

.features-showcase {
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.feature-category {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.feature-category h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.feature-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-item {
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 15px;
    border-left: 4px solid var(--primary-teal);
}

.feature-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.8rem;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Integration Section */
.integration {
    background: white;
}

.integration-grid {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.integration-category {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 3rem;
}

.integration-category h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    text-align: center;
}

.integration-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.integration-item {
    display: flex;
    gap: 1rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.integration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.integration-icon {
    font-size: 2rem;
    min-width: 50px;
    color: var(--primary-teal);
}

.integration-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.integration-content p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Threat Intelligence Section */
.threat-intelligence {
    background: var(--light-gray);
}

.content-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.intelligence-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.intelligence-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.item-icon {
    font-size: 2rem;
    min-width: 60px;
    color: var(--primary-teal);
}

.item-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.item-content p {
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.intelligence-diagram {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.intelligence-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flow-stage {
    background: var(--light-gray);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    max-width: 280px;
    transition: all 0.3s ease;
}

.flow-stage:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.flow-stage .stage-icon {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.flow-stage h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.flow-stage p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.flow-arrow {
    font-size: 2rem;
    color: var(--primary-teal);
    font-weight: bold;
}

/* Performance Section */
.performance {
    background: white;
}

.performance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.performance-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.performance-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.performance-metric {
    margin-bottom: 1.5rem;
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-blue);
}

.performance-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
.cta {
    background: var(--light-gray);
    text-align: center;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.cta-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cta-feature .feature-icon {
    color: var(--primary-teal);
    font-size: 1.2rem;
}

/* Footer */
.footer {
    background: var(--black);
    color: white;
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--primary-teal);
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-section a {
    color: #ccc;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #333;
    color: #999;
}

.footer-bottom a {
    color: var(--primary-teal);
    text-decoration: none;
}

.footer-bottom a:hover {
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

/* Mobile Responsiveness */
@media (max-width: 1200px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .content-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .nav-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .logo img {
        height: 35px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .diagram-container {
        padding: 2rem;
    }
    
    .participant-nodes {
        grid-template-columns: 1fr;
    }
    
    .architecture-benefits {
        grid-template-columns: 1fr;
    }
    
    .federation-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-items {
        grid-template-columns: 1fr;
    }
    
    .integration-items {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .sovereignty-features {
        gap: 1rem;
    }
    
    .sovereignty-feature {
        flex-direction: column;
        text-align: center;
    }
    
    .intelligence-features {
        gap: 1rem;
    }
    
    .intelligence-item {
        flex-direction: column;
        text-align: center;
    }
    
    .integration-item {
        flex-direction: column;
        text-align: center;
    }
    
    .connection-line {
        display: none;
    }
}

@media (max-width: 480px) {
    .section {
        padding: 4rem 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .performance-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card,
    .performance-card {
        padding: 1.5rem;
    }
    
    .federation-card,
    .feature-category,
    .integration-category {
        padding: 2rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .section-subtitle {
        font-size: 1.1rem;
    }
}

/* Special Effects */
.architecture-diagram::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    right: -50px;
    bottom: -50px;
    background: 
        radial-gradient(circle at 20% 20%, rgba(0, 71, 122, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 178, 158, 0.1) 0%, transparent 50%);
    pointer-events: none;
    border-radius: 40px;
}

.central-node::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, rgba(255, 215, 0, 0.3), rgba(255, 255, 255, 0.1));
    border-radius: 35px;
    z-index: -1;
}

/* Hover Effects */
.federation-card:hover .card-icon,
.benefit-card:hover .benefit-icon,
.flow-stage:hover .stage-icon {
    animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
    0%, 20%, 60%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    80% {
        transform: translateY(-5px);
    }
}

/* Loading Animation for Architecture Diagram */
.diagram-container {
    animation: slideInUp 1s ease-out 0.5s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--light-gray);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-teal));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #003d6b, #00a085);
}