/* ============================================
   dichvuicloud.com - Mobile-First Stylesheet v3 (Kali Linux Hacker Theme)
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600;700&family=Be+Vietnam+Pro:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Cloud Tech Light Theme Colors */
    --primary: #007aff;
    /* Sky Blue */
    --primary-light: #4ea8ff;
    --secondary: #5856d6;
    --accent: #ff9500;
    --success: #34c759;
    --warning: #ffcc00;
    --danger: #ff3b30;
    --info: #32ade6;

    /* Light Cloud Background */
    --dark-bg: #fbfbfd;
    /* Clean Apple-like bright background */
    --dark-bg-2: #ffffff;
    /* White cards */
    --dark-bg-3: #f0f0f5;
    /* Neutral light gray */
    --card-bg: rgba(255, 255, 255, 0.95);
    --card-border: rgba(0, 0, 0, 0.05);

    /* Text for Light Theme */
    --text: #1d1d1f;
    /* Dark readable text */
    --text-muted: #86868b;
    --text-light: #aaa;

    /* Gradients */
    --gradient-1: linear-gradient(135deg, #007aff, #32ade6);
    --gradient-2: linear-gradient(135deg, #5856d6, #5ac8fa);
    --gradient-3: linear-gradient(135deg, #007aff, #00c6ff);

    /* Variables for Square & Smooth Layout */
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Soft, natural shadow */
    --shadow-soft: 0 2px 10px rgba(0, 0, 0, 0.03);
    --shadow-glow: 0 8px 30px rgba(0, 122, 255, 0.15);
    /* Tech blue glow */
    --radius: 4px;
    --radius-sm: 2px;
    --bottom-nav-height: 65px;
    --transition: all 0.25s ease;

    /* Safe areas for mobile */
    --safe-top: env(safe-area-inset-top, 0px);
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Be Vietnam Pro', 'Inter', sans-serif;
    background: var(--dark-bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
    padding-top: calc(70px + var(--safe-top));
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 3D Animations & Effects */
@keyframes floating {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0px);
    }
}

.floating-el {
    animation: floating 4s ease-in-out infinite;
}

.hover-lift {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}

.hover-lift:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), 0 0 20px rgba(108, 92, 231, 0.2);
    border-color: rgba(255, 255, 255, 0.15);
    z-index: 10;
}

/* Glass Panels with 3D Depth */
.glass-card {
    background: var(--card-bg);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--card-border);
    border-radius: var(--radius);
    padding: 24px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Smooth gradient overlay to give depth */
.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: skewX(-25deg);
    transition: 0.5s;
    pointer-events: none;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft), var(--shadow-glow);
}

/* Buttons - Touch Friendly (Min 48px height for mobile) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 24px;
    min-height: 48px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50px;
    opacity: 0;
    transition: var(--transition);
}

.btn-primary:active,
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 92, 231, 0.6);
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

.btn-success {
    background: var(--success);
    color: #000;
    box-shadow: 0 4px 15px rgba(0, 230, 118, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 230, 118, 0.5);
}

.btn-warning {
    background: var(--warning);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 214, 0, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
}

.btn-accent {
    background: var(--gradient-2);
    color: #fff;
}

.btn-sm {
    min-height: 36px;
    padding: 0 16px;
    font-size: 13px;
}

.btn-block {
    width: 100%;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.badge-success {
    background: rgba(0, 230, 118, 0.15);
    color: var(--success);
}

.badge-warning {
    background: rgba(255, 214, 0, 0.15);
    color: var(--warning);
}

.badge-danger {
    background: rgba(255, 82, 82, 0.15);
    color: var(--danger);
}

.badge-info {
    background: rgba(0, 176, 255, 0.15);
    color: var(--info);
}

.badge-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
}

/* ========== NAVBAR / HEADER ========== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(70px + var(--safe-top));
    padding-top: var(--safe-top);
    background: rgba(11, 14, 26, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--card-border);
    transition: var(--transition);
    display: flex;
    align-items: center;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.header-brand {
    font-size: 22px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-brand span {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-auth {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Desktop Navigation */
