:root {
    --primary-color: #003dda;
    --secondary-color: #00c6ff;
    --accent-color: #ff007a;
    --dark-bg: #0a192f;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --text-light: #f8f9fa;
    --text-dark: #2c3e50;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: #f4f7f6;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.text-center {
    text-align: center;
}

.section-padding {
    padding: 20px 0px 80px 0;

}

.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn i {
    margin-right: 10px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 4px 15px rgba(0, 61, 218, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 61, 218, 0.4);
}

.btn-secondary {
    background: white;
    color: var(--primary-color);
    border: 2px solid white;
}

.btn-secondary:hover {
    background: transparent;
    color: white;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.badge-pill {
    background: rgba(0, 61, 218, 0.1);
    color: var(--primary-color);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 2px 20px rgba(255, 255, 255, 0.2);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
    padding: 15px 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-weight: 300;
    color: white;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--secondary-color);
}

/* Scrolled state colors */
.navbar.scrolled .nav-menu a {
    color: var(--text-dark);
}

.navbar.scrolled .nav-menu a:hover {
    color: var(--primary-color);
}

/* Dropdown Menu */
.nav-menu li {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: white;
    min-width: 220px;
    padding: 10px 0;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

.nav-menu li:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(10px);
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid white;
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 12px 25px;
    color: var(--text-dark) !important;
    font-size: 0.95rem !important;
    white-space: nowrap;
    border-radius: 0;
    margin: 0 !important;
    transition: 0.2s;
}

.dropdown-menu a:hover {
    background: #f8f9fa;
    color: var(--primary-color) !important;
    padding-left: 30px;
    transform: none !important;
}

.navbar.scrolled .logo span {
    color: var(--text-dark);
}


.btn-nav {
    background: var(--primary-color);
    color: white !important;
    padding: 8px 20px;
    border-radius: 20px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.navbar.scrolled .mobile-toggle {
    color: var(--text-dark);
}

/* Hero Section */
.hero {
    position: relative;
    height: 85vh;
    display: flex;
    align-items: center;
    color: white;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

@keyframes subtleZoom {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 0.8) 35%, rgba(0, 212, 255, 0.6) 100%),
        url('../assets/hero-bg.png') no-repeat center center/cover;
    z-index: 0;
    animation: subtleZoom 10s infinite alternate ease-in-out;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.gradient-text {
    background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* Floating Shapes Animation */
.hero::after {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml;base64,PHN2ZyB...');
    /* Add a subtle pattern if needed, or rely on gradient */
    opacity: 0.1;
    animation: moveBackground 10s linear infinite;
}

/* Stats Section */
.stats {
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-item {
    background: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.stat-item:hover {
    transform: translateY(-10px);
}

.stat-item h2 {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    color: #666;
    font-weight: 500;
}

/* Features Section */
.glass-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 61, 218, 0.1);
    background: rgba(255, 255, 255, 0.9);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy effect */
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 61, 218, 0.15);
    border: 1px solid rgba(0, 61, 218, 0.2);
}

.icon-box {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.color-1 {
    background: linear-gradient(135deg, #FF9A9E 0%, #FECFEF 100%);
    color: #fff;
}

.color-2 {
    background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%);
    color: #fff;
}

.color-3 {
    background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%);
    color: #fff;
}

.feature-card h3 {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.feature-card p {
    color: #666;
    font-size: 0.95rem;
}

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 500;
    color: var(--primary-color);
    transition: transform 0.3s;
}

.feature-card:hover .read-more {
    transform: translateX(5px);
}

/* Video Section */
.dark-mode {
    background: var(--dark-bg);
    color: white;
}

.dark-mode h2,
.dark-mode p {
    color: white;
}

.video-wrapper {
    max-width: 900px;
    margin: 40px auto 0;
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
}

.video-placeholder {
    text-align: center;
}

.play-icon {
    font-size: 5rem;
    margin-bottom: 20px;
    opacity: 0.8;
    transition: 0.3s;
}

.video-wrapper:hover .play-icon {
    transform: scale(1.1);
    color: var(--secondary-color);
}

/* Demo Section */
.demo-section h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.demo-section .col-img {
    text-align: center;
}

.credentials-box {
    margin: 30px 0;
    background: #f8f9fa;
}

.cred-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.cred-row:last-child {
    border-bottom: none;
}

.label {
    font-weight: 600;
    color: #666;
}

.value {
    font-family: monospace;
    font-size: 1.1rem;
    background: #eee;
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--primary-color);
}

