﻿/* =========================================================================
   ANH DIGITAL — BLAZOR COMPONENT STYLESHEET
   File: anh-digital-blazor.css
   Compatible with: Blazor Server, Blazor WebAssembly, Blazor 8/9 Interactive
   Pairs with: Bootstrap 5.x & Blazor default CSS
   Theme Colors:
     - Canvas Background: #07111f
     - Card / Panel Background: #0c1b30
     - Border Accent: #162d4a
     - Cyan Highlight: #a5f3fc
     - Primary Navy: #102238
     - Success Green: #22c55e
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
    --anh-bg: #07111f;
    --anh-card-bg: #0c1b30;
    --anh-panel-bg: #102238;
    --anh-border: #162d4a;
    --anh-border-subtle: #1e3a5f;
    --anh-cyan: #a5f3fc;
    --anh-cyan-hover: #67e8f9;
    --anh-teal: #008c9b;
    --anh-text-white: #f8fafc;
    --anh-text-light: #cbd5e1;
    --anh-text-muted: #94a3b8;
    --anh-whatsapp: #22c55e;
}

/* Base Wrapper for ANH Digital Landing */
.anh-blazor-wrapper {
    background-color: var(--anh-bg);
    color: var(--anh-text-light);
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overflow-x: hidden;
}

    .anh-blazor-wrapper h1,
    .anh-blazor-wrapper h2,
    .anh-blazor-wrapper h3,
    .anh-blazor-wrapper h4,
    .anh-blazor-wrapper .font-display {
        font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
        color: var(--anh-text-white);
        letter-spacing: -0.02em;
    }

/* Top Navigation Bar */
.anh-navbar {
    background: rgba(7, 17, 31, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--anh-border);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1040;
}

.anh-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.anh-brand-badge {
    background: var(--anh-cyan);
    color: #07111f;
    font-weight: 800;
    font-size: 16px;
    padding: 6px 12px;
    border-radius: 8px;
    font-family: 'Space Grotesk', sans-serif;
    box-shadow: 0 0 16px rgba(165, 243, 252, 0.25);
}

.anh-brand-title {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    letter-spacing: 0.5px;
}

.anh-brand-subtitle {
    font-size: 9px;
    color: var(--anh-text-muted);
    letter-spacing: 1.5px;
    font-family: monospace;
}

