/* ==========================================================================
   PBA - DIGITAL PRODUCTS STYLESHEET
   Matching PBA & UDN Design Language (Obsidian Dark & Clean Light)
   Accent: Electric Cyan / Sky Blue (#06b6d4)
   ========================================================================== */

:root {
    --bg-color: #060608;
    --surface: #0e0e12;
    --surface-card: rgba(14, 14, 18, 0.85);
    --surface-hover: #16161c;
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.22);
    
    --text-primary: #f2f2f5;
    --text-secondary: #888899;
    --text-muted: #666677;
    
    --accent: #06b6d4;
    --accent-hover: #0891b2;
    --accent-light: rgba(6, 182, 212, 0.15);
    --accent-glow: rgba(6, 182, 212, 0.35);
    
    --nav-bg: rgba(6, 6, 8, 0.85);
    --nav-height: 80px;
    
    --font-display: 'Syne', sans-serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.3);
}

html.light {
    --bg-color: #f5f5f8;
    --surface: #ffffff;
    --surface-card: rgba(255, 255, 255, 0.92);
    --surface-hover: #ebebf0;
    --border: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.22);
    
    --text-primary: #0d0d14;
    --text-secondary: #555566;
    --text-muted: #888899;
    
    --accent: #0891b2;
    --accent-hover: #0e7490;
    --accent-light: rgba(8, 145, 178, 0.1);
    --accent-glow: rgba(8, 145, 178, 0.2);
    
    --nav-bg: rgba(245, 245, 248, 0.88);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 16px 40px rgba(0, 0, 0, 0.06);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.noise-overlay {
    position: fixed;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 1;
}

html.light .noise-overlay {
    background-image: radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

.ambient-glow {
    position: fixed;
    width: 650px;
    height: 650px;
    border-radius: 50%;
    filter: blur(140px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.35;
    transition: opacity 0.3s ease;
}

.glow-top-left {
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
}

.glow-bottom-right {
    bottom: -200px;
    right: -150px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    opacity: 0.25;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-primary);
    font-weight: 700;
    line-height: 1.15;
}

.grad-text {
    background: linear-gradient(135deg, var(--text-primary) 20%, var(--accent) 80%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

html.light .grad-text {
    background: linear-gradient(135deg, #0d0d14 30%, var(--accent-hover) 85%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Nav */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-height);
    background: var(--nav-bg);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2.5rem;
    z-index: 100;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1.8rem;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s ease, transform 0.2s ease;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.02);
}

.back-link:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    transform: translateX(-3px);
}

.brand-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-logo-img {
    height: 42px;
    width: auto;
    object-fit: contain;
}

.logo-light { display: none !important; }
.logo-dark { display: block !important; }
html.light .logo-dark { display: none !important; }
html.light .logo-light { display: block !important; }

.brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.04em;
    color: var(--text-primary);
}

.brand-badge {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.25);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.theme-toggle-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.theme-toggle-btn:hover {
    border-color: var(--border-hover);
    transform: scale(1.05);
}

/* Badge */
.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 1rem;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.3);
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    font-family: var(--font-mono);
    margin-bottom: 1.5rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.btn-primary {
    background: var(--text-primary);
    color: var(--bg-color);
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: var(--surface);
    color: var(--text-primary);
    border-color: var(--border);
}

.btn-secondary:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
    background: var(--surface-hover);
}

.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    font-weight: 700;
}

