:root {
    --primary: #6366f1;
    --primary-dark: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.3);
    --secondary: #10b981;
    --secondary-glow: rgba(16, 185, 129, 0.3);
    --accent: #f59e0b;
    --accent-glow: rgba(245, 158, 11, 0.3);
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --gray-dark: #334155;
    --gradient-primary: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --gradient-space: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    --shadow-glow: 0 0 30px var(--primary-glow);
    --shadow-glow-secondary: 0 0 30px var(--secondary-glow);
    --radius: 16px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Inter', Arial, sans-serif;
}

body {
    background: var(--darker);
    color: var(--light);
    font-family: 'Inter', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Cosmic Background */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: var(--gradient-space);
    overflow: hidden;
}

.planet {
    position: absolute;
    top: 50%;
    right: 10%;
    width: 600px;
    height: 600px;
    transform: translateY(-50%);
    opacity: 0.1;
    animation: planet-rotate 120s linear infinite;
}

.planet-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--primary-glow), transparent 70%);
    box-shadow: inset 0 0 100px var(--primary-glow);
}

.grid-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-glow);
}

.grid-lines::before,
.grid-lines::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid var(--primary-glow);
}

.grid-lines::before {
    transform: rotate(60deg);
}

.grid-lines::after {
    transform: rotate(120deg);
}

.data-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite linear;
}

/* Shooting Stars Background Effect */
.shooting-stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.shooting-star {
    position: absolute;
    height: 1px;
    background: linear-gradient(90deg,
    transparent 0%,
    var(--light) 20%,
    var(--primary) 50%,
    var(--secondary) 80%,
    transparent 100%);
    box-shadow: 0 0 8px var(--primary-glow),
    0 0 12px var(--secondary-glow);
    border-radius: 50%;
    opacity: 0;
    filter: blur(0.5px);
}

@keyframes shootStar {
    0% {
        transform: translate(var(--start-x), var(--start-y)) rotate(var(--angle)) scale(0.3);
        opacity: 0;
        width: 0px;
    }
    10% {
        opacity: 1;
        width: var(--length);
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translate(var(--end-x), var(--end-y)) rotate(var(--angle)) scale(1);
        opacity: 0;
        width: var(--length);
    }
}

@keyframes planet-rotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    25% { transform: translate(100px, 100px); }
    50% { transform: translate(0, 200px); }
    75% { transform: translate(-100px, 100px); }
}

/* Header & Navigation with Shooting Star Border */
.navbar-custom {
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border: none;
    padding: 20px 0;
    transition: all 0.4s ease;
    z-index: 1000;
    position: relative;
    overflow: hidden;
}

.navbar-custom.scrolled {
    padding: 15px 0;
    background: rgba(15, 23, 42, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.navbar-custom .navbar-brand img {
    transition: all 0.3s ease;
}

.navbar-custom .navbar-brand:hover img {
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

.navbar-custom .navbar-nav > li > a {
    color: var(--light) !important;
    background: transparent !important;
    font-weight: 500;
    margin: 0 10px;
    padding: 10px 20px !important;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-custom .navbar-nav > li > a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
    border-radius: 50px;
}

.navbar-custom .navbar-nav > li > a:hover::before {
    left: 0;
}

.navbar-custom .navbar-nav > li > a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

/* Mobile Menu Styles */
.navbar-header {
    position: relative;
}

.navbar-toggle {
    border: none;
    background: transparent !important;
    float: left;
    margin-left: 15px;
    margin-right: 0;
}

.navbar-toggle .icon-bar {
    background-color: var(--light);
    height: 3px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.navbar-toggle:hover .icon-bar {
    background-color: var(--primary);
    box-shadow: 0 0 8px var(--primary-glow);
}

.navbar-collapse {
    border: none;
    box-shadow: none;
}

@media (max-width: 768px) {
    .navbar-custom .navbar-nav {
        margin: 0;
        text-align: center;
        background: rgba(15, 23, 42, 0.95);
        backdrop-filter: blur(20px);
        border-radius: var(--radius);
        margin-top: 10px;
        padding: 10px;
    }

    .navbar-custom .navbar-nav > li > a {
        margin: 5px 0;
        display: block;
    }
}

/* Shooting Stars Border Effect - Reduced */
.navbar-border-stars {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    pointer-events: none;
    z-index: 1001;
}

.border-star {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg,
    transparent 0%,
    var(--primary) 20%,
    var(--secondary) 50%,
    var(--primary) 80%,
    transparent 100%);
    box-shadow: 0 0 8px var(--primary-glow),
    0 0 16px var(--secondary-glow);
    border-radius: 50%;
    opacity: 0;
    animation: borderStarFlow 6s linear infinite;
}

@keyframes borderStarFlow {
    0% {
        transform: translateX(-100px);
        opacity: 0;
        width: 60px;
    }
    15% {
        opacity: 1;
    }
    85% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 100px));
        opacity: 0;
        width: 80px;
    }
}

