/* ==========================================================================
   NAVYLAB - MODERN MOBILE APP DESIGN & DEV STUDIO
   Design System & High-Performance Stylesheet
   ========================================================================== */

:root {
    /* Color Palette */
    --color-bg-primary: #060b17;
    --color-bg-secondary: #0b1328;
    --color-bg-card: rgba(14, 26, 56, 0.7);
    --color-bg-card-hover: rgba(20, 36, 75, 0.85);
    --color-glass-border: rgba(0, 242, 254, 0.15);
    --color-glass-border-hover: rgba(0, 242, 254, 0.4);

    /* Brand Neon & Gradients */
    --color-cyan: #00f2fe;
    --color-blue: #3b82f6;
    --color-indigo: #6366f1;
    --color-purple: #8b5cf6;
    --color-emerald: #10b981;
    --color-amber: #f59e0b;
    --color-rose: #f43f5e;

    --gradient-brand: linear-gradient(135deg, #00f2fe 0%, #3b82f6 50%, #8b5cf6 100%);
    --gradient-brand-subtle: linear-gradient(135deg, rgba(0, 242, 254, 0.12) 0%, rgba(59, 130, 246, 0.12) 100%);
    --gradient-card: linear-gradient(180deg, rgba(16, 30, 64, 0.75) 0%, rgba(10, 20, 44, 0.85) 100%);
    --gradient-text: linear-gradient(135deg, #ffffff 30%, #00f2fe 75%, #3b82f6 100%);

    /* Typography */
    --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Text Colors */
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-cyan: #38bdf8;

    /* Shadows & Glows */
    --glow-cyan: 0 0 30px rgba(0, 242, 254, 0.25);
    --glow-cyan-lg: 0 0 60px rgba(0, 242, 254, 0.35);
    --glow-blue: 0 0 35px rgba(59, 130, 246, 0.3);
    --shadow-card: 0 10px 30px -5px rgba(2, 6, 23, 0.7), 0 0 1px 1px var(--color-glass-border);
    --shadow-card-hover: 0 20px 40px -10px rgba(0, 242, 254, 0.2), 0 0 1px 1px var(--color-glass-border-hover);

    /* Layout & Radius */
    --max-w-container: 1240px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: #ffffff;
    letter-spacing: -0.02em;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

img, svg {
    display: block;
    max-width: 100%;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: var(--max-w-container);
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.text-center { text-align: center; }
.text-cyan { color: var(--color-cyan) !important; }
.text-blue { color: var(--color-blue) !important; }
.text-muted { color: var(--text-muted); }
.w-full { width: 100%; }

/* Ambient Glow Backgrounds */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
}

.glow-1 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #00f2fe, transparent 70%);
    top: -100px;
    right: -100px;
}

.glow-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #3b82f6, transparent 70%);
    top: 40%;
    left: -200px;
}

.glow-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, #8b5cf6, transparent 70%);
    bottom: 10%;
    right: -150px;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1.1rem 0;
    transition: all var(--transition-normal);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: rgba(6, 11, 23, 0.75);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-header.scrolled {
    padding: 0.75rem 0;
    background: rgba(6, 11, 23, 0.92);
    border-bottom: 1px solid var(--color-glass-border);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon-wrap {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.3);
    transition: transform var(--transition-fast);
}

.brand-logo:hover .logo-icon-wrap {
    transform: scale(1.05) rotate(3deg);
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #ffffff;
    line-height: 1.1;
}

.brand-accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-tag {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--color-cyan);
    opacity: 0.85;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 1.75rem;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    padding: 0.35rem 0;
    transition: color var(--transition-fast);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gradient-brand);
    border-radius: var(--radius-full);
    transition: width var(--transition-normal);
}

.nav-link:hover {
    color: #ffffff;
}

.nav-link:hover::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.mobile-toggle-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 32px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-drawer {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(6, 11, 23, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-glass-border);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    transform: translateY(-100%);
    opacity: 0;
    transition: all var(--transition-normal);
}

.mobile-drawer.open {
    transform: translateY(0);
    opacity: 1;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.mobile-nav-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.mobile-drawer-cta {
    margin-top: 1rem;
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
    white-space: nowrap;
}

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

.btn-lg {
    padding: 0.95rem 2.2rem;
    font-size: 1.05rem;
}

.btn-primary {
    background: var(--gradient-brand);
    color: #060b17;
    font-weight: 700;
    box-shadow: 0 4px 20px rgba(0, 242, 254, 0.35);
}

.btn-primary:hover {
    box-shadow: 0 6px 28px rgba(0, 242, 254, 0.6);
    transform: translateY(-2px);
    color: #020617;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--color-cyan);
    color: var(--color-cyan);
    transform: translateY(-2px);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.badge-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    font-size: 0.825rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.15);
}

