/* static/css/styles.css */

/* General Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f6f9;
    color: #333;
    line-height: 1.6;
}

/* Navbar Styling */
.navbar {
    background-color: #1a2b4c; /* Dark blue for a professional look */
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif; /* Using Orbitron as requested */
    color: rgb(224, 123, 57);
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-brand .fusion-text {
    color: #00b7ff; /* Bright blue accent for "Fusion" */
}

.nav-link {
    color: #fff !important;
    margin-right: 1rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: #00b7ff !important;
}

/* Container and Main Content */
.container {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* Headings */
h1, h2 {
    color: #1a2b4c;
    margin-bottom: 1.5rem;
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
}

h1 {
    font-size: 2rem;
    text-align: center;
}

h2 {
    font-size: 1.5rem;
}

/* Table Styling */
.table {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.table th {
    background-color: #1a2b4c;
    color: #fff;
    padding: 1rem;
    text-align: left;
}

.table td {
    padding: 0.75rem;
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: #f8f9fa;
}

/* Form Styling */
form {
    background-color: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    max-width: 600px;
    margin: 0 auto 2rem;
}

form p {
    margin-bottom: 1rem;
}

form label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

form input[type="text"],
form input[type="number"],
form textarea,
form select {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

form input[type="submit"] {
    background-color: #00b7ff;
    color: #fff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form input[type="submit"]:hover {
    background-color: #008ecc;
}

/* Buttons */
.btn {
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.btn-primary {
    background-color: #00b7ff;
    color: #fff;
    border: none;
}

.btn-primary:hover {
    background-color: #008ecc;
    color: #fff;
}

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
    color: #fff;
}

/* Flash Messages */
.flashed-messages {
    background-color: #d4edda;
    color: #155724;
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    text-align: center;
}

/* Footer */
footer {
    text-align: center;
    padding: 0rem;
    background-color: #1a2b4c;
    color: #fff;
    position: fixed;
    bottom: 0;
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .navbar-nav {
        text-align: center;
    }

    .nav-item {
        margin-bottom: 0.5rem;
    }

    .table-responsive {
        margin-bottom: 2rem;
    }

    form {
        padding: 1rem;
    }
}
/* ========================================
   HOMEPAGE SPECIFIC STYLES  
   ======================================== */

/* Homepage Body Override */
body.homepage {
    font-family: 'Inter', sans-serif;
    background: #0a0e1a;
    color: #ffffff;
    overflow-x: hidden;
}

/* Animated Gradient Background with GIF Layer */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    /* Base gradient background */
    background: linear-gradient(135deg, #0a0e1a 0%, #1a2b4c 50%, #0a0e1a 100%);
}

/* GIF Background Layer - Centered, fixed position */
.gradient-bg::before {
    content: '';
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25vw;
    height: 25vw;
    min-width: 300px;
    min-height: 300px;
    max-width: 500px;
    max-height: 500px;
    background-image: url('/static/images/fusion-logo.gif');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
}

/* Animated gradient overlay - On top of GIF */
.gradient-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(circle, rgba(0, 183, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(224, 123, 57, 0.15) 0%, transparent 50%);
    animation: pulse-bg 15s ease-in-out infinite;
    z-index: 2;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes pulse-bg {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

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

@keyframes bounce {
    0%, 100% { transform: translateY(0) translateX(-50%); }
    50% { transform: translateY(-10px) translateX(-50%); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float 6s ease-in-out infinite 2s;
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

.animate-bounce {
    animation: bounce 1s infinite;
}

/* Floating Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(0, 183, 255, 0.6);
    border-radius: 50%;
    pointer-events: none;
    animation: particle-float 3s ease-in-out infinite;
}

@keyframes particle-float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) translateX(50px);
        opacity: 0;
    }
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-strong {
    background: rgba(26, 43, 76, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 183, 255, 0.2);
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glow Effects */
.glow-blue {
    box-shadow: 0 0 20px rgba(0, 183, 255, 0.3), 0 0 40px rgba(0, 183, 255, 0.2);
}

.glow-blue-strong {
    box-shadow: 0 0 30px rgba(0, 183, 255, 0.5), 0 0 60px rgba(0, 183, 255, 0.3);
}

.hover-glow {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(0, 183, 255, 0.4), 0 0 60px rgba(0, 183, 255, 0.2);
    transform: translateY(-5px);
}

/* Homepage Navbar */
.navbar-homepage {
    background: transparent;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.navbar-homepage.scrolled {
    background: rgba(26, 43, 76, 0.95) !important;
    backdrop-filter: blur(20px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar-homepage .container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.navbar-homepage .nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-homepage .logo-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.navbar-homepage .logo-container:hover .logo-img {
    transform: scale(1.1);
}

.navbar-homepage .logo-img {
    width: 5rem;
    height: 5rem;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.3));
}

.navbar-homepage .logo-container:hover .logo-icon {
    transform: scale(1.1) rotate(360deg);
}

.navbar-homepage .logo-icon {
    font-size: 3rem;
    transition: transform 0.5s ease;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.3));
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.navbar-homepage .brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-homepage .brand-text .text-white {
    color: #ffffff;
}

.navbar-homepage .nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-homepage .nav-menu a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar-homepage .nav-menu a:hover {
    color: #00b7ff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    margin-top: 1rem;
    padding: 1.5rem;
    border-radius: 1rem;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a, .mobile-menu button {
    display: block;
    color: #d1d5db;
    text-decoration: none;
    padding: 0.75rem 0;
    transition: color 0.3s ease;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    font-size: 1rem;
    cursor: pointer;
}

.mobile-menu a:hover, .mobile-menu button:hover {
    color: #00b7ff;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 1.5rem 4rem;
    overflow: hidden;
    text-align: center;
}

.hero-icons {
    position: absolute;
    font-size: 3rem;
    opacity: 0.2;
}

.hero-icons.icon-1 {
    top: 5rem;
    left: 2.5rem;
    color: #00b7ff;
}

.hero-icons.icon-2 {
    top: 10rem;
    right: 5rem;
    font-size: 2.5rem;
    color: #e07b39;
}

.hero-icons.icon-3 {
    bottom: 10rem;
    left: 25%;
    font-size: 3.5rem;
    color: #00b7ff;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 64rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    margin-bottom: 1.5rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.hero-badge span {
    color: #00b7ff;
    font-weight: 600;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #d1d5db;
    margin-bottom: 1rem;
    line-height: 1.5;
}

.hero-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 3rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 4rem;
}

.btn-hero-primary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    border: none;
    cursor: not-allowed;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    opacity: 0.6;
    z-index: 10;
}

.btn-hero-secondary {
    padding: 1rem 2rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
    color: white;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    color: #9ca3af;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trust-item i {
    color: #00b7ff;
}

.scroll-indicator {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-indicator a {
    color: #00b7ff;
    font-size: 1.875rem;
    text-decoration: none;
}

/* Section Styling */
.section {
    position: relative;
    padding: 6rem 1.5rem;
}

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

.section-badge {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
}

.section-badge span {
    color: #00b7ff;
    font-weight: 600;
}

.section-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.section-description {
    font-size: 1.25rem;
    color: #9ca3af;
    max-width: 42rem;
    margin: 0 auto;
}

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1280px;
    margin: 0 auto;
}

.feature-card {
    padding: 2rem;
    border-radius: 1.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 183, 255, 0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(0, 183, 255, 0.5);
}

.feature-icon-wrapper {
    width: 4rem;
    height: 4rem;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon {
    font-size: 1.875rem;
    color: white;
}

.feature-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-description {
    color: #9ca3af;
    line-height: 1.625;
}

/* Stats Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

.stat-item {
    transition: transform 0.3s ease;
}

.stat-item:hover {
    transform: scale(1.1);
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
}

.stat-label {
    font-size: 1.25rem;
    color: #d1d5db;
    font-weight: 600;
}

.stat-sublabel {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.stat-disclaimer {
    margin-top: 2rem;
    text-align: center;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Pricing Cards */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 72rem;
    margin: 0 auto;
}

.pricing-card {
    padding: 2rem;
    border-radius: 1.5rem;
    transition: all 0.4s ease;
}

.pricing-card.featured {
    border: 2px solid #00b7ff;
    transform: scale(1.05);
}

.pricing-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.pricing-badge {
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-badge.badge-primary {
    background-color: rgba(0, 183, 255, 0.2);
    color: #00b7ff;
}

.pricing-badge.badge-accent {
    background-color: rgba(224, 123, 57, 0.2);
    color: #e07b39;
}

.pricing-badge.badge-featured {
    background-color: #00b7ff;
    color: white;
}

.pricing-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 0.5rem;
}

.pricing-description {
    color: #9ca3af;
}

.pricing-features {
    margin-bottom: 2rem;
    list-style: none;
    padding: 0;
}

.pricing-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.pricing-features i {
    color: #00b7ff;
    font-size: 1.25rem;
    margin-top: 0.25rem;
}

.pricing-features span {
    color: #d1d5db;
}

.pricing-btn {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 700;
    border: none;
    cursor: not-allowed;
    transition: all 0.3s ease;
}

.pricing-btn.btn-glass {
    color: white;
    opacity: 0.6;
}

.pricing-btn.btn-featured {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00b7ff 0%, #0099dd 100%);
    color: white;
    opacity: 0.6;
    z-index: 10;
}

/* CTA Section */
.cta-box {
    padding: 4rem;
    border-radius: 1.5rem;
    text-align: center;
    max-width: 1280px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.cta-description {
    font-size: 1.25rem;
    color: #9ca3af;
    margin-bottom: 2rem;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

/* Homepage Footer */
.homepage-footer {
    position: relative;
    padding: 4rem 1.5rem;
    border-top: 1px solid #1f2937;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.footer-brand {
    grid-column: span 2;
}

.footer-brand-container {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.footer-brand-logo {
    font-size: 2.5rem;
    filter: drop-shadow(0 0 10px rgba(0, 183, 255, 0.3));
    background: linear-gradient(135deg, #00b7ff 0%, #00d4ff 50%, #e07b39 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: transform 0.5s ease;
}

.footer-brand-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-description {
    color: #9ca3af;
    margin-bottom: 1.5rem;
    max-width: 28rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: rgba(0, 183, 255, 0.2);
}

.footer-social i {
    color: #00b7ff;
}

.footer-section h4 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00b7ff;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid #1f2937;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 1280px;
    margin: 0 auto;
}

.footer-copyright {
    color: #6b7280;
    font-size: 0.875rem;
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: #00b7ff;
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s ease;
}

.scroll-reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar for Homepage */
body.homepage::-webkit-scrollbar {
    width: 10px;
}

body.homepage::-webkit-scrollbar-track {
    background: #0a0e1a;
}

body.homepage::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #00b7ff, #0099dd);
    border-radius: 5px;
}

body.homepage::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #0099dd, #00b7ff);
}

/* Responsive Design for Homepage */
@media (min-width: 640px) {
    .cta-buttons {
        flex-direction: row;
    }
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 6rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .footer-bottom {
        flex-direction: row;
    }
}

@media (max-width: 768px) {
    .navbar-homepage .nav-menu {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
    
    .cta-title {
        font-size: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .cta-box {
        padding: 2rem;
    }
}