@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&family=Syne:wght@400..800&display=swap');

:root {
  --color-bg: #0a0a0a;
  --color-text: #fff;

  /* Semi-transparent whites */
  --color-white-transparent-05: #ffffff0d; /* 0.05 alpha */
  --color-white-transparent-1:  #ffffff1a; /* 0.1 alpha */
  --color-white-transparent-2:  #fff3; /* 0.2 alpha */
  --color-white-transparent-3:  #ffffff4d; /* 0.3 alpha */
  --color-white-transparent-4:  #fff6; /* 0.4 alpha */
  --color-white-transparent-18: #ffffff18; /* already in hex alpha */

  /* Reds */
  --color-red:       #f44;
  --color-red-dark:  #c00;
  --color-red-light: #ff444480; /* 0.5 alpha */
  --color-red-shadow:#ff44444d; /* 0.3 alpha */

  /* Blues */
  --color-blue-light: #3498db33; /* rgba(52, 152, 219, 0.2) */
  --color-blue-dark:  #3498db80; /* rgba(52, 152, 219, 0.5) */

  /* Purples */
  --color-purple-light: #9b59b633; /* rgba(155, 89, 182, 0.2) */
  --color-purple-dark:  #9b59b680; /* rgba(155, 89, 182, 0.5) */

  /* Greens */
  --color-green-light: #2ecc7133; /* rgba(46, 204, 113, 0.2) */
  --color-green-dark:  #2ecc7180; /* rgba(46, 204, 113, 0.5) */

  /* Blue variant */
  --color-blue-variant-light: #22a8e648; /* rgba(34, 168, 230, 0.282) */
  --color-blue-variant-dark:  #222fe680; /* rgba(34, 47, 230, 0.5) */

  /* Limes */
  --color-lime-light: #3ce74d33; /* rgba(60, 231, 77, 0.2) */
  --color-lime-dark:  #3ce78680; /* rgba(60, 231, 134, 0.5) */

  /* Pinks */
  --color-pink-light: #e90ff133; /* rgba(233, 15, 241, 0.2) */
  --color-pink-dark:  #e90ff180; /* rgba(233, 15, 241, 0.5) */

  /* Gradient */
  --gradient-red-glow: linear-gradient(90deg, transparent, #f03, transparent); /* 0.2 alpha */
}


/* Body */
body {
    font-family: Poppins, sans-serif;
    background: var(--color-bg);
    color: var(--color-text);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, #FF00001A 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, #FF00000D 0%, transparent 50%),
                radial-gradient(circle at 40% 80%, #FF000014 0%, transparent 50%);
    z-index: -1;
}

/* Navbar Glass */
.navbar-glass {
    background: var(--color-white-transparent-05);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-white-transparent-18);
    position: sticky !important;
}

.brand-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover; /* Optional, good for logos */
}

.logo-small {
  height: 20px;
  object-fit: contain; /* optional, keeps aspect ratio */
}

.fab-icon-small {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.fab-icon-wide {
  width: 30px;
  height: 20px;
  object-fit: contain;
}

.fab-main-icon {
  width: 44px;
  height: 44px;
  object-fit: contain; /* optional to keep aspect ratio */
}

.navbar-glass::before {
    content: '';
    position: absolute;
    top: 83px;
    left: -100%;
    width: 100%;
    height: 1%;
    background: var(--gradient-red-glow);
    animation: red-glow 10s infinite;
}

/* Glass container */
.glass {
    backdrop-filter: blur(15px);
}

@keyframes red-glow {
    0% { left: -100%; }
    50% { left: 100%; }
    100% { left: -100%; }
}

/* Navbar Links */
.navbar-nav .nav-link {
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    color: var(--color-red) !important;
    text-shadow: 0 0 10px var(--color-red-light);
}

/* Buttons */
.btn-red {
    background: linear-gradient(45deg, var(--color-bg), var(--color-red));
    border: 0;
    color: white;
    padding: 0 10px;
    transition: all 0.3s ease;
}

.btn-red:hover {
    transform: translateY(-2px);
    color: white;
}

.btn-outline-red {
    border: 2px solid var(--color-red);
    color: var(--color-red);
    transition: all 0.3s ease;
}

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

/* Hero */
.hero-section {
    min-height: 80vh;
}

.hero-title {
    font-size: 2.7rem;
    line-height: 1.1;
    margin-bottom: 2rem;
    background: white;
    background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-title::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    inset: -20px;
    border: 2px dotted var(--color-red-light);
    border-radius: 15px;
    animation: dash-move 2s linear infinite;
}

@keyframes dash-move {
    0% {
        border-color: #FF44444D;
        transform: scale(1);
    }

    50% {
        border-color: #F44C;
        transform: scale(1.02);
    }

    100% {
        border-color: #FF44444D;
        transform: scale(1);
    }
}

.hero-bg-card {
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    z-index: -1;
}

.hero-bg-card img {
    object-fit: cover;
}

.hero-description {
    color: #ccc;
    line-height: 1.6;
    max-width: 800px;
}

/* Floating Action Button */
.fab-container {
    bottom: 5rem;
    right: 5rem;
    z-index: 1000;
}

.fab-main {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(90deg, #000, var(--color-red-dark));
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px var(--color-red-shadow);
    z-index: 1001;
}

.fab-main:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px #F449;
}

.fab-options {
    bottom: 27.5px;
    right: 27.5px;
}

.fab-options.show {
    display: block;
}

.fab-option {
    width: 40px;
    height: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-white-transparent-2);
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0);
}

