/* MASTER DESIGN VARIABLES */
:root {
    --bg-dark: #050510;
    /* Deeper Dark */
    --bg-card: rgba(255, 255, 255, 0.03);
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.5);
    --accent-color: #0ea5e9;
    --text-main: #ffffff;
    --text-muted: #94a3b8;
    --border-glass: rgba(255, 255, 255, 0.08);
    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline: none;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden !important;
    overflow-y: auto;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0;
    padding: 0;
    position: relative;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

html {
    overflow-x: hidden !important;
    overflow-y: scroll;
    /* Always show scrollbar to prevent layout shift */
    width: 100% !important;
    max-width: 100% !important;
    scrollbar-gutter: stable;
    /* Prevent layout shift from scrollbar */
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(5, 5, 16, 0.7);
    border-bottom: 1px solid var(--border-glass);
    transition: all 0.3s ease;
}

nav.scrolled {
    padding: 15px 40px;
    background: rgba(5, 5, 16, 0.95);
}

.nav-logo {
    font-family: 'Clash Display', sans-serif;
    /* Keep main text consistent */
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

/* Custom Graphical 'V' Emblem */
.nav-logo span {
    display: inline-block;
    color: var(--primary-color);
    font-family: 'Inter', sans-serif;
    /* More geometric */
    font-weight: 900;
    transform: scale(1.2) translateY(1px);
    /* Make it dominant */
    margin-left: -2px;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    position: relative;
}

/* Add a futuristic underline/accent to the V */
.nav-logo span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 3px;
    background: #fff;
    box-shadow: 0 0 10px #fff;
    border-radius: 2px;
    display: none;
    /* Simplistic for now, can enable for more flair */
}

.nav-logo:hover span {
    transform: scale(1.3) translateY(1px) rotate(-5deg);
    /* Dynamic hover */
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Logo Tagline */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: -2px;
    transition: color 0.3s;
}

.logo-container:hover .logo-tagline {
    color: rgba(59, 130, 246, 0.8);
}

@media (max-width: 768px) {
    .logo-tagline {
        font-size: 0.55rem;
        letter-spacing: 1px;
    }
}

