:root {
    --bg-color: #f8fafc;
    --bg-gradient: radial-gradient(circle at 50% 0%, #eff6ff 0%, #f8fafc 100%);
    --card-bg: rgba(255, 255, 255, 0.7);
    --card-hover-bg: rgba(255, 255, 255, 0.95);
    --border-color: rgba(148, 163, 184, 0.12);
    --border-hover-color: rgba(34, 197, 94, 0.35);
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --accent-primary: #10b981;
    --accent-hover: #059669;
    --accent-glow: rgba(16, 185, 129, 0.1);
    
    --accent-blue: #2563eb;
    --accent-blue-hover: #1d4ed8;
    --accent-blue-glow: rgba(37, 99, 235, 0.1);
    
    --accent-orange: #f97316;
    --accent-orange-glow: rgba(249, 115, 22, 0.1);
    
    --accent-rose: #ef4444;
    --accent-emerald: #10b981;
    
    --transition-fast: 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    
    --shadow-premium: 0 20px 40px -15px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
    --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.15);
    --shadow-card: 0 10px 30px -10px rgba(148, 163, 184, 0.08), 0 1px 2px rgba(148, 163, 184, 0.03);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-color);
    background-image: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -10;
    pointer-events: none;
    opacity: 0.8;
}

h1, h2, h3, h4, .logo-text, .btn-hero, .btn-pricing, .console-title, .version-tag {
    font-family: 'Space Grotesk', sans-serif;
}

.gradient-text {
    background: linear-gradient(135deg, #10b981 0%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==================== NAVIGATION ==================== */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    padding: 14px 0;
    transition: var(--transition-fast);
}

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

nav .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

nav .logo img {
    height: 38px;
    width: auto;
}

nav .logo-text {
    font-size: 1.45rem;
    font-weight: 700;
    color: #1e3a8a;
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #16a34a 0%, #1d4ed8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

nav .nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
}

nav .nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    position: relative;
    padding: 4px 0;
    transition: var(--transition-fast);
}

nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-primary);
    transition: width var(--transition-fast) ease-in-out;
}

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

nav .nav-links a:hover {
    color: var(--accent-primary);
}

nav .nav-links a.btn-primary {
    background: var(--accent-primary);
    color: #ffffff;
    padding: 9px 22px;
    border-radius: 9999px;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

nav .nav-links a.btn-primary::after {
    display: none;
}

nav .nav-links a.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

.menu-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 40px;
    padding: 13px 10px;
    background: none;
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.menu-btn:hover {
    background: var(--accent-glow);
    border-color: var(--accent-primary);
}

.menu-icon-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.menu-btn[aria-expanded="true"] .menu-icon-line:nth-child(1) {
    transform: translateY(4.5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-icon-line:nth-child(2) {
    opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-icon-line:nth-child(3) {
    transform: translateY(-4.5px) rotate(-45deg);
}

.btn-icon-right {
    display: inline-block;
    vertical-align: middle;
    transition: transform var(--transition-fast);
}

.btn-hero:hover .btn-icon-right {
    transform: translateX(4px);
}

.inline-icon {
    display: inline-block;
    vertical-align: middle;
    fill: none;
    stroke: currentColor;
}

.btn-full-width {
    width: 100% !important;
    justify-content: center;
    border: none;
    cursor: pointer;
}

.margin-top-10 {
    margin-top: 10px !important;
}

.btn-reset {
    margin-top: 12px;
    font-size: 0.85rem !important;
    padding: 8px 16px !important;
    border-radius: 8px !important;
    cursor: pointer;
}

/* Nav auth group (login + signup buttons in nav) */
.nav-auth-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.nav-login-btn {
    padding: 7px 18px !important;
    font-size: 0.88rem !important;
    border-radius: 10px !important;
}

.nav-signup-btn {
    padding: 8px 20px !important;
    font-size: 0.88rem !important;
    border-radius: 9999px !important;
    text-decoration: none !important;
    color: #fff !important;
    background: var(--accent-primary);
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow: 0 4px 12px rgba(34,197,94,0.25);
    transition: var(--transition-fast);
    display: inline-block;
}

.nav-signup-btn:hover {
    background: var(--accent-hover) !important;
    box-shadow: 0 6px 18px rgba(34,197,94,0.4) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding-top: 170px;
    padding-bottom: 90px;
    text-align: center;
    position: relative;
}

.hero-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    border-radius: 9999px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-hover);
    margin-bottom: 24px;
    letter-spacing: 0.5px;
    animation: pulseGlow 3s infinite alternate;
}

@keyframes pulseGlow {
    from { box-shadow: 0 0 10px rgba(34, 197, 94, 0.05); }
    to { box-shadow: 0 0 20px rgba(34, 197, 94, 0.2); }
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px auto;
    font-weight: 400;
}

.hero .cta-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 80px;
}

.btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: var(--transition-normal);
}