.fab-options.show .fab-option {
    opacity: 1;
    transform: scale(1);
}

/* FAB individual colors */
.fab-option:nth-child(1) {
    background: var(--color-blue-light);
    border-color: var(--color-blue-dark);
    top: -80px;
    left: -20px;
    transition-delay: 0.1s;
}

.fab-option:nth-child(1):hover {
    background: var(--color-blue-dark);
    box-shadow: 0 4px 15px var(--color-blue-dark);
    transform: scale(1.1);
}

.fab-option:nth-child(2) {
    background: var(--color-purple-light);
    border-color: var(--color-purple-dark);
    top: -57px;
    left: 25px;
    transition-delay: 0.15s;
}

.fab-option:nth-child(2):hover {
    background: var(--color-purple-dark);
    box-shadow: 0 4px 15px var(--color-purple-dark);
    transform: scale(1.1);
}

.fab-option:nth-child(3) {
    background: var(--color-green-light);
    border-color: var(--color-green-dark);
    top: -55px;
    left: -64px;
    transition-delay: 0.2s;
}

.fab-option:nth-child(3):hover {
    background: var(--color-green-dark);
    box-shadow: 0 4px 15px var(--color-green-dark);
    transform: scale(1.1);
}

.fab-option:nth-child(4) {
    background: var(--color-blue-variant-light);
    border-color: var(--color-blue-variant-dark);
    top: 0;
    left: -65px;
    transition-delay: 0.25s;
}

.fab-option:nth-child(4):hover {
    background: var(--color-blue-variant-dark);
    box-shadow: 0 4px 15px var(--color-blue-variant-dark);
    transform: scale(1.1);
}

.fab-option:nth-child(5) {
    background: var(--color-lime-light);
    border-color: var(--color-lime-dark);
    top: 27px;
    left: -20px;
    transition-delay: 0.3s;
}

.fab-option:nth-child(5):hover {
    background: var(--color-lime-dark);
    box-shadow: 0 4px 15px var(--color-lime-dark);
    transform: scale(1.1);
}

.fab-option:nth-child(6) {
    background: var(--color-pink-light);
    border-color: var(--color-pink-dark);
    top: 0;
    left: 28px;
    transition-delay: 0.35s;
}

.fab-option:nth-child(6):hover {
    background: var(--color-pink-dark);
    box-shadow: 0 4px 15px var(--color-pink-dark);
    transform: scale(1.1);
}

/* Feature Tags */
.feature-tag {
    background: var(--color-white-transparent-1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--color-white-transparent-2);
    color: var(--color-text);
    font-size: 0.9rem;
    animation: float 6s ease-in-out infinite;
}

.feature-tag:nth-child(1) {
    top: 30%;
    right: 10%;
    background: #00FFFF1A;
    border-color: #00FFFF4D;
    animation-delay: 0s;
}

.feature-tag:nth-child(2) {
    bottom: 30%;
    left: 15%;
    background: #FF00FF1A;
    border-color: #FF00FF4D;
    animation-delay: 2s;
}

.feature-tag:nth-child(3) {
    bottom: 20%;
    right: 20%;
    background: #00FF001A;
    border-color: #00FF004D;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { 
    transform: translateY(0); 
    }

    50% { 
    transform: translateY(-20px);   
    }
    
}

/* Tab Section */

.aic-platform-container {
    z-index: 1;
}

