/* ============================================
   PLUSBYTES SOLUTION — Creative Agency Theme
   White + Navy + Blue palette from brand logo
   Per-section color schemes, parallax-ready
   ============================================ */

/* CSS Custom Properties */
:root {
    /* Core Colors — Light Theme (white base) */
    --color-bg: #ffffff;
    --color-bg-soft: #f8fafc;
    --color-bg-soft-2: #f1f5f9;
    --color-bg-blue-tint: #eff6ff;

    /* Section backgrounds */
    --bg-hero: #ffffff;
    --bg-services: #f5f9ff;
    --bg-stats: #0a2540;
    --bg-solutions: #ffffff;
    --bg-footer: #0a2540;

    /* Brand Colors — from logo */
    --color-navy: #0a2540;
    --color-navy-2: #13294b;
    --color-blue: #165dff;
    --color-blue-deep: #0047cc;
    --color-blue-bright: #00b4ff;
    --color-cyan: #38bdf8;

    /* Text Colors */
    --color-text: #0f172a;
    --color-text-soft: #475569;
    --color-text-muted: #94a3b8;

    /* Borders & Shadows */
    --color-border: #e2e8f0;
    --color-border-soft: #eef2f7;
    --shadow-sm: 0 1px 2px rgba(10, 37, 64, 0.04);
    --shadow-md: 0 4px 12px rgba(10, 37, 64, 0.06);
    --shadow-lg: 0 12px 32px rgba(10, 37, 64, 0.08);
    --shadow-blue: 0 10px 30px rgba(22, 93, 255, 0.18);

    /* Typography */
    --font-display: 'Poppins', 'Inter', sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* Reset & Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--color-bg);
    color: var(--color-text);
    line-height: 1.65;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* ============================================
   GLOBAL BACKGROUND — dot grid (subtle)
   ============================================ */
.site-bg {
    display: none;
}

/* ============================================
   NAVIGATION
   ============================================ */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: var(--space-md) 0;
    transition: all 0.3s ease;
    background: rgba(7, 26, 49, 0.18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-nav.scrolled {
    background: rgba(7, 26, 49, 0.74);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(4, 12, 24, 0.18);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
}

.logo img {
    height: 46px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    list-style: none;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.92rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

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

.nav-link.active {
    color: #ffffff;
    font-weight: 600;
}

.cta-nav {
    background: var(--color-blue);
    color: #ffffff !important;
    font-weight: 600 !important;
    padding: 0.55rem 1.25rem;
    border-radius: var(--radius-full);
}

.cta-nav:hover {
    background: var(--color-blue-deep);
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: var(--shadow-blue);
}

/* ============================================
   HERO SECTION — parallax, visual on right
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 130px var(--space-lg) var(--space-3xl);
    z-index: 1;
    overflow: hidden;
    background:
        radial-gradient(circle at 15% 18%, rgba(0, 180, 255, 0.28) 0%, transparent 25%),
        radial-gradient(circle at 82% 22%, rgba(86, 130, 255, 0.24) 0%, transparent 30%),
        linear-gradient(135deg, #071a31 0%, #0d2f57 45%, #165dff 100%);
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: 0.35;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0 0;
    height: 140px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(245, 249, 255, 0.95));
    pointer-events: none;
}

.hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-2xl);
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 0.45rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-lg);
}

.badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--color-blue);
    box-shadow: 0 0 0 4px rgba(22, 93, 255, 0.15);
}

.badge-text {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.01em;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.5vw, 4.4rem);
    font-weight: 700;
    line-height: 1.05;
    margin-bottom: var(--space-lg);
    color: #ffffff;
    letter-spacing: -0.025em;
}

.title-line {
    display: block;
}

.title-line-2 {
    margin: 0.12em 0;
}

/* Letter animation wrappers */
.hero-title .char {
    display: inline-block;
    opacity: 0;
    transform: translateY(34px) rotateX(-55deg);
    transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-title .char.space {
    width: 0.3em;
}

.hero-title .char.show {
    opacity: 1;
    transform: translateY(0) rotateX(0);
}

.hero-title .char.hover-lift {
    transition: transform 0.25s ease, color 0.25s ease;
}

.hero-title .char.hover-lift:hover {
    transform: translateY(-7px) scale(1.1);
    color: var(--color-blue-bright);
}

.gradient-text {
    background: linear-gradient(120deg, #8ad4ff 0%, #ffffff 45%, #7dc2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text .char {
    background: linear-gradient(120deg, #8ad4ff 0%, #ffffff 45%, #7dc2ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.12rem;
    color: rgba(255, 255, 255, 0.82);
    max-width: 540px;
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    flex-wrap: wrap;
}

/* Hero Visual — floating card stack on the right */
.hero-visual {
    position: relative;
    height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-float-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 50px rgba(5, 12, 30, 0.22);
    padding: var(--space-md);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-float-card.main {
    width: 320px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    animation: floatMain 8s ease-in-out infinite;
}

.hero-float-card.main .card-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
}

.hero-float-card.main .card-row:last-child {
    margin-bottom: 0;
}

.hero-float-card.main .card-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-blue), var(--color-blue-bright));
    flex-shrink: 0;
}

.hero-float-card.main .card-line {
    flex: 1;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
}

.hero-float-card.main .card-line.short {
    flex: 0.5;
}

.hero-float-card.main .card-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #ffffff, #8ad4ff);
    margin-top: 6px;
}

.hero-float-card.stat {
    width: 200px;
    top: 8%;
    right: 2%;
    z-index: 4;
    animation: floatStat 7s ease-in-out infinite;
}

.hero-float-card.stat .stat-num {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.hero-float-card.stat .stat-lbl {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.75);
    margin-top: 4px;
}

.hero-float-card.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    bottom: 10%;
    left: 0;
    z-index: 4;
    animation: floatChip 9s ease-in-out infinite;
}

