/* ==========================================================================
   File: /assets/css/main.css
   ==========================================================================
   
   AIAlchemyHub — Global Stylesheet
   
   Purpose:
   - Central visual design system for AIAlchemyHub
   - Defines global layout, typography, spacing, utility styles,
     reusable components, and responsive behaviors
   
   Architecture Philosophy:
   - Human-centered visual system
   - Minimal but futuristic aesthetic
   - Modular and scalable styling foundation
   - Bootstrap-enhanced (not Bootstrap-overridden aggressively)
   
   Tech Stack:
   - Bootstrap 5.3.x
   - Font Awesome 6
   - AOS Animations
   - Swiper.js
   - GLightbox
   
   Future Suggested CSS Structure:
   
   /assets/css/
   ├── main.css
   ├── utilities.css
   ├── components.css
   ├── animations.css
   ├── layout.css
   ├── forms.css
   ├── footer.css
   ├── navbar.css
   └── pages/
       ├── home.css
       ├── articles.css
       └── research.css
   
   Author:
   - AIAlchemyHub
   ========================================================================== */


/* ==========================================================================
   ROOT VARIABLES
   Global Design Tokens
   ========================================================================== */

:root {

    /* Core Backgrounds */
    --bg-primary: #050816;
    --bg-secondary: #0c1225;

    /* Accent System */
    --accent: #5ce1e6;
    --accent-soft: rgba(92, 225, 230, 0.12);

    /* Typography */
    --text-primary: #ffffff;
    --text-secondary: #b7bfd4;

    /* Borders */
    --border-soft: rgba(255, 255, 255, 0.08);

    /* Effects */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);

    /* Transitions */
    --transition-fast: 0.3s ease;
}


/* ==========================================================================
   GLOBAL RESET
   ========================================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* ==========================================================================
   BASE DOCUMENT
   ========================================================================== */

html {
    scroll-behavior: smooth;
}

body {

    font-family: 'Inter', sans-serif;

    background:
        linear-gradient(
            135deg,
            #040816 0%,
            #07111f 45%,
            #0d1630 100%
        );

    color: var(--text-primary);

    overflow-x: hidden;

    min-height: 100vh;
}


/* ==========================================================================
   GLOBAL LINKS
   ========================================================================== */

a {
    text-decoration: none;
    transition: var(--transition-fast);
}


/* ==========================================================================
   UTILITY BAR
   ========================================================================== */

.utility-bar {

    position: fixed;

    top: 0;
    left: 0;

    width: 100%;

    height: 42px;

    display: flex;
    align-items: center;

    background: rgba(3, 6, 18, 0.92);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    z-index: 9999;
}

.utility-wrapper {

    display: flex;

    align-items: center;
    justify-content: space-between;
}

.utility-left {

    display: flex;

    align-items: center;
    gap: 12px;

    font-size: 0.88rem;

    color: var(--text-secondary);
}

.flag-icon {
    font-size: 1rem;
}

.timezone-label {

    color: var(--accent);

    font-weight: 600;
}

.utility-right {

    display: flex;

    align-items: center;
    gap: 14px;
}

.utility-right a {

    color: rgba(255, 255, 255, 0.7);

    font-size: 0.95rem;
}

.utility-right a:hover {

    color: var(--accent);

    transform: translateY(-2px);
}


/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar {

    background: rgba(5, 8, 22, 0.85);

    backdrop-filter: blur(12px);

    border-bottom: 1px solid var(--border-soft);

    top: 42px;

    padding-top: 14px;
    padding-bottom: 14px;
}

.navbar-brand {

    font-size: 1.5rem;

    font-weight: 800;

    color: #fff;
}

.navbar-brand span {
    color: var(--accent);
}

.nav-link {

    color: rgba(255, 255, 255, 0.85) !important;

    font-weight: 500;

    margin-left: 10px;

    position: relative;
}

.nav-link:hover,
.nav-link.active {

    color: var(--accent) !important;
}


/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero {

    min-height: 100vh;

    display: flex;
    align-items: center;

    position: relative;

    overflow: hidden;

    padding-top: 150px;
    padding-bottom: 60px;
}

.hero::before {

    content: '';

    position: absolute;

    width: 500px;
    height: 500px;

    background: rgba(92, 225, 230, 0.15);

    filter: blur(120px);

    top: -100px;
    right: -100px;

    z-index: 0;
}