.nav-logo:hover {
    text-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Dropdown Styles */
.nav-item-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: rgba(10, 15, 30, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 10px;
    min-width: 180px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 1100;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.2s;
    border-radius: 8px;
    font-size: 0.95rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.dropdown-item i {
    width: 20px;
    text-align: center;
    color: var(--primary-color);
}

/* Mobile Adjustments for Dropdown */
@media (max-width: 992px) {
    .nav-item-dropdown {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .dropdown-menu {
        position: static;
        transform: none !important;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        opacity: 1;
        visibility: visible;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-top: 10px;
    }

    .dropdown-trigger {
        display: none;
        /* Hide parent trigger on mobile, show children directly or style differently */
    }

    /* Better mobile approach: Hide trigger, just show links as normal nav-links */
    .nav-item-dropdown .dropdown-menu {
        min-width: auto;
        width: 100%;
    }

    .dropdown-item {
        justify-content: center;
        font-size: 1.1rem;
        font-weight: 500;
        color: var(--text-muted);
    }
}

/* --- Custom Graphical V Logo --- */
.nav-logo span {
    display: inline-block;
    color: var(--primary-color);
    /* A special futuristic font or weight for the V */
    font-family: 'Inter', sans-serif;
    font-weight: 900;
    /* Scale and styling to make it look like a vector logo mark */
    transform: scale(1.3) translateY(2px) translateX(2px);
    margin-left: 1px;
    filter: drop-shadow(0 0 8px rgba(59, 130, 246, 0.8));
    position: relative;
    z-index: 1;
}

/* Optional: Add a graphical element behind/under the V if desired, or keep it clean but bold */
.nav-logo:hover span {
    transform: scale(1.4) translateY(2px) rotate(-8deg);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-logo:hover {
    text-shadow: 0 0 25px rgba(59, 130, 246, 0.6);
}

.btn-try {
    padding: 12px 30px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    /* Softer shadow */
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-try:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: url('../../assets/hero_bg_minimal.png') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    padding-top: 80px;
    overflow: hidden;
    /* Prevent overflow from children */
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(5, 5, 16, 0.2), var(--bg-dark));
    z-index: 0;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    padding: 20px;
    box-sizing: border-box;
}

.hero-text {
    flex: 1;
    text-align: center;
    margin: 0 auto;
    width: 100%;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: 4.5rem;
    line-height: 1.1;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #fff 30%, #94a3b8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 600;
    text-shadow: 0 0 40px rgba(59, 130, 246, 0.2);
}

/* ... unchanged ... */

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.3s;
    text-align: center;
    /* Centering Text */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centering flex items */
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
}

/* Premium Glossy Icons */
.icon-box {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(23, 37, 84, 0.4), rgba(30, 58, 138, 0.3));
    /* Deep Blue Glass */
    backdrop-filter: blur(12px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    /* Squircle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    margin: 0 auto 25px auto;
    /* Centering Icon Box */
    position: relative;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

/* Inner Glow Ring */
.icon-box::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.6), rgba(0, 0, 0, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

/* Glossy Highlight Reflection */
.icon-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent);
    pointer-events: none;
}

/* Icon Gradient & Shadow */
.icon-box i {
    background: linear-gradient(135deg, #60a5fa, #ffffff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px rgba(59, 130, 246, 0.5));
    transform: scale(1);
    transition: transform 0.4s;
}

.feature-card:hover .icon-box {
    transform: translateY(-8px) scale(1.05);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(30, 58, 138, 0.4));
    box-shadow: 0 20px 50px rgba(59, 130, 246, 0.25);
    border-color: rgba(59, 130, 246, 0.5);
}

.feature-card:hover .icon-box i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    filter: drop-shadow(0 0 20px rgba(96, 165, 250, 0.8));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer */
footer {
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    text-align: center;
    color: var(--text-muted);
    margin-top: 50px;
}

/* Hide close button and hamburger on desktop */
.hamburger {
    display: none;
}

.nav-close-btn {
    display: none;
}

/* Mobile */
/* Mobile Menu Styling */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        text-align: center;
        padding-top: 40px;
    }

    .hero-text {
        order: 1;
        align-items: center;
        display: flex;
        flex-direction: column;
    }

    .hero-text h1 {
        font-size: 3rem;
    }

    .hero-visual {
        order: 2;
        width: 100%;
        margin-bottom: 40px;
    }

    .cta-btns {
        justify-content: center;
    }

    nav {
        padding: 15px 25px;
    }

    /* Mobile Navigation Overlay - Compact Design */
    .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        height: auto;
        max-height: 100vh;
        width: 280px;
        max-width: 85%;
        background: rgba(5, 5, 16, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0;
        padding: 20px 0;
        transform: translateX(100%);
        transition: transform 0.3s ease-out;
        border-left: 1px solid var(--border-glass);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        z-index: 9999;
        border-radius: 20px 0 0 20px;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    /* Close Button */
    .nav-close-btn {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        padding: 15px 25px;
        margin-bottom: 10px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        cursor: pointer;
        color: var(--text-muted);
        font-size: 0.9rem;
        gap: 10px;
        transition: all 0.2s;
    }

    .nav-close-btn:hover {
        color: #fff;
        background: rgba(255, 255, 255, 0.05);
    }

    /* Force display on mobile */
    .nav-close-btn {
        display: flex !important;
    }

    .nav-close-btn i {
        font-size: 1.2rem;
    }

    .nav-links .nav-link {
        padding: 15px 25px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        font-size: 1rem;
        text-align: left;
    }

    .nav-links .nav-link:hover {
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-links .btn-try {
        margin: 15px 25px;
        text-align: center;
    }

    /* Hamburger Menu */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 6px;
        cursor: pointer;
        z-index: 1001;
    }

    .hamburger span {
        width: 30px;
        height: 3px;
        background: white;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    /* Hamburger Animation */
    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(7px, 6px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}

/* Blobs - HIDDEN to prevent overflow */
.blob {
    display: none !important;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-content {
    background: #0f172a;
    border: 1px solid var(--border-glass);
    padding: 40px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    text-align: left;
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
}

.form-control:focus {
    border-color: var(--primary-color);
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    color: #fff;
    font-size: 1.5rem;
}

/* Premium Social Icons */
.social-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.social-icon:hover {
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
    background: rgba(59, 130, 246, 0.1);
}

.social-icon:hover::before {
    opacity: 1;
}

.social-icon svg,
.social-icon i {
    z-index: 1;
    transition: transform 0.3s;
}

.social-icon:hover svg,
.social-icon:hover i {
    transform: scale(1.1);
    filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.5));
}

.footer-brand-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 320px;
    text-align: left;
}