.btn-hero.primary {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.3);
    border: 1px solid transparent;
}

.btn-hero.primary:hover {
    background: var(--accent-hover);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(34, 197, 94, 0.4);
}

.btn-hero.secondary {
    background: rgba(255, 255, 255, 0.8);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-premium);
}

.btn-hero.secondary:hover {
    background: #ffffff;
    border-color: rgba(148, 163, 184, 0.35);
    transform: translateY(-3px);
}

/* Hero Stats Bar */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 16px;
}

.stat-val {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.85rem;
    font-weight: 700;
    color: #1e3a8a;
}

.stat-lbl {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 4px;
    font-weight: 500;
}

.border-left {
    border-left: 1px solid var(--border-color);
}

/* Main Sections */
section {
    padding: 100px 0;
    position: relative;
}

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

.section-subtitle {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.8rem;
    color: var(--accent-blue);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    display: block;
    margin-bottom: 12px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

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

/* Feature Cards */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    background: var(--card-hover-bg);
    transform: translateY(-8px);
    border-color: var(--border-hover-color);
    box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08), 0 0 25px rgba(34, 197, 94, 0.1);
}

.feature-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 9999px;
    text-transform: uppercase;
}

.feature-badge.active {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.25);
}

.feature-badge.hybrid {
    background: rgba(249, 115, 22, 0.1);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.25);
}

.feature-badge.future {
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.2);
}

.feature-icon {
    width: 52px;
    height: 52px;
    background: rgba(34, 197, 94, 0.08);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-primary);
    margin-bottom: 24px;
    box-shadow: inset 0 0 10px rgba(34, 197, 94, 0.15);
}

.feature-icon svg {
    width: 26px;
    height: 26px;
    fill: currentColor;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.5;
}

/* Interactive Showcase */
.showcase-wrapper {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 32px;
    padding: 60px;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.showcase-info h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 18px;
}

.showcase-info p {
    color: var(--text-secondary);
    margin-bottom: 28px;
    font-weight: 400;
    font-size: 1.05rem;
}

.toggle-container {
    display: inline-flex;
    background: rgba(148, 163, 184, 0.08);
    border: 1px solid var(--border-color);
    padding: 4px;
    border-radius: 9999px;
    margin-bottom: 30px;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    padding: 8px 28px;
    border-radius: 9999px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.toggle-btn.active {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.25);
}