.hero-float-card.chip .chip-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.15);
}

.hero-float-card.chip .chip-text {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
}

/* Hero decorative ring */
.hero-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border: 1.5px dashed rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    z-index: 1;
    animation: spinSlow 40s linear infinite;
}

.hero-ring::before {
    content: '';
    position: absolute;
    top: -6px;
    left: 50%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.45);
}

@keyframes spinSlow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes floatMain {
    0%, 100% { transform: translate(-50%, -50%) translateY(0); }
    50% { transform: translate(-50%, -50%) translateY(-12px); }
}

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

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 0.85rem 1.6rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    border: none;
}

.btn-primary {
    background: var(--color-blue);
    color: #ffffff;
    box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
    background: var(--color-blue-deep);
    transform: translateY(-2px);
    box-shadow: 0 14px 34px rgba(22, 93, 255, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
    background: rgba(255, 255, 255, 0.14);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-outline {
    background: transparent;
    color: var(--color-navy);
    border: 1.5px solid var(--color-border);
}

.btn-outline:hover {
    border-color: var(--color-blue);
    color: var(--color-blue);
    background: var(--color-bg-blue-tint);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.7;
    z-index: 3;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-blue), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: var(--color-blue);
    animation: scrollDot 1.8s ease-in-out infinite;
}

@keyframes scrollDot {
    0% { top: -20px; }
    100% { top: 40px; }
}

.scroll-text {
    font-size: 0.65rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
    font-weight: 500;
}

/* ============================================
   SECTION STYLES
   ============================================ */
.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-3xl);
}

.section-tag {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--color-blue-deep);
    padding: 0.4rem 0.9rem;
    background: var(--color-bg-blue-tint);
    border: 1px solid rgba(22, 93, 255, 0.18);
    border-radius: var(--radius-full);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 2.8rem);
    font-weight: 700;
    color: var(--color-navy);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

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

/* ============================================
   SERVICES SECTION — light blue tint
   ============================================ */
.services {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    z-index: 1;
    background: linear-gradient(180deg, #20242c 0%, #171b22 100%);
    overflow: hidden;
}

.services::before {
    content: '';
    position: absolute;
    top: -80px;
    left: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(22, 93, 255, 0.22) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.services::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.08) 0%, transparent 55%);
    pointer-events: none;
}

.services .section-tag,
.solutions .section-tag {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
    color: #8ec8ff;
}

.services .section-title,
.solutions .section-title {
    color: #ffffff;
}

.services .section-desc,
.solutions .section-desc {
    color: rgba(255, 255, 255, 0.72);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.service-card {
    position: relative;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(120, 190, 255, 0.35);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.service-card.featured {
    border-color: rgba(22, 93, 255, 0.4);
    box-shadow: 0 4px 20px rgba(22, 93, 255, 0.08);
}

.featured-badge {
    position: absolute;
    top: var(--space-md);
    right: var(--space-md);
    font-size: 0.65rem;
    font-weight: 700;
    color: #ffffff;
    background: var(--color-blue);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    letter-spacing: 0.03em;
}

.card-content {
    padding: var(--space-xl);
}

.service-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: var(--color-bg-blue-tint);
    border: 1px solid rgba(22, 93, 255, 0.15);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.service-icon svg {
    width: 26px;
    height: 26px;
    stroke: var(--color-blue);
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: var(--space-sm);
}

.service-card p {
    font-size: 0.92rem;
    color: rgba(255, 255, 255, 0.72);
    margin-bottom: var(--space-md);
    line-height: 1.6;
}

.service-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.service-features li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.78);
    padding: 7px 10px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    border-left: 3px solid #78beff;
    font-weight: 500;
}

