html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

:root {
    /* Primary hues */
    --soft-blue: #3B82F6; /* bright but not neon */
    --deep-blue: #1E40AF; /* anchor blue for depth */

    --warm-orange: #F59E0B; /* subtle amber/orange */
    --deep-orange: #C2410C; /* burnt orange for accents */

    --soft-red: #EF4444; /* muted red */
    --deep-red: #B91C1C; /* stronger red for warnings */
    /* Neutral background + text */
    --dark-bg: #111827; /* deep slate gray-blue */
    --darker-bg: #0F172A; /* even darker for contrast */
    --text-light: #F9FAFB; /* near-white text */
    --text-muted: #9CA3AF; /* subtle muted text */

    --electric-blue: var(--soft-blue);
    --hot-pink: var(--soft-red);
    --neon-green: var(--deep-orange);
    --deep-purple: var(--deep-blue);
    --cyber-orange: var(--deep-orange);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: var(--dark-bg);
    color: white;
}

.bg-primary {
    background: linear-gradient(135deg, var(--warm-orange), var(--deep-orange));
}

/* Register button - Warm call-to-action */
.btn-primary {
    background: linear-gradient(135deg, var(--warm-orange), var(--deep-orange));
    border: 1px solid var(--warm-orange);
    color: var(--text-light);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

/* Free Version button - Cool secondary */
.btn-outline-primary {
    background: transparent;
    border: 2px solid var(--soft-blue);
    color: var(--soft-blue);
    font-weight: 600;
}

.hero-section {
    background: linear-gradient(135deg, var(--deep-purple) 0%, var(--dark-bg) 50%, var(--electric-blue) 100%);
    min-height: 100vh;
    position: relative;
}

    .hero-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 20% 80%, var(--hot-pink) 0%, transparent 50%), radial-gradient(circle at 80% 20%, var(--electric-blue) 0%, transparent 50%), radial-gradient(circle at 40% 40%, var(--neon-green) 0%, transparent 50%);
        opacity: 0.1;
    }

/* Corner Ribbon */
.corner-ribbon {
    position: absolute;
    top: 60px; /* Changed from 60px to 0 */
    right: -30px;
    width: 500px;
    height: 500px;
    overflow: hidden;
    z-index: 10;
}

.corner-ribbon-content {
    position: absolute;
    top: 70px; 
    right: -60px; 
    width: 350px;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #78350f;
    text-align: center;
    padding: 25px 0;
    transform: rotate(45deg);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

    .corner-ribbon-content::before,
    .corner-ribbon-content::after {
        content: '';
        position: absolute;
        top: 100%;
        width: 0;
        height: 0;
        border-style: solid;
    }

    .corner-ribbon-content::before {
        left: 0;
        border-width: 5px 10px 0 0;
        border-color: #d97706 transparent transparent transparent;
    }

    .corner-ribbon-content::after {
        right: 0;
        border-width: 0 10px 5px 0;
        border-color: transparent #d97706 transparent transparent;
    }

/* Animation */
@keyframes ribbonGlow {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(251, 191, 36, 0.4);
    }

    50% {
        box-shadow: 0 4px 30px rgba(251, 191, 36, 0.6);
    }
}

.corner-ribbon-content {
    animation: ribbonGlow 2s ease-in-out infinite;
}

.navbar {
    background: rgba(10, 10, 15, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--electric-blue);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding-top: 0px;
    padding-bottom: 20px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--electric-blue), var(--hot-pink), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    padding-bottom: 0.2em;
}

.card-title {
    color: #333;
}

.explosive-card {
    background: linear-gradient(135deg, var(--hot-pink), var(--cyber-orange));
    border-radius: 25px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(255, 0, 107, 0.5);
}

    .explosive-card::before {
        content: '';
        position: absolute;
        top: -50%;
        left: -50%;
        width: 200%;
        height: 200%;
        background: conic-gradient(from 0deg, transparent, var(--electric-blue), transparent, var(--neon-green), transparent);
        opacity: 0.3;
    }

.feature-section {
    background: var(--darker-bg);
    position: relative;
    min-height: 100vh;
}

    .feature-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(90deg, transparent 0%, var(--electric-blue) 50%, transparent 100%), linear-gradient(0deg, transparent 0%, var(--hot-pink) 50%, transparent 100%);
        opacity: 0.05;
    }

.feature-card {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    border: 2px solid;
    border-image: linear-gradient(45deg, var(--electric-blue), var(--hot-pink)) 1;
    border-radius: 20px;
    padding: 2.5rem;
    height: 100%;
    position: relative;
}

