/* 
   FluxPay Style System 
   Theme: Cyan (#2EDCE7) and Deep Blue (#0058B9) on Black 
*/

:root {
    --color-bg: #050505;
    --color-bg-darker: #000000;
    --color-card-bg: #121212;
    --color-card-hover: #1a1a1a;
    --color-text: #e0e0e0;
    --color-text-muted: #a0a0a0;
    --color-primary-cyan: #2EDCE7;
    /* From logo highlight */
    --color-primary-blue: #0058B9;
    /* From logo deep blue */
    --color-gradient: linear-gradient(135deg, var(--color-primary-blue), var(--color-primary-cyan));
    --color-white: #ffffff;

    --font-main: 'Inter', sans-serif;
    --transition: all 0.3s ease;
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(46, 220, 231, 0.15);
}

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

body {
    font-family: var(--font-main);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.bg-darker {
    background-color: var(--color-bg-darker);
}

.section {
    position: relative;
    overflow: hidden;
    padding: 100px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    opacity: 0.08;
    filter: blur(5px);
    z-index: 0;
    pointer-events: none;
}

#about::before {
    background-image: url('company_bg.png');
}

#products::before {
    background-image: url('products_bg.png');
}

#financials::before {
    background-image: url('financials_bg.png');
}

#business-model::before {
    background-image: url('products_bg.png');
    opacity: 0.1;
}

#operations::before {
    background-image: url('operations_bg.png');
}

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3,
h4 {
    color: var(--color-white);
    font-weight: 700;
    line-height: 1.2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    color: var(--color-primary-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 600;
    display: block;
    margin-bottom: 10px;
}

.section-title {
    font-size: 2.5rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Navbar */
.navbar {
    background: rgba(5, 5, 5, 0.9);
    backdrop-filter: blur(10px);
    height: 80px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 65px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 5px rgba(46, 220, 231, 0.2));
    transition: var(--transition);
}

.logo:hover .logo-img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(46, 220, 231, 0.4));
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-muted);
}

.nav-link:hover,
.nav-link.active {
    color: var(--color-primary-cyan);
}

.btn-contact {
    border: 1px solid var(--color-primary-cyan);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--color-primary-cyan);
}

.btn-contact:hover {
    background: var(--color-primary-cyan);
    color: #000;
    box-shadow: var(--shadow-glow);
}

.menu-toggle {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--color-white);
    margin: 5px auto;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 80px;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(0, 88, 185, 0.15), transparent 60%);
    z-index: 2;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 800px;
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    background: linear-gradient(120deg, var(--color-white), var(--color-primary-cyan), var(--color-white));
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    to {
        background-position: 200% center;
    }
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--color-primary-cyan);
    margin-bottom: 15px;
    font-weight: 600;
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    margin-bottom: 30px;
    max-width: 600px;
}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--color-gradient);
    color: #fff;
    box-shadow: 0 4px 15px rgba(46, 220, 231, 0.4);
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 220, 231, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(46, 220, 231, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(46, 220, 231, 0);
    }
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 220, 231, 0.6);
}

/* Organic Shapes in Bg */
.hero-shapes .shape {
    position: absolute;
    background: linear-gradient(45deg, var(--color-primary-blue), var(--color-primary-cyan));
    filter: blur(80px);
    opacity: 0.3;
    z-index: 0;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.shape-1 {
    width: 400px;
    height: 400px;
    top: -100px;
    right: -100px;
}

.shape-2 {
    width: 300px;
    height: 300px;
    bottom: 50px;
    left: -50px;
    animation-delay: -5s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(30px, 50px);
    }
}

/* About & Grid Systems */
.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-card {
    background: var(--color-card-bg);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.about-card:hover {
    border-color: rgba(46, 220, 231, 0.3);
    transform: translateY(-5px);
}

.about-card h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.about-card i {
    color: var(--color-primary-cyan);
}

.about-card ul li {
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.about-card strong {
    color: var(--color-white);
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--color-card-bg);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.service-card:hover {
    background: var(--color-card-hover);
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.icon-box {
    width: 60px;
    height: 60px;
    background: rgba(46, 220, 231, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--color-primary-cyan);
    font-size: 1.5rem;
}

.service-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* Financials */
.financial-block {
    background: var(--color-card-bg);
    padding: 30px;
    border-radius: 16px;
    border-left: 4px solid var(--color-primary-blue);
}

.financial-block h3 {
    margin-bottom: 20px;
}

.highlight-text {
    font-size: 1.2rem;
    margin-bottom: 25px;
    color: var(--color-primary-cyan);
}

.capital-allocation {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.alloc-item span {
    display: block;
    margin-top: 5px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.alloc-item .bar {
    height: 8px;
    background: var(--color-gradient);
    border-radius: 4px;
    position: relative;
}

/* Table */
.table-responsive {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}

.data-table th,
.data-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    font-size: 0.95rem;
}

.data-table th {
    color: var(--color-primary-cyan);
    font-weight: 600;
}

.data-table td {
    color: var(--color-text-muted);
}

.footnote {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-style: italic;
}

/* Business Model */
.feature-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.feature-list i {
    color: var(--color-primary-cyan);
    margin-top: 5px;
}

.feature-list p {
    color: var(--color-text-muted);
}

.target-card,
.payment-instrument-card {
    background: var(--color-card-bg);
    padding: 30px;
    border-radius: 16px;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.tag {
    background: rgba(46, 220, 231, 0.1);
    color: var(--color-primary-cyan);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Operations Timeline */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 40px auto 0;
    padding-left: 30px;
    border-left: 2px solid rgba(255, 255, 255, 0.1);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--color-primary-cyan);
    border: 4px solid var(--color-bg);
    box-shadow: 0 0 10px rgba(46, 220, 231, 0.5);
}

.timeline-content h4 {
    color: var(--color-white);
    margin-bottom: 5px;
}

.timeline-content p {
    color: var(--color-text-muted);
}

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.comp-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 12px;
    border-top: 2px solid var(--color-primary-blue);
}

.comp-card h4 {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.comp-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Footer */
footer {
    background: #020202;
    padding: 60px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('contact_bg.png');
    background-size: cover;
    background-position: center;
    opacity: 0.05;
    filter: blur(3px);
    z-index: 0;
    pointer-events: none;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand,
.footer-contact,
.contact-form-container {
    flex: 1;
    min-width: 250px;
}

.footer-brand .footer-logo {
    height: 80px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: var(--color-text-muted);
}

.footer-contact p {
    margin-bottom: 10px;
    color: var(--color-text-muted);
}

.footer-contact i {
    margin-right: 10px;
    color: var(--color-primary-blue);
}

/* Contact Form */
.contact-form-container h3 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.contact-form .form-group {
    margin-bottom: 15px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-main);
    font-size: 0.95rem;
    transition: var(--transition);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--color-primary-cyan);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(46, 220, 231, 0.2);
}

.contact-form button {
    width: 100%;
    cursor: pointer;
    border: none;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.9rem;
}

/* Animation Classes */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s forwards;
}

.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

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

.delay-1 {
    animation-delay: 0.2s;
    transition-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
    transition-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
    transition-delay: 0.6s;
}

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

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: var(--color-card-bg);
        flex-direction: column;
        padding-top: 100px;
        transition: 0.4s ease;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .nav-menu.active {
        right: 0;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
    }

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

    .intro-buttons {
        text-align: center;
    }
}