/* ==========================================================================
   1. CORE VARIABLES, RESET & UTILITIES
   ========================================================================== */
:root { 
    --bg: #030712; 
    --glass: rgba(255, 255, 255, 0.02); 
    --glass-border: rgba(255, 255, 255, 0.08); 
    --glass-hover: rgba(255, 255, 255, 0.05); 
    --primary: #00f2fe; 
    --secondary: #4facfe; 
    --accent: #e100ff; 
    --text: #f8fafc; 
    --text-muted: #94a3b8; 
    --shadow-glow: rgba(0, 242, 254, 0.4); 
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; 
    -webkit-tap-highlight-color: transparent; 
}

body { 
    background-color: var(--bg); 
    color: var(--text); 
    overflow-x: hidden; 
    line-height: 1.6; 
    font-size: 16px; 
}

html { scroll-behavior: smooth; }

/* Global Scrollbar */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--glass-border); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }
::selection { background: var(--primary); color: #000; }

.text-center { text-align: center; } 
.full-width { width: 100%; } 
.mt-auto { margin-top: auto; }

/* ==========================================================================
   2. MAGICAL BACKGROUND ENGINE (3D / Cyber Depth)
   ========================================================================== */
.magical-bg { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
    z-index: -2; overflow: hidden; background: var(--bg); pointer-events: none; 
}

.orb { 
    position: absolute; border-radius: 50%; filter: blur(120px); 
    opacity: 0.45; animation: float 20s infinite ease-in-out alternate; 
    will-change: transform; 
}

.orb-1 { width: 50vw; height: 50vw; background: radial-gradient(circle, var(--primary), transparent 70%); top: -10%; left: -10%; }
.orb-2 { width: 60vw; height: 60vw; background: radial-gradient(circle, #7f00ff, transparent 65%); bottom: -15%; right: -15%; animation-duration: 30s; animation-direction: alternate-reverse; }
.orb-3 { width: 45vw; height: 45vw; background: radial-gradient(circle, var(--accent), transparent 65%); top: 25%; left: 25%; animation-duration: 25s; mix-blend-mode: screen; opacity: 0.2; }

@keyframes float { 
    0% { transform: translate(0, 0) scale(1); } 
    50% { transform: translate(4vw, 8vh) scale(1.1); } 
    100% { transform: translate(-4vw, -6vh) scale(0.95); } 
}

/* Perspective Grid */
.grid-overlay { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; 
    background-image: linear-gradient(var(--glass-border) 1px, transparent 1px), linear-gradient(90deg, var(--glass-border) 1px, transparent 1px); 
    background-size: 60px 60px; opacity: 0.25; 
    transform: perspective(1000px) rotateX(60deg) translateY(-100px) scale(3); 
    animation: gridMove 20s linear infinite; pointer-events: none; 
}

@keyframes gridMove { 
    0% { transform: perspective(1000px) rotateX(60deg) translateY(0) scale(3); } 
    100% { transform: perspective(1000px) rotateX(60deg) translateY(60px) scale(3); } 
}

/* Floating Cyber Patterns */
.floating-patterns {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: -1; pointer-events: none;
    background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
    background-size: 30px 30px; opacity: 0.15;
}

/* ==========================================================================
   3. TYPOGRAPHY & SOLID 3D LOGO
   ========================================================================== */
.logo-3d { 
    font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 900; color: #fff; 
    text-decoration: none; letter-spacing: 2px; display: inline-block; 
    text-shadow: 0px 1px 0px #aaa, 0px 2px 0px #999, 0px 3px 0px #888, 0px 4px 0px #777, 0px 5px 0px #666, 0px 6px 0px #555, 0px 8px 20px rgba(0,0,0,0.9); 
    transition: filter 0.3s ease; line-height: 1.1; 
}
.logo-3d:hover { filter: brightness(1.25); }
.logo-3d span { 
    display: block; font-size: 0.28em; color: var(--primary); text-shadow: 0 0 10px rgba(0,242,254,0.5); 
    letter-spacing: 5px; font-weight: 700; text-align: center; margin-top: -2px; text-transform: uppercase; 
}

.text-gradient { 
    background: linear-gradient(to right, var(--primary), var(--secondary), var(--accent)); 
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; 
    background-size: 200% auto; animation: shine 5s linear infinite; 
}
@keyframes shine { to { background-position: 200% center; } }

.glow-text { transition: text-shadow 0.3s ease; }
.glow-text:hover { text-shadow: 0 0 30px var(--primary); }

.section-title { 
    font-size: clamp(2.5rem, 5vw, 4.2rem); font-weight: 900; margin-bottom: 1.2rem; 
    text-shadow: 0 5px 20px rgba(0,0,0,0.8); letter-spacing: -1px; line-height: 1.1; 
}

.section-subtitle { 
    color: var(--text-muted); font-size: clamp(1.1rem, 2vw, 1.3rem); max-width: 850px; 
    margin: 0 auto 3.5rem; line-height: 1.8; font-weight: 500; 
}

/* ==========================================================================
   4. GLASSMORPHISM & TRUE 3D EFFECTS
   ========================================================================== */
.container { width: 92%; max-width: 1400px; margin: 0 auto; }
.padding-100 { padding: 120px 0; }

.glass-panel { 
    background: var(--glass); backdrop-filter: blur(25px); -webkit-backdrop-filter: blur(25px); 
    border: 1px solid var(--glass-border); border-radius: 16px; padding: 2.5rem; 
    position: relative; overflow: hidden; display: flex; flex-direction: column; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5), inset 0 0 20px rgba(255,255,255,0.01);
}

.glass-panel::before { 
    content: ''; position: absolute; top: 0; left: -150%; width: 50%; height: 100%; 
    background: linear-gradient(to right, transparent, rgba(255,255,255,0.06), transparent); 
    transform: skewX(-25deg); transition: 0.7s; pointer-events: none; z-index: 1;
}
.glass-panel:hover::before { left: 150%; }

/* True 3D Tilt Effect */
.3d-tilt {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease, background 0.4s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
}

.3d-tilt:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 0 0 25px rgba(0, 242, 254, 0.15);
    border-color: rgba(0, 242, 254, 0.4);
    background: var(--glass-hover);
    z-index: 10;
}

.border-primary { border-color: rgba(0, 242, 254, 0.4); }

/* Layout Grids */
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 450px), 1fr)); gap: 2.5rem; }
.massive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2rem; }