.btn-whatsapp:hover {
    background: #20bd5a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

.btn-sm {
    padding: 0.6rem 1.2rem;
    font-size: 0.85rem;
}

/* Hero Section */
.hero-section {
    padding-top: calc(var(--nav-height) + 5rem);
    padding-bottom: 5rem;
    text-align: center;
}

.hero-title {
    font-size: clamp(2.8rem, 5.5vw, 4.6rem);
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

/* Metrics Row */
.metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1180px;
    margin: 0 auto;
    padding: 1.75rem 2rem;
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: var(--shadow-card);
}

.metric-item {
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.metric-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.metric-title {
    font-weight: 700;
    font-size: 0.92rem;
    color: var(--text-primary);
    margin-bottom: 0.15rem;
}

.metric-desc {
    font-size: 0.78rem;
    color: var(--text-secondary);
    line-height: 1.45;
    text-align: justify;
    text-justify: inter-word;
}

/* Section Header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 3.5rem;
}

.section-title {
    font-size: clamp(2rem, 3.8vw, 3rem);
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* Flagship Feature Spotlight */
.flagship-section {
    padding: 5rem 0;
}

.flagship-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 3.5rem 4rem;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: var(--shadow-card);
}

.flagship-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.3);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}

.flagship-title {
    font-size: clamp(2.2rem, 3.5vw, 3rem);
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.flagship-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.flagship-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.9rem;
    margin-bottom: 2.5rem;
}

.flagship-features li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.92rem;
    color: var(--text-primary);
}

.flagship-features li i {
    color: var(--accent);
    font-size: 0.85rem;
}

.flagship-preview-box {
    background: var(--bg-color);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    position: relative;
}

/* Products Catalog & Filter */
.catalog-section {
    padding: 4rem 0 6rem;
}

.catalog-filter-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 3.5rem;
}

.filter-btn {
    padding: 0.65rem 1.4rem;
    border-radius: 30px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.filter-btn:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
}

.filter-btn.active {
    background: var(--text-primary);
    color: var(--bg-color);
    border-color: var(--text-primary);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.products-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    border-color: var(--accent);
    transform: translateY(-6px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.35), 0 0 25px var(--accent-glow);
}

html.light .product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 45px rgba(6, 182, 212, 0.15);
}

.card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.card-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    transition: all 0.3s ease;
}

.product-card:hover .card-icon-wrap {
    transform: scale(1.05);
    background: var(--accent);
    color: #ffffff;
}

.category-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 500;
}

html.light .category-tag {
    background: rgba(0, 0, 0, 0.03);
}

.product-name {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
    letter-spacing: -0.02em;
}

.product-desc {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.65;
    margin-bottom: 1.5rem;
    text-align: justify;
    text-justify: inter-word;
}

.spec-list {
    list-style: none;
    margin-bottom: 1.75rem;
    border-top: 1px solid var(--border);
    padding-top: 1rem;
}

.spec-list li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 0.55rem;
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.5;
    text-align: justify;
    text-justify: inter-word;
}

.spec-list li span {
    flex: 1;
    text-align: justify;
    text-justify: inter-word;
}

.spec-list li i {
    color: var(--accent);
    font-size: 0.75rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.card-footer {
    display: flex;
    align-items: center;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.tech-pills {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.45rem;
    width: 100%;
}

.tech-pill {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-muted);
    transition: color 0.2s ease;
}

.product-card:hover .tech-pill {
    color: var(--text-secondary);
}

/* ==========================================================================
   Process Section - Digital Development Lifecycle Pipeline
   ========================================================================== */
.process-section {
    padding: 6.5rem 0 7rem;
    background: radial-gradient(ellipse at 50% 100%, rgba(6, 182, 212, 0.04) 0%, transparent 65%);
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    position: relative;
}

.pipeline-container {
    max-width: 960px;
    margin: 0 auto;
    position: relative;
}

.pipeline-track {
    display: flex;
    flex-direction: column;
    position: relative;
}

.pipeline-item {
    display: flex;
    align-items: stretch;
    gap: 2rem;
    position: relative;
}

/* Left Node & Connector Rail */
.pipeline-node-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 60px;
    flex-shrink: 0;
}

.pipeline-node {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--surface-card);
    border: 2px solid rgba(6, 182, 212, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3), inset 0 0 12px rgba(6, 182, 212, 0.12);
    flex-shrink: 0;
}

html.light .pipeline-node {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05), inset 0 0 12px rgba(6, 182, 212, 0.08);
}