.badge-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--color-cyan);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--color-cyan);
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.4); opacity: 0.5; }
}

/* ==========================================================================
   SECTION HEADINGS & COMMON WRAPPERS
   ========================================================================== */
.section-wrapper {
    position: relative;
    z-index: 1;
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-cyan);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1rem;
}

.section-title .gradient-text {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    padding: 9rem 0 5rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: clamp(2.5rem, 5.2vw, 3.8rem);
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #00f2fe 0%, #38bdf8 30%, #818cf8 70%, #c084fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-lead {
    font-size: 1.15rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 580px;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.hero-guarantee {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.guarantee-item svg {
    color: var(--color-cyan);
    flex-shrink: 0;
}

/* Hero Interactive Mockup Showcase */
.hero-mockup-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1200px;
}

.phone-mockup-frame {
    width: 310px;
    height: 610px;
    background: #020617;
    border-radius: 46px;
    border: 4px solid #1e293b;
    box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.9), 0 0 50px rgba(0, 242, 254, 0.25), inset 0 0 4px rgba(255, 255, 255, 0.2);
    position: relative;
    padding: 12px;
    transform: rotateY(-6deg) rotateX(4deg);
    transition: transform var(--transition-normal);
}

.phone-mockup-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #091226 0%, #030712 100%);
    border-radius: 36px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 22px;
    background: #000000;
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.notch-camera {
    width: 8px;
    height: 8px;
    background: #0f172a;
    border-radius: 50%;
    border: 1px solid #1e293b;
}

/* App UI Inside Phone Mockup */
.mockup-app-header {
    padding: 38px 16px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mock-user-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-avatar {
    width: 32px;
    height: 32px;
    background: var(--gradient-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 700;
    color: #020617;
}

.mock-welcome {
    font-size: 11px;
    color: var(--text-muted);
}

.mock-name {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
}

.mockup-card-balance {
    margin: 8px 14px;
    padding: 16px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.2) 0%, rgba(59, 130, 246, 0.25) 50%, rgba(139, 92, 246, 0.2) 100%);
    border: 1px solid rgba(0, 242, 254, 0.3);
    backdrop-filter: blur(10px);
}

.mock-card-label {
    font-size: 10px;
    color: var(--text-cyan);
    text-transform: uppercase;
    font-weight: 600;
}

.mock-balance-val {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    margin: 4px 0 8px;
}

.mock-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--text-muted);
}

.mockup-quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px 14px;
}

.mock-action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 8px 4px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    font-size: 9px;
    color: var(--text-muted);
}

.mock-action-icon {
    width: 24px;
    height: 24px;
    background: rgba(0, 242, 254, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
}

.mockup-recent-trans {
    padding: 8px 14px;
    flex: 1;
}

.mock-section-label {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.mock-trans-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    margin-bottom: 6px;
}

.mock-trans-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mock-trans-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    background: rgba(59, 130, 246, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-blue);
}

.mock-trans-title {
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
}

.mock-trans-time {
    font-size: 8px;
    color: var(--text-dim);
}

.mock-trans-amount {
    font-size: 10px;
    font-weight: 700;
    color: var(--color-emerald);
}

/* Floating Badges on Mockup */
.mock-floating-badge {
    position: absolute;
    background: rgba(11, 20, 42, 0.85);
    backdrop-filter: blur(14px);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), var(--glow-cyan);
    animation: floatAnim 4s ease-in-out infinite;
    z-index: 20;
}

.badge-top-left {
    top: 60px;
    left: -40px;
    animation-delay: 0s;
}

.badge-bottom-right {
    bottom: 80px;
    right: -30px;
    animation-delay: 2s;
}

@keyframes floatAnim {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-badge-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 12px;
}

.bg-cyan-soft { background: rgba(0, 242, 254, 0.15); color: var(--color-cyan); }
.bg-emerald-soft { background: rgba(16, 185, 129, 0.15); color: var(--color-emerald); }

.float-badge-title {
    font-size: 12px;
    font-weight: 700;
    color: #ffffff;
}

.float-badge-desc {
    font-size: 10px;
    color: var(--text-muted);
}

/* ==========================================================================
   STATS COUNTER SECTION
   ========================================================================== */
.stats-banner {
    padding: 2.5rem 0;
    background: rgba(14, 26, 56, 0.4);
    border-top: 1px solid var(--color-glass-border);
    border-bottom: 1px solid var(--color-glass-border);
}

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

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -1rem;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.08);
}

.stat-number {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 0.4rem;
}

