/* landing/static/landing/css/landing.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --background-dark: #1a1d24;
    --background-light: #2c313a;
    --text-primary: #ffffff;
    --text-secondary: #b0b8c4;
    --accent-color: #ff007f;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    font-family: 'Poppins', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

#blob-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
    pointer-events: none;
}

.blob {
    position: absolute;
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.2), rgba(255, 0, 127, 0.2));
    border-radius: 50%;
    filter: blur(50px);
    animation: move 25s infinite alternate;
}

@keyframes move {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(50%, 50%) rotate(360deg);
    }
}

/* ==================== HEADER & NAVIGATION ==================== */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 5%;
    background: rgba(26, 29, 36, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    z-index: 1001;
}

/* Logo image */
.logo-image {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Animated brand text */
.brand-text {
    background: linear-gradient(90deg,
        #0066cc 0%,
        #0099ff 25%,
        #00ccff 50%,
        #0099ff 75%,
        #0066cc 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-slide 3s linear infinite;
}

.footer-logo .logo-image {
    height: 35px;
}

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

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Hamburger button - hidden on desktop */
.hamburger {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

/* Mobile Navigation */
.mobile-nav {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(26, 29, 36, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
}

.mobile-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 1.8rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.mobile-nav a:hover {
    color: var(--primary-color);
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

/* ==================== BUTTONS ==================== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 123, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-login {
    background: var(--primary-color);
    color: var(--text-primary);
    white-space: nowrap;
}

.btn-login:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

/* ==================== MAIN CONTENT ==================== */

main {
    flex-grow: 1; /* Allow main content to grow and push footer down */
    padding-top: 80px;
}

/* ==================== HERO SECTION ==================== */

.hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    padding: 8rem 5%;
    max-width: 1400px;
    margin: 0 auto;
    min-height: calc(100vh - 80px);
}

.hero-content {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1s ease 0.3s both;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 0 15px 5px rgba(0, 140, 255, 0.6);
    transition: all 0.3s ease-in-out;
    filter: drop-shadow(0 20px 40px rgba(0, 123, 255, 0.3));
}

/* ==================== FEATURES SECTION ==================== */

.features {
    padding: 6rem 5%;
    background: rgba(44, 49, 58, 0.3);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(90deg,
        #0066cc 0%,
        #0099ff 25%,
        #00ccff 50%,
        #0099ff 75%,
        #0066cc 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-slide 2.5s linear infinite;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(44, 49, 58, 0.5);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 123, 255, 0.2);
    border-color: var(--primary-color);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    font-size: 2rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-description {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==================== ABOUT SECTION ==================== */

.about {
    padding: 6rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.about-content {
    text-align: center;
}

.about-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-top: 2rem;
}

/* ==================== FOOTER ==================== */

.main-footer-section {
    background: rgba(26, 29, 36, 0.95);
    padding: 4rem 5% 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-logo i {
    color: var(--primary-color);
}

.footer-links {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-color);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ==================== ANIMATIONS ==================== */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 6rem 5%;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1rem;
        gap: 0.3rem;
    }

    .logo-image {
        height: 25px;
        max-width: 100px;
    }

    .brand-text {
        font-size: 1rem;
    }

    .hamburger {
        display: block;
    }

    .main-header {
        padding: 1rem 3%;
    }

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

    .hero-subtitle {
        font-size: 1rem;
    }

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

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* ==================== FEATURES PAGE ==================== */

.features-page {
    padding: 6rem 5%;
}

.features-hero {
    text-align: center;
    margin-bottom: 6rem;
    animation: fadeInUp 1s ease;
}

.features-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.feature-section {
    display: flex;
    align-items: center;
    gap: 4rem;
    margin-bottom: 8rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.feature-section.alt {
    flex-direction: row-reverse;
}

.feature-content {
    flex: 1;
    animation: fadeInUp 1s ease;
}

.feature-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
}

.feature-content p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.feature-image {
    flex: 1;
    position: relative;
    animation: fadeInUp 1s ease;
}

.feature-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 0 15px 5px rgba(0, 84, 153, 0.6);
    transition: transform 0.3s ease;
}

.feature-image:hover img {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .feature-section {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 4rem;
    }

    .feature-section.alt {
        flex-direction: column;
    }

    .feature-content h2 {
        font-size: 2rem;
    }
}