.hero h1 {

    font-size: 4rem;

    font-weight: 800;

    line-height: 1.1;

    margin-bottom: 25px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {

    color: var(--text-secondary);

    font-size: 1.1rem;

    line-height: 1.9;

    margin-bottom: 30px;
}


/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn-primary-custom {

    background: var(--accent);

    color: #000;

    border: none;

    padding: 14px 32px;

    border-radius: 50px;

    font-weight: 700;
}

.btn-primary-custom:hover {

    transform: translateY(-3px);

    box-shadow: 0 15px 30px rgba(92, 225, 230, 0.25);
}

.btn-outline-custom {

    border: 1px solid rgba(255, 255, 255, 0.2);

    color: #fff;

    padding: 14px 32px;

    border-radius: 50px;

    font-weight: 600;

    margin-left: 12px;
}

.btn-outline-custom:hover {

    background: rgba(255, 255, 255, 0.06);

    color: #fff;
}


/* ==========================================================================
   GLASS CARD SYSTEM
   ========================================================================== */

.glass-card {

    background: var(--glass-bg);

    border: 1px solid var(--glass-border);

    border-radius: 24px;

    backdrop-filter: blur(12px);

    transition: var(--transition-fast);
}

.glass-card:hover {

    transform: translateY(-8px);

    border-color: rgba(92, 225, 230, 0.4);
}


/* ==========================================================================
   GLOBAL SECTION SYSTEM
   ========================================================================== */

.section-padding {
    padding: 100px 0;
}

.section-title {

    font-size: 2.8rem;

    font-weight: 800;

    margin-bottom: 20px;
}

.section-subtitle {

    color: var(--text-secondary);

    max-width: 750px;

    margin: 0 auto 60px;

    line-height: 1.9;
}


/* ==========================================================================
   FEATURE CARDS
   ========================================================================== */

.feature-icon {

    width: 70px;
    height: 70px;

    border-radius: 20px;

    background: var(--accent-soft);

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 1.7rem;

    color: var(--accent);

    margin-bottom: 25px;
}

.feature-card {

    padding: 35px;

    height: 100%;
}

.feature-card h4 {

    font-weight: 700;

    margin-bottom: 18px;
}

.feature-card p {

    color: var(--text-secondary);

    line-height: 1.8;
}


/* ==========================================================================
   PRINCIPLES / STATS BOXES
   ========================================================================== */

.stats-box {

    padding: 40px;

    text-align: center;

    height: 100%;
}

.stats-box h2,
.stats-box h3 {

    color: var(--accent);

    font-weight: 800;

    margin-bottom: 16px;
}

.stats-box h2 {
    font-size: 3rem;
}

.stats-box h3 {
    font-size: 1.8rem;
}

.stats-box p {

    color: var(--text-secondary);

    line-height: 1.8;
}


/* ==========================================================================
   SWIPER / TESTIMONIALS
   ========================================================================== */

.swiper {
    padding-bottom: 60px;
}

.testimonial-card {

    padding: 40px;

    height: 100%;
}

.testimonial-card img {

    width: 80px;
    height: 80px;

    border-radius: 50%;

    object-fit: cover;

    margin-bottom: 20px;
}

.testimonial-card p {

    color: var(--text-secondary);

    line-height: 1.9;
}


/* ==========================================================================
   FOOTER
   ========================================================================== */

footer {

    background: rgba(0, 0, 0, 0.3);

    border-top: 1px solid var(--border-soft);

    padding: 60px 0 20px;
}

footer p,
footer li,
footer a {

    color: var(--text-secondary);
}

footer a:hover {
    color: var(--accent);
}

.footer-title {

    font-weight: 700;

    margin-bottom: 20px;

    color: #fff;
}


/* ==========================================================================
   SOCIAL ICONS
   ========================================================================== */

.social-icons a {

    width: 42px;
    height: 42px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.06);

    display: inline-flex;

    align-items: center;
    justify-content: center;

    margin-right: 10px;
}

.social-icons a:hover {

    background: var(--accent);

    color: #000;
}


/* ==========================================================================
   NEWSLETTER BOX
   ========================================================================== */

.newsletter-box {

    background: rgba(255, 255, 255, 0.04);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 24px;

    backdrop-filter: blur(12px);
}


/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */

.back-to-top {

    position: fixed;

    right: 25px;
    bottom: 25px;

    width: 55px;
    height: 55px;

    border: 1px solid rgba(92, 225, 230, 0.25);

    border-radius: 50%;

    background: rgba(92, 225, 230, 0.18);

    color: var(--accent);

    backdrop-filter: blur(10px);

    display: flex;

    align-items: center;
    justify-content: center;

    font-size: 1.2rem;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    transition: all 0.35s ease;

    z-index: 9999;
}

.back-to-top:hover {

    background: var(--accent);

    color: #000;

    transform: translateY(-5px);

    box-shadow: 0 15px 30px rgba(92, 225, 230, 0.25);
}

.back-to-top.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);
}


/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 992px) {

    .hero h1 {
        font-size: 2.8rem;
    }

    .section-title {
        font-size: 2.1rem;
    }

    .navbar {
        top: 42px;
    }

    .utility-wrapper {

        flex-direction: column;

        gap: 6px;

        padding: 8px 0;
    }

    .utility-bar {
        height: auto;
        padding: 6px 0;
    }
}

@media (max-width: 768px) {

    .hero {
        padding-top: 180px;
    }

    .hero h1 {
        font-size: 2.3rem;
    }

    .section-padding {
        padding: 70px 0;
    }

    .btn-primary-custom,
    .btn-outline-custom {

        width: 100%;

        margin-left: 0;
    }

    .back-to-top {

        width: 48px;
        height: 48px;
    }
}