/* landing.css */

.btn-outline-teal {
    background: transparent;
    border: 2px solid #00b38f;
    color: #00ffcc;
    position: relative;
    overflow: hidden;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-outline-teal:hover {
    background: #00b38f;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 179, 143, 0.3);
}

.step-number .badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #00ffcc, #008080);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    font-size: 1.25rem;
    border-radius: 50%;
    margin: 0 auto;
    box-shadow: 0 0 15px rgba(0, 255, 204, 0.3);
    border: 2px solid rgba(0, 255, 204, 0.2);
}

.feature-card:hover .step-number .badge {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.4);
    border-color: rgba(0, 255, 204, 0.4);
}


/* =============== Hero Section =============== */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, #000F2E 0%, #001F3F 100%);
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Enhanced Starfield Layer */
.starfield-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('/images/landing/stars-bg.jpg') repeat center center;
    z-index: 0;
    opacity: 0.4;
    animation: starfieldMove 200s linear infinite;
    pointer-events: none;
}

@keyframes starfieldMove {
    0% { background-position: 0 0; }
    100% { background-position: 10000px 10000px; }
}

/* Enhanced Cyber Background */
.cyber-texture-background {
    background: linear-gradient(135deg, rgba(0, 10, 8, 0.95) 0%, rgba(0, 43, 54, 0.95) 100%);
    opacity: 0.9;
    z-index: 1;
    backdrop-filter: blur(10px);
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* =============== Quick Benefits List =============== */
.quick-benefits-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}