.copy-btn {
    cursor: pointer;
    color: #999;
    transition: 0.2s;
}

.copy-btn:hover {
    color: var(--primary-color);
}

.action-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.app-mockup {
    max-width: 100%;
    height: auto;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    /* Ensure it doesn't overflow */
    max-height: 500px;
    object-fit: contain;
}

.mockup-wrapper {
    position: relative;
    /* "Lasi mai jos imaginea un pic" */
    margin-top: 60px;
    display: inline-block;
}

.responsive-badge {
    position: absolute;
    bottom: 40px;
    left: -40px;
    /* "La stanga imaginii" */
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    max-width: 250px;
    animation-delay: 1s;
    /* Desynchronize floating */
    border-left: 5px solid var(--secondary-color);
}

.badge-icon {
    font-size: 2rem;
    color: var(--secondary-color);
}

.badge-text strong {
    display: block;
    color: var(--text-dark);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.badge-text p {
    margin: 0;
    font-size: 0.85rem;
    color: #666;
    line-height: 1.2;
}

@keyframes pulse-glow {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0.4);
        border-color: rgba(255, 255, 255, 0.2);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(0, 198, 255, 0);
        border-color: rgba(0, 198, 255, 0.4);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 198, 255, 0);
        border-color: rgba(255, 255, 255, 0.2);
    }
}

.dedicated-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(5px);
    color: var(--secondary-color);
    margin-bottom: 20px;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    animation: pulse-glow 3s infinite;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-20px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Footer */
footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-brand h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    color: white;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
    color: #aaa;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 10px 10px rgba(0, 0, 0, 0.05);
        transition: 0.3s;
    }

    .nav-menu a {
        color: var(--text-dark);
        font-size: 1.2rem;
        margin-bottom: 20px;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-toggle {
        display: block;
    }

    .row {
        flex-direction: column;
    }

    .col-img {
        margin-top: 40px;
    }

    /* Mobile Dropdown */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none !important;
        box-shadow: none;
        background: transparent;
        padding: 5px 0 5px 15px;
        margin-left: 10px;
        border-left: 2px solid #eee;
        min-width: auto;
        display: block;
    }

    .dropdown>a {
        margin-bottom: 5px !important;
    }

    .dropdown-menu::before {
        display: none;
    }

    .dropdown-menu a {
        padding: 10px 0;
        font-size: 1rem !important;
        color: #666 !important;
        margin-bottom: 0 !important;
    }

    .dropdown-menu a:hover {
        padding-left: 0;
        background: transparent;
        color: var(--primary-color) !important;
    }
}

/* Demo Section Improvements */
.demo-context-box {
    background: rgba(0, 61, 218, 0.05);
    border-left: 4px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 0 10px 10px 0;
    margin-bottom: 30px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    text-align: left;
}

.demo-context-box i {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-top: 3px;
    flex-shrink: 0;
}

.demo-context-box p {
    margin: 0;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.demo-cards-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.demo-card {
    flex: 1;
    min-width: 280px;
    max-width: 350px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    text-align: left;
}

.demo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 61, 218, 0.1);
}

.demo-card-header {
    background: var(--primary-color);
    padding: 15px 20px;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    font-size: 1.1rem;
}

.demo-card-header.color-2 {
    background: var(--secondary-color);
}

.demo-card-body {
    padding: 20px;
}

.cred-group {
    margin-bottom: 20px;
}

.cred-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.cred-item .label {
    color: #888;
    font-weight: 500;
}

.value-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f4f7f6;
    padding: 4px 10px;
    border-radius: 6px;
}

.cred-item .value {
    font-family: monospace;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 1rem;
    background: none;
    /* Reset old style */
    padding: 0;
}

.full-width {
    width: 100%;
    text-align: center;
    display: block;
}