/* ============================================
   STATS SECTION — DEEP NAVY background
   ============================================ */
.stats {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    z-index: 1;
    background: var(--bg-stats);
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        radial-gradient(circle at 20% 30%, rgba(22, 93, 255, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 180, 255, 0.12) 0%, transparent 40%);
    pointer-events: none;
}

.stats::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

.stats-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    position: relative;
    z-index: 2;
}

.stat-item {
    text-align: center;
    padding: var(--space-xl) var(--space-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.stat-item:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(0, 180, 255, 0.3);
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(120deg, #ffffff 0%, var(--color-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.stat-label {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.04em;
    font-weight: 500;
}

/* ============================================
   SOLUTIONS SHOWCASE — white background
   ============================================ */
.solutions {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    z-index: 1;
    background:
        radial-gradient(circle at 85% 18%, rgba(22, 93, 255, 0.18) 0%, transparent 22%),
        linear-gradient(180deg, #2a2e36 0%, #1d2128 100%);
    overflow: hidden;
}

.solutions::after {
    content: '';
    position: absolute;
    bottom: -60px;
    right: -60px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.12) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.solutions-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.solutions-content {
    margin-bottom: var(--space-2xl);
}

.solution-tabs {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.tab-buttons {
    display: flex;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    scrollbar-width: none;
}

.tab-buttons::-webkit-scrollbar {
    display: none;
}

.tab-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: var(--space-md);
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.68);
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    white-space: nowrap;
    min-width: 120px;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-blue);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

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

.tab-btn.active {
    color: #8ec8ff;
    background: rgba(255, 255, 255, 0.06);
}

.tab-btn.active::after {
    transform: scaleX(1);
}

.tab-icon svg {
    width: 18px;
    height: 18px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.tab-contents {
    padding: var(--space-xl);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-frame {
    width: 100%;
    max-width: 320px;
    aspect-ratio: 1;
    background: linear-gradient(145deg, rgba(255,255,255,0.07) 0%, rgba(255,255,255,0.03) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* Face Scan Effect */
.face-scan-effect {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(22, 93, 255, 0.4);
    border-radius: 50%;
    position: relative;
}

.face-scan-effect::before {
    content: '';
    position: absolute;
    inset: -8px;
    border: 1px dashed rgba(22, 93, 255, 0.25);
    border-radius: 50%;
}

.recognition-points {
    position: absolute;
    inset: 0;
}

.recognition-points span {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-blue);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(22, 93, 255, 0.6);
}

.recognition-points span:nth-child(1) { top: 20%; left: 20%; }
.recognition-points span:nth-child(2) { top: 20%; right: 20%; }
.recognition-points span:nth-child(3) { top: 50%; left: 10%; }
.recognition-points span:nth-child(4) { top: 50%; right: 10%; }
.recognition-points span:nth-child(5) { bottom: 20%; left: 20%; }
.recognition-points span:nth-child(6) { bottom: 20%; right: 20%; }
.recognition-points span:nth-child(7) { bottom: 40%; left: 30%; }
.recognition-points span:nth-child(8) { bottom: 40%; right: 30%; }

/* POS Preview */
.pos-screen {
    width: 220px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.pos-header {
    padding: 8px 12px;
    background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-blue-bright) 100%);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 600;
    text-align: center;
    color: #fff;
}

.pos-items {
    padding: 10px;
}

.pos-items .item {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    font-size: 0.72rem;
    color: var(--color-text-soft);
    border-bottom: 1px solid var(--color-border-soft);
}

.pos-total {
    padding: 10px;
    background: var(--color-bg-blue-tint);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-blue-deep);
    text-align: center;
}

/* Web Preview */
.browser-mockup {
    width: 260px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.browser-header {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px;
    background: var(--color-bg-soft);
    border-bottom: 1px solid var(--color-border);
}

.browser-header span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.browser-header span:nth-child(1) { background: #ff5f56; }
.browser-header span:nth-child(2) { background: #ffbd2e; }
.browser-header span:nth-child(3) { background: #27ca40; }

.browser-content {
    padding: 15px;
}

.web-hero {
    height: 60px;
    background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-blue-bright) 100%);
    border-radius: var(--radius-sm);
    margin-bottom: 12px;
    opacity: 0.85;
}

.web-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.web-grid div {
    height: 50px;
    background: var(--color-bg-soft);
    border-radius: var(--radius-sm);
}

/* Mobile Preview */
.phone-mockup {
    width: 160px;
    height: 300px;
    background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
    border: 6px solid #334155;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
}

.app-header {
    height: 40px;
    background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-blue-bright) 100%);
}

.app-content {
    flex: 1;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.app-card {
    height: 55px;
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-sm);
}

.app-nav {
    height: 40px;
    background: #ffffff;
    border-top: 1px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 10px;
}

.app-nav span {
    width: 16px;
    height: 16px;
    background: var(--color-text-muted);
    border-radius: 50%;
}

.app-nav span:nth-child(2) {
    background: var(--color-blue);
}

/* Content Info */
.content-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.content-info p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: var(--color-blue);
    border-radius: 50%;
    font-size: 0.65rem;
    color: #ffffff;
    font-weight: 700;
    flex-shrink: 0;
}

/* ============================================
   CONTACT CTA SECTION — blue gradient
   ============================================ */
.contact-cta {
    padding: var(--space-3xl) var(--space-lg);
    position: relative;
    z-index: 1;
    text-align: center;
    background: linear-gradient(135deg, #071a31 0%, #0e3970 50%, #165dff 100%);
    overflow: hidden;
}

.contact-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 180, 255, 0.25) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
}

.cta-content {
    max-width: 680px;
    margin: 0 auto;
    padding: var(--space-2xl);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: var(--radius-xl);
    color: #ffffff;
    backdrop-filter: blur(8px);
    position: relative;
    overflow: hidden;
}

.cta-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-md);
    letter-spacing: -0.01em;
}