.stat-number .highlight {
    color: var(--color-cyan);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-brand);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-glass-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    margin-bottom: 1.5rem;
    transition: transform var(--transition-fast);
}

.service-card:hover .service-icon-box {
    transform: scale(1.1);
    background: var(--gradient-brand);
    color: #060b17;
}

.service-card-title {
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.service-card-sub {
    font-size: 0.85rem;
    color: var(--color-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.service-card-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.service-feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    flex: 1;
}

.service-feature-list li {
    font-size: 0.875rem;
    color: #cbd5e1;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.service-feature-list li svg {
    color: var(--color-cyan);
    flex-shrink: 0;
    margin-top: 3px;
}

.service-card-deliverable {
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.825rem;
    color: var(--text-dim);
}

.service-card-deliverable strong {
    color: var(--text-muted);
}

/* ==========================================================================
   PORTFOLIO / SHOWCASE SECTION
   ========================================================================== */
.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-muted);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.filter-btn.active {
    background: var(--gradient-brand);
    color: #060b17;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(0, 242, 254, 0.35);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
}

.portfolio-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-glass-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.portfolio-card-media {
    height: 200px;
    background: linear-gradient(135deg, #0f1c3f 0%, #081024 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.portfolio-glow-circle {
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.4;
    transition: transform var(--transition-normal);
}

.portfolio-card:hover .portfolio-glow-circle {
    transform: scale(1.3);
    opacity: 0.7;
}

.portfolio-preview-icon {
    position: relative;
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(14, 26, 56, 0.85);
    border: 1px solid rgba(0, 242, 254, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
}

.portfolio-category-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 3;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: rgba(6, 11, 23, 0.85);
    border: 1px solid var(--color-glass-border);
    color: var(--color-cyan);
}

.portfolio-metric-badge {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 3;
    padding: 4px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-emerald);
}

.portfolio-card-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-card-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.portfolio-card-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 1.25rem;
    flex: 1;
}

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
}

.tag-pill {
    padding: 3px 9px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

.portfolio-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.portfolio-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 700;
}

/* ==========================================================================
   DESIGN & DEV PROCESS SECTION (5 STEPS)
   ========================================================================== */
.process-steps-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
    position: relative;
}

.process-step-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    transition: all var(--transition-normal);
}

.process-step-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-cyan);
    box-shadow: 0 15px 35px rgba(0, 242, 254, 0.25);
}

.step-num-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #060b17;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.4);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.6rem;
}

.step-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   TECH STACK SECTION
   ========================================================================== */
.tech-stack-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.tech-card {
    background: rgba(14, 26, 56, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all var(--transition-fast);
}

.tech-card:hover {
    background: rgba(20, 36, 75, 0.7);
    border-color: var(--color-cyan);
    transform: translateY(-3px);
}

.tech-icon-wrap {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(0, 242, 254, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    font-weight: 800;
}

.tech-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.tech-info p {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ==========================================================================
   INTERACTIVE ESTIMATOR (PROJECT COST ESTIMATOR)
   ========================================================================== */
.estimator-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.estimator-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 3rem;
}

.estimator-form-group {
    margin-bottom: 2rem;
}

.estimator-label {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.estimator-options-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.estimator-option-btn {
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    text-align: center;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
}

.estimator-option-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--color-cyan);
}

.estimator-option-btn.selected {
    background: rgba(0, 242, 254, 0.12);
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.2);
}

.option-btn-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #ffffff;
}

.option-btn-subtitle {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.feature-checkbox-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.feature-checkbox-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.feature-checkbox-item:hover {
    background: rgba(255, 255, 255, 0.06);
}

.feature-checkbox-item.checked {
    background: rgba(0, 242, 254, 0.08);
    border-color: var(--color-cyan);
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
}

.feature-checkbox-item.checked .custom-checkbox {
    background: var(--color-cyan);
    border-color: var(--color-cyan);
    color: #060b17;
}

.feature-item-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
}

/* Estimator Result Box */
.estimator-result-box {
    background: linear-gradient(180deg, rgba(14, 26, 56, 0.9) 0%, rgba(6, 11, 23, 0.95) 100%);
    border: 1px solid var(--color-glass-border-hover);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--glow-cyan);
}

.result-header {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.result-badge {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-cyan);
    margin-bottom: 0.5rem;
}

.estimated-price {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3vw, 2.6rem);
    font-weight: 900;
    color: #ffffff;
    line-height: 1.1;
}

.estimated-timeline {
    font-size: 0.95rem;
    color: var(--text-cyan);
    font-weight: 600;
    margin-top: 0.5rem;
}

.result-breakdown {
    padding: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.breakdown-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.breakdown-row strong {
    color: #ffffff;
}

/* ==========================================================================
   TESTIMONIALS & FAQ
   ========================================================================== */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-lg);
    padding: 2.2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all var(--transition-normal);
}

