/* ============================================
   SKYCLOUD VPS - LANDING PAGE STYLES
   Blue theme with modern effects & responsive
   ============================================ */

:root {
    --primary: #0066ff;
    --primary-dark: #0047b3;
    --primary-light: #4d94ff;
    --accent: #00d4ff;
    --accent-2: #6366f1;
    --bg-dark: #030614;
    --bg-darker: #010208;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(30, 41, 59, 0.7);
    --border-color: rgba(59, 130, 246, 0.2);
    --border-glow: rgba(0, 212, 255, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --gradient-primary: linear-gradient(135deg, #0066ff 0%, #00d4ff 100%);
    --gradient-blue: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #00d4ff 100%);
    --gradient-glow: radial-gradient(circle, rgba(0, 102, 255, 0.3) 0%, transparent 70%);
    --shadow-glow: 0 0 40px rgba(0, 102, 255, 0.4);
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.3);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Selection */
::selection {
    background: var(--primary);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 10px;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   ANIMATED BACKGROUND
   ============================================ */
.bg-animation {
    position: fixed;
    inset: 0;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(ellipse at top, #0a1929 0%, var(--bg-dark) 60%, var(--bg-darker) 100%);
}

.bg-animation::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background:
        radial-gradient(circle at 20% 30%, rgba(0, 102, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(0, 212, 255, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    animation: bgMove 20s ease-in-out infinite;
}

@keyframes bgMove {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    50% { transform: translate(-3%, -3%) rotate(1deg); }
}

.stars {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.8), transparent),
        radial-gradient(1px 1px at 60% 70%, rgba(0, 212, 255, 0.7), transparent),
        radial-gradient(1.5px 1.5px at 40% 50%, rgba(255,255,255,0.6), transparent),
        radial-gradient(1px 1px at 80% 20%, rgba(77, 148, 255, 0.8), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255,255,255,0.5), transparent),
        radial-gradient(1px 1px at 10% 80%, rgba(0, 212, 255, 0.6), transparent),
        radial-gradient(1.5px 1.5px at 70% 40%, rgba(255,255,255,0.7), transparent);
    background-size: 550px 550px;
    animation: starsMove 60s linear infinite;
    opacity: 0.6;
}

@keyframes starsMove {
    from { background-position: 0 0; }
    to { background-position: -550px 550px; }
}

#particles-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: rgba(3, 6, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(3, 6, 20, 0.9);
    border-bottom-color: var(--border-color);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.logo i {
    font-size: 1.8rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 12px rgba(0, 212, 255, 0.5));
}

.logo-accent {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 8px;
    margin: 0 auto;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover {
    color: white;
    background: rgba(59, 130, 246, 0.1);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: var(--transition);
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 20px;
}

.nav-actions {
    display: flex;
    gap: 10px;
    align-items: center;
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 2px;
    width: 100%;
    background: white;
    border-radius: 2px;
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 9px 18px;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1rem;
}

.btn-block {
    width: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 20px rgba(0, 102, 255, 0.4);
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #00d4ff 0%, #0066ff 100%);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary > * {
    position: relative;
    z-index: 1;
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1.5px solid var(--border-color);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: var(--primary-light);
    transform: translateY(-2px);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px;
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent);
    border-radius: 50%;
    position: relative;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.5;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(2.5); opacity: 0; }
}

.hero-title {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    animation: fadeInUp 1s ease;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    display: inline-block;
}

.hero-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    max-width: 540px;
    animation: fadeInUp 1.2s ease;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    margin-bottom: 60px;
    flex-wrap: wrap;
    animation: fadeInUp 1.4s ease;
}

.hero-stats {
    display: flex;
    gap: 40px;
    animation: fadeInUp 1.6s ease;
}

