/* =============================================
   InnJoy Showcase Website — Styles
   ============================================= */

:root {
    --primary: #137fec;
    --primary-dark: #04336A;
    --primary-light: #38bdf8;
    --accent: #6366f1;
    --bg-dark: #050a18;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.8);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: rgba(148, 163, 184, 0.1);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.08);
    --shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =============================================
   Scroll Progress Bar
   ============================================= */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary-light));
    z-index: 9999;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(19,127,236,0.6);
}

/* =============================================
   Navigation
   ============================================= */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(5, 10, 24, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Nav right group: theme toggle + lang switcher */
.nav-right-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* ---- Theme Toggle ---- */
.theme-toggle {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.theme-toggle:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.15);
    color: var(--text-primary);
    transform: rotate(12deg);
}

.theme-icon-light { display: none; }
.theme-icon-dark  { display: flex; }

body.light-mode .theme-icon-light { display: flex; }
body.light-mode .theme-icon-dark  { display: none; }

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border: none;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    z-index: 900;
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 24px rgba(19,127,236,0.35);
}

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

.back-to-top:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(19,127,236,0.5);
}

/* =============================================
   Light Mode Overrides
   ============================================= */
body.light-mode {
    --bg-dark: #f0f4fb;
    --bg-card: rgba(255,255,255,0.85);
    --bg-card-hover: rgba(255,255,255,0.98);
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    --border: rgba(15,23,42,0.08);
    --glass: rgba(15,23,42,0.04);
    --glass-border: rgba(15,23,42,0.1);
}

body.light-mode .navbar.scrolled {
    background: rgba(240,244,251,0.9);
    border-bottom: 1px solid rgba(15,23,42,0.08);
}

body.light-mode .shape-1 {
    background: radial-gradient(circle, rgba(19,127,236,0.18), transparent);
}
body.light-mode .shape-2 {
    background: radial-gradient(circle, rgba(99,102,241,0.12), transparent);
}
body.light-mode .shape-3 {
    background: radial-gradient(circle, rgba(56,189,248,0.12), transparent);
}

body.light-mode .tech-card,
body.light-mode .admin-feat-card,
body.light-mode .app-feat-card {
    box-shadow: 0 4px 20px rgba(15,23,42,0.06);
    border: 1px solid rgba(15,23,42,0.08);
}

body.light-mode .team-card {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(15,23,42,0.08);
}

body.light-mode .social-card {
    background: rgba(255,255,255,0.8);
    border: 1px solid rgba(15,23,42,0.1);
}

body.light-mode .footer {
    background: #e8eef8;
    border-top: 1px solid rgba(15,23,42,0.08);
}

/* Logo Theme Transition */
.nav-logo-img, .footer-logo {
    transition: filter 0.3s ease;
}

body.light-mode .nav-logo-img, 
body.light-mode .footer-logo {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 800;
    font-size: 1.4rem;
    letter-spacing: -0.02em;
}

.nav-logo-img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 8px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--text-primary);
    background: var(--glass);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Language Switcher ---- */
.lang-switcher {
    display: flex;
    align-items: center;
    position: relative;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    padding: 3px;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-shrink: 0;
    gap: 0;
}

.lang-slider {
    position: absolute;
    top: 3px;
    left: 3px;
    width: calc(50% - 3px);
    height: calc(100% - 6px);
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 100px;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 12px rgba(19, 127, 236, 0.4);
    z-index: 0;
}

.lang-slider.slide-right {
    transform: translateX(100%);
}

.lang-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    letter-spacing: 0.06em;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.lang-option.active {
    color: #ffffff;
}

.lang-option:not(.active):hover {
    color: var(--text-secondary);
}

/* =============================================
   Hero Section
   ============================================= */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
    gap: 60px;
    position: relative;
}

.hero-bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.shape-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(19, 127, 236, 0.3), transparent);
    top: -200px;
    right: -100px;
}

.shape-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    bottom: -100px;
    left: -200px;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.2), transparent);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