.anh-nav-link {
    color: var(--anh-text-light);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

    .anh-nav-link:hover {
        color: var(--anh-cyan);
        background: rgba(16, 34, 56, 0.6);
    }

/* Buttons */
.anh-btn-primary {
    background: var(--anh-cyan);
    color: #07111f !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    box-shadow: 0 4px 14px rgba(165, 243, 252, 0.2);
    cursor: pointer;
}

    .anh-btn-primary:hover {
        background: var(--anh-cyan-hover);
        transform: translateY(-1px);
        box-shadow: 0 6px 20px rgba(165, 243, 252, 0.3);
    }

.anh-btn-secondary {
    background: var(--anh-panel-bg);
    color: var(--anh-cyan) !important;
    border: 1px solid var(--anh-border-subtle);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    cursor: pointer;
}

    .anh-btn-secondary:hover {
        background: #142a45;
        border-color: var(--anh-cyan);
        color: #fff !important;
    }

.anh-btn-whatsapp {
    background: #128c7e;
    color: #fff !important;
    font-weight: 700;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 50px;
    border: none;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

    .anh-btn-whatsapp:hover {
        background: #25d366;
        color: #07111f !important;
        box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
    }

/* Hero Section */
.anh-hero {
    padding: 4.5rem 0 3rem 0;
    position: relative;
    background: radial-gradient(circle at 80% 20%, rgba(16, 34, 56, 0.7) 0%, rgba(7, 17, 31, 1) 70%);
}

.anh-section-badge {
    font-family: monospace;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--anh-cyan);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.anh-hero-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
}

@media (min-width: 992px) {
    .anh-hero-title {
        font-size: 3.5rem;
    }
}

.anh-hero-subtitle {
    font-size: 1.125rem;
    color: var(--anh-text-light);
    line-height: 1.65;
    max-width: 600px;
    margin-bottom: 2rem;
}

/* First Screen Carousel Component */
.anh-carousel-card {
    background: linear-gradient(180deg, #091524 0%, #060e1a 100%);
    border: 1px solid var(--anh-border);
    border-radius: 20px;
    padding: 1.75rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    overflow: hidden;
}

/* =========================================================================
   CORE SERVICES • AT A GLANCE (AUTO-SCROLLING ANIMATED TABS)
   ========================================================================= */
.anh-core-showcase {
    background: linear-gradient(180deg, #07111f 0%, #0a1728 50%, #07111f 100%);
    border-top: 1px solid var(--anh-border);
    border-bottom: 1px solid var(--anh-border);
    padding: 1rem 0;
    position: relative;
    overflow: hidden;
}

    .anh-core-showcase::before {
        content: "";
        position: absolute;
        top: -150px;
        right: -100px;
        width: 500px;
        height: 500px;
        background: radial-gradient(circle, rgba(0, 140, 155, 0.12) 0%, rgba(7, 17, 31, 0) 70%);
        pointer-events: none;
    }

.anh-autotab-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 12px;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .anh-autotab-nav {
        display: flex;
        overflow-x: auto;
        padding-bottom: 10px;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
    }
}

.anh-autotab-btn {
    background: #091524;
    border: 1px solid var(--anh-border);
    border-radius: 14px;
    padding: 14px 16px;
    text-align: left;
    position: relative;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 200px;
}

    .anh-autotab-btn:hover {
        background: #0e2038;
        border-color: var(--anh-border-subtle);
        transform: translateY(-2px);
    }

    .anh-autotab-btn.active {
        background: #102238;
        border-color: var(--anh-cyan);
        box-shadow: 0 8px 24px rgba(165, 243, 252, 0.12), inset 0 0 16px rgba(165, 243, 252, 0.04);
    }

.anh-autotab-progress-track {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.05);
}

.anh-autotab-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #008c9b 0%, #a5f3fc 100%);
    transition: width 0.1s linear;
}

.anh-tab-icon-box {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    transition: all 0.25s ease;
}

.anh-autotab-btn.active .anh-tab-icon-box {
    transform: scale(1.08);
}

/* Showcase Display Card */
.anh-showcase-card {
    background: linear-gradient(180deg, #0a1728 0%, #060e1a 100%);
    border: 1px solid var(--anh-border);
    border-radius: 24px;
    padding: 2.25rem;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow: hidden;
    animation: anhFadeSlide 0.4s ease-out;
}

@keyframes anhFadeSlide {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.anh-mockup-frame {
    background: #050c17;
    border: 1px solid var(--anh-border-subtle);
    border-radius: 20px;
    padding: 1.25rem;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    position: relative;
    overflow: hidden;
}

.anh-mockup-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #142842;
    font-size: 11px;
}

.anh-chat-bubble {
    background: #0b1a2e;
    border: 1px solid #162f52;
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
    font-size: 13px;
    color: #e2e8f0;
    position: relative;
}

    .anh-chat-bubble.whatsapp {
        background: #054640;
        border-color: #0b665d;
        color: #f0fdf4;
    }

    .anh-chat-bubble.sms {
        background: #102238;
        border-color: #1e3a5f;
        color: #f8fafc;
    }

    .anh-chat-bubble.voice {
        background: #2a1b06;
        border-color: #573a0c;
        color: #fef3c7;
    }

    .anh-chat-bubble.software {
        background: #0f1f2e;
        border-color: #1c3d5a;
        color: #f1f5f9;
    }

.anh-carousel-tabs {
    display: flex;
    gap: 8px;
    background: var(--anh-panel-bg);
    padding: 4px;
    border-radius: 12px;
    border: 1px solid var(--anh-border);
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.anh-tab-item {
    flex: 1 1 auto;
    text-align: center;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    color: var(--anh-text-muted);
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

    .anh-tab-item.active {
        background: var(--anh-cyan);
        color: #07111f;
        font-weight: 700;
    }

.anh-carousel-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 992px) {
    .anh-carousel-content {
        grid-template-columns: 1.2fr 0.8fr;
        align-items: center;
    }
}

.anh-feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--anh-text-light);
    margin-bottom: 8px;
}

    .anh-feature-item::before {
        content: "✓";
        color: var(--anh-cyan);
        font-weight: 800;
        font-size: 14px;
    }