.stat-item {
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: var(--border-color);
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Visual - Server Rack */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.server-rack {
    position: relative;
    width: 320px;
    background: linear-gradient(180deg, #0f1729 0%, #1e293b 100%);
    border-radius: 16px;
    padding: 20px 16px;
    border: 1px solid var(--border-color);
    box-shadow:
        0 0 60px rgba(0, 102, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    animation: floatServer 6s ease-in-out infinite;
}

@keyframes floatServer {
    0%, 100% { transform: translateY(0) rotateY(-5deg); }
    50% { transform: translateY(-15px) rotateY(-3deg); }
}

.server-glow {
    position: absolute;
    inset: -50px;
    background: var(--gradient-glow);
    filter: blur(40px);
    z-index: -1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.server-unit {
    background: linear-gradient(180deg, #1a2540 0%, #0f1a2e 100%);
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.server-unit:last-child {
    margin-bottom: 0;
}

.server-lights {
    display: flex;
    gap: 6px;
}

.led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: ledBlink 2s ease-in-out infinite;
}

.led-green {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.led-blue {
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    animation-delay: 0.3s;
}

.led-blue:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes ledBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.server-bars {
    display: flex;
    gap: 4px;
    flex: 1;
    align-items: flex-end;
    height: 30px;
}

.bar {
    flex: 1;
    background: linear-gradient(180deg, var(--accent) 0%, var(--primary) 100%);
    border-radius: 2px;
    animation: barPulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(0, 212, 255, 0.5);
}

.bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.bar:nth-child(3) { height: 55%; animation-delay: 0.2s; }
.bar:nth-child(4) { height: 85%; animation-delay: 0.3s; }
.bar:nth-child(5) { height: 60%; animation-delay: 0.4s; }
.bar:nth-child(6) { height: 45%; animation-delay: 0.5s; }

@keyframes barPulse {
    0%, 100% { transform: scaleY(1); opacity: 0.8; }
    50% { transform: scaleY(1.15); opacity: 1; }
}

/* Floating Cards */
.floating-card {
    position: absolute;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow-card);
    animation: floatCard 5s ease-in-out infinite;
}

.floating-card i {
    font-size: 1.5rem;
    color: var(--accent);
    background: rgba(0, 212, 255, 0.15);
    padding: 10px;
    border-radius: 10px;
}

.fc-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.fc-sub {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.card-1 {
    top: 40px;
    left: -20px;
    animation-delay: 0s;
}

.card-2 {
    top: 220px;
    right: -30px;
    animation-delay: 1.5s;
}

.card-3 {
    bottom: 40px;
    left: 10px;
    animation-delay: 3s;
}

@keyframes floatCard {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 42px;
    border: 2px solid var(--border-color);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.scroll-indicator span {
    display: block;
    width: 4px;
    height: 8px;
    background: var(--accent);
    border-radius: 2px;
    animation: scrollDown 2s infinite;
}

@keyframes scrollDown {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* ============================================
   SECTIONS COMMON
   ============================================ */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 102, 255, 0.1);
    border: 1px solid rgba(0, 102, 255, 0.3);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: var(--transition);
    z-index: 0;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.2);
}

.feature-card:hover::before {
    opacity: 0.3;
}

.feature-card:hover::after {
    opacity: 1;
}

.feature-card > * {
    position: relative;
    z-index: 1;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.3);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: rotate(-5deg) scale(1.05);
    box-shadow: 0 12px 30px rgba(0, 212, 255, 0.5);
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   PRICING SECTION
   ============================================ */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px 32px;
    position: relative;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 50px rgba(0, 102, 255, 0.2);
}

.pricing-card.featured {
    background: linear-gradient(180deg, rgba(0, 102, 255, 0.15) 0%, rgba(15, 23, 42, 0.6) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    transform: scale(1.05);
    box-shadow: 0 20px 60px rgba(0, 102, 255, 0.3);
}

.pricing-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 102, 255, 0.5);
}

.pricing-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: white;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-color);
}

.pricing-price .currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-price .amount {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
}

.pricing-price .period {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-left: 4px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    flex: 1;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 0.925rem;
}

.pricing-features i {
    color: var(--accent);
    background: rgba(0, 212, 255, 0.1);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    flex-shrink: 0;
}

/* ============================================
   INFRASTRUCTURE OVERVIEW SECTION
   ============================================ */

/* Hero image with overlay */
.infra-hero {
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    margin-bottom: 32px;
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    isolation: isolate;
}

.infra-hero img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.infra-hero:hover img {
    transform: scale(1.03);
}

.infra-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(3, 6, 20, 0.3) 0%,
        rgba(3, 6, 20, 0.5) 40%,
        rgba(3, 6, 20, 0.95) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    gap: 24px;
}

.infra-hero-content h3 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

.infra-hero-content p {
    color: var(--accent);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.infra-chips {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.infra-chip {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    transition: var(--transition);
}

.infra-chip:hover {
    border-color: var(--border-glow);
    background: rgba(15, 23, 42, 0.9);
    transform: translateY(-2px);
}

.infra-chip i {
    font-size: 1.4rem;
    color: white;
    background: var(--gradient-primary);
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.35);
}

.infra-chip strong {
    display: block;
    color: white;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.infra-chip span {
    color: var(--text-secondary);
    font-size: 0.8rem;
    line-height: 1.35;
    display: block;
}

/* Product image cards */
.infra-products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 48px;
}

.infra-product {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}

.infra-product:hover {
    transform: translateY(-6px);
    border-color: var(--border-glow);
    box-shadow: 0 20px 40px rgba(0, 102, 255, 0.25);
}

.ip-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #0f1729, #1e293b);
}

