/* ==========================================================================
   Botscrews - Premium AI Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
    /* BotsCrew Inspired Clean Theme */
    --bg-white: #FFFFFF;
    --bg-light: #F8FAFC;
    --primary-blue: #0057FF;
    --primary-hover: #0046CC;
    --text-main: #1D1D1F;
    --text-muted: #6E6E73;
    --accent-purple: #7928CA;
    --white: #FFFFFF;

    /* Clean Borders & Shadows */
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.04);
    --shadow-hover: 0 20px 50px rgba(0, 87, 255, 0.08);

    /* Layout */
    --container-width: 1200px;
    --section-padding: 5rem;
    --border-radius: 16px;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-blue);
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-white);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-white);
    color: var(--text-main);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
}

/* Subtle Background Accents */
body::before {
    content: '';
    position: fixed;
    top: -10%;
    right: -10%;
    width: 40%;
    height: 40%;
    background: radial-gradient(circle, rgba(0, 87, 255, 0.03) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-main);
    margin-bottom: 1rem;
}

.text-gradient {
    background: linear-gradient(to right, var(--text-main), var(--primary-blue));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-primary {
    background: linear-gradient(135deg, var(--primary-blue), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

p {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

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

ul {
    list-style: none;
}

/* Container & Sections */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.bottom-site {
    padding: 0 !important;
}

section {
    padding: var(--section-padding) 0;
    position: relative;
    z-index: 5;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 2rem;
    border-radius: 9999px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    box-shadow: 0 4px 14px 0 rgba(0, 87, 255, 0.3);
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 87, 255, 0.4);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
}

.btn-outline:hover {
    background: rgba(0, 87, 255, 0.05);
    transform: translateY(-2px);
}

/* ===== NAVIGATION — BotsCrew Style ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    background: #ffffff;
    border-bottom: 1px solid #ebebeb;
    transition: box-shadow 0.25s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.07);
}

/* Container is handled inline in HTML for this nav */
.brand {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
    flex-shrink: 0;
}

/* Nav link group */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Individual nav item — plain text style */
.nav-item {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.45rem 0.75rem;
    font-size: 0.93rem;
    font-weight: 500;
    color: #333333;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.18s, background 0.18s;
    white-space: nowrap;
    cursor: pointer;
}

.nav-item:hover {
    color: var(--primary-blue);
    background: #f5f8ff;
}

.nav-item.nav-active {
    color: var(--primary-blue);
    font-weight: 600;
}

.nav-chevron {
    font-size: 0.9rem;
    opacity: 0.6;
    transition: transform 0.2s;
}

.nav-dropdown:hover .nav-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* CTA Button */
.nav-cta {
    margin-left: 0.5rem;
    padding: 0.5rem 1.25rem !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
}

/* Dropdown container */
.nav-dropdown {
    position: relative;
}

/* Dropdown panel */
.dropdown-menu {
    position: absolute;
    top: 100%;          /* sıfır boşluk — trigger ile menü bitişik */
    left: 0;
    transform: translateY(0);
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 0.4rem;
    min-width: 210px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.10);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.18s ease, transform 0.18s ease;
    z-index: 2100;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* Görünmez köprü: trigger ile menü arasındaki boşluğu kapatır */
.nav-dropdown::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: 12px;
    background: transparent;
}

.dropdown-menu a {
    padding: 0.6rem 0.9rem;
    border-radius: 7px;
    font-size: 0.9rem;
    font-weight: 400;
    color: #333 !important;
    transition: background 0.15s, color 0.15s;
    white-space: nowrap;
}

.dropdown-menu a:hover {
    background: #f0f4ff;
    color: var(--primary-blue) !important;
    font-weight: 500;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile toggle */
.mobile-toggle {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-main);
}

/* Hero Section */
.hero {
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 8rem;
    overflow: hidden;
    background: var(--bg-white);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 100;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 87, 255, 0.05);
    border: 1px solid rgba(0, 87, 255, 0.1);
    border-radius: 100px;
    color: var(--primary-blue);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.hero-badge i {
    color: var(--accent-blue);
}

.hero h1 {
    font-size: 5.5rem;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    color: var(--text-muted);
}

.hero-btns {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Grid System */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    align-items: center;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    font-size: 3rem;
    letter-spacing: -0.03em;
}

/* Premium Glass Cards */
.glass-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 3rem 2.5rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.glass-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    box-shadow: var(--shadow-hover);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.feature-icon i {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.glass-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.glass-card p {
    font-size: 1rem;
    margin-bottom: 0;
}

/* Footer */
footer {
    background: var(--bg-light);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-light);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-about p {
    margin-top: 1.5rem;
    font-size: 1rem;
    max-width: 300px;
}

.footer-links h4 {
    color: var(--text-main);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--primary-blue);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
}

.form-control {
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    padding: 1.2rem;
    border-radius: 12px;
    color: var(--text-main);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-blue);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(0, 87, 255, 0.05);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236E6E73' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.2rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

/* Image Enhancements */
img {
    max-width: 100%;
    height: auto;
}

.hero-image img,
.about-image img {
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

    .grid-2 {
        gap: 2rem;
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==========================================================================
   Responsive Fixes & Inline Style Overrides
   ========================================================================== */

@media (max-width: 991px) {
    :root {
        --section-padding: 4rem;
    }

    .hero h1, 
    header.hero h1 {
        font-size: 3.5rem !important;
    }

    .grid-2, .grid-3, .grid-4 {
        gap: 2rem !important;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 3.5rem;
    }

    /* Navbar Fixes */
    .navbar .container {
        height: 70px !important;
        padding: 0 1.5rem !important;
    }

    .mobile-toggle {
        display: block !important;
    }

    .nav-links {
        position: fixed;
        top: 70px !important;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: #ffffff !important;
        flex-direction: column !important;
        justify-content: flex-start !important;
        padding: 2rem !important;
        overflow-y: auto;
        gap: 1rem !important;
        transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        border-top: 1px solid var(--border-light);
    }

    .nav-links.active {
        left: 0;
    }

    .nav-item {
        width: 100%;
        font-size: 1.1rem !important;
        padding: 1rem !important;
        border-bottom: 1px solid var(--border-light);
        border-radius: 0;
        justify-content: space-between !important;
    }

    .nav-dropdown {
        width: 100%;
    }

    .dropdown-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        padding-left: 1.5rem !important;
        display: none; /* Hidden by default on mobile, can be toggled if needed */
        background: #f9f9fb !important;
        margin-top: 0.5rem;
        border-radius: 8px !important;
    }

    .nav-dropdown.active .dropdown-menu {
        display: flex !important;
    }

    .nav-dropdown.active .nav-chevron {
        transform: rotate(180deg);
    }

    .nav-cta {
        margin: 1.5rem 0 0 0 !important;
        width: 100%;
        padding: 1rem !important;
        font-size: 1.1rem !important;
    }

    /* Hero & Section Overrides */
    header.hero, .hero {
        padding-top: 7rem !important;
        padding-bottom: 4rem !important;
        text-align: center !important;
    }

    .hero h1, 
    header.hero h1,
    [style*="font-size: 4.5rem"],
    [style*="font-size: 4.2rem"],
    [style*="font-size: 3rem"] {
        font-size: 2.5rem !important;
        line-height: 1.2 !important;
    }

    .hero p,
    header.hero p,
    [style*="font-size: 1.25rem"],
    [style*="font-size: 1.2rem"],
    [style*="font-size: 1.1rem"] {
        font-size: 1.1rem !important;
        margin-bottom: 1.5rem !important;
    }

    .hero-btns,
    [style*="display: flex; gap: 1.5rem"],
    [style*="display: flex; gap: 3rem"] {
        flex-direction: column !important;
        gap: 1rem !important;
        align-items: center !important;
    }

    .hero-btns .btn,
    [style*="display: flex; gap: 1.5rem"] .btn {
        width: 100% !important;
        max-width: 320px !important;
        padding: 1rem !important;
    }

    /* Stats & Grids */
    [style*="margin-top: 4rem; display: flex; gap: 4rem"],
    [style*="display: flex; justify-content: center; gap: 3rem"] {
        gap: 2rem !important;
        flex-direction: column !important;
        align-items: center !important;
        margin-top: 2rem !important;
    }

    .grid-2, .grid-3, .grid-4,
    [style*="display: grid; grid-template-columns: repeat(2, 1fr)"],
    [style*="display: grid; grid-template-columns: repeat(3, 1fr)"],
    [style*="display: grid; grid-template-columns: repeat(4, 1fr)"] {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Section Spacing & Margin */
    section, 
    [style*="padding: 6rem 0"],
    [style*="padding: 7rem 0"],
    [style*="padding: 8rem 0"],
    [style*="padding: 5rem 0"] {
        padding: 3rem 0 !important;
    }

    [style*="margin-bottom: 10rem"],
    [style*="margin-bottom: 8rem"] {
        margin-bottom: 3rem !important;
    }

    /* Dashboard & Images */
    .dashboard-wrapper,
    [style*="height: 450px"] {
        height: auto !important;
        min-height: 300px !important;
        flex-direction: column !important;
        transform: none !important;
    }

    .dash-sidebar {
        width: 100% !important;
        flex-direction: row !important;
        overflow-x: auto !important;
        padding: 1rem !important;
    }

    .hero-image,
    [style*="margin-top: 5rem; max-width: 1000px"] {
        margin-top: 3rem !important;
        width: 100% !important;
    }

    /* List Fixes */
    [style*="display: flex; flex-direction: column; gap: 1.2rem"],
    [style*="display: flex; flex-direction: column; gap: 1rem"] {
        text-align: left !important;
        align-items: flex-start !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        text-align: center;
    }

    .footer-about p {
        margin-left: auto;
        margin-right: auto;
    }

    .footer-about div {
        justify-content: center !important;
    }

    /* Contact Form Fixes */
    .contact-form .grid-2 {
        gap: 0 !important;
    }

    /* Chatbot Widget Mobile */
    .chatbot-widget {
        width: 90% !important;
        height: 70% !important;
        bottom: 80px !important;
        right: 5% !important;
        border-radius: 20px !important;
    }

    .chat-toggle {
        bottom: 20px !important;
        right: 20px !important;
        width: 55px !important;
        height: 55px !important;
    }

    .floating-chat,
    .holo-terminal,
    .hero-orb,
    .cyber-grid {
        display: none !important;
    }
}

@media (max-width: 480px) {
    .hero h1, 
    header.hero h1,
    [style*="font-size: 4.5rem"],
    [style*="font-size: 4.2rem"],
    [style*="font-size: 3rem"],
    [style*="font-size: 2.5rem"] {
        font-size: 2rem !important;
    }

    .section-header h2 {
        font-size: 1.8rem !important;
    }

    .container {
        padding: 0 1rem !important;
    }

    .stat-number {
        font-size: 2.2rem !important;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.animate-fade-in-up {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 100ms;
}

.delay-200 {
    animation-delay: 200ms;
}

.delay-300 {
    animation-delay: 300ms;
}

.delay-400 {
    animation-delay: 400ms;
}

.delay-500 {
    animation-delay: 500ms;
}

/* Dashboard Mockup Showcase */
.dashboard-showcase {
    position: relative;
    max-width: 1000px;
    margin: 4rem auto 0;
    perspective: 1000px;
    z-index: 50;
}

.dashboard-wrapper {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    height: 450px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.1);
    transform: rotateX(8deg) translateY(0);
    transition: var(--transition);
}

.dashboard-showcase:hover .dashboard-wrapper {
    transform: rotateX(0deg) translateY(-10px);
    box-shadow: 0 50px 120px rgba(121, 40, 202, 0.3);
}

.dash-sidebar {
    width: 240px;
    background: var(--bg-light);
    border-right: 1px solid var(--border-light);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-item {
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.dash-item.active {
    background: var(--white);
    border: 1px solid var(--border-light);
    color: var(--primary-blue);
    box-shadow: var(--shadow-soft);
}

.dash-main {
    flex: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top right, rgba(0, 87, 255, 0.05), transparent 50%);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.dash-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.dash-stat-box {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-soft);
}

.dash-stat-box h5 {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.dash-stat-box h3 {
    font-size: 1.5rem;
    margin: 0;
}

.dash-chart {
    flex: 1;
    background: var(--bg-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
}

.dash-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, rgba(0, 112, 243, 0.1) 0%, transparent 100%);
}

.dash-chart-line {
    position: absolute;
    bottom: 20%;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    box-shadow: 0 0 10px rgba(0, 112, 243, 0.5);
    transform: rotate(-5deg);
}

/* Glowing Orb */
.hero-orb {
    position: absolute;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 112, 243, 0.15) 0%, rgba(121, 40, 202, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    z-index: -1;
    animation: pulse 8s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: translateX(-50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
}

/* Statistics Section */
.stat-number {
    font-size: 4rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --- EXTREME FUTURISTIC ELEMENTS --- */

/* Hero Image Background Overlay */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 70% 30%, rgba(0, 87, 255, 0.03) 0%, transparent 60%);
    z-index: -2;
}

.cyber-grid,
.hero-orb,
.holo-terminal,
.floating-chat {
    display: none !important;
}

box-shadow: 0 0 30px rgba(0, 223, 216, 0.2);
backdrop-filter: blur(10px);
transform: rotateY(-15deg) rotateX(5deg);
transform-style: preserve-3d;
z-index: 60;
}

.holo-terminal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: #00DFD8;
    box-shadow: 0 0 10px #00DFD8;
}

/* Typewriter animation for terminal */
.typewriter {
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #00DFD8;
    animation: typing 3s steps(30, end) infinite, blink-caret .75s step-end infinite;
}

@keyframes typing {
    0% {
        width: 0
    }

    50% {
        width: 100%
    }

    90% {
        width: 100%
    }

    100% {
        width: 0
    }
}

@keyframes blink-caret {

    from,
    to {
        border-color: transparent
    }

    50% {
        border-color: #00DFD8
    }
}

/* Scanner Laser Line */
.scanner-laser {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: rgba(0, 223, 216, 0.8);
    box-shadow: 0 0 20px 2px rgba(0, 223, 216, 0.5);
    z-index: 5;
    animation: scanLine 3s ease-in-out infinite alternate;
}

@keyframes scanLine {
    0% {
        top: 10%;
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 1;
    }

    100% {
        top: 90%;
        opacity: 0;
    }
}

/* Floating Elements */
.float-element {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Floating Chat Bubbles */
.floating-chat {
    position: absolute;
    background: rgba(10, 20, 30, 0.7);
    border: 1px solid rgba(0, 112, 243, 0.3);
    border-radius: 16px;
    padding: 1rem 1.5rem;
    color: #E2E8F0;
    font-size: 0.95rem;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 112, 243, 0.1);
    z-index: 40;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: floatingBubbles 8s ease-in-out infinite;
    max-width: 320px;
}

.floating-chat.bot::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0 0;
    border-style: solid;
    border-color: rgba(0, 112, 243, 0.3) transparent transparent transparent;
}

.floating-chat.user::after {
    content: '';
    position: absolute;
    bottom: -10px;
    right: 20px;
    border-width: 10px 0 0 10px;
    border-style: solid;
    border-color: rgba(121, 40, 202, 0.3) transparent transparent transparent;
}

.floating-chat.bot {
    border-color: rgba(0, 112, 243, 0.3);
}

.floating-chat.user {
    background: rgba(20, 10, 30, 0.7);
    border-color: rgba(121, 40, 202, 0.3);
}

.chat-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.chat-avatar.user-avatar {
    background: rgba(255, 255, 255, 0.1);
}

.typing-indicator span {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #00DFD8;
    border-radius: 50%;
    margin: 0 2px;
    animation: typingBounce 1.4s infinite ease-in-out both;
}

.typing-indicator span:nth-child(1) {
    animation-delay: -0.32s;
}

.typing-indicator span:nth-child(2) {
    animation-delay: -0.16s;
}

@keyframes typingBounce {

    0%,
    80%,
    100% {
        transform: scale(0);
    }

    40% {
        transform: scale(1);
    }
}

@keyframes floatingBubbles {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(2deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* Chatbot Widget */
.chat-toggle {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.8rem;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 87, 255, 0.3);
    z-index: 3000;
    transition: var(--transition);
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(5deg);
}

.chatbot-widget {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 380px;
    height: 550px;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    z-index: 3000;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.chatbot-widget.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.chat-header {
    padding: 1.5rem;
    background: var(--primary-blue);
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-avatar-small {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.chat-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    background: var(--bg-light);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.message {
    padding: 1rem;
    border-radius: 16px;
    max-width: 80%;
    font-size: 0.9rem;
    line-height: 1.5;
}

.message.bot {
    background: var(--white);
    color: var(--text-main);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    box-shadow: var(--shadow-soft);
}

.message.user {
    background: var(--primary-blue);
    color: var(--white);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.chat-input {
    padding: 1rem;
    background: var(--white);
    display: flex;
    gap: 0.5rem;
    border-top: 1px solid var(--border-light);
}

.chat-input input {
    flex: 1;
    border: none;
    background: var(--bg-light);
    padding: 0.8rem 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
}

.chat-input button {
    width: 45px;
    height: 45px;
    background: var(--primary-blue);
    color: var(--white);
    border: none;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* Hero Image Utility */
.hero-image {
    width: 100%;
    position: relative;
    z-index: 10;
    min-height: 300px;
}

.hero-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}