.feature-icon {
    width: 100px;
    height: 100px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: white;
}

.icon-brain {
    background: linear-gradient(135deg, var(--hot-pink), var(--cyber-orange));
}

.icon-automation {
    background: linear-gradient(135deg, var(--electric-blue), var(--deep-purple));
}

.icon-analytics {
    background: linear-gradient(135deg, var(--neon-green), var(--electric-blue));
}

.stats-section {
    background: var(--dark-bg);
    position: relative;
}

    .stats-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: repeating-linear-gradient( 90deg, transparent, transparent 50px, var(--electric-blue) 50px, var(--electric-blue) 51px );
        opacity: 0.1;
    }

.stat-card {
    background: linear-gradient(135deg, var(--deeper-purple), var(--dark-bg));
    border: 2px solid var(--electric-blue);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--neon-green), var(--electric-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-section {
    background: linear-gradient(135deg, var(--hot-pink), var(--deep-purple), var(--electric-blue));
    position: relative;
}

    .cta-section::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: radial-gradient(circle at 30% 70%, var(--neon-green) 0%, transparent 50%), radial-gradient(circle at 70% 30%, var(--cyber-orange) 0%, transparent 50%);
        opacity: 0.3;
    }

.btn-cyber {
    background: var(--electric-blue);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark-bg);
    /* box-shadow: 0 0 20px rgba(0, 212, 255, 0.5); */
}

.btn-outline-cyber {
    border: 2px solid var(--electric-blue);
    color: var(--electric-blue);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: transparent;
}

.btn-ghost {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.testimonial-card {
    background: linear-gradient(135deg, var(--dark-bg), var(--darker-bg));
    border: 1px solid var(--electric-blue);
    border-radius: 20px;
    padding: 2rem;
    margin: 1rem;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--hot-pink), var(--cyber-orange));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-brand {
    background: linear-gradient(45deg, var(--electric-blue), var(--neon-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 900;
}

.nav-link {
    color: white !important;
    font-weight: 600;
}

.explosive-text {
    font-size: 1.25rem;
    color: white;
    font-weight: 600;
}

.section-title {
    font-size: 3rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--electric-blue), var(--hot-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }
}


.image-3d {
    filter: drop-shadow(5px 5px 10px rgba(0,0,0,0.5));
    transition: filter 0.3s ease, transform 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 1);
    border-radius: 15px;
}

/*  .image-3d:hover {
    transform: translateZ(20px) scale(1.05);
    filter: drop-shadow(15px 15px 25px rgba(0,0,0,0.6));
}*/

.logo {
    height: 25px;
}

@media (min-width: 992px) { /* lg and up in Bootstrap */
    .logo {
        height: 35px;
    }
}

.nav-item {
    margin-top: 10px;
}

/* Floating Sidebar */
.floating-sidebar {
    position: fixed;
    bottom: 50px; /* Below navbar */
    right: 50px;
    z-index: 1000;
    background-color: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    padding: 1rem;
    width: 350px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}
.floating-sidebar.hidden {
    transform: translateY(250px);
    opacity: 0;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.sidebar-title {
    font-size: 1.1rem;
    font-weight: 700;
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent; /* Gradient text effect */
    margin: 0;
    transition: transform 0.3s ease;
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #DDD;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}
.sidebar-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.sidebar-btn {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #333333 !important;
    text-decoration: none;
    font-weight: 500;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease;
    text-align: center;
    background-color: #f8f9fa;
}

    .sidebar-btn:hover {
        background-color: #e0e0e0;
        color: #000000 !important;
    }

/* Premium button styling */
.premium-btn {
    background-color: #ffc107;
    color: #000000 !important;
}

    .premium-btn:hover {
        background-color: #e0a800;
        color: #000000 !important;
    }

/* Badge for Project Management */
.badge {
    font-size: 0.7rem;
    vertical-align: middle;
    margin-left: 0.5rem;
}

@media (max-width: 991px) {
    main {
        padding-left: 0;
    }
}

.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    outline: none;
    box-shadow: none; /* Remove Bootstrap's default focus ring */
}

/* Optional: Add a custom focus indicator for accessibility */
.navbar-toggler:focus,
.navbar-toggler:focus-visible {
    background-color: rgba(0, 123, 255, 0.1); /* Subtle background change */
    border-color: #007bff; /* Optional: Highlight border */
}

button:focus:not(:focus-visible),
.btn:focus:not(:focus-visible) {
    outline: none;
    box-shadow: none;
}