.nav-desktop {
    display: none;
    gap: 30px;
}

.nav-desktop a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 15px;
    position: relative;
}

.nav-desktop a.active,
.nav-desktop a:hover {
    color: var(--text);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-1);
    transition: var(--transition);
}

.nav-desktop a.active::after,
.nav-desktop a:hover::after {
    width: 100%;
}

/* Mobile Bottom Navigation (App-like) */
.nav-mobile {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: calc(var(--bottom-nav-height) + var(--safe-bottom));
    padding-bottom: var(--safe-bottom);
    background: rgba(11, 14, 26, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--card-border);
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: var(--text-muted);
    width: 20%;
    height: 100%;
}

.nav-item i {
    font-size: 20px;
    transition: var(--transition);
}

.nav-item span {
    font-size: 10px;
    font-weight: 600;
}

.nav-item.active {
    color: var(--primary-light);
}

.nav-item.active i {
    transform: translateY(-3px);
    text-shadow: var(--shadow-glow);
}

.nav-item-primary {
    position: relative;
    top: -15px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-1);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.4);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.nav-item-primary:hover {
    transform: scale(1.1) rotate(5deg);
}

.nav-item-primary i {
    font-size: 24px;
}

/* ========== FORMS ========== */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
}

.form-control {
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    color: var(--text);
    font-size: 16px;
    transition: var(--transition);
    font-family: inherit;
    box-shadow: none;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.12);
}

textarea.form-control {
    padding: 16px;
    min-height: 120px;
    resize: vertical;
}

/* System Alerts / Flash Messages */
.alert {
    padding: 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: rgba(0, 230, 118, 0.1);
    border: 1px solid rgba(0, 230, 118, 0.2);
    color: var(--success);
}

.alert-danger {
    background: rgba(255, 82, 82, 0.1);
    border: 1px solid rgba(255, 82, 82, 0.2);
    color: var(--danger);
}

.alert-info {
    background: rgba(0, 176, 255, 0.1);
    border: 1px solid rgba(0, 176, 255, 0.2);
    color: var(--info);
}

.alert-warning {
    background: rgba(255, 214, 0, 0.1);
    border: 1px solid rgba(255, 214, 0, 0.2);
    color: var(--warning);
}

/* ========== SPLIT SCREEN AUTH (3D Glass) ========== */
.split-auth-container {
    display: flex;
    min-height: 100vh;
    width: 100vw;
    margin: -70px 0 calc(var(--bottom-nav-height) * -1) 0;
    /* Reset body padding */
    padding-top: calc(70px + var(--safe-top));
    padding-bottom: calc(var(--bottom-nav-height) + var(--safe-bottom));
}

.split-auth-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    background: var(--dark-bg);
}

.split-auth-form .auth-inner {
    max-width: 450px;
    width: 100%;
    margin: 0 auto;
}

.split-auth-banner {
    display: none;
}

@media (min-width: 768px) {
    .split-auth-container {
        margin: -70px 0 0 0;
        padding-top: 70px;
        padding-bottom: 0;
    }

    .split-auth-banner {
        flex: 1.2;
        display: flex;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, rgba(108, 92, 231, 0.1), rgba(0, 210, 255, 0.05)), url('https://images.unsplash.com/photo-1611186871348-b1ce696e52c9?w=1000') no-repeat center center/cover;
        position: relative;
        overflow: hidden;
    }

    .split-auth-banner::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(11, 14, 26, 0.5);
        backdrop-filter: blur(5px);
    }

    .split-auth-banner .banner-content {
        position: relative;
        z-index: 2;
        text-align: center;
        color: #fff;
        max-width: 80%;
        transform: perspective(1000px) rotateY(-15deg);
        transition: transform 0.5s ease;
    }

    .split-auth-banner:hover .banner-content {
        transform: perspective(1000px) rotateY(0deg);
    }

    .banner-content h1 {
        font-size: 3rem;
        font-weight: 800;
        margin-bottom: 10px;
        text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
    }

    .banner-content p {
        font-size: 1.2rem;
        color: rgba(255, 255, 255, 0.8);
    }
}