.pipeline-node .node-num {
    font-family: var(--font-mono);
    font-size: 0.82rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.02em;
}

.pipeline-node .node-icon {
    font-size: 0.72rem;
    margin-top: 3px;
    opacity: 0.85;
}

.pipeline-node.node-final {
    border-color: rgba(16, 185, 129, 0.5);
    color: #10b981;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.25), inset 0 0 12px rgba(16, 185, 129, 0.15);
}

.pipeline-connector {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, rgba(6, 182, 212, 0.45) 0%, rgba(6, 182, 212, 0.15) 100%);
    margin: 0.5rem 0;
    min-height: 48px;
    position: relative;
    transition: background 0.3s ease;
}

.pipeline-item:hover .pipeline-connector {
    background: linear-gradient(180deg, var(--accent) 0%, rgba(6, 182, 212, 0.3) 100%);
}

.pipeline-item:hover .pipeline-node {
    transform: scale(1.08);
    border-color: var(--accent);
    box-shadow: 0 0 24px rgba(6, 182, 212, 0.5);
}

.pipeline-item:hover .pipeline-node.node-final {
    border-color: #10b981;
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.5);
}

/* Right Content Card */
.pipeline-content {
    flex: 1;
    padding-bottom: 2.25rem;
}

.pipeline-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%), var(--surface-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 2rem 2.25rem 2.25rem;
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.28s ease,
                box-shadow 0.28s ease;
}

html.light .pipeline-card {
    background: linear-gradient(180deg, #ffffff 0%, #fafafc 100%);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.pipeline-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pipeline-card:hover {
    transform: translateX(6px);
    border-color: var(--accent);
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
}

html.light .pipeline-card:hover {
    box-shadow: 0 16px 36px -10px rgba(6, 182, 212, 0.15), 0 0 0 1px rgba(6, 182, 212, 0.2);
}

.pipeline-card:hover::before {
    opacity: 1;
}

/* Final Step Card Highlight */
.pipeline-card-final {
    border-color: rgba(16, 185, 129, 0.25);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.035) 0%, rgba(255, 255, 255, 0.008) 100%), var(--surface-card);
}

.pipeline-card-final::before {
    background: linear-gradient(90deg, transparent, #10b981, transparent);
}

.pipeline-card-final:hover {
    border-color: #10b981;
    box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.5), 0 0 20px rgba(16, 185, 129, 0.35);
}

/* Header inside Card */
.pipeline-card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
}

.pipeline-title-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.pipeline-phase-tag {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.phase-tag-final {
    color: #10b981;
}

.pipeline-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    color: var(--text-primary);
    line-height: 1.3;
    margin: 0;
}

.pipeline-step-badge {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    flex-shrink: 0;
}

html.light .pipeline-step-badge {
    background: rgba(0, 0, 0, 0.03);
}

.badge-final {
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.35);
    background: rgba(16, 185, 129, 0.08);
}

/* Card Body */
.pipeline-desc {
    font-size: 0.96rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0 0 1.5rem 0;
    text-align: justify;
    text-justify: inter-word;
}

/* Deliverables Bar */
.pipeline-deliverables {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

html.light .pipeline-deliverables {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.pipeline-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid var(--border);
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    transition: border-color 0.2s ease, color 0.2s ease;
}

html.light .pipeline-pill {
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-secondary);
}

.pipeline-pill i {
    color: var(--accent);
    font-size: 0.7rem;
}

.pipeline-card-final .pipeline-pill i {
    color: #10b981;
}

.pipeline-card:hover .pipeline-pill {
    border-color: rgba(6, 182, 212, 0.35);
    color: var(--text-primary);
}

.pipeline-card-final:hover .pipeline-pill {
    border-color: rgba(16, 185, 129, 0.35);
    color: var(--text-primary);
}