.ip-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(3, 6, 20, 0.6) 100%);
    z-index: 1;
}

.ip-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.infra-product:hover .ip-image img {
    transform: scale(1.08);
}

.ip-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ip-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.12);
    border: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 100px;
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

.ip-body h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    line-height: 1.35;
    margin: 0;
}

/* Feature blocks */
.infra-features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.infra-feature {
    padding: 26px 22px;
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.infra-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient-primary);
    transition: height 0.4s ease;
    border-radius: 0 3px 3px 0;
}

.infra-feature:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    background: var(--bg-card-hover);
}

.infra-feature:hover::before {
    height: 60%;
}

.if-icon {
    width: 42px;
    height: 42px;
    background: rgba(0, 102, 255, 0.12);
    border: 1px solid rgba(0, 102, 255, 0.25);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.infra-feature h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
}

.infra-feature p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   VIDEO PLAYER (embedded inside CTA box)
   ============================================ */
.cta-video {
    position: relative;
    width: 100%;
    margin: 0 auto 28px;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #0a1220 0%, #050914 100%);
    border-radius: 20px;
    overflow: hidden;
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 0 0 1px rgba(0, 212, 255, 0.15);
}

.video-player {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #050914;
    z-index: 2;
}

/* Ẩn video khi lỗi (hoặc chưa có src) để hiện placeholder ở dưới */
.cta-video.is-error .video-player,
.cta-video.is-empty .video-player {
    display: none;
}

/* Hide native controls (video is silent + loop) */
.video-player::-webkit-media-controls {
    display: none !important;
}

/* Placeholder shown when video has no src / errors */
.video-placeholder {
    position: absolute;
    inset: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: var(--text-muted);
    text-align: center;
    padding: 24px;
    background:
        repeating-linear-gradient(
            45deg,
            rgba(59, 130, 246, 0.04) 0 20px,
            transparent 20px 40px
        ),
        linear-gradient(135deg, #0a1220 0%, #050914 100%);
}

.vp-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(0, 102, 255, 0.15);
    border: 1px solid rgba(0, 212, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    animation: fabFloat 3s ease-in-out infinite;
}

.video-placeholder p {
    font-size: 0.9rem;
    max-width: 380px;
    line-height: 1.55;
}

.video-placeholder code {
    background: rgba(0, 212, 255, 0.15);
    color: var(--accent);
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 0.85em;
}

.video-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(3, 6, 20, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    z-index: 2;
    pointer-events: none;
}

.vb-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    box-shadow: 0 0 8px #ef4444;
    animation: ledBlink 1.4s ease-in-out infinite;
}

/* When CTA has a video, tighten padding so video hugs the top nicely.
   Higher specificity (.cta-box.cta-with-video) to beat generic .cta-box below. */
.cta-box.cta-with-video {
    padding: 36px 40px 56px;
}

.cta-box.cta-with-video h2 {
    margin-bottom: 12px;
}

.cta-box.cta-with-video p {
    margin-bottom: 28px;
}

/* Giới hạn video để không quá to trong box wide, giữ tỉ lệ cân đối */
.cta-box.cta-with-video .cta-video {
    max-width: 960px;
}

@media (max-width: 768px) {
    .cta-box.cta-with-video {
        padding: 20px 18px 30px;
        border-radius: 22px;
    }
    .cta-box.cta-with-video h2 {
        margin-bottom: 8px;
    }
    .cta-box.cta-with-video p {
        margin-bottom: 18px;
    }
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta {
    padding: 60px 0 100px;
}

.cta-box {
    background: linear-gradient(135deg, rgba(0, 102, 255, 0.15) 0%, rgba(0, 212, 255, 0.1) 100%);
    border: 1px solid var(--border-glow);
    border-radius: 32px;
    padding: 70px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
}

.cta-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 60%);
    filter: blur(60px);
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { opacity: 0.6; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.1); }
}

.cta-box > * {
    position: relative;
    z-index: 1;
}

/* .cta-glow phải giữ absolute (bumping specificity để beat rule '.cta-box > *' ở trên).
   Nếu không, glow bị đẩy vào flow như block 600x600 → box cao vô lý. */
.cta-box > .cta-glow {
    position: absolute;
    z-index: 0;
}

.cta-box h2 {
    font-size: clamp(1.7rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.cta-box p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    padding: 80px 0 30px;
    background: rgba(1, 2, 8, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.footer-col .logo {
    margin-bottom: 16px;
}

.footer-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
    max-width: 320px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-primary);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 102, 255, 0.4);
    border-color: transparent;
}

.footer-col h4 {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--accent);
    padding-left: 4px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.contact-list i {
    color: var(--accent);
    width: 16px;
}