/* ========== MODULAR LAYOUTS ========== */
.grid-container {
    display: grid;
    gap: 20px;
}

.col-1 {
    grid-template-columns: 1fr;
}

.col-2 {
    grid-template-columns: repeat(2, 1fr);
}

.col-3 {
    grid-template-columns: repeat(3, 1fr);
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 60px 0;
    position: relative;
}

.hero-title {
    font-size: clamp(32px, 8vw, 56px);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-desc {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 32px;
    padding: 0 10px;
}

/* Pricing Cards */
.pricing-card {
    text-align: center;
    position: relative;
    padding: 32px 24px;
}

.pricing-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--gradient-1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-glow);
}

.pricing-price {
    font-size: 36px;
    font-weight: 800;
    margin: 16px 0;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pricing-features {
    text-align: left;
    margin: 24px 0;
}

.pricing-features li {
    padding: 12px 0;
    border-bottom: 1px solid var(--card-border);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-features li i {
    color: var(--success);
}

/* Dashboard Content */
.dashboard-layout {
    padding: 20px;
}

.page-header {
    margin-bottom: 24px;
}

.page-header h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 16px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--card-border);
    background: var(--card-bg);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-soft);
}

.stat-card i {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--primary-light);
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 800;
}

.stat-card .stat-label {
    font-size: 12px;
    color: var(--text-muted);
}

/* Responsive Table / Card View */
.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.data-table th,
.data-table td {
    padding: 16px;
    border-bottom: 1px solid var(--card-border);
    text-align: left;
}

.data-table th {
    color: var(--text-muted);
    font-size: 13px;
    text-transform: uppercase;
}

/* Desktop Overrides */
@media (min-width: 768px) {
    body {
        padding-bottom: 0;
    }

    .nav-mobile {
        display: none;
    }

    .nav-desktop {
        display: flex;
    }

    .header-auth {
        display: flex;
    }

    .dashboard-layout {
        display: flex;
        padding: 0;
        min-height: calc(100vh - 70px);
    }

    .sidebar {
        width: 280px;
        background: var(--dark-bg-2);
        border-right: 1px solid var(--card-border);
        padding: 24px;
        position: sticky;
        top: 70px;
        height: calc(100vh - 70px);
        overflow-y: auto;
    }

    .main-content {
        flex: 1;
        padding: 40px;
    }

    .grid-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .col-2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero {
        padding: 100px 0;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 767px) {

    .col-2,
    .col-3 {
        grid-template-columns: 1fr;
    }

    .split-auth-container {
        display: block;
        height: auto;
        padding: 20px;
    }

    .split-auth-form {
        padding: 20px;
        background: transparent;
    }
}

/* ========== SIDEBAR MENU STYLING ========== */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-muted);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary-light);
}

.sidebar-label {
    font-size: 11px;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 12px;
    font-weight: 700;
}

.sidebar-divider {
    height: 1px;
    background: var(--card-border);
    margin: 20px 0;
}

/* ========== OTP INPUT FIELD STYLING ========== */
.otp-inputs {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 25px;
}

.otp-inputs input {
    width: 100%;
    aspect-ratio: 1;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    border-radius: var(--radius-sm);
    background: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--card-border);
    color: var(--text);
    transition: var(--transition);
}

.otp-inputs input:focus {
    border-color: var(--primary-light);
    box-shadow: 0 0 15px rgba(108, 92, 231, 0.4);
    outline: none;
}

/* ========== V6 CLOUD LIGHT THEME (upgraded from Cyberpunk) ========== */
body {
    background-color: #fbfbfd;
    background-image: none;
}