/* Responsive Pipeline */
@media (max-width: 768px) {
    .pipeline-item {
        gap: 1.25rem;
    }
    .pipeline-node-col {
        width: 44px;
    }
    .pipeline-node {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }
    .pipeline-node .node-num {
        font-size: 0.75rem;
    }
    .pipeline-node .node-icon {
        display: none;
    }
    .pipeline-card {
        padding: 1.5rem 1.25rem 1.75rem;
    }
    .pipeline-title {
        font-size: 1.15rem;
    }
    .pipeline-card-top {
        flex-direction: column-reverse;
        gap: 0.5rem;
    }
    .pipeline-content {
        padding-bottom: 1.75rem;
    }
}

/* ==========================================================================
   CTA Section - Executive Engagement Canvas (Redesigned)
   ========================================================================== */
.cta-section {
    padding: 6rem 0 8.5rem;
    position: relative;
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
}

.cta-card {
    background: linear-gradient(180deg, rgba(14, 18, 28, 0.95) 0%, rgba(8, 10, 16, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl);
    padding: 4.5rem 3.5rem 3.5rem;
    position: relative;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 35px 80px -20px rgba(0, 0, 0, 0.85),
                0 0 0 1px rgba(6, 182, 212, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

html.light .cta-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f7fc 100%);
    border-color: rgba(0, 0, 0, 0.09);
    box-shadow: 0 30px 70px -20px rgba(6, 182, 212, 0.12),
                0 0 0 1px rgba(0, 0, 0, 0.04);
}

.cta-mesh-glow {
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 750px;
    height: 380px;
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.28) 0%, rgba(16, 185, 129, 0.12) 45%, transparent 70%);
    filter: blur(70px);
    pointer-events: none;
    z-index: 0;
}

html.light .cta-mesh-glow {
    background: radial-gradient(ellipse at center, rgba(6, 182, 212, 0.1) 0%, transparent 65%);
}

.cta-card::before {
    display: none !important;
    content: none !important;
}

.cta-header {
    position: relative;
    z-index: 1;
    max-width: 840px;
    margin: 0 auto;
}

.cta-badge {
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.1rem, 3.8vw, 3rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    line-height: 1.22;
    margin: 0 auto 1.35rem;
}

.cta-desc {
    font-family: var(--font-sans);
    color: var(--text-secondary);
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 2.25rem;
}

/* Dynamic Focus Tag */
.cta-focus-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.45rem 1.15rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 2.75rem;
    position: relative;
    z-index: 1;
}

html.light .cta-focus-tag {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.08);
}

.focus-pulse {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px #10b981;
    animation: livePulse 1.8s infinite ease-in-out;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(0.8); }
}

/* 2 Action Buttons Only */
.cta-buttons-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 3.25rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 1.15rem;
    padding: 1.1rem 1.85rem;
    border-radius: 16px;
    text-decoration: none;
    min-width: 320px;
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-align: left;
}

/* WhatsApp Hero Button */
.cta-btn-whatsapp {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #ffffff;
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-btn-whatsapp:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 36px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Email Secondary Button */
.cta-btn-email {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.06) 0%, rgba(255, 255, 255, 0.02) 100%), var(--surface-card);
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

html.light .cta-btn-email {
    background: linear-gradient(180deg, #ffffff 0%, #f4f4fa 100%);
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.05);
}