.footer-bottom {
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 44px;
    height: 44px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 998;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    background: var(--gradient-primary);
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

/* ============================================
   CONTACT FAB (Floating action button)
   ============================================ */
.contact-fab {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 56px;
    padding: 0 20px 0 18px;
    background: linear-gradient(135deg, #06b6d4 0%, #0066ff 100%);
    color: white;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    font-family: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    box-shadow:
        0 10px 30px rgba(0, 102, 255, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
    animation: cfabIn 0.6s ease 0.4s both;
    -webkit-tap-highlight-color: transparent;
}

@keyframes cfabIn {
    from { transform: translateY(100px) scale(0.5); opacity: 0; }
    to { transform: translateY(0) scale(1); opacity: 1; }
}

.contact-fab:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 16px 40px rgba(0, 212, 255, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.2) inset;
}

.contact-fab:active {
    transform: translateY(-2px) scale(0.98);
}

.cfab-icon {
    font-size: 1.15rem;
    animation: cfabWiggle 3s ease-in-out infinite;
}

@keyframes cfabWiggle {
    0%, 88%, 100% { transform: rotate(0); }
    92% { transform: rotate(-15deg); }
    96% { transform: rotate(15deg); }
}

.cfab-label {
    letter-spacing: 0.2px;
    white-space: nowrap;
}

/* Pulse rings */
.cfab-pulse {
    position: absolute;
    inset: 0;
    border-radius: 100px;
    background: linear-gradient(135deg, #06b6d4 0%, #0066ff 100%);
    opacity: 0.5;
    animation: cfabPulse 2.4s ease-out infinite;
    z-index: -1;
    pointer-events: none;
}

.cfab-pulse-2 {
    animation-delay: 1.2s;
}

@keyframes cfabPulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

/* ============================================
   MOBILE APP-STYLE BOTTOM NAVIGATION
   (Hidden on desktop, visible on mobile)
   ============================================ */
.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(3, 6, 20, 0.85);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.4);
    justify-content: space-around;
    align-items: center;
    gap: 4px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 20%;
    right: 20%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0.5;
}

.bnav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 4px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    border-radius: 12px;
}

.bnav-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    font-size: 1.15rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bnav-item:active {
    transform: scale(0.92);
}

.bnav-item.active {
    color: var(--accent);
}

.bnav-item.active .bnav-icon {
    transform: translateY(-4px);
    filter: drop-shadow(0 4px 8px rgba(0, 212, 255, 0.6));
}

.bnav-item.active .bnav-label {
    opacity: 1;
}

/* Highlight moving indicator (dot under active item) */
.bnav-item.active::before {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 100px;
    box-shadow: 0 0 10px var(--accent);
    animation: bnavPop 0.4s ease;
}

@keyframes bnavPop {
    0% { transform: translateX(-50%) scaleX(0); }
    100% { transform: translateX(-50%) scaleX(1); }
}

/* Floating Action Button (center item) */
.bnav-fab {
    margin-top: -28px;
}

.bnav-fab .bnav-icon {
    width: 54px;
    height: 54px;
    background: var(--gradient-primary);
    border-radius: 50%;
    color: white;
    font-size: 1.35rem;
    box-shadow:
        0 8px 24px rgba(0, 102, 255, 0.55),
        0 0 0 6px rgba(3, 6, 20, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: fabFloat 3s ease-in-out infinite;
}

.bnav-fab.active .bnav-icon {
    transform: translateY(-2px) scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 212, 255, 0.7));
}

.bnav-fab::before {
    display: none !important;
}

.bnav-fab .bnav-label {
    margin-top: 2px;
    color: var(--accent);
}