.quick-benefits-list li {
    padding: 0.25rem 1rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.quick-benefits-list li:hover {
    background: rgba(0, 255, 204, 0.1);
    transform: translateX(5px);
    border-color: rgba(0, 255, 204, 0.2);
}

.quick-benefits-list i {
    color: #00ffcc;
    margin-right: 1rem;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* =============== Feature Cards =============== */
.feature-card {
    text-align: center;
    background: rgba(0, 10, 15, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 204, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(0, 255, 204, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card h5 {
    font-family: 'Orbitron', sans-serif;
    color: #00ffcc;
    margin-bottom: 1rem;
}

.feature-icon {
    margin-top: auto;
    color: #00ffcc;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* =============== Avatar Showcase =============== */
/* Enhanced Avatar Card */
.avatar-card {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: rgba(0, 10, 15, 0.9);
    border: 1px solid rgba(0, 255, 204, 0.2);
    transition: all 0.4s ease;
}

.avatar-card:hover {
    transform: scale(1.02);
    border-color: rgba(0, 255, 204, 0.4);
    box-shadow: 0 0 30px rgba(0, 255, 204, 0.1);
}

.avatar-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* New gradient overlay wrapper */
.avatar-info-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 1.5rem 1.5rem;
    background: linear-gradient(to top,
    rgba(0, 10, 15, 0.95) 0%,
    rgba(0, 10, 15, 0.9) 40%,
    rgba(0, 10, 15, 0.6) 80%,
    rgba(0, 10, 15, 0) 100%
    );
    transform: translateY(0);
    transition: all 0.3s ease;
}

.avatar-card:hover .avatar-info-wrapper {
    padding-bottom: 2rem;
}

/* Text container styling */
.avatar-info {
    position: relative;
    z-index: 2;
    text-align: center;
}

.avatar-info p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.avatar-info h5 {
    color: #00ffcc;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* =============== CTA Buttons =============== */
.btn-teal {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #00b38f 0%, #008066 100%);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-teal:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 179, 143, 0.4);
}

.btn-teal::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.2) 0%, transparent 50%);
    transform: scale(0);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.btn-teal:hover::after {
    transform: scale(1);
    opacity: 1;
}

/* =============== Connection Cards =============== */
.connection-card {
    background: rgba(0, 10, 15, 0.8);
    border: 1px solid rgba(0, 255, 204, 0.1);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.connection-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 255, 204, 0.3);
    box-shadow: 0 10px 30px rgba(0, 255, 204, 0.1);
}

/* =============== Testimonials =============== */
.testimonial-card {
    background: rgba(0, 10, 15, 0.8);
    border: 1px solid rgba(0, 255, 204, 0.1);
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 4rem;
    font-family: Georgia, serif;
    color: rgba(0, 255, 204, 0.1);
    line-height: 1;
}

/* =============== Loading Animation =============== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, #000F2E 0%, #000510 100%);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loading-overlay.loaded {
    opacity: 0;
    pointer-events: none;
}

.cyber-spinner {
    position: relative;
    width: 120px;
    height: 120px;
}

.spinner-inner {
    position: absolute;
    border: 3px solid transparent;
    border-top-color: #00ffff;
    border-radius: 50%;
    width: 100%;
    height: 100%;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.4);
}

.spinner-inner::before,
.spinner-inner::after {
    content: '';
    position: absolute;
    border: 3px solid transparent;
    border-radius: 50%;
}

.spinner-inner::before {
    border-top-color: rgba(0,255,255,0.7);
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    animation: spin 2s linear infinite;
}

.spinner-inner::after {
    border-top-color: rgba(0,255,255,0.4);
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    animation: spin 3s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* =============== Animations =============== */
.fade-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* =============== Utility Classes =============== */
.text-cyber {
    color: #00ffcc !important;
}

.bg-cyber {
    background-color: rgba(0, 10, 15, 0.9);
}

.cyber-border {
    border: 1px solid rgba(0, 255, 204, 0.2);
}

/* =============== Mobile Optimizations =============== */
@media (max-width: 768px) {
    /* Hero Section Mobile */
    .hero-section {
        min-height: calc(100vh - 60px);
        padding: 2rem 0;
        text-align: center;
    }

    .hero-section h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    .hero-section .lead {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
        padding: 0 1rem;
    }

    /* Quick Benefits List Mobile */
    .quick-benefits-list {
        padding: 0 1rem;
    }

    .quick-benefits-list li {
        padding: 0.25rem;
        font-size: 0.95rem;
    }

    .quick-benefits-list i {
        font-size: 1.1rem;
        min-width: 24px;
    }

    /* CTA Buttons Mobile */
    .btn-teal,
    .btn-outline-light {
        width: 100%;
        margin-bottom: 0.75rem;
        padding: 0.85rem 1rem;
        font-size: 1rem;
    }

    /* Feature Cards Mobile */
    .feature-card {
        margin: 0.5rem;
        padding: 1.25rem;
    }

    .feature-card h5 {
        font-size: 1.1rem;
    }

    /* Avatar Showcase Mobile */
    .avatar-card {
        margin: 0.5rem;
    }

    .avatar-info {
        padding: 1rem;
    }

    /* Connection Cards Mobile */
    .connection-card {
        margin: 0.5rem;
        padding: 1.25rem;
    }

    /* Testimonials Mobile */
    .testimonial-card {
        padding: 1.25rem;
        margin: 0.5rem;
    }

    .testimonial-card p.lead {
        font-size: 1rem;
    }

    /* Section Spacing Mobile */
    section {
        padding: 3rem 0;
    }

    section h2.display-4 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
    }

    /* Container Spacing Mobile */
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .row {
        --bs-gutter-x: 1rem;
    }

    /* Loading Overlay Mobile */
    .loading-overlay .cyber-spinner {
        width: 80px;
        height: 80px;
    }

    .loading-text {
        font-size: 0.9rem;
    }
}

/* =============== Tablet Optimizations =============== */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .feature-card,
    .connection-card {
        margin: 0.5rem;
    }

    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* =============== Large Screen Optimizations =============== */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }

    .hero-section h1 {
        font-size: 4rem;
    }
}

/* =============== Print Styles =============== */
@media print {
    .hero-section {
        background: none !important;
        color: #000 !important;
    }

    .starfield-layer,
    .cyber-texture-background {
        display: none !important;
    }

    .btn-teal {
        border: 1px solid #000;
        background: none !important;
        color: #000 !important;
    }
}