.cta-content p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.cta-content .btn-primary {
    background: #ffffff;
    color: var(--color-blue-deep);
}

.cta-content .btn-primary:hover {
    background: #f0f6ff;
}

.cta-content .btn-outline {
    border-color: rgba(255, 255, 255, 0.45);
    color: #ffffff;
}

.cta-content .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

/* ============================================
   FOOTER — DEEP NAVY
   ============================================ */
.footer {
    padding: var(--space-3xl) var(--space-lg) var(--space-lg);
    background: linear-gradient(180deg, #0b2341 0%, #071a31 100%);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 180, 255, 0.4), transparent);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-brand p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
}

.link-group h4 {
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: var(--space-md);
}

.link-group ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.link-group a {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    transition: all 0.2s ease;
}

.link-group a:hover {
    color: var(--color-cyan);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: var(--space-lg);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.4);
}

.social-links {
    display: flex;
    gap: var(--space-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--color-blue);
    border-color: var(--color-blue);
    color: #ffffff;
}

/* ============================================
   BACK TO TOP BUTTON
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--color-blue);
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-blue);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    z-index: 999;
}

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

.back-to-top:hover {
    background: var(--color-blue-deep);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(22, 93, 255, 0.35);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */
@media (max-width: 1200px) {
    .tab-content.active {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .content-visual {
        order: -1;
    }
}

@media (max-width: 992px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-visual {
        height: 380px;
        order: -1;
        margin-bottom: var(--space-md);
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: 110px;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .tab-buttons {
        flex-wrap: nowrap;
        overflow-x: auto;
    }

    .tab-btn {
        flex: 0 0 auto;
        min-width: 100px;
        padding: var(--space-sm);
    }

    .feature-list {
        grid-template-columns: 1fr;
    }

    .stats-container {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .footer-links {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    .back-to-top {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.88rem;
    }

    .card-content {
        padding: var(--space-lg);
    }

    .logo img {
        height: 38px;
    }

    .hero-visual {
        height: 320px;
    }

    .hero-float-card.main {
        width: 260px;
    }

    .hero-ring {
        width: 300px;
        height: 300px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

::-webkit-scrollbar-track {
    background: var(--color-bg-soft);
}

::-webkit-scrollbar-thumb {
    background: var(--color-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--color-text-muted);
}

/* Selection */
::selection {
    background: rgba(22, 93, 255, 0.18);
    color: var(--color-navy);
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--color-blue);
    outline-offset: 2px;
}