.cta-btn-email:hover {
    border-color: var(--accent);
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 16px 36px rgba(6, 182, 212, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.cta-btn-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.45rem;
    flex-shrink: 0;
}

.cta-btn-whatsapp .cta-btn-icon {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.cta-btn-email .cta-btn-icon {
    background: rgba(6, 182, 212, 0.12);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.25);
}

.cta-btn-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

.cta-btn-main {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.cta-btn-sub {
    font-family: var(--font-sans);
    font-size: 0.78rem;
    font-weight: 450;
    letter-spacing: 0.01em;
    opacity: 0.9;
}

.cta-btn-whatsapp .cta-btn-sub {
    color: rgba(255, 255, 255, 0.92);
}

.cta-btn-email .cta-btn-sub {
    color: var(--text-secondary);
}

.cta-btn-arrow {
    font-size: 0.95rem;
    opacity: 0.7;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.cta-action-btn:hover .cta-btn-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* Bottom Trust Strip */
.cta-trust-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 1.75rem;
    padding-top: 0.5rem;
    position: relative;
    z-index: 1;
}

.trust-pill-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-sans);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.trust-sep {
    color: rgba(255, 255, 255, 0.15);
    font-size: 0.75rem;
}

html.light .trust-sep {
    color: rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .cta-card {
        padding: 3rem 1.5rem 2.25rem;
    }
    .cta-action-btn {
        min-width: 100%;
        width: 100%;
    }
    .cta-buttons-wrap {
        gap: 1rem;
    }
}

/* ==========================================================================
   Footer (Matching Design & Drafting Tools Architecture)
   ========================================================================== */
footer {
    position: relative;
    z-index: 10;
    background: var(--bg-color);
    border-top: 1px solid var(--border) !important;
    padding: 3.5rem 0 0;
    margin-top: 3rem;
}

html.light footer {
    background: var(--bg-color);
    border-top: 1px solid var(--border) !important;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.footer-brand .logo-text {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.875rem;
    padding-left: 1.25rem;
    border-left: 1px solid var(--border);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 1.75rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-branding-row {
    width: 100%;
    border-top: 1px solid var(--border);
    padding: 1.75rem 1.5rem 2.25rem;
    background: var(--bg-color);
    position: relative;
    z-index: 10;
}

html.light .footer-branding-row {
    background: var(--bg-color);
    border-top: 1px solid var(--border);
}

.footer-branding-text {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.875rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

.footer-branding-text .brand-dot {
    margin: 0 0.8rem;
    color: var(--text-muted) !important;
    opacity: 0.45 !important;
    text-shadow: none !important;
    filter: none !important;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1.5rem;
    }
    .footer-brand {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    .footer-brand p {
        padding-left: 0;
        border-left: none;
    }
}


/* Responsive */

@media (max-width: 1200px) {
    .process-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

@media (max-width: 900px) {
    .process-steps { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 1024px) {
    .metrics-row { grid-template-columns: repeat(2, 1fr); }
    .flagship-card { grid-template-columns: 1fr; gap: 2.5rem; padding: 2.5rem; }
    .products-grid, .products-grid-3 { grid-template-columns: repeat(2, 1fr); }
    .process-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .nav-bar { padding: 0 1.5rem; }
    .nav-links { display: none; }
    .metrics-row { grid-template-columns: 1fr; }
    .products-grid, .products-grid-3 { grid-template-columns: 1fr; }
    .process-steps { grid-template-columns: 1fr; }
    .flagship-features { grid-template-columns: 1fr; }
    .footer-content { flex-direction: column; text-align: center; }
}

/* Portfolio Groups within Digital Portfolio */
.portfolio-group {
    position: relative;
}

.group-header {
    margin-bottom: 2.25rem;
}

.group-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.78rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.9rem;
    border-radius: 20px;
    background: var(--accent-light);
    color: var(--accent);
    border: 1px solid rgba(6, 182, 212, 0.25);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.group-title {
    font-size: 1.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}


/* ==========================================================================
   Global Background Dynamic Box Grid & Floating Elements (Matching Main Page)
   ========================================================================== */
main {
    position: relative;
    z-index: 1;
}

/* Mouse Glow Effect */
.mouse-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.mouse-glow.visible {
    opacity: 1;
}

html.light .mouse-glow {
    background: radial-gradient(circle, rgba(6, 182, 212, 0.06) 0%, transparent 70%);
}

/* Interactive Particle Canvas */
#particle-canvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    width: 100vw;
    height: 100vh;
}

/* Animated Grid (UDN / Main Page Box Design) */
.animated-grid {
    position: fixed;
    inset: -50%;
    width: 200%;
    height: 200%;
    background-image: linear-gradient(rgba(6, 182, 212, 0.055) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(6, 182, 212, 0.055) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 30s linear infinite;
    pointer-events: none;
    z-index: 0;
}

html.light .animated-grid {
    background-image: linear-gradient(rgba(0, 0, 0, 0.04) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(0, 0, 0, 0.04) 1px, transparent 1px);
}

@keyframes gridDrift {
    0%   { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(60px, 60px) rotate(1deg); }
}

/* Background Glow Orbs */
.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    will-change: transform;
}

.orb-1 {
    width: 450px;
    height: 450px;
    background: rgba(6, 182, 212, 0.12);
    top: -10%;
    left: 10%;
    animation: float-orb-1 20s ease-in-out infinite alternate;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: rgba(16, 185, 129, 0.09);
    bottom: 10%;
    right: -5%;
    animation: float-orb-2 25s ease-in-out infinite alternate;
}

.orb-3 {
    width: 350px;
    height: 350px;
    background: rgba(6, 182, 212, 0.10);
    top: 45%;
    left: 40%;
    animation: float-orb-3 22s ease-in-out infinite alternate;
}

html.light .glow-orb {
    opacity: 0.22;
}

@keyframes float-orb-1 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(40px, -60px) scale(1.1); }
    100% { transform: translate(-20px, 30px) scale(0.9); }
}

@keyframes float-orb-2 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(-50px, 40px) scale(0.95); }
    100% { transform: translate(30px, -20px) scale(1.05); }
}

@keyframes float-orb-3 {
    0%   { transform: translate(0, 0) scale(1); }
    50%  { transform: translate(60px, 50px) scale(1.15); }
    100% { transform: translate(-40px, -30px) scale(0.85); }
}

/* Floating Geometric Box Shapes (UDN Box Design) */
.floating-shapes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.shape {
    position: absolute;
    border: 1px solid rgba(6, 182, 212, 0.22);
    opacity: 0.75;
    will-change: transform;
}

.shape-1 {
    width: 80px;
    height: 80px;
    border-radius: 20%;
    top: 12%;
    left: 8%;
    animation: shapeFloat1 18s ease-in-out infinite, shapeSpin 25s linear infinite;
}

.shape-2 {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    top: 25%;
    right: 15%;
    border-color: rgba(16, 185, 129, 0.22);
    animation: shapeFloat2 22s ease-in-out infinite, shapeSpin 30s linear infinite reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    border-radius: 30%;
    bottom: 20%;
    left: 12%;
    border-color: rgba(6, 182, 212, 0.2);
    animation: shapeFloat3 20s ease-in-out infinite, shapeSpin 20s linear infinite;
}

.shape-4 {
    width: 32px;
    height: 32px;
    top: 60%;
    right: 8%;
    border-color: rgba(6, 182, 212, 0.2);
    animation: shapeFloat1 24s ease-in-out infinite reverse, shapeSpin 35s linear infinite;
}

.shape-5 {
    width: 52px;
    height: 52px;
    border-radius: 40%;
    top: 8%;
    right: 35%;
    border-color: rgba(16, 185, 129, 0.18);
    animation: shapeFloat2 16s ease-in-out infinite, shapeSpin 28s linear infinite reverse;
}

.shape-6 {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    bottom: 15%;
    right: 30%;
    border-color: rgba(6, 182, 212, 0.22);
    animation: shapeFloat3 26s ease-in-out infinite reverse, shapeSpin 22s linear infinite;
}

html.light .shape {
    border-color: rgba(6, 182, 212, 0.15);
    opacity: 0.55;
}
html.light .shape-2 { border-color: rgba(16, 185, 129, 0.15); }
html.light .shape-3 { border-color: rgba(6, 182, 212, 0.15); }

@keyframes shapeFloat1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(25px,-35px)} }
@keyframes shapeFloat2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,25px)} }
@keyframes shapeFloat3 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,30px)} }
@keyframes shapeSpin   { 0%{transform:rotate(0deg)} 100%{transform:rotate(360deg)} }