.aic-platform-badge {
    background: linear-gradient(45deg, #000, var(--color-red));
    font-size: 14px;
    letter-spacing: 2px;
    display: inline-block;
}

.aic-platform-tabs-wrapper {
    font-size: 9px;
}

.aic-platform-tabs {
    background: #1a1a1a1a; /* rgba(255,255,255,0.1) ~ #1A1A1A1A */
    backdrop-filter: blur(1px);
    border: 1px solid #3333; /* rgba(255,255,255,0.2) ~ #33333333 */
    padding: 4px;
}

.aic-platform-tab-btn {
    color: #b3b3b3; /* rgba(255,255,255,0.7) */
    cursor: pointer;
    transition: all 0.3s ease;
}

.aic-platform-tab-btn.active {
    background: #6e6e6e53 !important; /* rgba(255,255,255,0.04) */
    border: 1px solid #6d6d6d6d; /* rgba(255,255,255,0.425) */
    color: var(--color-text);
    backdrop-filter: blur(10px);
}

.aic-platform-tab-btn:hover {
    background: #0d0d0d0d; /* rgba(255,255,255,0.053) */
    color: var(--color-text);
}

.aic-platform-content-area {
    padding-right: 150px;
}

.aic-platform-card-wrapper {
    height: auto;
    min-height: 600px;
}

.aic-platform-card {
    background: #20202071; /* rgba(255,255,255,0.1) */
    backdrop-filter: blur(20px);
    border: 1px solid #91919133; /* rgba(255,255,255,0.2) */
    border-radius: 60px;
    padding: 70px;
    overflow: visible;
    transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.aic-platform-card.slide-out-left {
    transform: translateX(-100vw);
}

.aic-platform-card.slide-in-right {
    transform: translateX(100vw);
}

.aic-platform-card.active {
    transform: translateX(0);
}

.aic-platform-card-bg {
    background-size: cover;
    z-index: -1;
    transition: all 0.8s ease;
}

.aic-platform-card-bg.government {
    background-image: url('/assets/images/circle_bg.png');
}

.aic-platform-card-bg.business {
    background-image: url('/assets/images/circle_bg.png');
}

.aic-platform-card-description {
    color: #d4d4d47b; /* rgba(255,255,255,0.482) */
    line-height: 1.6;
}

.aic-platform-feature-item {
    transition: all 0.3s ease;
}

.aic-platform-feature-item:hover {
    background: #45454535 !important; /* rgba(255,255,255,0.1) */
    transform: translateY(-2px);
    border-radius: 10px;
}

.aic-platform-feature-header {
    color: var(--color-text);
    font-weight: 500;
}

.aic-platform-feature-content {
    max-height: 0;
    transition: all 0.3s ease;
    color: #b3b3b3b3; /* rgba(255,255,255,0.7) */
}

.aic-platform-feature-content.active {
    padding: 0 20px 15px;
    max-height: 100px;
}

.aic-platform-feature-icon {
    color: #f06;
    margin-right: 12px;
}

.aic-platform-dropdown-arrow {
    transition: transform 0.3s ease;
}

.aic-platform-dropdown-arrow.rotated {
    transform: rotate(180deg);
}

.aic-platform-floating-icon {
    right: -260px;
    top: 90%;
    transform: translateY(-50%);
    width: 580px;
    height: 580px;
    animation: aic-platform-float 6s ease-in-out infinite;
}

.aic-platform-floating-icon img {
    object-fit: contain;
}

@keyframes aic-platform-float {
    0%, 100% { transform: translateY(-50%) rotate(0deg); }
    50% { transform: translateY(-60%) rotate(5deg); }
}

.features-card{
    background-color: var(--color-white-transparent-05);
}

.icon-background{
    background: linear-gradient(45deg, var(--color-bg), var(--color-red));
    width: 60px; 
    height: 60px;
}

.fingerprint{
    width: 180px;
    height: 180px;
}

@media (width <= 1080px) {
    .hero-title{
        font-size: 20px;
    }
    
    .hero-description{
        font-size: 12px;
    }

    .btn-red, .demo-btn {
    font-size: 12px !important; /* prevent fixed width from breaking layout */
    }

    .feature-tag{
        font-size: 10px;
    }
    
   .fab-container{
    right: 42px !important;
   }

   .action-buttons{
    display: block !important;
    margin-left: 13px;
   }

   .logo-small {
    margin-bottom: 2px;
   }

   .nav-link{
    font-size: 12px;
   }

   .navbar-toggler{
    background: linear-gradient(45deg, var(--color-bg), var(--color-red));
    border-radius: 12px;
   }

   .hero-bg-card{
    display: none;
   }

   .aic-platform-badge{
    font-size: 12px;
   }

   .aic-platform-title{
    font-size: 17px;
   }
   
   .aic-platform-tab-btn{
    font-size: 8px;
   }

   .aic-platform-floating-icon{
    display: none !important;
   }
   
   .aic-platform-content-area{
    padding: 0 !important;
   }
   
   .aic-platform-card{
    top: -30px;
    border-radius: 25px;
    padding: 40px 25px;
   }

   .aic-platform-card-title{
    font-size: 15px;
   }

   .aic-platform-card-description{
    font-size: 12px;
   }
    
   .aic-platform-feature-header{
    font-size: 10px !important;
   }

   .aic-platform-feature-content{
    font-size: 8px;
   }

   .description{
    font-size: 12px;
   }

   .card-description{
    font-size: 12px;
   }

   .graph-image{
    width: 100%;
   }

   .feature-button{
    font-size: 10px !important;
   }

   

}