/* Sync Console Log Box */
.sync-console-card {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    margin-bottom: 24px;
    overflow: hidden;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

.console-header {
    background: #1e293b;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.console-dot.red { background: #ef4444; }
.console-dot.yellow { background: #f59e0b; }
.console-dot.green { background: #10b981; }

.console-title {
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 6px;
}

.console-body {
    padding: 16px;
    font-family: monospace;
    font-size: 0.82rem;
    color: #34d399;
    min-height: 120px;
    max-height: 120px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.console-placeholder {
    color: #64748b;
    font-style: italic;
}

.console-entry {
    animation: typeIn 0.3s ease-out forwards;
}

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

/* Mockup Phone (3D & Interactive) */
.mockup-phone-container {
    perspective: 1200px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.mockup-phone {
    width: 320px;
    height: 560px;
    background: #ffffff;
    border: 11px solid #0f172a;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.25), 0 0 50px rgba(34, 197, 94, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}

.phone-notch {
    width: 140px;
    height: 18px;
    background: #0f172a;
    border-radius: 0 0 16px 16px;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

/* Offline/Online Sync Banner inside Mock Phone */
.phone-sync-indicator {
    padding: 24px 16px 8px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.72rem;
    font-weight: 600;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    background: rgba(15, 23, 42, 0.02);
}

.phone-sync-indicator.offline {
    background: rgba(239, 68, 68, 0.06);
}

.phone-sync-indicator.online {
    background: rgba(16, 185, 129, 0.06);
}

.indicator-glow-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    margin-right: 6px;
}

.phone-sync-indicator.offline .indicator-glow-dot {
    background: var(--accent-rose);
    box-shadow: 0 0 8px var(--accent-rose);
    animation: blinkGlow 1.5s infinite;
}

.phone-sync-indicator.online .indicator-glow-dot {
    background: var(--accent-emerald);
    box-shadow: 0 0 8px var(--accent-emerald);
}

@keyframes blinkGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.indicator-text {
    flex: 1;
    color: var(--text-secondary);
}

.phone-sync-indicator.offline .indicator-text {
    color: #b91c1c;
}

.phone-sync-indicator.online .indicator-text {
    color: #065f46;
}

.phone-sync-btn {
    background: var(--accent-primary);
    color: #ffffff;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.phone-sync-btn:hover {
    background: var(--accent-hover);
    transform: scale(1.05);
}

.phone-sync-btn.syncing {
    background: #64748b !important;
    box-shadow: none;
    cursor: wait;
}

/* Phone App Header */
.phone-header {
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.phone-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--text-primary);
}

.phone-logo svg {
    width: 14px;
    height: 14px;
    fill: var(--accent-primary);
}

.phone-branch-tag {
    font-size: 0.68rem;
    background: rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(15, 23, 42, 0.08);
    padding: 2px 8px;
    border-radius: 9999px;
    color: var(--text-secondary);
}

/* Phone App Items list */
.phone-body {
    flex: 1;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    background: #f8fafc;
}

.mockup-item {
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.06);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-fast);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.02);
}

.mockup-item:hover {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.12);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

.mockup-item .item-details {
    display: flex;
    flex-direction: column;
}

.mockup-item .item-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.mockup-item .item-branch {
    font-size: 0.7rem;
    color: var(--text-muted);
}

.item-action-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Quantity controls inside phone mockup */
.mockup-qty-controls {
    display: flex;
    align-items: center;
    gap: 6px;
}

.qty-btn {
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background: #f1f5f9;
    border: 1px solid #cbd5e1;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.8rem;
    cursor: pointer;
    transition: var(--transition-fast);
}

.qty-btn:hover {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: #ffffff;
}

.qty-btn:active {
    transform: scale(0.9);
}

.mockup-value {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
}

.mockup-value.qty {
    background: rgba(34, 197, 94, 0.08);
    color: var(--accent-hover);
    min-width: 68px;
}

.mockup-value.status-available {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
}

.mockup-value.status-few {
    background: rgba(245, 158, 11, 0.1);
    color: #b45309;
}

.mockup-value.status-out {
    background: rgba(239, 68, 68, 0.1);
    color: #b91c1c;
}

/* Phone bottom navigation bar */
.phone-footer-nav {
    height: 48px;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
    background: #ffffff;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: 2px;
}

.nav-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
    flex: 1;
}

.nav-icon svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

.nav-icon span {
    font-size: 0.6rem;
    font-weight: 600;
}

.nav-icon:hover {
    color: var(--text-secondary);
}

.nav-icon.active {
    color: var(--accent-primary);
}

/* Roadmap Timeline */
.timeline {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 0;
}

.timeline::after {
    content: '';
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, var(--accent-primary) 0%, rgba(34, 197, 94, 0.15) 100%);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background: transparent;
    width: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    right: -8px;
    background-color: var(--bg-color);
    border: 3px solid var(--accent-primary);
    top: 25px;
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--accent-primary);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item.right::after {
    left: -8px;
}

.timeline-content {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 20px;
    position: relative;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-normal);
}