.hero-title {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 500px;
    line-height: 1.8;
    margin-bottom: 36px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 8px 30px rgba(19, 127, 236, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(19, 127, 236, 0.45);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--glass);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 32px;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* =============================================
   Phone Mockup
   ============================================= */

.hero-visual {
    flex-shrink: 0;
    animation: fadeInUp 1s ease 0.5s both;
}

.phone-mockup {
    perspective: 1000px;
}

.phone-frame {
    width: 280px;
    background: #0f172a;
    border-radius: 36px;
    padding: 12px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 80px rgba(19, 127, 236, 0.15),
        inset 0 0 30px rgba(19, 127, 236, 0.05);
    animation: phoneFloat 6s ease-in-out infinite;
}

@keyframes phoneFloat {
    0%, 100% { transform: translateY(0) rotateY(-2deg); }
    50% { transform: translateY(-12px) rotateY(2deg); }
}

.phone-notch {
    width: 120px;
    height: 28px;
    background: #0f172a;
    border-radius: 0 0 16px 16px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.phone-screen {
    border-radius: 20px;
    overflow: hidden;
    background: #0b1120;
    display: flex;
    flex-direction: column;
}

.hero-screenshot-img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    object-position: top;
    display: block;
    border-radius: 20px;
}

/* =============================================
   Section Shared Styles
   ============================================= */

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.15), rgba(99, 102, 241, 0.15));
    border: 1px solid rgba(19, 127, 236, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-light);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 500px;
    margin: 0 auto;
}

/* =============================================
   Features Section
   ============================================= */

.features {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 32px 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--icon-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

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

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--icon-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--icon-color);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.feature-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   How It Works Section
   ============================================= */