@keyframes fabFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.bnav-indicator {
    display: none;
}

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-content {
        max-width: 640px;
        margin: 0 auto;
    }

    .hero-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        max-width: 400px;
        margin: 0 auto;
        height: 420px;
    }

    .infra-products {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .infra-chips {
        grid-template-columns: 1fr;
    }

    .infra-hero img {
        height: 380px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */
@media (max-width: 768px) {
    section {
        padding: 40px 0;
    }

    .container {
        padding: 0 16px;
    }

    /* Show app-style bottom nav */
    .bottom-nav {
        display: flex;
    }

    /* Add safe area padding so content isn't hidden behind bottom nav */
    body {
        padding-bottom: 78px;
    }

    /* Hide hamburger + drawer menu (bottom nav replaces it) */
    .hamburger {
        display: none;
    }

    .nav-menu {
        display: none;
    }

    /* Show a compact "Start" button on mobile top nav */
    .nav-actions {
        display: flex;
        gap: 8px;
    }

    .nav-actions .btn-outline {
        display: none;
    }

    .nav-actions .btn {
        padding: 8px 14px;
        font-size: 0.8rem;
        border-radius: 100px;
    }

    /* Compact navbar on mobile - like app top bar */
    .navbar {
        padding: 12px 0;
    }

    .logo {
        font-size: 1.1rem;
    }

    .logo i {
        font-size: 1.4rem;
    }

    /* Move back-to-top above bottom nav */
    .back-to-top {
        bottom: 160px;
        right: 16px;
        width: 38px;
        height: 38px;
        font-size: 0.8rem;
    }

    /* Contact FAB on mobile - compact circle above bottom nav */
    .contact-fab {
        bottom: 96px;
        right: 16px;
        height: 52px;
        padding: 0;
        width: 52px;
        border-radius: 50%;
    }

    .cfab-label {
        display: none;
    }

    .cfab-icon {
        font-size: 1.25rem;
    }

    /* ================================
       HERO MOBILE - App dashboard style
       ================================ */
    .hero {
        padding: 80px 0 24px;
        min-height: auto;
    }

    .hero-container {
        gap: 24px;
    }

    .hero-content {
        text-align: left;
        max-width: 100%;
        margin: 0;
    }

    .hero-badge {
        font-size: 0.72rem;
        padding: 6px 12px 6px 10px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 1.85rem;
        letter-spacing: -0.8px;
        margin-bottom: 12px;
        line-height: 1.15;
    }

    .hero-desc {
        font-size: 0.925rem;
        margin-left: 0;
        margin-right: 0;
        margin-bottom: 20px;
        line-height: 1.55;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 24px;
        justify-content: flex-start;
    }

    .hero-buttons .btn {
        width: auto;
        flex: 1;
        padding: 13px 16px;
        font-size: 0.875rem;
        border-radius: 14px;
    }

    /* Stats as app-style card row */
    .hero-stats {
        gap: 10px;
        justify-content: space-between;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 20px;
        padding: 16px 14px;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .stat-item {
        flex: 1;
        text-align: center;
    }

    .stat-item:not(:last-child)::after {
        right: 0;
        height: 28px;
        background: var(--border-color);
    }

    .stat-number {
        font-size: 1.15rem;
        font-weight: 800;
    }

    .stat-label {
        font-size: 0.68rem;
        margin-top: 3px;
        color: var(--text-muted);
        text-transform: uppercase;
        letter-spacing: 0.3px;
    }

    /* Hero visual as app widget card */
    .hero-visual {
        height: 300px;
        transform: scale(0.75);
        margin-top: -20px;
    }

    .server-rack {
        width: 260px;
    }

    .floating-card {
        padding: 9px 12px;
        border-radius: 12px;
    }

    .floating-card i {
        font-size: 1.05rem;
        padding: 7px;
    }

    .fc-title {
        font-size: 0.78rem;
    }

    .fc-sub {
        font-size: 0.65rem;
    }

    .card-1 { top: 20px; left: -8px; }
    .card-2 { top: 150px; right: -12px; }
    .card-3 { bottom: 30px; left: -4px; }

    .scroll-indicator {
        display: none;
    }

    /* ================================
       SECTION HEADERS - App screen style
       ================================ */
    .section-header {
        margin-bottom: 20px;
        text-align: left;
        max-width: 100%;
    }

    .section-tag {
        font-size: 0.7rem;
        padding: 4px 12px;
        margin-bottom: 10px;
    }

    .section-title {
        font-size: 1.5rem;
        letter-spacing: -0.6px;
        margin-bottom: 6px;
    }

    .section-desc {
        font-size: 0.875rem;
        color: var(--text-muted);
    }

    /* ================================
       FEATURES MOBILE - App tile grid
       ================================ */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .feature-card {
        padding: 18px 14px;
        border-radius: 20px;
    }

    .feature-icon {
        width: 44px;
        height: 44px;
        font-size: 1.15rem;
        border-radius: 12px;
        margin-bottom: 12px;
    }

    .feature-card h3 {
        font-size: 0.95rem;
        margin-bottom: 6px;
        line-height: 1.25;
    }

    .feature-card p {
        font-size: 0.78rem;
        line-height: 1.5;
        color: var(--text-muted);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* ================================
       PRICING MOBILE - Horizontal snap carousel
       ================================ */
    .pricing {
        overflow: hidden;
    }

    .pricing .container {
        padding-right: 0;
    }

    .pricing-grid {
        grid-template-columns: none;
        display: flex;
        gap: 14px;
        overflow-x: auto;
        overflow-y: visible;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 20px 4px 24px 0;
        padding-right: 16px;
        margin-right: -16px;
        scrollbar-width: none;
    }

    .pricing-grid::-webkit-scrollbar {
        display: none;
    }

    .pricing-card {
        flex: 0 0 78%;
        scroll-snap-align: center;
        padding: 26px 22px;
        border-radius: 22px;
    }

    .pricing-card:first-child {
        margin-left: 4px;
    }

    .pricing-card.featured {
        transform: scale(1);
        order: 0;
    }

    .pricing-card.featured:hover {
        transform: translateY(0);
    }

    .pricing-header h3 {
        font-size: 1.2rem;
    }

    .pricing-price .amount {
        font-size: 2rem;
    }

    .pricing-features li {
        font-size: 0.82rem;
        padding: 6px 0;
    }

    .pricing-features {
        margin-bottom: 20px;
    }

    /* Scroll hint dots */
    .pricing::after {
        content: '← Vuốt để xem thêm →';
        display: block;
        text-align: center;
        color: var(--text-muted);
        font-size: 0.72rem;
        margin-top: 4px;
        letter-spacing: 0.5px;
        opacity: 0.7;
    }

    /* ================================
       INFRASTRUCTURE MOBILE - App feed style
       ================================ */
    .infra-hero {
        border-radius: 20px;
        margin-bottom: 20px;
    }

    .infra-hero img {
        height: 260px;
    }

    .infra-hero-overlay {
        padding: 18px;
        gap: 14px;
    }

    .infra-hero-content h3 {
        font-size: 1.15rem;
    }

    .infra-hero-content p {
        font-size: 0.78rem;
    }

    .infra-chips {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .infra-chip {
        padding: 10px 12px;
        gap: 10px;
        border-radius: 14px;
    }

    .infra-chip i {
        width: 36px;
        height: 36px;
        font-size: 1.1rem;
        border-radius: 10px;
    }

    .infra-chip strong {
        font-size: 0.85rem;
    }

    .infra-chip span {
        font-size: 0.72rem;
    }

    .infra-products {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
        margin-bottom: 28px;
    }

    .infra-product {
        border-radius: 18px;
    }

    .ip-image {
        aspect-ratio: 5 / 4;
    }

    .ip-body {
        padding: 12px 14px 14px;
        gap: 6px;
    }

    .ip-tag {
        font-size: 0.62rem;
        padding: 3px 8px;
    }

    .ip-body h4 {
        font-size: 0.85rem;
        line-height: 1.3;
    }

    .infra-features {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .infra-feature {
        padding: 16px 14px;
        border-radius: 16px;
    }

    .if-icon {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
        border-radius: 10px;
        margin-bottom: 10px;
    }

    .infra-feature h4 {
        font-size: 0.9rem;
        margin-bottom: 6px;
    }

    .infra-feature p {
        font-size: 0.75rem;
        line-height: 1.5;
    }

    /* ================================
       CTA VIDEO MOBILE
       ================================ */
    .cta-video {
        border-radius: 16px;
        margin-bottom: 22px;
    }

    .video-badge {
        top: 10px;
        left: 10px;
        padding: 3px 9px;
        font-size: 0.6rem;
    }

    .vp-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .video-placeholder p {
        font-size: 0.75rem;
    }

    /* ================================
       CTA MOBILE - App promo banner
       ================================ */
    .cta {
        padding: 20px 0 30px;
    }

    .cta-box {
        padding: 36px 20px;
        border-radius: 24px;
    }

    .cta-box h2 {
        font-size: 1.4rem;
        margin-bottom: 10px;
    }

    .cta-box p {
        font-size: 0.9rem;
        margin-bottom: 22px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .cta-buttons .btn {
        width: 100%;
        border-radius: 14px;
    }

    /* ================================
       FOOTER MOBILE - App contact screen
       ================================ */
    .footer {
        padding: 24px 0 20px;
        background: rgba(1, 2, 8, 0.4);
    }

    /* Reveal mobile-only elements */
    .footer-mobile-hero.mobile-only {
        display: flex;
    }

    .footer-quick-actions.mobile-only {
        display: grid;
    }

    /* Contact hero (avatar card) */
    .footer-mobile-hero {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 28px 20px 20px;
        background: linear-gradient(180deg, rgba(0, 102, 255, 0.15) 0%, rgba(15, 23, 42, 0.4) 100%);
        border: 1px solid var(--border-color);
        border-radius: 24px;
        margin-bottom: 16px;
        position: relative;
        overflow: hidden;
    }

    .footer-mobile-hero::before {
        content: '';
        position: absolute;
        top: -60px;
        left: 50%;
        transform: translateX(-50%);
        width: 200px;
        height: 200px;
        background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%);
        filter: blur(20px);
        z-index: 0;
    }

    .footer-mobile-hero > * {
        position: relative;
        z-index: 1;
    }

    .fm-avatar {
        width: 72px;
        height: 72px;
        border-radius: 22px;
        background: var(--gradient-primary);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        color: white;
        box-shadow:
            0 12px 28px rgba(0, 102, 255, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3);
        margin-bottom: 14px;
        animation: fabFloat 3s ease-in-out infinite;
    }

    .fm-name {
        font-size: 1.25rem;
        font-weight: 800;
        color: white;
        margin-bottom: 4px;
        letter-spacing: -0.3px;
    }

    .fm-role {
        font-size: 0.8rem;
        color: var(--text-secondary);
        margin-bottom: 16px;
    }

    .fm-social {
        display: flex;
        gap: 10px;
        justify-content: center;
    }

    .fm-social a {
        width: 40px;
        height: 40px;
        border-radius: 12px;
        background: rgba(15, 23, 42, 0.7);
        border: 1px solid var(--border-color);
        display: flex;
        align-items: center;
        justify-content: center;
        color: var(--text-secondary);
        text-decoration: none;
        transition: var(--transition);
        -webkit-tap-highlight-color: transparent;
    }

    .fm-social a:active {
        transform: scale(0.92);
        background: var(--gradient-primary);
        color: white;
        border-color: transparent;
    }

    /* Quick actions grid (Call / Email / Zalo / Support) */
    .footer-quick-actions {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-bottom: 22px;
    }

    .fq-action {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 8px;
        padding: 14px 6px;
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 18px;
        text-decoration: none;
        color: var(--text-secondary);
        font-size: 0.72rem;
        font-weight: 600;
        transition: var(--transition);
        -webkit-tap-highlight-color: transparent;
    }

    .fq-action:active {
        transform: scale(0.95);
    }

    .fq-icon {
        width: 42px;
        height: 42px;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-size: 1.1rem;
        background: linear-gradient(135deg, #10b981, #059669);
        box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
    }

    .fq-icon-2 {
        background: linear-gradient(135deg, #0066ff, #00d4ff);
        box-shadow: 0 6px 16px rgba(0, 102, 255, 0.4);
    }

    .fq-icon-3 {
        background: linear-gradient(135deg, #06b6d4, #3b82f6);
        box-shadow: 0 6px 16px rgba(6, 182, 212, 0.4);
    }

    .fq-icon-4 {
        background: linear-gradient(135deg, #6366f1, #a855f7);
        box-shadow: 0 6px 16px rgba(99, 102, 241, 0.4);
    }

    /* Hide desktop footer-col logo/desc/social on mobile (replaced by hero) */
    .footer-grid > .footer-col:first-child {
        display: none;
    }

    /* Hide "Liên hệ" col text list (replaced by quick actions) */
    .footer-contact-col {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 0;
        text-align: left;
        padding-bottom: 16px;
        border-bottom: none;
    }

    /* Section labels styled like iOS grouped list header */
    .footer-col h4 {
        font-size: 0.72rem;
        margin: 12px 4px 8px;
        text-transform: uppercase;
        letter-spacing: 0.8px;
        color: var(--text-muted);
        font-weight: 600;
    }

    /* Menu items as iOS Settings-style rows */
    .footer-list {
        background: var(--bg-card);
        backdrop-filter: blur(20px);
        border: 1px solid var(--border-color);
        border-radius: 16px;
        overflow: hidden;
        padding: 0;
    }

    .footer-list li {
        margin: 0;
        border-bottom: 1px solid var(--border-color);
    }

    .footer-list li:last-child {
        border-bottom: none;
    }

    .footer-list a {
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        color: white;
        font-size: 0.9rem;
        font-weight: 500;
        text-decoration: none;
        transition: background 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .footer-list a:hover,
    .footer-list a:active {
        background: rgba(59, 130, 246, 0.08);
        padding-left: 16px;
    }

    .footer-list a > i:first-child {
        width: 32px;
        height: 32px;
        border-radius: 10px;
        background: rgba(0, 102, 255, 0.12);
        color: var(--accent);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.85rem;
        flex-shrink: 0;
    }

    .footer-list a > span {
        flex: 1;
    }

    .footer-list a .chev {
        color: var(--text-muted);
        font-size: 0.75rem;
        opacity: 0.6;
    }

    /* Legal / copyright compact */
    .footer-bottom {
        justify-content: center;
        text-align: center;
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        padding-top: 20px;
        border-top: 1px solid var(--border-color);
    }

    .footer-bottom p {
        font-size: 0.72rem;
        color: var(--text-muted);
    }

    .footer-links {
        gap: 20px;
    }

    .footer-links a {
        font-size: 0.75rem;
    }
}

/* Utility: mobile-only helper (hide on desktop) */
.mobile-only {
    display: none;
}

@media (max-width: 400px) {
    .hero-title {
        font-size: 1.65rem;
    }

    .hero-stats {
        padding: 14px 10px;
    }

    .stat-number {
        font-size: 1rem;
    }

    .stat-label {
        font-size: 0.62rem;
    }

    .features-grid {
        gap: 10px;
    }

    .feature-card {
        padding: 16px 12px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .feature-card h3 {
        font-size: 0.88rem;
    }

    .feature-card p {
        font-size: 0.72rem;
    }

    .infra-products {
        grid-template-columns: 1fr;
    }

    .infra-hero img {
        height: 220px;
    }

    .pricing-card {
        flex: 0 0 82%;
    }

    .bnav-label {
        font-size: 0.62rem;
    }
}

/* ============================================
   TRIAL CONTACT MODAL
   ============================================ */
.trial-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.trial-modal[hidden] {
    display: none;
}

.trial-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 2, 8, 0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: fadeIn 0.25s ease;
}

.trial-dialog {
    position: relative;
    width: 100%;
    max-width: 460px;
    background: linear-gradient(180deg, #0f1729 0%, #0a1220 100%);
    border: 1px solid var(--border-glow);
    border-radius: 24px;
    padding: 28px 24px 20px;
    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 212, 255, 0.15),
        0 0 60px rgba(0, 102, 255, 0.35);
    animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

@keyframes modalPop {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.trial-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 34px;
    height: 34px;
    border: none;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    transition: var(--transition);
    z-index: 2;
}

.trial-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white;
    transform: rotate(90deg);
}

.trial-hero {
    text-align: center;
    margin-bottom: 22px;
    padding-top: 8px;
}

.trial-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 14px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.6rem;
    box-shadow: 0 12px 30px rgba(0, 102, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.3);
    animation: fabFloat 3s ease-in-out infinite;
}

.trial-hero h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    letter-spacing: -0.3px;
}

.trial-hero p {
    color: var(--text-secondary);
    font-size: 0.925rem;
    line-height: 1.55;
    max-width: 340px;
    margin: 0 auto;
}

.trial-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.trial-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: white;
    transition: var(--transition);
    -webkit-tap-highlight-color: transparent;
}

.trial-option:hover {
    transform: translateY(-2px);
    border-color: var(--border-glow);
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 8px 24px rgba(0, 102, 255, 0.25);
}

.trial-option:active {
    transform: scale(0.98);
}

.to-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.trial-zalo .to-icon {
    background: linear-gradient(135deg, #06b6d4, #3b82f6);
    box-shadow: 0 6px 16px rgba(6, 182, 212, 0.45);
}

.trial-email .to-icon {
    background: linear-gradient(135deg, #0066ff, #00d4ff);
    box-shadow: 0 6px 16px rgba(0, 102, 255, 0.45);
}

.trial-phone .to-icon {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.45);
}

.to-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.to-body strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.to-body span {
    font-size: 0.78rem;
    color: var(--text-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.to-arrow {
    color: var(--text-muted);
    font-size: 0.85rem;
    transition: transform 0.3s ease;
}

.trial-option:hover .to-arrow {
    color: var(--accent);
    transform: translateX(4px);
}

.trial-footer {
    text-align: center;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trial-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    margin-left: 6px;
    transition: var(--transition);
}

.trial-footer a:hover {
    text-decoration: underline;
}

/* Prevent background scroll when modal open */
body.modal-open {
    overflow: hidden;
}

/* Mobile modal adjustments */
@media (max-width: 768px) {
    .trial-modal {
        padding: 0;
        align-items: flex-end;
    }

    .trial-dialog {
        max-width: 100%;
        border-radius: 24px 24px 0 0;
        padding: 24px 20px calc(20px + env(safe-area-inset-bottom, 0px));
        max-height: 88vh;
        animation: modalSlideUp 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    }

    @keyframes modalSlideUp {
        0% {
            opacity: 0;
            transform: translateY(100%);
        }
        100% {
            opacity: 1;
            transform: translateY(0);
        }
    }

    /* Drag handle indicator like iOS sheet */
    .trial-dialog::before {
        content: '';
        position: absolute;
        top: 8px;
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
        height: 4px;
        background: rgba(255, 255, 255, 0.2);
        border-radius: 4px;
    }

    .trial-hero {
        padding-top: 14px;
        margin-bottom: 18px;
    }

    .trial-icon {
        width: 56px;
        height: 56px;
        font-size: 1.4rem;
    }

    .trial-hero h3 {
        font-size: 1.2rem;
    }

    .trial-hero p {
        font-size: 0.85rem;
    }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