.timeline-content:hover {
    border-color: var(--border-hover-color);
    box-shadow: 0 15px 35px rgba(15, 23, 42, 0.06), 0 0 20px rgba(34, 197, 94, 0.15);
}

.version-tag {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 10px;
    border-radius: 9999px;
    display: inline-block;
    margin-bottom: 12px;
}

.version-tag.active {
    background: rgba(16, 185, 129, 0.1);
    color: #047857;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.version-tag.future {
    background: rgba(29, 78, 216, 0.08);
    color: #1d4ed8;
    border: 1px solid rgba(29, 78, 216, 0.2);
}

.timeline-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.timeline-content ul {
    list-style: none;
}

.timeline-content ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
    font-weight: 400;
}

.timeline-content ul li::before {
    content: '▪';
    color: var(--accent-primary);
    position: absolute;
    left: 0;
    font-size: 1.1rem;
    top: -2px;
}

/* Pricing */
.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.pricing-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 48px 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-premium);
}

.pricing-card.premium {
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.15), 0 0 30px var(--accent-glow);
}

.pricing-card.premium::before {
    content: "POPULAR";
    position: absolute;
    top: 24px;
    right: -32px;
    background: var(--accent-primary);
    color: #ffffff;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 4px 32px;
    transform: rotate(45deg);
    letter-spacing: 1px;
}

.pricing-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.pricing-price {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 20px 0;
    display: flex;
    align-items: baseline;
    font-family: 'Space Grotesk', sans-serif;
}

.pricing-price span {
    font-size: 1rem;
    font-weight: 400;
    color: var(--text-secondary);
    margin-left: 6px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 40px;
    flex: 1;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 14px;
    position: relative;
    padding-left: 24px;
    font-weight: 400;
}

.pricing-features li::before {
    content: "✓";
    color: var(--accent-emerald);
    position: absolute;
    left: 0;
    font-weight: 700;
}

.pricing-card.premium .pricing-features li::before {
    color: var(--accent-primary);
}

.tag-future-inline {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-style: italic;
    margin-left: 6px;
    display: inline-block;
    cursor: help;
}

.btn-pricing {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px;
    font-size: 1rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    transition: var(--transition-fast);
}

.pricing-card.premium .btn-pricing {
    background: var(--accent-primary);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
}

.pricing-card.premium .btn-pricing:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(34, 197, 94, 0.4);
}

.pricing-card:not(.premium) .btn-pricing {
    background: rgba(148, 163, 184, 0.08);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.pricing-card:not(.premium) .btn-pricing:hover {
    background: rgba(148, 163, 184, 0.15);
    transform: translateY(-2px);
}

/* FAQ Accordion */
.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-fast);
    box-shadow: var(--shadow-card);
}

.faq-item:hover {
    border-color: rgba(150, 150, 150, 0.25);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px;
    text-align: left;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    color: var(--text-secondary);
    font-size: 0.98rem;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1), padding 0.3s ease;
    font-weight: 400;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 24px 24px 24px;
    transition: max-height 0.3s cubic-bezier(1, 0, 1, 0), padding 0.3s ease;
}

.faq-icon {
    font-size: 1.3rem;
    transition: transform var(--transition-fast);
    color: var(--accent-primary);
}

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

/* Footer */
footer {
    background: #ffffff;
    border-top: 1px solid var(--border-color);
    padding: 60px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
}

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

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    font-weight: 600;
}

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