.how-it-works {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.steps-container {
    display: flex;
    align-items: flex-start;
    gap: 0;
    justify-content: center;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    max-width: 240px;
    position: relative;
}

.step-number {
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(180deg, rgba(19, 127, 236, 0.2), transparent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

.step-content {
    padding: 0 12px;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.step-content h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.step-content p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    margin-top: 100px;
    opacity: 0.3;
    flex-shrink: 0;
}

/* =============================================
   App Screens Gallery
   ============================================= */

.gallery {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.app-screens-row {
    display: flex;
    gap: 28px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    padding: 20px 10px 30px;
    scrollbar-width: thin;
    scrollbar-color: rgba(19,127,236,0.3) transparent;
}

.app-screens-row::-webkit-scrollbar {
    height: 6px;
}

.app-screens-row::-webkit-scrollbar-track {
    background: transparent;
}

.app-screens-row::-webkit-scrollbar-thumb {
    background: rgba(19,127,236,0.3);
    border-radius: 3px;
}

.app-screen-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
    scroll-snap-align: center;
}

.app-screen-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

.app-phone-frame {
    width: 220px;
    background: #1a1a2e;
    border-radius: 32px;
    padding: 10px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow:
        0 20px 50px rgba(0,0,0,0.4),
        0 0 60px rgba(19,127,236,0.08);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.app-phone-frame:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 70px rgba(0,0,0,0.5),
        0 0 80px rgba(19,127,236,0.15);
}

.app-phone-notch {
    width: 100px;
    height: 24px;
    background: #1a1a2e;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
}

.app-screen {
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.gallery-screenshot-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
}

.app-screen-light {
    background: #F6F7FB;
    color: #1a1a2e;
}

.app-screen-dark {
    background: linear-gradient(180deg, #1a1a2e, #0d0d1a);
    color: #f1f5f9;
}

.app-screen-navy {
    background: linear-gradient(180deg, #04336A, #0a1e3d);
    color: #f1f5f9;
}

/* ---- App Top Bar ---- */
.app-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 14px 8px;
}

.app-topbar-sub {
    font-size: 10px;
    color: #94a3b8;
}

.app-topbar-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.app-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.app-topbar-dark {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 14px 8px;
    font-size: 14px;
    font-weight: 600;
}

/* ---- Hotel Card ---- */
.app-hotel-card {
    margin: 0 10px 8px;
    border-radius: 14px;
    position: relative;
    overflow: hidden;
    height: 120px;
}

.app-hotel-img-bg {
    position: absolute;
    inset: 0;
    border-radius: 14px;
}

.app-hotel-card-overlay {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, rgba(4,51,106,0.85), rgba(10,40,92,0.9));
    height: 100%;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 14px;
}

.app-hotel-card-name {
    font-size: 14px;
    font-weight: 800;
    color: white;
}

.app-hotel-card-room {
    font-size: 10px;
    color: #38bdf8;
}

.app-hotel-card-dates {
    font-size: 9px;
    color: #94a3b8;
}

.app-hotel-card-btn {
    background: linear-gradient(135deg, #137fec, #6366f1);
    color: white;
    text-align: center;
    padding: 7px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
}

/* ---- Service Tiles ---- */
.app-row-tiles {
    display: flex;
    gap: 8px;
    padding: 0 10px;
    margin-bottom: 6px;
}

.app-tile {
    flex: 1;
    background: white;
    border-radius: 12px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.app-tile-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.app-tile span {
    font-size: 10px;
    font-weight: 600;
    color: #334155;
}

.app-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    padding: 6px 10px 4px;
}

/* ---- Search Bar ---- */
.app-search-bar {
    margin: 4px 10px 8px;
    background: white;
    border-radius: 10px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    color: #94a3b8;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}

/* ---- Category Chips ---- */
.app-chips {
    display: flex;
    gap: 6px;
    padding: 0 10px;
    margin-bottom: 8px;
    overflow: hidden;
}

.app-chip {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 9px;
    font-weight: 600;
    background: white;
    color: #64748b;
    white-space: nowrap;
}

.app-chip.active {
    background: #137fec;
    color: white;
}

/* ---- Service Cards ---- */
.app-service-card-list {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    overflow: hidden;
}

.app-service-card {
    display: flex;
    gap: 10px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.app-svc-img {
    width: 64px;
    min-height: 56px;
    flex-shrink: 0;
}

.app-svc-info {
    padding: 10px 10px 10px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-svc-name {
    font-size: 11px;
    font-weight: 700;
    color: #0f172a;
}

.app-svc-desc {
    font-size: 9px;
    color: #94a3b8;
    margin-top: 2px;
}

/* ---- Bottom Nav ---- */
.app-bottom-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 8px 0 6px;
    background: white;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.app-nav-item {
    font-size: 16px;
    opacity: 0.4;
    padding: 4px;
}

.app-nav-item.active {
    opacity: 1;
}

.app-nav-sos {
    width: 36px;
    height: 36px;
    background: #ef4444;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    margin-top: -18px;
    box-shadow: 0 4px 12px rgba(239,68,68,0.3);
}

/* ---- Emergency SOS Screen ---- */
.app-sos-types {
    display: flex;
    gap: 6px;
    padding: 8px 10px;
}

.app-sos-type {
    flex: 1;
    padding: 8px 4px;
    border-radius: 10px;
    text-align: center;
    font-size: 10px;
    font-weight: 700;
}

.app-sos-btn-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0 8px;
    position: relative;
}

.app-sos-ring {
    position: absolute;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(239,68,68,0.2);
    animation: sosPulse 2s ease-in-out infinite;
}

.app-sos-ring-2 {
    width: 130px;
    height: 130px;
    animation-delay: 0.5s;
}

@keyframes sosPulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.2; }
}

.app-sos-button {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 30px rgba(239,68,68,0.4);
    position: relative;
    z-index: 1;
}

.app-sos-label {
    text-align: center;
    font-size: 9px;
    color: #64748b;
    padding: 4px 0 10px;
}

.app-sos-map {
    margin: 0 10px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
}

.app-sos-map-bg {
    height: 70px;
    background: linear-gradient(135deg, #1e3a5f, #0d2137);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.app-sos-map-pin { font-size: 18px; }
.app-sos-map-exit { font-size: 18px; }

.app-sos-map-path {
    position: absolute;
    top: 50%;
    left: 30%;
    width: 40%;
    height: 2px;
    background: repeating-linear-gradient(90deg, #ef4444, #ef4444 4px, transparent 4px, transparent 8px);
    transform: translateY(-50%);
}

.app-sos-map-label {
    padding: 6px 10px;
    font-size: 9px;
    color: #94a3b8;
    text-align: center;
}

.app-sos-room {
    text-align: center;
    font-size: 10px;
    color: #64748b;
    padding: 8px 0;
}

/* ---- Spending Tracker Screen ---- */
.app-spend-total {
    text-align: center;
    padding: 16px 0 12px;
}

.app-spend-total-label {
    font-size: 10px;
    color: #94a3b8;
}

.app-spend-total-amount {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(135deg, #38bdf8, #137fec);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-spend-cats {
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.app-spend-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgba(255,255,255,0.06);
}

.app-spend-cat-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.app-spend-cat-info {
    flex: 1;
    min-width: 0;
}

.app-spend-cat-name {
    font-size: 10px;
    font-weight: 600;
    margin-bottom: 4px;
}

.app-spend-cat-bar {
    height: 4px;
    background: rgba(255,255,255,0.08);
    border-radius: 4px;
    overflow: hidden;
}

.app-spend-cat-bar > div {
    height: 100%;
    border-radius: 4px;
}

.app-spend-cat-amount {
    font-size: 11px;
    font-weight: 700;
    color: #f1f5f9;
    flex-shrink: 0;
}

.app-spend-settle {
    padding: 10px;
    margin-top: auto;
}

.app-spend-settle-btn {
    background: linear-gradient(135deg, #137fec, #6366f1);
    color: white;
    text-align: center;
    padding: 10px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
}

/* =============================================
   Admin Section — Redesigned
   ============================================= */

.admin-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.admin-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

/* Ambient glow behind the section */
.admin-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 900px;
    height: 600px;
    background: radial-gradient(ellipse at center,
        rgba(19, 127, 236, 0.07) 0%,
        rgba(99, 102, 241, 0.05) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.admin-section .container {
    position: relative;
    z-index: 1;
}

/* ---- Phone Showcase ---- */
.admin-phones-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 56px;
    justify-items: center;
}

.admin-phone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    max-width: 220px;
}

/* Colored label badge above each phone */
.admin-phone-badge {
    display: inline-flex;
    align-items: center;
    padding: 5px 14px;
    border-radius: 100px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.admin-badge-blue  { background: rgba(59,130,246,0.15);  color: #60a5fa; border: 1px solid rgba(59,130,246,0.25); }
.admin-badge-green { background: rgba(34,197,94,0.15);   color: #4ade80; border: 1px solid rgba(34,197,94,0.25); }
.admin-badge-purple{ background: rgba(168,85,247,0.15);  color: #c084fc; border: 1px solid rgba(168,85,247,0.25); }
.admin-badge-red   { background: rgba(239,68,68,0.15);   color: #f87171; border: 1px solid rgba(239,68,68,0.25); }
.admin-badge-orange{ background: rgba(249,115,22,0.15);   color: #fb923c; border: 1px solid rgba(249,115,22,0.25); }

/* Phone frame */
.admin-phone-frame {
    width: 100%;
    background: #0f172a;
    border-radius: 30px;
    padding: 10px;
    border: 2px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 0 60px rgba(19, 127, 236, 0.06);
    transition: transform 0.4s cubic-bezier(0.4,0,0.2,1), box-shadow 0.4s ease;
}

.admin-phone-card:hover .admin-phone-frame {
    transform: translateY(-10px);
    box-shadow:
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 0, 0, 0.3),
        0 0 80px rgba(19, 127, 236, 0.12);
}

.admin-phone-notch {
    width: 90px;
    height: 20px;
    background: #0f172a;
    border-radius: 0 0 12px 12px;
    margin: 0 auto 4px;
}

.admin-phone-screen {
    border-radius: 20px;
    overflow: hidden;
}

.admin-phone-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
}

/* Label below phone */
.admin-phone-label {
    display: none;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ---- Feature Cards Grid ---- */
.admin-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.admin-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.admin-feat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--feat-color), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.admin-feat-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.admin-feat-card:hover::before {
    opacity: 1;
}

.admin-feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--feat-bg);
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feat-color);
    margin-bottom: 16px;
    transition: transform 0.3s ease;
}

.admin-feat-card:hover .admin-feat-icon {
    transform: scale(1.1);
}

.admin-feat-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
}

.admin-feat-card p {
    font-size: 0.84rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   App Showcase Section (Merged Features & Gallery)
   ============================================= */

.app-showcase-section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.app-bg-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 1000px;
    height: 700px;
    background: radial-gradient(ellipse at center,
        rgba(34, 197, 94, 0.05) 0%,
        rgba(59, 130, 246, 0.04) 40%,
        transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.app-showcase-section .container {
    position: relative;
    z-index: 1;
}

/* ---- App Phones Showcase (5 Columns) ---- */
.app-phones-showcase {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 60px;
    justify-items: center;
    position: relative;
    z-index: 1;
}

.app-phone-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: 220px; /* Aligned with admin */
}

.app-phone-badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.app-badge-blue   { background: rgba(59,130,246,0.12); color: #60a5fa; border: 1px solid rgba(59,130,246,0.2); }
.app-badge-green  { background: rgba(34,197,94,0.12);  color: #4ade80; border: 1px solid rgba(34,197,94,0.2); }
.app-badge-orange { background: rgba(249,115,22,0.12);  color: #fb923c; border: 1px solid rgba(249,115,22,0.2); }
.app-badge-purple { background: rgba(168,85,247,0.12); color: #c084fc; border: 1px solid rgba(168,85,247,0.2); }
.app-badge-yellow { background: rgba(234,179,8,0.12);  color: #facc15; border: 1px solid rgba(234,179,8,0.2); }
.app-badge-red    { background: rgba(239,68,68,0.12);  color: #f87171; border: 1px solid rgba(239,68,68,0.2); }

.app-phone-frame {
    width: 100%;
    background: #0f172a;
    border-radius: 24px;
    padding: 8px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 15px 35px rgba(0,0,0,0.4);
    transition: all 0.4s ease;
}

.app-phone-card:hover .app-phone-frame {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 20px rgba(59,130,246,0.1);
}

.app-phone-notch {
    width: 60px;
    height: 14px;
    background: #0f172a;
    border-radius: 0 0 8px 8px;
    margin: 0 auto 4px;
}

.app-screen {
    border-radius: 16px;
    overflow: hidden;
}

.app-phone-img {
    width: 100%;
    height: auto;
    display: block;
}

.app-phone-label {
    display: none;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
}

/* ---- App Feature Grid (5 Columns) ---- */
.app-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.app-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 20px 15px;
    transition: all 0.3s ease;
}

.app-feat-card:hover {
    transform: translateY(-3px);
    background: var(--bg-card-hover);
}

.app-feat-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--feat-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--feat-color);
    margin-bottom: 12px;
}

.app-feat-card h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.app-feat-card p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* =============================================
   Tech Section
   ============================================= */

.tech-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.tech-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.tech-card:hover {
    transform: translateY(-4px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.tech-icon {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
}

.tech-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.tech-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* =============================================
   CTA Section
   ============================================= */

.cta-section {
    padding: 80px 0 120px;
    overflow: hidden;
}

.cta-card {
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.12), rgba(99, 102, 241, 0.12));
    border: 1px solid rgba(19, 127, 236, 0.2);
    border-radius: var(--radius-lg);
    padding: 80px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(19, 127, 236, 0.1), transparent);
    border-radius: 50%;
}

.cta-card h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    position: relative;
}

.cta-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    position: relative;
}

.cta-buttons {
    position: relative;
}

/* =============================================
   Footer
   ============================================= */

.footer {
    padding: 60px 0 0;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 8px;
    align-self: flex-start;
}

.footer-email:hover {
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.15), rgba(99, 102, 241, 0.15));
    border-color: rgba(19, 127, 236, 0.3);
    color: #ffffff;
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(19, 127, 236, 0.2);
}

.footer-email-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    transition: transform 0.35s ease;
}

.footer-email:hover .footer-email-icon {
    transform: scale(1.15) rotate(5deg);
    color: #ffffff;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.footer-links a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.footer-links a svg {
    color: var(--text-muted);
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.footer-links a:hover svg {
    color: var(--primary-light);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding: 24px 0;
    text-align: center;
}

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

/* =============================================
   Reveal Animations
   ============================================= */

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

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

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

/* =============================================
   Responsive
   ============================================= */

@media (max-width: 1024px) {
    .app-phones-showcase {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .app-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .admin-phones-showcase {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }

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

@media (max-width: 768px) {
    .app-phones-showcase,
    .admin-phones-showcase {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        scroll-snap-type: x mandatory;
        gap: 16px;
        padding: 10px 20px 24px;
        margin-bottom: 40px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
        justify-content: flex-start;
    }

    .app-phones-showcase::-webkit-scrollbar,
    .admin-phones-showcase::-webkit-scrollbar {
        height: 6px;
    }

    .app-phones-showcase::-webkit-scrollbar-track,
    .admin-phones-showcase::-webkit-scrollbar-track {
        background: transparent;
    }

    .app-phones-showcase::-webkit-scrollbar-thumb,
    .admin-phones-showcase::-webkit-scrollbar-thumb {
        background: rgba(19,127,236,0.3);
        border-radius: 3px;
    }

    .app-phone-card,
    .admin-phone-card {
        flex: 0 0 220px;
        max-width: 220px;
        scroll-snap-align: center;
    }

    .app-feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 40px;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-stats {
        justify-content: center;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(5, 10, 24, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-switcher {
        order: -1;
        margin-right: 8px;
    }

    .steps-container {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }

    .step-connector {
        width: 2px;
        height: 40px;
        margin-top: 0;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .app-phone-frame {
        width: 100%;
    }

    .app-screens-row {
        gap: 20px;
        padding: 16px 8px 24px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }

    .gallery-item-large {
        grid-column: span 1;
        grid-row: span 1;
    }

    .cta-card {
        padding: 48px 24px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

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

    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .phone-frame {
        width: 250px;
    }

    .app-phone-frame {
        width: 100%;
    }

    .app-screens-row {
        gap: 16px;
    }

    .admin-screenshot-img {
        height: 200px;
    }
}

/* =============================================
   Team Section
   ============================================= */

.team-section {
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.team-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 36px 28px 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, #0077B5, #00a0dc);
    opacity: 0;
    transition: opacity 0.35s ease;
}

.team-card:hover {
    transform: translateY(-6px);
    background: var(--bg-card-hover);
    border-color: rgba(0,119,181,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px rgba(0,119,181,0.1);
}

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

.team-avatar-wrap {
    position: relative;
}

.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 800;
    color: white;
    letter-spacing: -0.02em;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.team-card:hover .team-avatar {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(0,0,0,0.4);
}

.team-info {
    text-align: center;
}

.team-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.team-role {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.team-linkedin {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 18px;
    background: rgba(0,119,181,0.12);
    border: 1px solid rgba(0,119,181,0.25);
    border-radius: 100px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #00a0dc;
    transition: all 0.3s ease;
}

.team-card:hover .team-linkedin {
    background: rgba(0,119,181,0.2);
    border-color: rgba(0,119,181,0.5);
}

/* ---- Social Row ---- */
/* ---- Social Cards ---- */
.social-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}

.social-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 28px;
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.social-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.35s ease;
    border-radius: var(--radius);
}

.social-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

/* GitHub */
.github-card {
    background: rgba(15,23,42,0.6);
}

.github-card::before {
    background: linear-gradient(135deg, rgba(255,255,255,0.04), transparent);
}

.github-card:hover {
    border-color: rgba(255,255,255,0.15);
}

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

/* Instagram */
.instagram-card {
    background: linear-gradient(135deg, rgba(193,53,132,0.08), rgba(131,58,180,0.08));
}

.instagram-card::before {
    background: linear-gradient(135deg, rgba(225,48,108,0.08), transparent);
}

.instagram-card:hover {
    border-color: rgba(225,48,108,0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px rgba(225,48,108,0.08);
}

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

/* Feedback Card */
.feedback-card {
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.08), rgba(99, 102, 241, 0.08));
}

.feedback-card::before {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.08), transparent);
}

.feedback-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3), 0 0 40px rgba(56, 189, 248, 0.08);
}

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

.social-card-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

.social-card:hover .social-card-icon {
    transform: scale(1.08);
}

.instagram-icon {
    background: linear-gradient(135deg, rgba(225,48,108,0.15), rgba(131,58,180,0.15));
    border-color: rgba(225,48,108,0.2);
    color: #f06292;
}

.feedback-icon {
    background: linear-gradient(135deg, rgba(19, 127, 236, 0.15), rgba(99, 102, 241, 0.15));
    border-color: rgba(56, 189, 248, 0.2);
    color: #38bdf8;
}

.social-card-body {
    flex: 1;
    min-width: 0;
}

.social-card-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.social-card-body h4 {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.social-card-body p {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

.social-card-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-card:hover .social-card-arrow {
    color: var(--text-primary);
    transform: translate(3px, -3px);
}

.social-card-qr {
    flex-shrink: 0;
}

.social-qr-img {
    width: 90px;
    height: 90px;
    object-fit: contain;
    border-radius: 12px;
    background: white;
    padding: 6px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s ease;
}

.instagram-card:hover .social-qr-img {
    transform: scale(1.05);
}

/* ---- Footer Socials ---- */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-social-icon:hover {
    transform: translateY(-4px);
}

.footer-social-icon.github:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
    box-shadow: 0 10px 24px rgba(255, 255, 255, 0.15);
}

.footer-social-icon.instagram:hover {
    background: linear-gradient(135deg, rgba(225, 48, 108, 0.2), rgba(131, 58, 180, 0.2));
    border-color: rgba(225, 48, 108, 0.4);
    color: #e1306c;
    box-shadow: 0 10px 24px rgba(225, 48, 108, 0.25);
}

/* Team & Social Responsive */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        max-width: 360px;
        margin: 0 auto 60px;
    }

    .social-cards {
        grid-template-columns: 1fr;
    }

    .social-card-body h4 {
        font-size: 0.9rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .team-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .social-cards {
        grid-template-columns: 1fr 1fr;
    }
}

/* =============================================
   Download Button
   ============================================= */
.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    border: none;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 24px rgba(34,197,94,0.35);
    position: relative;
    overflow: hidden;
}

.btn-download::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(34,197,94,0.45);
}

.btn-download:hover::before {
    opacity: 1;
}

/* =============================================
   Demo Modal
   ============================================= */
.demo-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.demo-modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.demo-modal {
    background: linear-gradient(145deg, rgba(10,20,45,0.97), rgba(5,10,24,0.99));
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 24px;
    padding: 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    transform: scale(0.94) translateY(12px);
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 32px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
}

.demo-modal-overlay.open .demo-modal {
    transform: scale(1) translateY(0);
}

.demo-modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(255,255,255,0.07);
    border-radius: 10px;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.demo-modal-close:hover {
    background: rgba(255,255,255,0.12);
    color: var(--text-primary);
}

.demo-modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}

.demo-modal-logo {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}

.demo-modal-logo img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.demo-modal-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.demo-modal-header p {
    font-size: 0.83rem;
    color: var(--text-muted);
}

/* Steps */
.demo-step {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.demo-step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
    margin-top: 2px;
}

.demo-step-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.demo-step-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
}

.demo-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(34,197,94,0.3);
    align-self: flex-start;
}

.demo-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(34,197,94,0.45);
}

.demo-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Credentials */
.demo-credentials {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 16px;
}

.demo-cred-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.demo-cred-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    width: 70px;
    flex-shrink: 0;
}

.demo-cred-value {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.demo-copy-btn {
    width: 32px;
    height: 32px;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.2);
    border-radius: 8px;
    color: var(--primary-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.demo-copy-btn:hover {
    background: rgba(56,189,248,0.15);
    border-color: rgba(56,189,248,0.4);
}

.demo-copy-btn.copied {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.4);
    color: #22c55e;
}

.demo-footer-note {
    margin-top: 20px;
    font-size: 0.76rem;
    color: var(--text-muted);
    text-align: center;
    padding: 10px 14px;
    background: rgba(255,185,0,0.06);
    border: 1px solid rgba(255,185,0,0.12);
    border-radius: 10px;
}

@media (max-width: 480px) {
    .demo-modal {
        padding: 24px 20px;
    }

    .demo-cred-row {
        flex-wrap: wrap;
    }

    .demo-cred-value {
        font-size: 0.78rem;
    }
}

/* =============================================
   How to Install & Try (HIW) Section
   ============================================= */

/* Divider between 4 steps and try section */
.hiw-divider {
    display: flex;
    align-items: center;
    gap: 20px;
    margin: 56px 0 40px;
}

.hiw-divider::before,
.hiw-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.hiw-divider span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 100px;
    white-space: nowrap;
    box-shadow: 0 4px 16px rgba(19,127,236,0.3);
}

.hiw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: start;
    margin-top: 20px;
}

