/* Global Styles */
:root {
    --bg-color: #050505;
    --text-color: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-orange: #ff4d00;
    --accent-orange-light: #ff8c00;
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --blur: 10px;
    --bg-gradient: linear-gradient(180deg, #050505 0%, #1a0b05 100%);
    --card-bg: linear-gradient(145deg, rgba(20, 20, 20, 0.8), rgba(10, 10, 10, 0.8));
    --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --nav-bg: rgba(5, 5, 5, 0.8);
}

body.light-mode {
    --bg-color: #ffffff;
    --text-color: #1a1a1a;
    --text-secondary: #555555;
    --border-color: rgba(0, 0, 0, 0.1);
    --glass-bg: rgba(0, 0, 0, 0.05);
    --glass-border: rgba(0, 0, 0, 0.1);
    --bg-gradient: linear-gradient(180deg, #ffffff 0%, #f0f0f0 100%);
    --card-bg: linear-gradient(145deg, #ffffff, #f0f0f0);
    --card-hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    --nav-bg: rgba(255, 255, 255, 0.9);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s ease;
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    background: var(--nav-bg);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.logo-icon {
    color: var(--accent-orange);
    font-size: 1.5rem;
}

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

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

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

/* Dropdown Menu */
.nav-item {
    position: relative;
}

.nav-link-dropdown {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

.nav-link-dropdown .dropdown-arrow {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.nav-item:hover .dropdown-arrow,
.nav-item.active .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(-8px);
    min-width: 170px;
    display: flex;
    flex-direction: column;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    padding: 8px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 2000;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: rgba(255, 77, 0, 0.1);
    color: var(--accent-orange);
}

.dropdown-menu a i {
    width: 16px;
    text-align: center;
    color: var(--accent-orange);
    font-size: 0.85rem;
}

.btn {
    padding: 10px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-glass {
    background: var(--glass-bg);
    border: 1px solid var(--border-color);
    color: var(--text-color);
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--accent-orange), var(--accent-orange-light));
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.5);
    transform: translateY(-2px);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.theme-toggle:hover {
    background: var(--glass-bg);
    transform: rotate(15deg);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    text-align: center;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6;
}

/* Gradient overlay at bottom to blend into next section */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: linear-gradient(to bottom, transparent, var(--bg-color));
    z-index: -1;
}

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

.badge-pill {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 77, 0, 0.1);
    border: 1px solid rgba(255, 77, 0, 0.3);
    border-radius: 50px;
    color: var(--accent-orange);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 700;
}

.gradient-text {
    background: linear-gradient(90deg, var(--text-color), var(--accent-orange));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    padding-bottom: 5px;
    /* prevent clip cut-off */
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}


/* Logos Section */
.logos-section {
    padding: 60px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.01);
}

.logos-title {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.logos-grid {
    display: flex;
    justify-content: center;
    gap: 50px;
    flex-wrap: wrap;
    opacity: 0.6;
}

.partner-logo {
    font-size: 1.5rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-secondary);
    transition: 0.3s;
}

.partner-logo:hover {
    color: var(--text-color);
    opacity: 1;
}

/* Features 1 Section */
.features-1 {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.badge-pill-small {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: inline-block;
    margin-bottom: 15px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.gradient-text-orange {
    color: var(--accent-orange);
}

.section-subtitle {
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    padding: 40px;
    border-radius: 20px;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 77, 0, 0.3);
    box-shadow: var(--card-hover-shadow);
}

/* Glow effect on card hover */
.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 77, 0, 0.1), transparent 60%);
    opacity: 0;
    transition: 0.3s;
}

.feature-card:hover::before {
    opacity: 1;
}

.card-icon-wrapper {
    width: 50px;
    height: 50px;
    background: rgba(255, 77, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-orange);
    font-size: 1.2rem;
    border: 1px solid rgba(255, 77, 0, 0.2);
}

.card-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}


/* Features 2 Section - Dashboard */
.features-2 {
    padding: 100px 0;
    background: linear-gradient(to top, var(--bg-color), var(--bg-color));
}

.features-2-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.highlight-text {
    color: var(--accent-orange);
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.section-title-left {
    font-size: 2.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.feature-list li {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.list-icon {
    font-size: 1.5rem;
    color: var(--accent-orange);
    margin-top: 5px;
}

.feature-list h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

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

/* Updated Dashboard Mockup Styles */
.dashboard-mockup {
    background: #0f0f0f;
    /* Changed from glass to solid dark for better contrast */
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    /* Add a subtle glow behind it */
    box-shadow: 0 0 100px rgba(255, 77, 0, 0.05);
}

/* The horizontal line/glow effect */
.dashboard-mockup::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: radial-gradient(circle, var(--accent-orange) 0%, transparent 70%);
    filter: blur(2px);
}


.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    color: var(--text-color);
}

.dashboard-stat {
    font-size: 2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-color);
}

.badge-green {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    font-size: 0.8rem;
    padding: 4px 8px;
    border-radius: 4px;
}

.dashboard-chart {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    height: 200px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    /* Subtle divider */
}

.bar {
    flex: 1;
    border-radius: 8px 8px 0 0;
    position: relative;
    transition: height 1s ease-out;
}

.bar span {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.bar-1 {
    height: 60%;
    background: linear-gradient(to top, #ff4d00, #ff8c00);
    box-shadow: 0 0 20px rgba(255, 77, 0, 0.3);
}

.bar-2 {
    height: 80%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.bar-3 {
    height: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Footer */
.footer {
    padding: 80px 0 30px;
    border-top: 1px solid var(--border-color);
    background: var(--bg-color);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

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

.footer-brand {
    max-width: 300px;
}

.footer-desc {
    margin-top: 20px;
    line-height: 1.6;
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.2rem;
    transition: 0.3s;
}

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

.footer-links {
    display: flex;
    gap: 60px;
    flex-wrap: wrap;
}

.footer-column h4 {
    color: var(--text-color);
    margin-bottom: 20px;
    font-size: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
    }

    .footer-links {
        gap: 40px;
        width: 100%;
        justify-content: space-between;
    }

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

    .nav-list {
        display: none;
        /* simple hide for mockup */
    }

    .mobile-menu-btn {
        display: block;
    }

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

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

    .logos-grid {
        gap: 30px;
    }
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
    will-change: opacity, visibility;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}