.footer-social-links-container {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-link {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
    box-shadow: 0 0 8px var(--primary-glow);
}

.footer-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
    transform: translateX(5px);
}

.footer-link:hover::after {
    width: 100%;
}

/* Footer Layout Styles */
.main-footer {
    background: #02040a;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 80px 0 40px;
    margin-top: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col {
    text-align: left;
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
    }

    .main-footer {
        padding: 60px 20px 30px !important;
    }

    .footer-col {
        text-align: center !important;
    }

    .footer-col .nav-logo {
        justify-content: center;
    }

    .footer-brand-description {
        text-align: center;
        margin: 0 auto;
    }

    .footer-social-links-container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-text h1 {
        font-size: 2.5rem !important;
        line-height: 1.2;
    }

    .hero-text p {
        font-size: 1rem;
    }

    .cta-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn-lg {
        width: 100%;
        justify-content: center;
    }

    .feature-grid {
        grid-template-columns: 1fr !important;
    }
}

header.hero {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    flex-direction: column;
}

/* Video Premium Container */
.video-container-premium {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    background: #000;
    box-shadow:
        0 30px 60px -12px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(59, 130, 246, 0.3),
        0 0 40px rgba(59, 130, 246, 0.2);
    isolation: isolate;
}

#heroVideo {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: #000;
    position: relative;
    z-index: 1;
}

#heroVideo::-webkit-media-controls-panel {
    z-index: 2147483647 !important;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 23, 42, 0.95) 0%, rgba(2, 6, 23, 0.98) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.3s ease;
    z-index: 10;
    pointer-events: auto;
}

.video-overlay.hidden {
    display: none !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

.overlay-content {
    text-align: center;
    position: relative;
    z-index: 20;
}

.overlay-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.6);
}

.overlay-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 8px;
    margin-bottom: 30px;
}

.play-button-container {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.play-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--primary-color);
    opacity: 0.25;
    animation: pulse-ring 2s infinite;
}

.play-button {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.play-button i {
    color: #fff;
    font-size: 2rem;
    margin-left: 4px;
}

.play-button:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.6);
}

.overlay-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
    cursor: pointer;
    transition: color 0.3s ease;
}

.overlay-text:hover {
    color: rgba(255, 255, 255, 0.8);
}

.video-info-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 25px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 1;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.video-container-premium:hover .video-info-bar {
    opacity: 1;
}

.video-title {
    color: #fff;
    font-weight: 600;
    margin: 0 0 4px 0;
    font-size: 1rem;
}

.video-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .video-container-premium {
        border-radius: 12px;
    }

    .overlay-title {
        font-size: 2rem;
    }

    .overlay-subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .play-button {
        width: 60px;
        height: 60px;
    }

    .play-button i {
        font-size: 1.5rem;
    }
}