/* Column headers */
.hiw-col-title {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 20px;
}

/* ---- Install Steps ---- */
.hiw-steps-col,
.hiw-try-col {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 28px;
    backdrop-filter: blur(10px);
}

/* ---- Install Steps Premium Design ---- */
.hiw-install-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 0; /* Gap handled by card padding and connectors */
}

.hiw-step-card {
    display: flex;
    gap: 20px;
    padding: 24px 0;
    position: relative;
    align-items: flex-start;
}

/* Vertical timeline connector */
.hiw-step-card:not(.hiw-step-last)::after {
    content: '';
    position: absolute;
    left: 21px; /* Center of icon wrap */
    top: 68px;
    bottom: -24px;
    width: 2px;
    background: linear-gradient(to bottom, var(--glass-border) 50%, transparent 50%);
    background-size: 2px 8px; /* Dashed effect */
    z-index: 1;
}

.hiw-step-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.hiw-step-card:hover .hiw-step-icon-wrap {
    transform: scale(1.1);
}

/* Icon variant colors & glows */
.hiw-icon-blue { 
    background: rgba(59, 130, 246, 0.1); 
    color: #3b82f6; 
    border: 1px solid rgba(59, 130, 246, 0.2); 
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.1);
}
.hiw-icon-purple { 
    background: rgba(168, 85, 247, 0.1); 
    color: #a855f7; 
    border: 1px solid rgba(168, 85, 247, 0.2); 
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.1);
}
.hiw-icon-orange { 
    background: rgba(249, 115, 22, 0.1); 
    color: #f97316; 
    border: 1px solid rgba(249, 115, 22, 0.2); 
    box-shadow: 0 0 15px rgba(249, 115, 22, 0.1);
}
.hiw-icon-green { 
    background: rgba(34, 197, 94, 0.1); 
    color: #22c55e; 
    border: 1px solid rgba(34, 197, 94, 0.2); 
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.1);
}