/* Modal Overlay & Popups */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 40px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 60px rgba(15, 23, 42, 0.15), 0 0 50px rgba(34, 197, 94, 0.1);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-card.wide {
    max-width: 800px;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 28px;
}

.modal-header h3 {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.modal-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    font-weight: 400;
}

.download-platforms {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.platform-option {
    background: rgba(148, 163, 184, 0.05);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-fast);
}

.platform-option:not(.disabled):hover {
    background: rgba(148, 163, 184, 0.12);
    border-color: rgba(148, 163, 184, 0.25);
}

.platform-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.platform-icon {
    font-size: 2rem;
}

.platform-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.status-tag {
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 2px;
}

.status-tag.live { color: #047857; }
.status-tag.future { color: var(--text-muted); }

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.modal-form label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.modal-form input[type="email"],
.modal-form input[type="text"] {
    background: #f8fafc;
    border: 1.5px solid var(--border-color);
    padding: 12px 16px;
    border-radius: 10px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-fast);
}

.modal-form input[type="email"]:focus,
.modal-form input[type="text"]:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.15);
}

.modal-form input[type="file"] {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-help {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Success Confirmation Box inside forms */
.form-success-message {
    display: none;
    text-align: center;
    padding: 20px 0;
    animation: typeIn 0.3s ease-out forwards;
}

.success-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 16px auto;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.form-success-message h4,
.upgrade-success-box h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-success-message p,
.upgrade-success-box p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 400;
}

/* UPI Upgrade Simulation Styles */
.simulation-alert {
    background: rgba(34, 197, 94, 0.08);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #047857;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.82rem;
    margin-bottom: 24px;
    line-height: 1.4;
}

.billing-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 32px;
}

.billing-payment-info {
    border-right: 1px solid var(--border-color);
    padding-right: 32px;
}

.billing-payment-info h4,
.billing-verification-form h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: 0.2px;
}

.billing-amount {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.billing-amount strong {
    color: var(--text-primary);
    font-size: 1.25rem;
}

.simulated-qr-box {
    background: #ffffff;
    padding: 16px;
    border-radius: 16px;
    width: 180px;
    height: 180px;
    margin: 0 auto 20px auto;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.1);
    border: 1px solid var(--border-color);
}

.qr-code-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: 100%;
}

.qr-svg {
    width: 100%;
    height: auto;
}

.qr-code-placeholder span {
    font-size: 0.65rem;
    color: #475569;
    font-weight: 700;
}

.qr-instruction {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    text-align: center;
}

/* Submission verification loader */
.verification-progress {
    display: none;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
    background: rgba(148, 163, 184, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
}

.progress-status {
    font-size: 0.82rem;
    color: var(--accent-blue);
    font-family: monospace;
}

.progress-bar-wrapper {
    background: rgba(148, 163, 184, 0.15);
    height: 6px;
    border-radius: 9999px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary) 0%, var(--accent-blue) 100%);
    width: 0%;
    transition: width 0.1s linear;
}

.upgrade-success-box {
    display: none;
    text-align: center;
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    padding: 24px;
    margin-top: 10px;
    animation: typeIn 0.4s ease-out forwards;
}

/* 3D Card Pop Parallax */
.card-3d {
    transform-style: preserve-3d;
}

.card-3d > * {
    transform: translateZ(25px);
}

/* Responsive Layouts */
@media (max-width: 992px) {
    .showcase-wrapper {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 50px;
    }
    
    .billing-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .billing-payment-info {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid var(--border-color);
        padding-bottom: 32px;
    }
    
    .timeline::after {
        left: 28px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 60px;
        padding-right: 0;
    }
    
    .timeline-item.right {
        left: 0%;
    }
    
    .timeline-item::after {
        left: 20px;
        right: auto;
    }
    
    .timeline-item.right::after {
        left: 20px;
    }
}

