/* 
   ASTERU - High Fidelity Design System
   Target: Space/Dark Mode SaaS Theme
*/

:root {
    --bg-dark: #020205;
    /* Deepest black-blue */
    --accent-primary: rgb(0, 245, 255);
    /* Electric Blue */
    --accent-secondary: #7c3aed;
    /* Deep Purple */
    --accent-cyan: rgb(255, 90, 20);
    /* Cyan */
    --text-primary: #ffffff;
    --text-muted: #94a3b8;

    --themeColor: rgb(0, 245, 255);
    --themeColorHover: rgb(255, 90, 20);

    /* --accent-primary: #3b82f6;
    --accent-cyan: #06b6d4; */

    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-bg: rgba(255, 255, 255, 0.02);
    --glass-shine: rgba(255, 255, 255, 0.05);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
.brand-icon img{
    width: 45px;
    height: 45px;
}
.navbarBlur{
        background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.font-outfit {
    font-family: 'Outfit', sans-serif;
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* --- Utilities --- */
.text-gradient-blue {
    background: linear-gradient(135deg, rgb(0, 245, 255) 0%, rgb(0, 166, 172) 50%, rgb(0, 120, 124) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(0, 245, 255, 0.3);
}

.text-gradient-cyan {
    background: linear-gradient(135deg, #a5f3fc 0%, #22d3ee 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-icon {
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hover-white:hover {
    color: #fff !important;
    transition: color 0.3s ease;
}

.max-w-900 {
    max-width: 900px;
}

.max-w-800 {
    max-width: 800px;
}

.max-w-300 {
    max-width: 300px;
}

.extra-small {
    font-size: 0.75rem;
}

/* --- Ambient Backgrounds --- */
.ambient-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 245, 255, 0.15) 0%, rgba(2, 2, 5, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

.top-center {
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
}

.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, rgba(2, 2, 5, 0) 70%);
}

.bottom-center {
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
}

/* --- Button Styling --- */
.btn-primary-gradient {
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.9) 0%, rgba(0, 161, 167, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(0, 245, 255, 0.4);
    color: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary-gradient:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 10px 30px rgba(0, 245, 255, 0.6);
}

/* --- Hero Section & Horizon --- */
.hero-section {
    min-height: 110vh;
    /* Make it tall */
    padding-bottom: 200px;
}

.horizon-wrapper {
    position: absolute;
    bottom: 200px;
    /* Align with bottom of hero */
    left: 50%;
    transform: translateX(-50%);
    width: 200%;
    /* Wider than screen for curve */
    height: 600px;
    pointer-events: none;
    z-index: 1;
}

.horizon-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50% 50% 0 0;
    border-top: 1px solid rgba(0, 245, 255, 0.4);
    box-shadow: 0 -2px 10px rgba(0, 245, 255, 0.3);
}

.horizon-glow {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(0, 245, 255, 0.5) 0%, rgba(2, 2, 5, 0) 70%);
    filter: blur(60px);
}

.text-glow-shadow {
    text-shadow:
        0 0 80px rgba(0, 245, 255, 0.5),
        0 0 30px rgba(0, 245, 255, 0.3);
}

/* --- Stats Cards --- */
.stat-card {
    background: rgba(10, 10, 25, 0.6);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 20px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(20, 20, 40, 0.8);
    border-color: rgba(0, 245, 255, 0.3);
    transform: translateY(-5px);
}

.icon-wrap {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Globe / Visual Section --- */
.globe-wrapper {
    width: 500px;
    height: 500px;
    position: relative;
    /* 3D perspective */
    perspective: 1000px;
}

.globe-sphere {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 245, 255, 0.1) 0%, rgba(0, 0, 0, 0) 60%);
    box-shadow: inset 0 0 40px rgba(0, 245, 255, 0.2);
    z-index: 1;
}
.globe-sphere img{
    width: 75%;
}

.globe-grid {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    /* Custom grid pattern using gradients */
    background:
        repeating-linear-gradient(0deg, transparent 0, transparent 48px, rgba(0, 245, 255, 0.2) 49px, rgba(0, 245, 255, 0.2) 50px),
        repeating-linear-gradient(90deg, transparent 0, transparent 48px, rgba(0, 245, 255, 0.2) 49px, rgba(0, 245, 255, 0.2) 50px);
    background-size: 100% 100%;
    border: 1px solid rgba(0, 245, 255, 0.1);
    animation: rotateGlobe 30s linear infinite;
    z-index: 2;
    mask-image: radial-gradient(circle, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 100%);
}

.globe-glow-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: #3b82f6;
    filter: blur(100px);
    opacity: 0.5;
    z-index: 0;
}