/* Hero Section - Centered with Smooth Animation */
.hero_features {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px 0 0px;
    overflow: hidden;
    text-align: center;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 5px 0 100px;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1, .page_content h1 {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.page_content h1 {
    text-align: center;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: var(--gray);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 0.8s forwards;
}

.btn-hero {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out 1.1s forwards;
}

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

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

.pulse {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% { box-shadow: 0 0 20px var(--primary-glow); }
    50% { box-shadow: 0 0 40px var(--primary-glow); }
    100% { box-shadow: 0 0 20px var(--primary-glow); }
}

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

/* Sections */
section {
    padding: 120px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 4rem;
    text-align: center;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 20px auto;
    border-radius: 2px;
    box-shadow: var(--shadow-glow);
}

/* Features */
.feature-card {
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius);
    padding: 40px 30px;
    margin-bottom: 30px;
    transition: all 0.4s ease;
    height: 100%;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 25px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.feature-card h4 {
    font-weight: 600;
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.feature-card p {
    color: var(--gray);
}

/* Marketplaces */
.marketplace-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.marketplace-logo {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius);
    padding: 25px;
    width: 160px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.marketplace-logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.6s ease;
}

.marketplace-logo:hover::before {
    left: 100%;
}

.marketplace-logo:hover {
    transform: scale(1.1) translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.marketplace-logo img {
    max-width: 100%;
    max-height: 60px;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.marketplace-logo:hover img {
    filter: brightness(1) invert(0);
}

/* Suppliers */
/*.table-responsive {
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(30, 41, 59, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-glow);
}

.table th {
    background: var(--gradient-primary);
    color: white;
    border: none;
    font-weight: 600;
    padding: 20px;
    text-align: center;
}

.table td {
    vertical-align: middle;
    padding: 15px 20px;
    border-color: rgba(99, 102, 241, 0.1);
    background: rgba(30, 41, 59, 0.6);
    color: var(--light);
}

.table tr:hover td {
    background: rgba(99, 102, 241, 0.1);
}*/

/* Pricing - Fixed Hover Effects */
.plans {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.plan {
    position: relative;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius);
    padding: 50px 30px;
    width: 300px;
    text-align: center;
    transition: all 0.3s ease;
}

.plan:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.plan.popular {
    border-color: var(--secondary);
    transform: scale(1.02);
}

.plan.popular:hover {
    transform: scale(1.02) translateY(-10px);
}

.plan.popular::after {
    content: '★ Most Popular';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-secondary);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--shadow-glow-secondary);
}

.plan h3 {
    margin-top: 0;
    font-size: 26px;
    font-weight: 700;
}

.plan p {
    font-size: 18px;
    margin: 15px 0 10px;
    color: var(--gray);
}

.price-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin: 25px 0;
}

.container a {
    color: white;
}

.price-main {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
    position: relative;
    background: linear-gradient(135deg, var(--light) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-main .cents {
    font-size: 18px;
    vertical-align: super;
    margin-left: 2px;
    position: relative;
    top: -0.5em;
    background: linear-gradient(135deg, var(--gray) 0%, var(--gray-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 16px;
    color: var(--gray);
    margin-left: 8px;
    margin-top: 10px;
}

.plan button {
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    background: var(--gradient-primary);
    color: white;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: var(--shadow-glow);
}

.plan button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px var(--primary-glow);
}

/* Affiliates */
.affiliates .section-title::after {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-glow-secondary);
}

.social-share {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 40px 0;
}

.social-share a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-share a:hover {
    background: var(--gradient-secondary);
    transform: translateY(-5px) scale(1.1);
    box-shadow: var(--shadow-glow-secondary);
}

/* Support - Fixed Select Color */
.support form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    padding: 50px;
    border-radius: var(--radius);
    border: 1px solid rgba(99, 102, 241, 0.2);
    box-shadow: var(--shadow-glow);
}

.form-group {
    margin-bottom: 25px;
}

.form-control {
    border-radius: 12px;
    padding: 15px 20px;
    border: 1px solid rgba(99, 102, 241, 0.3);
    background: rgba(15, 23, 42, 0.6);
    color: var(--light);
    transition: all 0.3s ease;
    font-size: 1rem;
}

.form-control:focus {
    border-color: var(--primary);
    background: rgba(15, 23, 42, 0.8);
    box-shadow: 0 0 0 3px var(--primary-glow);
    color: var(--light);
}

/* Fix select option colors */
select.form-control {
    color: var(--light) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: rgba(15, 23, 42, 0.8) !important;
}

select.form-control option {
    background: var(--dark);
    color: var(--light);
    padding: 12px;
    border: none;
}

select.form-control:focus option {
    background: var(--darker);
    color: var(--light);
}

select.form-control::-ms-expand {
    display: none;
}

/* Custom select arrow */
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23f8fafc' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px;
}

/* Footer - Gray Text and No Background */
footer {
    padding: 80px 0 40px;
    border-top: 1px solid rgba(99, 102, 241, 0.2);
}

footer p {
    color: var(--gray-light);
}

footer strong {
    color: var(--gray-light);
}

footer a {
    color: var(--gray-light);
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.8rem;
    }

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

    .plan {
        width: 100%;
        max-width: 350px;
    }

    .plan.popular {
        transform: scale(1);
    }

    .plan.popular:hover {
        transform: translateY(-10px);
    }

    .marketplace-logo {
        width: 130px;
        height: 90px;
    }

    .planet {
        width: 400px;
        height: 400px;
        right: -100px;
    }

    .navbar-header {
        float: none;
    }

    .navbar-toggle {
        display: block;
    }

    .navbar-collapse {
        border-top: 1px solid transparent;
        box-shadow: none;
    }

    .navbar-collapse.collapse {
        display: none !important;
    }

    .navbar-collapse.collapse.in {
        display: block !important;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }

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

    .support form {
        padding: 30px 20px;
    }
}

#support_category {
    padding-top: 0;
    padding-bottom: 0;
}

/* Harmonized Suppliers Table */
.suppliers-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-glow);
    margin-top: 30px;
}

.suppliers-table th {
    background: var(--gradient-primary);
    color: #fff;
    text-align: left;
    padding: 14px 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.suppliers-table td {
    padding: 14px 18px;
    color: var(--gray-light);
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.suppliers-table tr:hover {
    background: rgba(99,102,241,0.1);
    transition: 0.3s;
}

/* FAQ Section */
.faq {
    margin-top: 50px;
    background: rgba(15, 23, 42, 0.7);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glow-secondary);
    padding: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq h2 {
    text-align: center;
    font-size: 28px;
    color: var(--light);
    margin-bottom: 20px;
}

.faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 15px 0;
}

.faq-question {
    font-weight: 600;
    color: var(--light);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    transition: transform 0.3s;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    color: var(--gray-light);
    padding-top: 8px;
    line-height: 1.5;
}