/* Scroll Reveal Classes */
.section-reveal { opacity: 0; transform: translateY(50px); transition: 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.section-reveal.visible { opacity: 1; transform: translateY(0); }

/* ==========================================================================
   5. BUTTONS, HOOKS & BADGES
   ========================================================================== */
.btn { 
    display: inline-flex; align-items: center; justify-content: center; padding: 15px 35px; 
    font-size: 1.15rem; font-weight: 800; border-radius: 8px; text-decoration: none; 
    border: none; cursor: pointer; transition: all 0.3s ease; text-transform: uppercase; 
    letter-spacing: 1px; position: relative; overflow: hidden; z-index: 1; text-align: center; 
}

.btn-glow { background: linear-gradient(90deg, var(--primary), var(--secondary)); color: #000; box-shadow: 0 0 20px var(--shadow-glow); }
.btn-glow:hover { box-shadow: 0 0 35px rgba(0, 242, 254, 0.7); transform: translateY(-3px) scale(1.03); }

.btn-outline { background: rgba(0, 0, 0, 0.4); color: var(--text); border: 1px solid rgba(0, 242, 254, 0.6); backdrop-filter: blur(5px); }
.btn-outline:hover { background: rgba(0, 242, 254, 0.15); box-shadow: 0 0 25px rgba(0, 242, 254, 0.3); border-color: var(--primary); color: #fff; }

.pulse-btn { animation: shadowPulse 2s infinite; }
@keyframes shadowPulse { 
    0% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0.6); } 
    70% { box-shadow: 0 0 0 20px rgba(0, 242, 254, 0); } 
    100% { box-shadow: 0 0 0 0 rgba(0, 242, 254, 0); } 
}

.popular-tag { 
    background: var(--primary); color: #000; padding: 6px 15px; border-radius: 20px; 
    font-weight: 900; font-size: 0.85rem; display: inline-block; letter-spacing: 1.5px; 
    box-shadow: 0 0 20px rgba(0,242,254,0.5); text-transform: uppercase; 
}

/* ==========================================================================
   6. HEADER, HERO & FFH BANNER
   ========================================================================== */
.top-urgency { 
    background: rgba(225, 0, 255, 0.15); border-bottom: 1px solid rgba(225, 0, 255, 0.4); 
    color: #fff; text-align: center; padding: 12px; font-size: 0.95rem; font-weight: 800; 
    letter-spacing: 1.5px; backdrop-filter: blur(15px); position: relative; z-index: 101; text-transform: uppercase; 
}

header { position: sticky; top: 0; width: 100%; padding: 15px 0; z-index: 100; transition: all 0.3s ease; border-bottom: 1px solid transparent; }
header.scrolled { background: rgba(3, 7, 18, 0.9); backdrop-filter: blur(20px); border-bottom: 1px solid var(--glass-border); padding: 10px 0; box-shadow: 0 10px 40px rgba(0,0,0,0.7); }
.header-container { display: flex; justify-content: space-between; align-items: center; }

.nav-links a { color: var(--text-muted); text-decoration: none; margin: 0 18px; font-weight: 700; font-size: 0.95rem; transition: color 0.3s; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: var(--primary); text-shadow: 0 0 10px rgba(0,242,254,0.5); }

.hero { min-height: 90vh; display: flex; align-items: center; justify-content: center; text-align: center; padding-top: 40px; position: relative; }
.hero-content h1 { font-size: clamp(3.8rem, 8vw, 6.8rem); font-weight: 900; line-height: 1.05; margin-bottom: 1.5rem; letter-spacing: -2px; }

/* The Forever Free Hosting Hook Banner */
.ffh-banner { 
    display: inline-flex; align-items: center; background: rgba(0, 242, 254, 0.08); border: 1px solid rgba(0, 242, 254, 0.5); 
    padding: 10px 30px; border-radius: 40px; color: var(--primary); font-weight: 900; margin-bottom: 2.5rem; 
    font-size: 0.95rem; letter-spacing: 2px; text-transform: uppercase; box-shadow: 0 0 30px rgba(0,242,254,0.2); 
    transition: 0.3s;
}
.ffh-banner:hover { background: rgba(0, 242, 254, 0.15); box-shadow: 0 0 40px rgba(0,242,254,0.4); transform: scale(1.05); }

.pulse-dot { width: 12px; height: 12px; background: var(--primary); border-radius: 50%; display: inline-block; margin-right: 12px; animation: dotPulse 1.5s infinite; box-shadow: 0 0 10px var(--primary); }
@keyframes dotPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(3); opacity: 0; } }