/* More Pulse & Hover */
@keyframes pulse-ring {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.hover-scale:hover {
    transform: scale(1.1);
}

.cursor-pointer {
    cursor: pointer;
}

.centered-hero {
    flex-direction: column;
    align-items: center;
    /* Center all children horizontally */
    justify-content: center;
    width: 100%;
    padding-top: 40px;
    gap: 60px;
    position: relative;
    z-index: 5;
}

.hero-text.text-center {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

.gradient-text {
    background: linear-gradient(135deg, #fff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.cta-btns.justify-center {
    justify-content: center;
}

/* 3D DASHBOARD CONTAINER */
.hero-visual-center {
    position: relative;
    width: 100%;
    max-width: 850px;
    height: 450px;
    margin: 0 auto;
    perspective: 2000px;
    overflow: hidden;
    /* Prevent any overflow */
}

.perspective-container {
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transform: rotateX(20deg) rotateY(0deg) scale(0.95);
    transition: transform 0.5s ease;
    animation: float-center 8s ease-in-out infinite;
}

.glass-dashboard-window.cyber-glass {
    background: rgba(10, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 16px;
    box-shadow:
        0 0 0 1px rgba(59, 130, 246, 0.1) inset,
        0 50px 100px -20px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, transparent, rgba(59, 130, 246, 0.8), transparent);
    opacity: 0.5;
    animation: scan 4s linear infinite;
    z-index: 10;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.5);
}

.dash-topbar {
    height: 40px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 15px;
    background: rgba(0, 0, 0, 0.2);
}

.dash-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 6px;
    opacity: 0.7;
}

.dash-dots span:nth-child(1) {
    background: #ef4444;
}

.dash-dots span:nth-child(2) {
    background: #f59e0b;
}

.dash-dots span:nth-child(3) {
    background: #22c55e;
}

.dash-search {
    width: 150px;
    height: 6px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 4px;
}

.dash-sidebar {
    width: 60px;
    border-right: 1px solid rgba(59, 130, 246, 0.1);
    padding: 20px 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(0, 0, 0, 0.1);
}

.sidebar-item {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.sidebar-item.active {
    background: #3b82f6;
    width: 60%;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.4);
}

.dash-content {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
}

.stat-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 12px;
    position: relative;
}

.stat-card.highlight {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.1);
}

.stat-val {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    font-family: var(--font-display);
    letter-spacing: 0.5px;
}

.stat-lbl {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.live-indicator {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: 15px;
    box-shadow: 0 0 10px #22c55e;
    animation: pulse 2s infinite;
}

.chart-container {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.grid-bg {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
}

.chart-line {
    flex: 2;
    position: relative;
    z-index: 2;
    padding: 20px 0 0;
}

.chart-svg {
    width: 100%;
    height: 100%;
    transform: scale(1.1);
    transform-origin: bottom;
}

.pro-widgets {
    flex: 1;
    display: flex;
    gap: 15px;
    padding: 15px;
    z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pro-widget {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
}

.glow-base {
    display: none;
    /* Hidden to prevent overflow */
}

@keyframes scan {
    0% {
        top: -10%;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        top: 110%;
        opacity: 0;
    }
}

@keyframes pulse {
    0% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.5;
    }
}

@keyframes glow-pulse {
    0% {
        opacity: 0.2;
        transform: translateX(-50%) scale(0.9);
    }

    100% {
        opacity: 0.4;
        transform: translateX(-50%) scale(1);
    }
}

@media (max-width: 992px) {
    .hero-visual-center {
        height: 280px;
        perspective: none;
    }

    .perspective-container {
        transform: none;
        animation: none;
    }

    .hero-text h1 {
        font-size: 2.2rem;
    }

    .dash-sidebar {
        display: none;
    }

    .stat-row {
        grid-template-columns: 1fr 1fr;
    }

    .stat-card:nth-child(3) {
        display: none;
    }
}

/* Hero Visual */
.hero-visual {
    perspective: 1000px;
    z-index: 2;
}

.hero-card-wrapper {
    position: relative;
    transform-style: preserve-3d;
    animation: float-3d 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.4) 0%, rgba(5, 5, 16, 0) 70%);
    opacity: 0.6;
    z-index: -1;
    filter: blur(60px);
}

.hero-card-glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 10px;
    /* Frame like border */
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    position: relative;
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease-out;
}

.hero-card-glass:hover {
    transform: rotateY(0) rotateX(0) scale(1.02);
}

.hero-img-3d {
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.floating-badge {
    position: absolute;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    font-size: 0.9rem;
    z-index: 10;
}

.floating-badge i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.badge-1 {
    top: -15px;
    right: -10px;
    animation: float-badge 5s ease-in-out infinite alternate;
}

.badge-2 {
    bottom: 20px;
    left: -10px;
    animation: float-badge 7s ease-in-out infinite alternate-reverse;
}

@keyframes float-3d {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes float-badge {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-10px);
    }
}

@media (max-width: 992px) {
    .hero-card-glass {
        transform: none;
        /* Disable tilt on mobile */
        padding: 5px;
    }

    .floating-badge {
        padding: 8px 15px;
        font-size: 0.8rem;
    }

    .badge-1 {
        top: -10px;
        right: 0;
    }

    .badge-2 {
        bottom: 20px;
        left: 0;
    }
}