/* ========================================
   haloaja.com — Main Stylesheet
   ======================================== */

/* ---------- Base ---------- */
::selection {
    background: #00d4ff;
    color: #050505;
}

body {
    background: #050505;
    color: #f1f5f9;
    font-family: 'Inter', sans-serif;
}

/* ---------- Background Patterns ---------- */
.dot-grid {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 40px 40px;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    pointer-events: none;
}

.glow-orb-1 {
    width: 600px;
    height: 600px;
    background: rgba(0, 212, 255, 0.03);
    top: -200px;
    right: -200px;
}

.glow-orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(0, 212, 255, 0.025);
    bottom: 20%;
    left: -150px;
}

.glow-orb-3 {
    width: 400px;
    height: 400px;
    background: rgba(0, 150, 255, 0.02);
    bottom: -100px;
    right: 20%;
}

/* ---------- Typography ---------- */
.gradient-text {
    background: linear-gradient(135deg, #ffffff 30%, #00d4ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ---------- Glow Elements ---------- */
.glow-line {
    background: linear-gradient(90deg, transparent, #00d4ff, transparent);
    height: 1px;
    opacity: 0.3;
}

.glow-line-hero {
    max-width: 576px;
    margin: 5rem auto 0;
}

/* ---------- Buttons ---------- */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: #00d4ff;
    color: #050505;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
}

.btn-primary:hover {
    background: #33ddff;
}

.btn-primary.btn-sm {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: rgba(0, 212, 255, 0.2);
    color: #fff;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    background: #25D366;
    color: #fff;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s;
    text-decoration: none;
}

.btn-whatsapp:hover {
    background: #22c55e;
}

.btn-email {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    padding: 0.875rem 1.75rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s;
    text-decoration: none;
}

.btn-email:hover {
    border-color: rgba(0, 212, 255, 0.2);
    color: #fff;
}

/* ---------- Navbar ---------- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    transition: all 0.3s;
    background: transparent;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    background: rgba(5, 5, 5, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(0, 212, 255, 0.06) !important;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    text-decoration: none;
}

.logo-icon {
    width: 2rem;
    height: 2rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #22d3ee, #0891b2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-icon-sm {
    width: 1.75rem;
    height: 1.75rem;
}

.logo-icon span {
    color: #050505;
    font-weight: 700;
    font-size: 0.875rem;
    line-height: 1;
}

.logo-icon-sm span {
    font-size: 0.75rem;
}

.logo-text {
    color: #fff;
    font-weight: 600;
    font-size: 1.125rem;
    letter-spacing: -0.025em;
}

.nav-links {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.875rem;
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
    color: #fff;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right .btn-primary {
    display: none;
}

.menu-toggle {
    display: flex;
    align-items: center;
    color: #94a3b8;
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}

.menu-toggle:hover {
    color: #fff;
}

/* ---------- Mobile Menu ---------- */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 60;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
}

.mobile-menu-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.mobile-link {
    font-size: 1.5rem;
    font-weight: 500;
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s;
}

.mobile-link:hover {
    color: #fff;
}

.mobile-link-cta {
    margin-top: 1rem;
    font-size: 1rem;
    background: #00d4ff;
    color: #050505;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

/* ---------- Hero ---------- */
.hero-section {
    position: relative;
    padding: 8rem 1.5rem 6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 1rem;
    border-radius: 9999px;
    border: 1px solid rgba(0, 212, 255, 0.1);
    background: rgba(0, 212, 255, 0.05);
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(0, 212, 255, 0.8);
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22d3ee;
    animation: subtle-pulse 3s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ---------- Sections ---------- */
.section {
    position: relative;
    padding: 6rem 1.5rem;
}

.section-header {
    max-width: 36rem;
    margin-bottom: 4rem;
}

.section-label {
    display: block;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(0, 212, 255, 0.6);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
}

/* ---------- Cards ---------- */
.card-glow {
    position: relative;
    background: #0a0f14;
    border: 1px solid rgba(0, 212, 255, 0.06);
    border-radius: 1rem;
    padding: 1.75rem 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card-glow:hover {
    border-color: rgba(0, 212, 255, 0.2);
    box-shadow: 0 0 40px -10px rgba(0, 212, 255, 0.12);
    transform: translateY(-4px);
}

.card-icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.75rem;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    transition: background-color 0.3s;
}

.card-glow:hover .card-icon {
    background: rgba(0, 212, 255, 0.15);
}

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: -0.015em;
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-tag {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
}

/* ---------- Services Grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

/* ---------- Showcase ---------- */
.showcase-card {
    overflow: hidden;
    padding: 0;
}

.browser-frame {
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 0.75rem;
    overflow: hidden;
    background: #080c10;
    margin: 1.25rem;
}

.browser-bar {
    background: #0c1117;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.browser-dots {
    display: flex;
    gap: 0.375rem;
}

.browser-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.dot-red { background: #ff5f57; }
.dot-yellow { background: #febc2e; }
.dot-green { background: #28c840; }

.browser-url {
    flex: 1;
    max-width: 16rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.375rem;
    padding: 0.375rem 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
}

.browser-url span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---------- Dashboard Mockup ---------- */
.dashboard {
    display: flex;
    height: 320px;
}

.dash-sidebar {
    width: 3.5rem;
    flex-shrink: 0;
    background: #0a0e13;
    border-right: 1px solid rgba(255, 255, 255, 0.04);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dash-logo {
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 0.5rem;
    background: rgba(0, 212, 255, 0.15);
    margin-bottom: 0.75rem;
}

.dash-nav-item {
    height: 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    width: 100%;
}

.dash-nav-item.active {
    background: rgba(0, 212, 255, 0.15);
}

.dash-nav-bottom {
    margin-top: auto;
}

.dash-main {
    flex: 1;
    padding: 0.75rem 1rem;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.dash-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.dash-topbar-title {
    height: 12px;
    width: 8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

.dash-topbar-action {
    height: 12px;
    width: 5rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
}

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

.dash-stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0.5rem;
    padding: 0.5rem 0.75rem;
}

.dash-stat-label {
    height: 8px;
    width: 3.5rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 0.5rem;
}

.dash-stat-value {
    height: 12px;
    width: 4rem;
    border-radius: 6px;
    background: rgba(0, 212, 255, 0.1);
}

.dash-stat-value-primary {
    background: rgba(0, 212, 255, 0.15);
}

.dash-chart {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0.5rem;
    padding: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dash-chart-title {
    height: 8px;
    width: 6rem;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
    margin-bottom: 1rem;
}

.dash-chart-bars {
    display: flex;
    align-items: flex-end;
    gap: 0.5rem;
    flex: 1;
}

.dash-bar {
    flex: 1;
    border-radius: 3px;
    background: rgba(0, 212, 255, 0.2);
    min-height: 4px;
}

.dash-bar-alt {
    background: rgba(0, 212, 255, 0.1);
}

/* ---------- Showcase Info ---------- */
.showcase-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.75rem 2rem;
}

.showcase-label {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: rgba(0, 212, 255, 0.6);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.showcase-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -0.02em;
}

.showcase-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
    max-width: 36rem;
}

.showcase-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #22d3ee;
    text-decoration: none;
    transition: color 0.2s;
    flex-shrink: 0;
}

.showcase-link:hover {
    color: #67e8f9;
}

.showcase-link i {
    transition: transform 0.2s;
}

.showcase-link:hover i {
    transform: translate(2px, -2px);
}

/* ---------- About ---------- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
}

.about-left .section-title {
    margin-bottom: 1.5rem;
}

.about-desc {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
    margin-bottom: 2rem;
}

.about-stats {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.about-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.about-stat-label {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #64748b;
    margin-top: 0.25rem;
}

.about-stat-divider {
    width: 1px;
    height: 2.5rem;
    background: rgba(255, 255, 255, 0.1);
}

.about-right {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.value-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
}

.value-card-icon {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.5rem;
    background: rgba(0, 212, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.125rem;
    transition: background-color 0.3s;
}

.value-card:hover .value-card-icon {
    background: rgba(0, 212, 255, 0.15);
}

.value-card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 0.25rem;
}

.value-card-desc {
    font-size: 0.875rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
}

/* ---------- CTA ---------- */
.cta-card {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    border: 1px solid rgba(0, 212, 255, 0.06);
}

.cta-glow-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), transparent, rgba(0, 212, 255, 0.03));
}

.cta-line-top {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.3), transparent);
}

.cta-line-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24rem;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.2), transparent);
}