.hero-action-grid { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-bottom: 4.5rem; }
.trust-badges { display: flex; justify-content: center; gap: 3rem; flex-wrap: wrap; }
.badge-item { display: flex; align-items: center; gap: 10px; color: #fff; font-size: 0.95rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; text-shadow: 0 2px 5px rgba(0,0,0,0.8); }
.badge-icon { font-size: 1.4rem; filter: drop-shadow(0 0 8px rgba(0,242,254,0.5)); }

/* ==========================================================================
   7. CAPABILITIES (The 5-Pillar Centered Layout)
   ========================================================================== */
.capabilities-wrapper {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.capability-card {
    flex: 1 1 320px;
    max-width: 360px; /* Forces 3 on top row, 2 centered on bottom row on desktop */
}

.service-icon { font-size: 4rem; margin-bottom: 1.5rem; filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.4)); transform: translateZ(20px); }
.service-title { font-size: 1.8rem; margin-bottom: 1rem; color: #fff; font-weight: 900; letter-spacing: -0.5px; transform: translateZ(15px); }
.service-desc { color: var(--text-muted); font-size: 1.1rem; line-height: 1.6; transform: translateZ(10px); }

/* ==========================================================================
   8. SYSTEMS VAULT (Upgraded with Images) & PORTFOLIO
   ========================================================================== */
.system-card { 
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.05); 
    padding: 0; /* Padding removed for edge-to-edge images */
    border-radius: 12px; position: relative; overflow: hidden; display: flex; flex-direction: column; 
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}
.system-card:hover { border-color: rgba(0, 242, 254, 0.3); }

