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

:root {
    --bg-light: #f6f7f4;
    --text-dark: #1a1e1c;
    --text-muted: #5e6b64;
    --ring-color: #ff3d3d33;     /* Injected Dark Theme Variables */
    --red-light: #FF3D3D;
    --red-light-08: #FF3D3D14;
    --red-light-12: #FF3D3D1F;
    --red-light-00: #FF3D3D00;
    --aic-primary: #FF3D3D;
    --aic-primary-dark: #3b0000;
    --aic-bg-dark: #0a0a0a;
    --aic-bg-card: #1a1a1a;
    --aic-bg-hover: #FFFFFF14;
    --aic-text-white: #fff;
    --aic-text-light: #ccc;
    --aic-text-secondary: #FFF9;
    --aic-border: #FFFFFF1A;
    --aic-gradient: linear-gradient(to bottom, var(--aic-primary), var(--aic-primary-dark));
    --aic-btn-gradient: linear-gradient(to bottom, #FFF, #333);
    --radial-gradient-color-one: #DC35454D;
    --radial-gradient-color-two: #DC35454D;
}

body {
    background-color: var(--bg-light);
    color: var(--text-dark);
    font-family: Poppins;
}

html,body{
    overflow-x: hidden;
}

/*  NAVBAR */
.navbar {
    padding: 1.5rem 2rem;
    background-color: var(--bg-light) !important;
    border-bottom: 1px solid #0000000d;
}

.navbar-brand {
    color: var(--aic-primary) !important;
    font-size: 1.5rem;
    letter-spacing: -0.05em;
}

.navbar-logo {
    height: 35px;
}

.navbar-logo-mobile{
    height: 25px;
}

.nav-link {
    color: var(--text-dark) !important;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 0.8rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--aic-primary) !important;
}

.aic-logo{
    color: var(--aic-primary);
}

/* --- AIC ONE Mobile Offcanvas Nav --- */
body.no-scroll { 
    overflow: hidden !important; 
}