.anh-sim-card {
    background: #07111f;
    border: 1px solid var(--anh-border-subtle);
    border-radius: 14px;
    padding: 1.25rem;
    position: relative;
}

/* Service Cards Section (Light Mode Area or Crisp Dark) */
.anh-services-section {
    padding: 5rem 0;
    background: #f4f8fb;
    color: #102238;
}

    .anh-services-section h2,
    .anh-services-section h3 {
        color: #102238 !important;
    }

.anh-service-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.25s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

    .anh-service-card:hover {
        transform: translateY(-4px);
        border-color: var(--anh-teal);
        box-shadow: 0 12px 24px rgba(0, 140, 155, 0.1);
    }

.anh-service-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(0, 140, 155, 0.1);
    color: var(--anh-teal);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 1.25rem;
}

/* Packages Section */
.anh-packages-section {
    padding: 5rem 0;
    background: var(--anh-bg);
    border-top: 1px solid var(--anh-border);
}

.anh-package-card {
    background: var(--anh-card-bg);
    border: 1px solid var(--anh-border);
    border-radius: 16px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    transition: all 0.25s ease;
}

    .anh-package-card.popular {
        border-color: var(--anh-cyan);
        box-shadow: 0 0 30px rgba(165, 243, 252, 0.12);
    }

.anh-package-popular-tag {
    position: absolute;
    top: -12px;
    right: 20px;
    background: var(--anh-cyan);
    color: #07111f;
    font-size: 10px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.anh-package-volume {
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Space Grotesk', sans-serif;
    margin: 0.75rem 0;
}

/* Why ANH Section */
.anh-why-section {
    padding: 5rem 0;
    background: var(--anh-panel-bg);
    border-top: 1px solid var(--anh-border);
    border-bottom: 1px solid var(--anh-border);
}

.anh-why-card {
    background: rgba(7, 17, 31, 0.6);
    border: 1px solid var(--anh-border);
    border-radius: 14px;
    padding: 1.75rem;
    height: 100%;
    transition: all 0.2s ease;
}

    .anh-why-card:hover {
        border-color: var(--anh-cyan);
        background: rgba(7, 17, 31, 0.9);
    }

/* How It Works Steps */
.anh-how-section {
    padding: 5rem 0;
    background: var(--anh-bg);
}

.anh-step-num {
    font-family: monospace;
    font-size: 13px;
    font-weight: 800;
    color: var(--anh-cyan);
    background: rgba(165, 243, 252, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(165, 243, 252, 0.2);
    display: inline-block;
    margin-bottom: 1rem;
}

/* Contact Form & Controls */
.anh-contact-section {
    padding: 5rem 0;
    background: linear-gradient(180deg, #07111f 0%, #03080f 100%);
    border-top: 1px solid var(--anh-border);
}

.anh-form-card {
    background: var(--anh-card-bg);
    border: 1px solid var(--anh-border);
    border-radius: 18px;
    padding: 2.25rem;
    box-shadow: 0 16px 36px rgba(0,0,0,0.4);
}

.anh-form-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--anh-text-light);
    margin-bottom: 6px;
}

.anh-input {
    background: #07111f !important;
    border: 1px solid var(--anh-border) !important;
    color: #fff !important;
    border-radius: 10px !important;
    padding: 12px 14px !important;
    font-size: 14px !important;
}

    .anh-input:focus {
        border-color: var(--anh-cyan) !important;
        box-shadow: 0 0 0 0.2rem rgba(165, 243, 252, 0.15) !important;
        outline: none;
    }

/* Footer */
.anh-footer {
    background: #03070d;
    border-top: 1px solid var(--anh-border);
    padding: 4rem 0 2rem 0;
    color: var(--anh-text-muted);
    font-size: 13px;
}

    .anh-footer h5 {
        color: #fff;
        font-size: 14px;
        font-weight: 700;
        margin-bottom: 1rem;
        letter-spacing: 0.5px;
    }

    .anh-footer a {
        color: var(--anh-text-muted);
        text-decoration: none;
        transition: color 0.2s ease;
    }

        .anh-footer a:hover {
            color: var(--anh-cyan);
        }