/* Vault Image Placeholders */
.vault-mockup {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 1px solid var(--glass-border);
    transition: filter 0.4s ease;
    filter: grayscale(40%) brightness(0.8);
}
.system-card:hover .vault-mockup { filter: grayscale(0%) brightness(1.1); }

.system-card h4 { color: #fff; margin: 20px 20px 10px; font-size: 1.25rem; font-weight: 800; line-height: 1.3; transition: color 0.3s; }
.system-card:hover h4 { color: var(--primary); }
.system-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; margin: 0 20px 20px; flex-grow: 1; }

.category-health { border-top: 4px solid #00f2fe; }
.category-ecom { border-top: 4px solid #e100ff; }
.category-pos { border-top: 4px solid #4facfe; }
.category-corp { border-top: 4px solid #f5a623; }
.category-edu { border-top: 4px solid #7ed321; }
.category-finance { border-top: 4px solid #ffcc00; }
.category-real { border-top: 4px solid #ff4444; }

.portfolio-title { font-size: 2.2rem; font-weight: 900; letter-spacing: -0.5px; transform: translateZ(20px); }
.portfolio-desc { color: var(--text-muted); margin-top: 15px; line-height: 1.8; font-size: 1.15rem; transform: translateZ(15px); }
.portfolio-img-large { width: 100%; height: 350px; object-fit: cover; border-radius: 12px; border: 1px solid var(--glass-border); opacity: 0.9; transition: 0.4s ease; display: block; box-shadow: 0 10px 30px rgba(0,0,0,0.5); transform: translateZ(30px); }
.portfolio-card:hover .portfolio-img-large { opacity: 1; filter: brightness(1.1); transform: translateZ(40px) scale(1.02); }

/* ==========================================================================
   9. ACQUISITION: VERTICAL DOWNWARD STACK
   ========================================================================== */
.vertical-pricing-stack {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.vertical-pricing-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 3rem;
    gap: 2rem;
}

.vpc-info { flex: 1; }
.vpc-features { flex: 1.2; border-left: 1px solid var(--glass-border); padding-left: 2rem; }
.vpc-action { flex: 0.8; display: flex; flex-direction: column; justify-content: center; }

.pricing-header { font-size: 2rem; font-weight: 900; margin-bottom: 5px; letter-spacing: -0.5px; color: #fff; }
.price-val { font-size: 4.5rem; font-weight: 900; margin: 10px 0; color: #fff; line-height: 1; letter-spacing: -2px; text-shadow: 0 5px 15px rgba(0,0,0,0.5); }
.price-sub { font-size: 1.2rem; color: var(--text-muted); font-weight: 700; display: inline-block; margin-left: 10px; text-transform: uppercase; letter-spacing: 2px; }
.pricing-context { color: var(--primary); font-size: 1.1rem; font-weight: 600; }

.feature-list { list-style: none; }
.feature-list li { margin-bottom: 16px; display: flex; align-items: flex-start; font-size: 1.15rem; font-weight: 600; color: #e2e8f0; }
.feature-list li::before { content: '✓'; color: var(--primary); font-weight: 900; margin-right: 15px; font-size: 1.4rem; text-shadow: 0 0 10px rgba(0,242,254,0.5); }

.premium-card { border-color: rgba(0, 242, 254, 0.5); background: rgba(0, 242, 254, 0.03); }

/* ==========================================================================
   10. MODALS, TOASTS & EXPANDED WA PILL
   ========================================================================== */
.modal-overlay { 
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; 
    background: rgba(0,0,0,0.92); backdrop-filter: blur(15px); 
    z-index: 9999; display: flex; justify-content: center; align-items: center; 
    opacity: 0; pointer-events: none; transition: opacity 0.4s ease; 
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.exit-content { 
    width: 92%; position: relative; transform: translateY(60px); 
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    background: #050505; box-shadow: 0 20px 50px rgba(225, 0, 255, 0.2);
}
.modal-overlay.active .exit-content { transform: translateY(0); }

/* Fixed Close Button styling */
.close-modal { 
    position: absolute; top: 15px; right: 20px; background: transparent; 
    border: none; color: #fff; font-size: 2.8rem; cursor: pointer; 
    transition: 0.3s; opacity: 0.6; line-height: 1; z-index: 10;
}
.close-modal:hover { opacity: 1; color: var(--accent); transform: scale(1.1); }

.activity-popup { 
    position: fixed; bottom: 30px; left: -400px; 
    background: rgba(10, 10, 10, 0.95); border-left: 4px solid var(--primary); 
    padding: 15px 25px; border-radius: 8px; z-index: 999; 
    transition: left 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
    font-size: 1rem; font-weight: 600; box-shadow: 0 10px 25px rgba(0,0,0,0.8); 
    backdrop-filter: blur(10px); color: #fff; max-width: 350px; 
}
.activity-popup.show { left: 30px; }

/* The New Priority Chat Pill */
.wa-float { 
    position: fixed; bottom: 30px; right: 30px; 
    background: #25d366; border-radius: 50px; padding: 12px 25px;
    display: flex; align-items: center; gap: 12px; color: #fff; 
    text-decoration: none; box-shadow: 0 0 20px rgba(37, 211, 102, 0.4); 
    z-index: 1000; transition: all 0.3s ease; animation: floatPulse 2s infinite;
}
.wa-float .wa-text { font-weight: 800; font-size: 1.1rem; text-transform: uppercase; letter-spacing: 1px; }
.wa-float:hover { transform: scale(1.05) translateY(-5px); box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6); }

/* ==========================================================================
   11. AUTO-SHRINKABLE RESPONSIVENESS (Mobile Tight Margins)
   ========================================================================== */
@media (max-width: 1200px) {
    .vertical-pricing-card { flex-direction: column; align-items: stretch; gap: 1.5rem; text-align: center; }
    .vpc-features { border-left: none; border-top: 1px solid var(--glass-border); padding-left: 0; padding-top: 1.5rem; }
    .feature-list li { justify-content: center; }
}

@media (max-width: 992px) {
    .hero-content h1 { font-size: clamp(3rem, 8vw, 4.5rem); }
    .nav-links { display: none; }
    .padding-100 { padding: 80px 0; }
    .capabilities-wrapper { gap: 1.5rem; }
}

@media (max-width: 768px) {
    .header-btn { display: none; }
    .hero { padding-top: 60px; min-height: auto; padding-bottom: 60px; }
    .trust-badges { flex-direction: column; gap: 15px; }
    .grid-2 { grid-template-columns: 1fr; }
    .massive-grid { grid-template-columns: 1fr; gap: 1rem; }
    .capability-card { flex: 1 1 100%; max-width: 100%; } /* Stacks nicely on phone */
    .glass-panel { padding: 1.8rem; }
    
    .wa-float { bottom: 20px; right: 20px; padding: 10px 20px; }
    .wa-float .wa-text { font-size: 0.95rem; }
    .activity-popup.show { left: 20px; bottom: 90px; }
    
    .ffh-banner { font-size: 0.8rem; padding: 8px 20px; }
}

@media (max-width: 400px) {
    .hero-content h1 { font-size: 2.3rem; }
    .section-title { font-size: 1.8rem; }
    .price-val { font-size: 3.5rem; }
    .glass-panel { padding: 1.5rem; }
}