.cta-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 300px;
    background: rgba(0, 212, 255, 0.05);
    border-radius: 50%;
    filter: blur(100px);
}

.cta-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 4rem 1.75rem;
}

.cta-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: #fff;
    margin-bottom: 1rem;
}

.cta-desc {
    font-size: 1rem;
    color: #94a3b8;
    font-weight: 300;
    line-height: 1.625;
    max-width: 28rem;
    margin: 0 auto 2.5rem;
}

.cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

/* ---------- Footer ---------- */
.footer {
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

.footer-brand-desc {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 300;
    line-height: 1.625;
    max-width: 22rem;
    margin-top: 1rem;
    margin-bottom: 0.75rem;
}

.footer-brand-tagline {
    font-size: 0.75rem;
    font-family: 'JetBrains Mono', monospace;
    color: #475569;
}

.footer-col-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.footer-col-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col-list a {
    font-size: 0.875rem;
    color: #64748b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-col-list a:hover {
    color: #cbd5e1;
}

.footer-col-list-icons a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom p {
    font-size: 0.75rem;
    color: #475569;
    margin: 0;
}

/* ---------- Scroll Reveal ---------- */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

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

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: #1e293b;
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: #334155;
}

/* ========================================
   RESPONSIVE — md (768px)
   ======================================== */
@media (min-width: 768px) {
    /* Navbar */
    .nav-links {
        display: flex;
    }

    .nav-right .btn-primary {
        display: inline-flex;
    }

    .menu-toggle {
        display: none;
    }

    /* Hero */
    .hero-section {
        padding: 11rem 1.5rem 8rem;
    }

    .hero-title {
        font-size: 4.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

    .hero-ctas {
        flex-direction: row;
        justify-content: center;
    }

    .glow-line-hero {
        margin-top: 7rem;
    }

    /* Sections */
    .section {
        padding: 8rem 1.5rem;
    }

    .section-title {
        font-size: 2.25rem;
    }

    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Dashboard */
    .dashboard {
        height: 400px;
    }

    .dash-sidebar {
        width: 4rem;
        padding: 0.75rem;
    }

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

    .dash-stat-card-desktop {
        display: block;
    }

    .dash-bar-desktop {
        display: block;
    }

    /* Showcase */
    .showcase-info {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding: 2rem 2.5rem;
    }

    .showcase-title {
        font-size: 1.875rem;
    }

    /* About */
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5rem;
    }

    /* CTA */
    .cta-content {
        padding: 5rem 4rem;
    }

    .cta-title {
        font-size: 3.25rem;
    }

    .cta-actions {
        flex-direction: row;
        justify-content: center;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: row;
    }
}

/* ========================================
   RESPONSIVE — lg (1024px)
   ======================================== */
@media (min-width: 1024px) {
    .hero-title {
        font-size: 5rem;
    }

    .section-title {
        font-size: 2.5rem;
    }

    .cta-title {
        font-size: 3.75rem;
    }
}