@media (max-width: 768px) {
    /* ── Navigation ── */
    nav .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        border-bottom: 2px solid var(--accent-glow);
        flex-direction: column;
        padding: 20px 24px;
        gap: 6px;
        box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
        z-index: 999;
    }

    nav .nav-links a {
        padding: 10px 14px;
        border-radius: 10px;
        font-size: 0.95rem;
        width: 100%;
        display: block;
    }

    nav .nav-links a:hover {
        background: var(--accent-glow);
    }

    nav .nav-links a::after {
        display: none;
    }
    
    nav .nav-links.active {
        display: flex;
    }

    /* Auth group inside mobile nav - stack vertically */
    .nav-auth-group {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: 8px;
        padding-top: 12px;
        border-top: 1px solid var(--border-color);
        width: 100%;
    }

    .nav-login-btn,
    .nav-signup-btn {
        text-align: center;
        padding: 10px 16px !important;
        font-size: 0.95rem !important;
        width: 100%;
        border-radius: 10px !important;
    }
    
    .menu-btn {
        display: flex;
    }

    /* ── Hero ── */
    .hero {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .hero h1 {
        font-size: clamp(2rem, 8vw, 3rem);
        letter-spacing: -1px;
    }
    
    .hero p {
        font-size: 1.05rem;
    }
    
    .hero .cta-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        margin-bottom: 48px;
    }
    
    .btn-hero {
        width: 100%;
        max-width: 340px;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 0;
        padding: 16px;
        border-radius: 16px;
    }
    
    .stat-item {
        width: 100%;
        padding: 16px 0;
    }

    .stat-val {
        font-size: 1.6rem;
    }
    
    .border-left {
        border-left: none;
        border-top: 1px solid var(--border-color);
    }

    /* ── Sections ── */
    section {
        padding: 72px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    /* ── Features grid ── */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .feature-card {
        padding: 28px;
    }
    
    /* ── Showcase ── */
    .showcase-wrapper {
        padding: 28px 20px;
        gap: 36px;
        border-radius: 20px;
    }

    .showcase-info h3 {
        font-size: 1.6rem;
    }

    /* Phone mockup scales down cleanly */
    .mockup-phone-container {
        padding: 10px;
    }

    .mockup-phone {
        width: min(280px, 80vw);
        height: min(500px, calc(80vw * 1.75));
    }

    /* ── Pricing ── */
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .pricing-card {
        width: 100%;
        max-width: 460px;
    }

    /* ── Footer ── */
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    /* ── Modals ── */
    .modal-card {
        padding: 28px 20px;
        border-radius: 20px;
    }

    .modal-card.wide {
        max-width: 100%;
    }
}

/* ── Extra small phones (≤ 480px) ── */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    nav {
        padding: 10px 0;
    }

    nav .logo img {
        height: 32px;
    }

    nav .logo-text {
        font-size: 1.2rem;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 48px;
    }

    .hero h1 {
        font-size: 2rem;
        letter-spacing: -0.5px;
    }

    .hero-tag {
        font-size: 0.78rem;
        padding: 5px 12px;
    }

    .hero-stats {
        padding: 12px;
    }

    .toggle-container {
        width: 100%;
        display: flex;
    }

    .toggle-btn {
        flex: 1;
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .sync-console-card {
        margin-bottom: 16px;
    }

    .mockup-phone {
        width: min(260px, 85vw);
    }

    .timeline {
        padding: 20px 0;
    }

    .timeline-content {
        padding: 20px;
    }

    .pricing-card {
        padding: 32px 24px;
    }

    .pricing-price {
        font-size: 2.2rem;
    }

    .faq-question {
        padding: 18px 16px;
        font-size: 1rem;
    }

    .faq-answer {
        padding: 0 16px;
    }

    .faq-item.active .faq-answer {
        padding: 0 16px 18px 16px;
    }

    .billing-grid {
        gap: 24px;
    }

    .modal-header h3 {
        font-size: 1.3rem;
    }
}

/* ── Utility: scroll-reveal animation ── */
@keyframes revealUp {
    from { opacity: 0; transform: translateY(32px); }
    to   { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    animation: revealUp 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