.text-gradient-cyber {
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heading-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(0, 122, 255, 0.08);
    border: 1px solid rgba(0, 122, 255, 0.2);
    color: var(--primary);
    font-size: 11px;
    font-family: monospace;
    letter-spacing: 2px;
    margin-bottom: 15px;
    border-radius: 4px;
}

.section-heading.text-center {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fff;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, #ff9a9e 0%, #fecfef 99%, #fecfef 100%);
    color: #000;
    padding: 10px 0;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(255, 154, 158, 0.3);
}

/* Hero V6 */
.hero-v6 {
    position: relative;
    padding: 120px 0 80px;
    text-align: center;
    overflow: hidden;
}

.cyber-grid {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(100px);
    z-index: 0;
}

.hero-glow.primary {
    background: rgba(79, 172, 254, 0.4);
    top: -50px;
    left: 20%;
}

.hero-glow.secondary {
    background: rgba(108, 92, 231, 0.4);
    top: 20%;
    right: 20%;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(40px, 8vw, 65px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-desc {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: var(--text-light);
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cyber Buttons */
.btn-cyber {
    background: linear-gradient(90deg, #00f2fe 0%, #4facfe 100%);
    color: #fff;
    border: none;
    box-shadow: 0 5px 20px rgba(79, 172, 254, 0.4);
    font-weight: 700;
}

.btn-cyber:hover {
    box-shadow: 0 8px 30px rgba(79, 172, 254, 0.6);
    color: #fff;
}

.btn-outline-cyber {
    background: rgba(0, 122, 255, 0.05);
    border: 1px solid rgba(0, 122, 255, 0.3);
    color: #4facfe;
    font-weight: 700;
}

.btn-outline-cyber:hover {
    background: rgba(79, 172, 254, 0.1);
    color: #4facfe;
}

/* Service Grid V6 */
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.cyber-card {
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius);
    padding: 30px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cyber-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #4facfe, transparent);
    opacity: 0;
    transition: var(--transition);
}

.cyber-card:hover::before {
    opacity: 1;
}

.card-inner {
    position: relative;
    z-index: 2;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #4facfe;
    margin-bottom: 20px;
}

.cyber-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.service-desc {
    color: var(--text-muted);
    font-size: 14px;
    min-height: 45px;
    margin-bottom: 15px;
}

.service-price {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 25px;
}

.service-features {
    margin-bottom: 30px;
    list-style: none;
    padding: 0;
}

.service-features li {
    font-size: 14px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    gap: 10px;
    align-items: center;
    color: var(--text-light);
}

.service-features li i {
    color: #00E676;
}

.btn-card-action {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.btn-card-action:hover {
    background: #4facfe;
    color: #fff;
    border-color: #4facfe;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

/* Features Box */
.features-v6 {
    margin: 80px auto;
}

.cyber-box {
    background: linear-gradient(135deg, rgba(20, 25, 45, 0.8), rgba(10, 12, 25, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 60px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-text h2 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.features-desc {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.f-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.f-icon.warning {
    background: rgba(255, 214, 0, 0.1);
    color: #FFD600;
    border: 1px solid rgba(255, 214, 0, 0.3);
}

.f-icon.success {
    background: rgba(0, 230, 118, 0.1);
    color: #00E676;
    border: 1px solid rgba(0, 230, 118, 0.3);
}

.f-icon.info {
    background: rgba(0, 176, 255, 0.1);
    color: #00B0FF;
    border: 1px solid rgba(0, 176, 255, 0.3);
}

.f-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
}

.f-content p {
    font-size: 14px;
    color: var(--text-muted);
}

.visual-hologram {
    height: 400px;
    width: 100%;
    background: radial-gradient(circle at center, rgba(79, 172, 254, 0.1) 0%, transparent 60%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px dashed rgba(79, 172, 254, 0.2);
    border-radius: 50%;
}

.hologram-icon {
    font-size: 150px;
    color: rgba(79, 172, 254, 0.4);
    text-shadow: 0 0 30px rgba(79, 172, 254, 0.8);
}

.scan-line {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: #4facfe;
    opacity: 0.5;
    box-shadow: 0 0 15px #4facfe;
    animation: scan 3s linear infinite;
}

@keyframes scan {
    0% {
        top: 0;
    }

    100% {
        top: 100%;
    }
}

/* Blog Grid V6 */
.blog-preview-v6 {
    margin-bottom: 80px;
}

.blog-grid-v6 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.cyber-blog-card {
    background: rgba(15, 20, 35, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    display: block;
}

.blog-thumb-cyber {
    height: 220px;
    position: relative;
    background: var(--dark-bg-3);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-thumb-cyber img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: var(--transition);
}

.cyber-blog-card:hover .blog-thumb-cyber img {
    transform: scale(1.05);
    opacity: 1;
}

.thumb-placeholder {
    font-size: 50px;
    color: rgba(255, 255, 255, 0.05);
}

.blog-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    padding: 4px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4facfe;
}

.blog-info {
    padding: 25px;
}

.blog-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.4;
    color: #fff;
}

.blog-info p {
    color: var(--text-muted);
    font-size: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* Utilities */
.d-flex {
    display: flex;
}

.justify-between {
    justify-content: space-between;
}

.align-center {
    align-items: center;
}

.mb-4 {
    margin-bottom: 30px;
}

.mt-4 {
    margin-top: 30px;
}

.mb-0 {
    margin-bottom: 0 !important;
}

@media (max-width: 991px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid-v6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .blog-grid-v6 {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 36px;
    }

    .cyber-box {
        padding: 30px;
    }
}

/* ============================================
   V8 3D ANIMATIONS & PREMIUM EFFECTS
   ============================================ */

/* Rocket Launch Animation */
@keyframes rocketLaunch {
    0% {
        transform: translateY(100vh) rotate(15deg);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(-120vh) rotate(-5deg);
        opacity: 0;
    }
}

@keyframes rocketTrail {
    0% {
        opacity: 0.8;
        transform: scaleY(1);
    }

    100% {
        opacity: 0;
        transform: scaleY(3);
    }
}

.rocket-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.rocket {
    position: absolute;
    bottom: -100px;
    font-size: 40px;
    animation: rocketLaunch 4s ease-in infinite;
}

.rocket:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 5s;
}

.rocket:nth-child(2) {
    left: 50%;
    animation-delay: 2s;
    animation-duration: 6s;
    font-size: 30px;
}

.rocket:nth-child(3) {
    left: 80%;
    animation-delay: 4s;
    animation-duration: 4.5s;
    font-size: 25px;
}

/* Floating Particles */
@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) translateX(0) scale(1);
        opacity: 0.3;
    }

    25% {
        transform: translateY(-30px) translateX(10px) scale(1.1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-15px) translateX(-10px) scale(0.9);
        opacity: 0.4;
    }

    75% {
        transform: translateY(-40px) translateX(5px) scale(1.05);
        opacity: 0.5;
    }
}

.floating-particle {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    animation: floatParticle 8s ease-in-out infinite;
}

/* 3D Perspective Cards */
.card-3d {
    perspective: 1000px;
    transform-style: preserve-3d;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.6s ease;
}

.card-3d:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(3deg) translateZ(20px) scale(1.02);
    box-shadow: 0 25px 60px rgba(79, 172, 254, 0.2), 0 0 40px rgba(0, 242, 254, 0.1);
}

/* Smooth Scroll Fade-in */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.7s ease-out forwards;
}

.fade-in-delay-1 {
    animation-delay: 0.1s;
    opacity: 0;
}

.fade-in-delay-2 {
    animation-delay: 0.2s;
    opacity: 0;
}

.fade-in-delay-3 {
    animation-delay: 0.3s;
    opacity: 0;
}

.fade-in-delay-4 {
    animation-delay: 0.4s;
    opacity: 0;
}

/* Gradient Border Animation */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.gradient-border {
    position: relative;
    border: none;
}

.gradient-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #4facfe, #00f2fe, #ff9a9e, #fecfef, #4facfe);
    background-size: 400% 400%;
    animation: gradientBorder 6s ease infinite;
    border-radius: inherit;
    z-index: -1;
}

/* Enhanced Glassmorphism V8 */
.glass-v8 {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Wave Animation */
@keyframes wave {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.wave-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 80px;
    background: repeating-linear-gradient(90deg, transparent 0, rgba(79, 172, 254, 0.03) 50px, transparent 100px);
    animation: wave 8s linear infinite;
}

/* Glow Pulse for important elements */
@keyframes glowPulse {

    0%,
    100% {
        box-shadow: 0 0 5px rgba(79, 172, 254, 0.3);
    }

    50% {
        box-shadow: 0 0 25px rgba(79, 172, 254, 0.6), 0 0 50px rgba(0, 242, 254, 0.2);
    }
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Cyber Button Enhancement */
.btn-cyber {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    border: none;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-cyber::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 40%, rgba(255, 255, 255, 0.2) 50%, transparent 60%);
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.btn-cyber:hover::after {
    left: 100%;
}

.btn-cyber:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(79, 172, 254, 0.4);
}

.btn-outline-cyber {
    background: transparent;
    color: #4facfe;
    border: 1px solid rgba(79, 172, 254, 0.4);
    transition: all 0.3s ease;
}

.btn-outline-cyber:hover {
    background: rgba(79, 172, 254, 0.1);
    border-color: #4facfe;
    box-shadow: 0 0 20px rgba(79, 172, 254, 0.2);
}

/* Premium Chat Bubbles V8 */
.chat-bubble-v8 {
    padding: 14px 20px;
    border-radius: 22px;
    font-size: 14px;
    line-height: 1.6;
    word-break: break-word;
    max-width: 75%;
    position: relative;
    transition: transform 0.3s ease;
    animation: bubbleIn 0.3s ease-out;
}

@keyframes bubbleIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(10px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.chat-bubble-sent {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    color: #fff;
    border-bottom-right-radius: 6px;
    margin-left: auto;
}

.chat-bubble-received {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border-bottom-left-radius: 6px;
}

.chat-bubble-admin {
    background: linear-gradient(135deg, #ff9a9e, #fecfef);
    color: #fff;
    border-bottom-left-radius: 6px;
}

.chat-bubble-system {
    background: rgba(255, 214, 0, 0.08);
    border: 1px solid rgba(255, 214, 0, 0.15);
    color: var(--warning);
    border-radius: 12px;
    text-align: center;
    font-size: 12px;
    font-weight: 600;
    max-width: 90%;
    margin: 15px auto;
}

/* Read Receipt */
.read-receipt {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 4px;
    text-align: right;
}

.read-receipt.seen {
    color: #4facfe;
}

/* Typing Indicator */
@keyframes typingDot {

    0%,
    80% {
        opacity: 0.3;
    }

    40% {
        opacity: 1;
    }
}

.typing-indicator span {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--text-muted);
    margin: 0 2px;
    animation: typingDot 1.4s infinite;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

/* Text Gradients */
.text-gradient-cyber {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-fire {
    background: linear-gradient(135deg, #fff, var(--primary-light));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Heading Badge */
.heading-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    background: rgba(79, 172, 254, 0.1);
    border: 1px solid rgba(79, 172, 254, 0.3);
    color: #4facfe;
    margin-bottom: 12px;
}

/* Cyber Card */
.cyber-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.4s ease;
}

.cyber-card:hover {
    border-color: rgba(79, 172, 254, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

/* Cyber Box */
.cyber-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px;
}

/* Smooth global scroll */
html {
    scroll-behavior: smooth;
}