.hiw-step-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: white;
    color: black;
    font-size: 0.7rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.hiw-step-body {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hiw-step-body strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.hiw-step-body span {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* Download button inside hiw */
.hiw-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 22px;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(34,197,94,0.3);
    width: 100%;
    justify-content: center;
}

.hiw-download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(34,197,94,0.45);
}

/* ---- Try / Credentials ---- */
.hiw-try-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
    line-height: 1.6;
}

.hiw-credentials {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
}

.hiw-cred-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hiw-cred-label {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.76rem;
    color: var(--text-muted);
    width: 66px;
    flex-shrink: 0;
}

.hiw-cred-value {
    flex: 1;
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--text-primary);
    font-family: 'Courier New', monospace;
    background: rgba(255,255,255,0.05);
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hiw-copy-btn {
    width: 32px;
    height: 32px;
    background: rgba(56,189,248,0.08);
    border: 1px solid rgba(56,189,248,0.18);
    border-radius: 8px;
    color: var(--primary-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.hiw-copy-btn:hover {
    background: rgba(56,189,248,0.15);
    border-color: rgba(56,189,248,0.35);
}

.hiw-copy-btn.copied {
    background: rgba(34,197,94,0.15);
    border-color: rgba(34,197,94,0.4);
    color: #22c55e;
}

/* Try Tips */
.hiw-try-tips {
    background: rgba(255,255,255,0.02);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.hiw-tip-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
}

.hiw-try-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.hiw-try-tips li {
    font-size: 0.82rem;
    color: var(--text-secondary);
    padding-left: 4px;
}

.hiw-warning {
    font-size: 0.76rem;
    color: var(--text-muted);
    background: rgba(255,185,0,0.06);
    border: 1px solid rgba(255,185,0,0.12);
    border-radius: 10px;
    padding: 10px 14px;
    text-align: center;
}

/* HIW Responsive */
@media (max-width: 768px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .hiw-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .hiw-step-card {
        flex-direction: column;
        gap: 12px;
        padding: 16px 0;
    }
    .hiw-step-card:not(.hiw-step-last)::after {
        display: none; /* Hide timeline connector on small mobile */
    }
    .hiw-step-badge {
        width: 16px;
        height: 16px;
        font-size: 0.65rem;
    }
}