/* The 20% Overlay */
.nav-overlay {
    background-color: #0006; 
    z-index: 1040 !important;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* The 80% Sidebar Menu */
.custom-mobile-nav {
    right: -100%;
    width: 80%; 
    max-width: 400px; 
    z-index: 1050 !important;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.custom-mobile-nav.open { 
    right: 0; 
}

.btn-link{
    font-size: 2.2rem; 
    line-height: 1;
}

.mobile-link {
    transition: all 0.2s ease;
}

.mobile-link .arrow-icon {
    color: #adb5bd;
}

.mobile-link:hover, .mobile-link:focus, .mobile-link:active {
    background-color: #f8f9fa; 
    color: #212529 !important;
    transform: translateX(6px); 
}

.mobile-link:hover .arrow-icon {
    color: #212529;
    transform: translateX(4px);
}

.custom-close {
    cursor: pointer;
    width: 40px; 
    height: 40px;
    }

.custom-close:focus {
    outline: none;
    box-shadow: none;
}

.custom-close:hover, .custom-close:focus {
    background-color: #f8f9fa;
    transform: rotate(90deg) scale(1.1);
}

.transition-all { transition: all 0.3s ease; }

.btn-demo:hover, .btn-get-started:hover {
    transform: translateY(-2px);
}

.btn-demo{
    background: linear-gradient( 180deg, #ff3d3d, #8a0000);
    border-radius: 40px;
    font-size: 0.9rem;
    border: 1px solid var(--aic-primary);
    transition: all 0.3s;
}

.btn-demo:hover{
    transform: translateY(-5px);
    box-shadow: 0 0 14px #3b000040;
}

.btn-get-started {
    color: var(--aic-primary);
    border: 1px solid #ff3d3d;
    border-radius: 40px;
    font-size: 0.9rem;
    transition: all 0.3s;
}

.btn-get-started:active{
    transform: translateY(2px);
    border: 1px solid var(--aic-primary);
    color: #fff !important;
}

.btn-get-started:hover {
    background: linear-gradient(180deg, #ff3d3d, #8a0000);
    color: #fff;
    transition: all 0.3s;
}

/* Hero Section */
.hero-section {
    padding: 4rem 0 6rem;
}

.hero-title {
    font-size: 3.8rem;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

.hero-title span {
    color: var(--aic-primary);
}

.hero-subtitle {
    color: var(--text-dark);
}

.hero-highlight{
    font-family: Orbitron;
    letter-spacing: 0.1rem;
}

.hero-body {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 90%;
    margin-bottom: 2.5rem;
}

.btn-primary-solid {
    background: linear-gradient( 180deg, #ff3d3d, #8a0000);
    color: #fff;
    border-radius: 40px;
    padding: 1.8rem;
    box-shadow: 0 10px 20px var(--red-light-12);
    transition: all 0.3s;
}


.btn-primary-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px #ff3d3d4d;
}

.btn-primary-video {
    background: linear-gradient( 180deg, #ff3d3d, #8a0000);
    color: #fff;
    border-radius: 40px;
    padding: 1.8rem;
    box-shadow: 0 10px 20px var(--red-light-12);
    transition: all 0.3s;
}

.btn-primary-solid:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px #ff3d3d4d;
}

.btn-primary-video:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px #ff3d3d4d;
}

.tags-container {
    gap: 0.8rem;
}

.tag-pill {
    border: 1px solid #0505059a;
    background: var(--red-light-08);
    border-radius: 30px;
    padding: 0.4rem 1.2rem;
    font-size: 0.85rem;
    color: var(--text-dark);
    box-shadow: 0 2px 5px #00000005;
}

.graphics-container {
    min-height: 600px;
}

.ring {
    transform: translate(-50%, -50%);
    border: 1px solid var(--ring-color);
    z-index: 0;
}

.ring-1 { 
    width: 350px; 
    height: 350px; 
}

.ring-2 { 
    width: 550px; 
    height: 550px; 
    border-style: dashed; 
}

.ring-3 { 
    width: 750px; 
    height: 750px; 
    opacity: 0.5; 
}

.floating-card {
    background: var(--aic-gradient);
    border-radius: 20px;
    padding: 2rem;
    color: #fff;
    box-shadow: 0 20px 40px var(--red-light-12);
    z-index: 2;
}

.card-main {
    width: 380px;
    top: 40%;
    transform: translate(-40%, -50%);
}

.card-small {
    width: 320px;
    background: #fff;
    color: var(--text-dark);
    top: 60%;
    left: 10%;
    box-shadow: 0 15px 35px #00000014;
    border: 1px solid #0000000d;
    z-index: 3;
    transform: translateY(-20%);
}

.card-title {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    gap: 0.5rem;
}

.card-title.green-text {
    color: var(--aic-primary);
}

.card-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

.card-highlight{
    color: #3b0000;
}

.card-small .card-text {
    color: var(--text-muted);
    opacity: 1;
}

.logo-strip {
padding-top: 2rem;
    opacity: 0.6;
}

.logo-strip h5 {
    font-size: 1.2rem;
    color: var(--text-dark);
}

.partners-text{
    color: var(--aic-primary) !important;
}

.os-card{
   font-family: monospace; 
   opacity: 0.8; 
   font-size: 0.9rem; 
}

/* --- Infinite Card Marquee Slideshow --- */
.logo-marquee-container {
    white-space: nowrap;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee {
    width: max-content;
    animation: marquee-scroll 45s linear infinite; 
}

.logo-marquee:hover {
    animation-play-state: paused;
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-card {
    transition: all 0.3s ease;
    border-color: #f8f9fa !important; 
}

.partner-logo {
    height: 28px; 
    transition: filter 0.3s ease;
}

.partners-text {
    transition: color 0.3s ease;
}

.partner-card:hover, .partner-card:focus {
    transform: translateY(-4px); 
    box-shadow: 0 0.5rem 1rem #0000001a !important; 
    border-color: #dee2e6 !important; 
}

.partner-card:hover .partner-logo,
.partner-card:focus .partner-logo {
    filter: grayscale(0%) opacity(100%);
}

.partner-card:hover .partners-text,
.partner-card:focus .partners-text {
    color: #212529;
}

@media (width <= 840px) {
    .form-image{
        display: none;
    }
}

@media (width <= 820px) {
    .hero-title { 
        font-size: 60px;
        padding-left: 10px; 
    }

    .hero-subtitle{
        font-size: 25px !important;
        padding-left: 15px;
    }

    .hero-highlight{
        font-size: 50px;
    }

    .hero-body{
        font-size: 20px;
        padding-left: 15px;
    }

    .action-area{
        gap: 12px !important; 
        padding: 12px !important;
    }

    .btn-primary-solid, .btn-primary-video{
        font-size: 20px !important;
    }

    .tags-container{
        padding: 5px;
        gap: 25px;
    }

    .tag-pill{
        font-size: 20px;
    }

    .graphics-container { 
        min-height: 450px; 
        margin-top: 2.5rem; 
    }

    .card-main { 
        transform: translate(-50%, -50%); 
        width: 90%; 
        top: 30%; 
    }

    .card-small { 
        top: 45%; 
        left: 50%; 
        transform: translate(-50%, 0); 
        width: 85%; 
    }

    .partners-text{
        font-size: 12px !important;
    }

    .form-image{
        display: none;
    }
}

@media (width <= 440px) {
    .hero-title { 
        font-size: 40px;
        padding-left: 10px; 
    }

    .hero-subtitle{
        font-size: 18px !important;
        padding-left: 15px;
    }

    .hero-highlight{
        font-size: 40px;
    }

    .hero-body{
        font-size: 15px;
        padding-left: 15px;
    }

    .action-area{
        padding: 12px !important;
        justify-content: start;
        align-items: start;
    }

    .btn-primary-solid, .btn-primary-video{
        font-size: 12px !important;
    }

    .tags-container{
        gap: 8px;
        justify-content: center;
        align-items: center;
    }

    .tag-pill{
        font-size: 10px;
    }

    .graphics-container { 
        min-height: 450px; 
        margin-top: 2.5rem; 
    }

    .card-main { 
        transform: translate(-50%, -50%); 
        width: 90%; 
        top: 30%; 
    }

    .card-small { 
        top: 45%; 
        left: 50%; 
        transform: translate(-50%, 0); 
        width: 85%; 
    }

    .partners-text{
        font-size: 12px !important;
    }
}

@media (width <= 380px) {
        .hero-title { 
        font-size: 45px;
    }

    .hero-subtitle{
        font-size: 15px !important;
    }

    .hero-highlight{
        font-size: 40px;
    }

    .hero-body{
        font-size: 15px;
        margin-bottom: 15px !important;
    }

    .action-area{
        align-items: start;
        gap: 12px !important; 
        padding: 12px !important;
        margin-bottom: 19px !important;
    }

    .btn-primary-solid, .btn-primary-solid{
        font-size: 11px !important;
    }

    .tags-container{
        padding: 5px;
        gap: 5px;
    }

    .tag-pill{
        font-size: 9px;
    }

    .graphics-container { 
        min-height: 450px; 
        margin-top: 2.5rem; 
    }

    .card-main { 
        transform: translate(-50%, -50%); 
        width: 90%; 
        top: 30%; 
    }

    .card-small { 
        top: 45%; 
        left: 50%; 
        transform: translate(-50%, 0); 
        width: 85%; 
    }

    .partners-text{
        font-size: 12px !important;
    }
}

section {
  scroll-margin-top: 80px;
}

html {
  scroll-behavior: smooth;
}

/* Fragmentation Section */
   .frag-point{
    font-size: 18px;
   }

   .frag-text{
    line-height: 1.7;
    font-size: 15px ;
   }

   .first-border{
    border-left: 4px solid var(--aic-primary); 
   }

   .second-border{
    border-left: 4px solid var(--aic-primary-dark); 
   }

   .risk-item {
    transition: transform 0.3s ease;
    padding: 1rem;
    border-radius: 12px;
}

    .risk-item:hover {
    transform: translateY(-5px);
    background-color: #fff;
    box-shadow: 0 10px 30px #0000000a;
}

    .risk-logo{
        color: var(--aic-primary);
    }

/* Ecosystem Section */
.aic-dark-mode {
    background-color: #050505; 
    color: #fff;
}

.section-header-modern {
    margin-bottom: 4rem;
}

.modern-title {
    letter-spacing: -0.04em; 
    line-height: 1.1;
    color: #fff;
}

.modern-subtitle {
    font-size: 15px;
    color: #888;
    line-height: 1.6;
    max-width: 600px;
}

.text-gradient-red {
    color: #ff3d3d;
}

.bento-item {
    background: #14141466;
    border: 1px solid #ffffff0f;
    border-radius: 24px;
    padding: 2rem 2.5rem;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.bento-item:hover {
    background: #17171799;
    border-color: #ff3d3d4d;
}

.bento-icon {
    font-size: 2rem;
    color: var(--aic-primary);
}

.bento-badge {
    background: var(--red-light-08);
    color: var(--aic-primary);
    border: 1px solid var(--red-light-12);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.bento-title {
    font-size: 1.5rem;
    letter-spacing: -0.02em;
    color: #fff;
    margin-bottom: 0.75rem;
}

.bento-title-sub {
    color: #888;
    font-weight: 400;
    font-size: 1rem;
}

.bento-text {
    font-size: 0.95rem; 
    color: #888;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.bento-glow {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #ff3d3d26 0%, transparent 70%);
    top: -100px;
    right: -100px;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.bento-item:hover .bento-glow {
    opacity: 1;
}

.border-top-thin {
    border-top: 1px solid #ffffff0f;
}

.text-problem {
    font-size: 0.8rem;
    color: #ff6b6b; 
}

.text-problem-sub{
    font-size: 0.8rem;
}

.text-fix {
    font-size: 0.8rem;
    color: #51cf66; 
}

.text-fix-sub{
    font-size: 0.8rem;
}

.text-impact-sub{
    font-size: 0.8rem;
}

.info-block {
    background: #ffffff05;
    border: 1px solid #ffffff0d;
    transition: all 0.3s ease;
}

.block-problem {
    background: #ff6b6b0d;
    color: #888;
    border-left: 3px solid #ff6b6b;
}

.block-fix {
    background: #51cf660d;
    color: #888;
    border-left: 3px solid #51cf66;
}

.group-impact-text{
    color: #888;
}

.bento-item:hover .block-problem {
    background: #ff6b6b1a;
}

.bento-item:hover .block-fix {
    background: #51cf661a;
}

.tracking-wide {
    letter-spacing: 0.05em;
}

/* The Engine Room Section */
.engine-header{
    letter-spacing: -0.02em;
}

.engine-sub{
    font-size: 15px;
}

.engine-icon{
    color: var(--aic-primary);
    opacity: 0.8;
}

.engine-title-desc{
    font-size: 1.25rem;
}

.engine-desc{
    font-size: 15px;
}

.engine-cell {
    transition: background 0.3s ease;
}

.engine-cell:hover {
    background: #ffffff05;
}

/* Desktop: Add a right border to the first two columns only */
@media (width > 992px) {
    .engine-col:nth-child(1) .engine-cell,
    .engine-col:nth-child(2) .engine-cell {
        border-right: 1px solid #ffffff0f;
    }
}

/* Mobile/Tablet: Add a bottom border to the first two columns only */
@media (width < 992px) {
    .engine-col:nth-child(1) .engine-cell,
    .engine-col:nth-child(2) .engine-cell {
        border-bottom: 1px solid #ffffff0f;
    }
}

/* Impact Section */
.impact-stat-block {
    padding-left: 1.5rem;
    border-left: 1px solid #0000001a;
    transition: border-color 0.3s ease;
    height: 100%;
}

.stat-number{
    color: var(--aic-primary);
}

.impact-stat-block:hover {
    border-left: 3px solid var(--aic-primary);
}

/* Transformation */
.transformation-header{
    color: var(--aic-primary);
    font-size: 0.85rem; 
    letter-spacing: 0.05em;
}

.transformation-title{
    letter-spacing: -0.02em;
}

.transformation-desc{
    font-size: 15px;
}

/* Deployment Section */
.line{
   left: 24px; 
   width: 2px;
   background-color: var(--red-light-12); 
}

.first-dot{
    left:-43px;
    top: 5px;
    width: 16px;
    height: 16px; 
    background: var(--aic-bg-dark); 
    border: 4px solid #fff;   
    box-shadow: 0 0 0 4px #e9ecef;  
}

.option-a{
 font-size: 0.85rem;   
}

.second-dot{
  left: -43px; 
  top: 5px; 
  width: 16px; 
  height: 16px; 
  background: var(--aic-primary); 
  border: 4px solid #fff; 
  box-shadow: 0 0 0 4px var(--red-light-12);
}

.option-b{
  color: var(--aic-primary);
  font-size: 0.85rem;  
}

/* CTA Card */
.cta-card-box {
    background: linear-gradient(135deg, #111 0%, #050505 100%);
    border: 1px solid #ffffff0d;
    border-radius: 48px;
    max-width: 1100px; 
}

.cta-title{
    letter-spacing: -0.02em;
}

.cta-desc{
    font-size: 15px;
    max-width: 600px;
}   

.cta-bg-pattern {
    background-image: linear-gradient(#f4c4c405 1px, transparent 1px), linear-gradient(90deg, #ffa8a80a 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 80%);
    z-index: 0;
}

.cta-icon-box {
    width: 56px;
    height: 56px;
    color: #ff3d3d;
    background: #ff3d3d26;
    border: 1px solid #ff3d3d4d;
}

.cta-btn{
    background: linear-gradient( 180deg, #ff3d3d, #8a0000);
    transition: all 0.3s ease;
}

.cta-btn:hover {
    background: linear-gradient( 180deg, #ff3d3d, #8a0000);
    box-shadow: 0 4px 15px #ff1111a0;
    transform: translateY(-3px) ;
    transition: all 0.3s ease;
}

/* Footer */
.footer-logo-text{
    color: var(--aic-primary);
}

.footer-link:hover{
    color: #fff !important;
}

.logo-invert{
    height:35px;
}

.footer-icon{
    color: var(--aic-primary);
}

.footer-headers{
    letter-spacing: 0.05em; 
    font-size: 0.85rem;    
}

/* Contact */
.contact-title{
    color: var(--aic-primary);
    font-size: 2rem;
    letter-spacing: -0.02em;
}

.form-image{
    max-height: 500px;
    object-fit: contain;
}

.logo-marquee-container {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.logo-marquee {
    animation: marquee-scroll 45s linear infinite;
}

.logo-marquee:hover {
    animation-play-state: paused;
}

.partner-logo {
    height: 28px;
    filter: grayscale(100%) opacity(70%);
    transition: filter 0.3s ease;
}

.partner-card {
    transition: all 0.3s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: #ff3d3d !important;
}

.partner-card:hover .partner-logo {
    filter: grayscale(0%) opacity(100%);
}

@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