@keyframes rotateGlobe {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* --- Tabs --- */
.btn-tab {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    border-radius: 30px;
    padding: 8px 24px;
    transition: all 0.3s;
}

.btn-tab:hover,
.btn-tab.active {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* --- Feature Box --- */
.feature-box {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    transition: all 0.3s ease;
    overflow: hidden;
    /* For inner glows */
    position: relative;
}

.feature-box:hover {
    border-color: rgba(0, 245, 255, 0.4);
    box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: rgba(0, 245, 255, 0.1);
    color: var(--themeColor);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
}

.feature-icon-purple {
    background: rgba(0, 245, 255, 0.1);
    color: var(--themeColor);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.1);
}

/* Skeleton loader for UI cards */
.skeleton-circle {
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.skeleton-line {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* --- Orbit System --- */
.orbit-system {
    width: 600px;
    height: 600px;
    position: relative;
    /* Zoom out for mobile fit */
    transform-origin: center center;
}

.orbit-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.core-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #3b82f6;
    filter: blur(60px);
    opacity: 0.6;
    z-index: -1;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.ring-1 {
    width: 250px;
    height: 250px;
}

.ring-2 {
    width: 400px;
    height: 400px;
}

.ring-3 {
    width: 550px;
    height: 550px;
    opacity: 0.5;
}

.orbit-item {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    background: #000;
}

.orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Positioning items on rings manually for control, could be animated */
/* Center is 300, 300 */
.item-1 {
    top: 180px;
    left: 180px;
}

/* Ring 1 approx */
.item-2 {
    top: 100px;
    right: 150px;
}

/* Ring 2 */
.item-3 {
    bottom: 120px;
    left: 120px;
}

/* Ring 2 */
.item-4 {
    top: 40px;
    left: 50%;
}

/* Ring 3 */
.item-5 {
    bottom: 80px;
    right: 80px;
}

/* Ring 3 */

/* --- Testimonials --- */
.testimonial-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    transition: all 0.3s;
    height: 100%;
}

.active-glow {
    border-color: rgba(0, 245, 255, 0.5);
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.05) 0%, rgba(2, 2, 5, 0) 100%);
    box-shadow: 0 10px 40px -10px rgba(0, 245, 255, 0.15);
}

/* --- FAQ Custom --- */
.custom-faq .accordion-item {
    background: transparent;
    border: none;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--glass-border);
}

.custom-faq .accordion-button {
    background: transparent;
    color: white;
    box-shadow: none;
    padding-left: 0;
    font-size: 1.1rem;
}

.custom-faq .accordion-button:not(.collapsed) {
    color: var(--accent-primary);
}

.custom-faq .accordion-body {
    padding-left: 0;
}

.custom-faq .accordion-button::after {
    filter: invert(1);
    opacity: 0.5;
}

/* --- Pricing Section --- */
.switch-wrapper {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 4px;
    position: relative;
}

.pricing-switch {
    appearance: none;
    width: 50px;
    height: 28px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    position: relative;
    outline: none;
    cursor: pointer;
    transition: 0.3s;
}

.pricing-switch::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    transition: 0.3s;
}

.pricing-switch:checked {
    background: var(--accent-primary);
}

.pricing-switch:checked::after {
    transform: translateX(22px);
}

.pricing-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2rem;
    height: 100%;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.04);
}

.pricing-card.popular {
    border-color: var(--accent-primary);
    background: linear-gradient(180deg, rgba(0, 245, 255, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
    box-shadow: 0 0 30px rgba(0, 245, 255, 0.15);
}

.popular-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent-primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(0, 245, 255, 0.5);
}

.price-text {
    font-size: 3rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

.check-list li {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-icon {
    color: var(--accent-cyan);
    flex-shrink: 0;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .display-1 {
        font-size: 3.5rem;
    }

    .display-3 {
        font-size: 2.5rem;
    }

    .horizon-wrapper {
        bottom: 50px;
        width: 300%;
    }

    /* Sharper curve on mobile */
    .globe-wrapper {
        width: 300px;
        height: 300px;
    }

    .orbit-system {
        transform: scale(0.6);
    }

    .hero-section {
        min-height: auto;
        padding-top: 150px;
    }
}


.overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  backdrop-filter:blur(8px);
  display:none;
  justify-content:center;
  align-items:center;
  z-index: 9999;
}

.overlay img{
  max-width:90%;
  max-height:90%;
}

.close{
  position:absolute;
  top:20px;
  right:30px;
  font-size:30px;
  color:#fff;
  cursor:pointer;
}