.testimonial-card:hover {
    transform: translateY(-6px);
    border-color: var(--color-glass-border-hover);
    box-shadow: var(--shadow-card-hover);
}

.test-stars {
    display: flex;
    gap: 4px;
    color: #f59e0b;
    margin-bottom: 1.25rem;
}

.test-feedback {
    font-size: 0.95rem;
    color: #cbd5e1;
    line-height: 1.65;
    font-style: italic;
    margin-bottom: 1.75rem;
    flex: 1;
}

.test-author-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.test-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: #060b17;
    font-weight: 800;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.test-author-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
}

.test-author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* FAQ Accordion */
.faq-wrap {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition-fast);
}

.faq-item.active {
    border-color: var(--color-cyan);
}

.faq-question-btn {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.faq-icon {
    color: var(--color-cyan);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 1.5rem;
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.65;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-answer {
    max-height: 250px;
    padding-bottom: 1.25rem;
}

/* ==========================================================================
   CONTACT SECTION
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 3.5rem;
}

.contact-info-card {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-highlight-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-hl-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-hl-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-cyan);
    flex-shrink: 0;
}

.contact-hl-text h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
}

.contact-hl-text p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Contact Form Styling */
.contact-form-wrap {
    background: var(--gradient-card);
    border: 1px solid var(--color-glass-border);
    border-radius: var(--radius-xl);
    padding: 2.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.form-group {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.5rem;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: rgba(6, 11, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-sm);
    color: #ffffff;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--color-cyan);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.25);
    background: rgba(14, 26, 56, 0.8);
}

.form-select option {
    background: #0b1328;
    color: #ffffff;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-alert {
    padding: 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
    display: none;
}

.form-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.4);
    color: #34d399;
    display: block;
}

.form-alert.error {
    background: rgba(244, 63, 94, 0.15);
    border: 1px solid rgba(244, 63, 94, 0.4);
    color: #fb7185;
    display: block;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
    background: #030712;
    position: relative;
    z-index: 1;
}

.footer-top-wave svg {
    width: 100%;
    height: 60px;
    margin-bottom: -1px;
}

.footer-content {
    padding: 4rem 1.5rem 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 3rem;
    margin-bottom: 3.5rem;
}

.footer-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 1.25rem 0 1.5rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
}

.social-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.social-btn:hover {
    background: var(--gradient-brand);
    color: #060b17;
    border-color: transparent;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--color-cyan);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-links li a {
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: all var(--transition-fast);
}

.footer-links li a:hover {
    color: var(--color-cyan);
    padding-left: 5px;
}

.footer-contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    font-size: 0.875rem;
    color: var(--text-muted);
}

.footer-contact-list li svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-dim);
}

.footer-bottom-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-bottom-links a:hover {
    color: var(--color-cyan);
}

/* ==========================================================================
   FLOATING WIDGETS
   ========================================================================== */
.floating-widgets {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    z-index: 99;
}

.float-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    transition: all var(--transition-normal);
    position: relative;
    border: none;
}

.float-zalo {
    background: #0084ff;
    color: #ffffff;
}

.float-zalo:hover {
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(0, 132, 255, 0.6);
}

.float-badge {
    position: absolute;
    right: 56px;
    background: #0e1a38;
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    border: 1px solid var(--color-glass-border);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    opacity: 0;
    transform: translateX(10px);
    transition: all var(--transition-fast);
}

.float-zalo:hover .float-badge {
    opacity: 1;
    transform: translateX(0);
}

.float-top {
    background: rgba(14, 26, 56, 0.9);
    border: 1px solid var(--color-glass-border);
    color: var(--color-cyan);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
}

.float-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.float-top:hover {
    background: var(--gradient-brand);
    color: #060b17;
    transform: translateY(-3px);
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content {
        align-items: center;
    }
    .hero-lead {
        margin: 0 auto;
    }
    .hero-cta-group {
        justify-content: center;
    }
    .hero-guarantee {
        justify-content: center;
    }
    .services-grid, .portfolio-grid, .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .process-steps-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .tech-stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .estimator-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    .mobile-toggle-btn {
        display: flex;
    }
    .mobile-drawer {
        display: block;
    }
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .stat-item:not(:last-child)::after {
        display: none;
    }
    .services-grid, .portfolio-grid, .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .process-steps-grid {
        grid-template-columns: 1fr;
    }
    .tech-stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .form-row {
        grid-template-columns: 1fr;
    }
    .estimator-options-grid {
        grid-template-columns: 1fr;
    }
    .feature-checkbox-grid {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}