/* ========== RESET & BASE ========== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: 'Inter', system-ui, sans-serif;
    background: #0a0a1a;
    color: #e2e8f0;
    line-height: 1.7;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
strong { color: #fff; }

/* ========== UTILITIES ========== */
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.gradient-text {
    background: linear-gradient(135deg, #818cf8, #6366f1, #a78bfa, #c084fc);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ========== NAV ========== */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 16px 0;
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
.nav.scrolled {
    background: rgba(10,10,26,0.85);
    backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(99,102,241,0.15);
    padding: 10px 0;
}
.nav-inner {
    max-width: 1140px; margin: 0 auto; padding: 0 24px;
    display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { display: flex; align-items: center; gap: 10px; }
.nav-logo { font-size: 28px; }
.nav-title { font-size: 20px; font-weight: 700; color: #fff; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 8px 16px; border-radius: 8px; font-size: 14px; font-weight: 500;
    color: #94a3b8; transition: all 0.3s;
}
.nav-link:hover { color: #fff; background: rgba(255,255,255,0.05); }
.nav-cta {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff !important; font-weight: 600;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 25px rgba(99,102,241,0.4); }
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { display: block; width: 24px; height: 2px; background: #e2e8f0; border-radius: 2px; transition: 0.3s; }
.mobile-menu {
    display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,26,0.98); z-index: 99;
    flex-direction: column; align-items: center; justify-content: center; gap: 24px;
}
.mobile-menu.active { display: flex; }
.mobile-link { font-size: 24px; font-weight: 600; color: #e2e8f0; transition: 0.3s; }
.mobile-link:hover { color: #818cf8; }

/* ========== HERO ========== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-orb {
    position: absolute; border-radius: 50%; filter: blur(100px); opacity: 0.4;
    animation: float 15s ease-in-out infinite;
}
.hero-orb-1 { width: 500px; height: 500px; background: #6366f1; top: -10%; left: -10%; }
.hero-orb-2 { width: 400px; height: 400px; background: #8b5cf6; bottom: -10%; right: -5%; animation-delay: -5s; }
.hero-orb-3 { width: 300px; height: 300px; background: #06b6d4; top: 40%; left: 50%; animation-delay: -10s; }
.hero-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(99,102,241,0.06) 1px, transparent 1px),
                       linear-gradient(90deg, rgba(99,102,241,0.06) 1px, transparent 1px);
    background-size: 60px 60px;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 800px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 20px; border-radius: 100px;
    background: rgba(99,102,241,0.15); border: 1px solid rgba(99,102,241,0.3);
    font-size: 13px; font-weight: 600; color: #818cf8;
    letter-spacing: 0.5px; text-transform: uppercase; margin-bottom: 24px;
}
.badge-dot { width: 8px; height: 8px; border-radius: 50%; background: #6366f1; animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-heading {
    font-size: clamp(2.5rem, 6vw, 4.2rem); font-weight: 800;
    line-height: 1.15; color: #fff; margin-bottom: 24px;
}
.hero-sub { font-size: 1.15rem; color: #94a3b8; max-width: 600px; margin: 0 auto 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 60px; }

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 14px 28px; border-radius: 12px; font-size: 15px; font-weight: 600;
    transition: all 0.3s cubic-bezier(.4,0,.2,1); cursor: pointer; border: none;
}
.btn-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff; box-shadow: 0 4px 20px rgba(99,102,241,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(99,102,241,0.5); }
.btn-ghost {
    background: rgba(255,255,255,0.06); color: #e2e8f0;
    border: 1px solid rgba(255,255,255,0.12);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-large { padding: 18px 36px; font-size: 16px; }

/* ========== HERO STATS ========== */
.hero-stats {
    display: flex; align-items: center; justify-content: center; gap: 32px;
    padding: 24px 40px; border-radius: 16px;
    background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(10px);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 800; color: #fff; }
.stat-suffix { font-size: 1.5rem; font-weight: 700; color: #818cf8; }
.stat-label { display: block; font-size: 12px; color: #64748b; text-transform: uppercase; letter-spacing: 1px; margin-top: 4px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.1); }

/* ========== SCROLL INDICATOR ========== */
.scroll-indicator { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); }
.scroll-mouse {
    width: 28px; height: 44px; border: 2px solid rgba(255,255,255,0.2);
    border-radius: 14px; display: flex; justify-content: center; padding-top: 8px;
}
.scroll-dot {
    width: 4px; height: 10px; background: #818cf8; border-radius: 4px;
    animation: scroll-bounce 2s infinite;
}
@keyframes scroll-bounce { 0%, 100% { transform: translateY(0); opacity: 1; } 50% { transform: translateY(12px); opacity: 0.3; } }

/* ========== SECTIONS ========== */
.section { padding: 100px 0; }
.section-dark { background: rgba(255,255,255,0.02); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-tag {
    display: inline-block; padding: 6px 16px; border-radius: 100px;
    background: rgba(99,102,241,0.12); color: #818cf8;
    font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase;
    margin-bottom: 16px;
}
.section-title { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.section-desc { font-size: 1.1rem; color: #64748b; max-width: 580px; margin: 0 auto; }

/* ========== TECH CARDS ========== */
.tech-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tech-card {
    padding: 36px; border-radius: 20px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s cubic-bezier(.4,0,.2,1);
}
.tech-card:hover {
    transform: translateY(-8px);
    background: rgba(255,255,255,0.05);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 20px 60px rgba(99,102,241,0.12);
}
.tech-icon { width: 56px; height: 56px; margin-bottom: 20px; }
.tech-icon svg { width: 100%; height: 100%; }
.tech-title { font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 12px; }
.tech-desc { font-size: 0.95rem; color: #94a3b8; margin-bottom: 20px; }
.tech-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
    padding: 4px 12px; border-radius: 6px; font-size: 12px; font-weight: 500;
    background: rgba(99,102,241,0.1); color: #818cf8;
    border: 1px solid rgba(99,102,241,0.15);
}

/* ========== CALL FLOW ========== */
.flow-timeline { position: relative; max-width: 700px; margin: 0 auto; }
.flow-line {
    position: absolute; left: 36px; top: 0; bottom: 0; width: 2px;
    background: linear-gradient(to bottom, rgba(99,102,241,0.5), rgba(139,92,246,0.5), transparent);
}
.flow-step { display: flex; gap: 24px; margin-bottom: 40px; position: relative; }
.flow-number {
    flex-shrink: 0; width: 72px; height: 72px; border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 800; color: #fff; z-index: 1;
    box-shadow: 0 0 30px rgba(99,102,241,0.35);
}
.flow-card {
    flex: 1; padding: 28px; border-radius: 16px; position: relative; overflow: hidden;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.3s;
}
.flow-card:hover { border-color: rgba(99,102,241,0.25); background: rgba(255,255,255,0.05); }
.flow-card-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(99,102,241,0.05), transparent 60%);
    pointer-events: none;
}
.flow-title { font-size: 1.2rem; font-weight: 700; color: #fff; margin-bottom: 8px; }
.flow-desc { font-size: 0.95rem; color: #94a3b8; }
.flow-desc em { color: #a78bfa; font-style: italic; }
.flow-desc kbd {
    display: inline-block; padding: 2px 8px; border-radius: 4px;
    background: rgba(99,102,241,0.2); border: 1px solid rgba(99,102,241,0.3);
    font-family: inherit; font-size: 0.85rem; color: #c4b5fd;
}

/* Flow Visuals */
.phone-ring { position: relative; display: flex; align-items: center; justify-content: center; height: 60px; margin-top: 16px; }
.ring {
    position: absolute; width: 40px; height: 40px; border: 2px solid #6366f1;
    border-radius: 50%; animation: ring-pulse 2s infinite;
}
.ring-2 { animation-delay: 0.4s; }
.ring-3 { animation-delay: 0.8s; }
@keyframes ring-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.5); opacity: 0; } }
.phone-icon { font-size: 24px; z-index: 1; }
.flow-indicator {
    display: inline-flex; align-items: center; gap: 8px; margin-top: 16px;
    padding: 8px 16px; border-radius: 8px; background: rgba(34,197,94,0.1);
    border: 1px solid rgba(34,197,94,0.2);
}
.indicator-dot { width: 8px; height: 8px; border-radius: 50%; }
.indicator-dot.active { background: #22c55e; box-shadow: 0 0 10px rgba(34,197,94,0.5); }
.indicator-label { font-size: 13px; font-weight: 600; color: #22c55e; }
.bridge-visual { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 16px; font-size: 13px; font-weight: 500; color: #94a3b8; }
.bridge-line { width: 40px; height: 2px; background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.bridge-center { font-size: 20px; }
.log-visual { margin-top: 16px; display: flex; flex-direction: column; gap: 6px; }
.log-entry {
    display: flex; align-items: center; gap: 10px; padding: 8px 14px;
    border-radius: 8px; background: rgba(255,255,255,0.03);
    font-size: 13px; font-family: 'Inter', monospace; color: #94a3b8;
}
.log-status { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.log-success { background: #22c55e; }
.log-warning { background: #f59e0b; }

/* ========== DASHBOARDS ========== */
.dashboard-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.dashboard-card {
    padding: 36px; border-radius: 20px;
    background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
    transition: all 0.4s;
}
.dashboard-card:hover { transform: translateY(-6px); border-color: rgba(99,102,241,0.25); }
.dashboard-card-header { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.dashboard-icon {
    width: 52px; height: 52px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
}
.admin-icon { background: linear-gradient(135deg, rgba(99,102,241,0.2), rgba(139,92,246,0.2)); color: #818cf8; }
.client-icon { background: linear-gradient(135deg, rgba(6,182,212,0.2), rgba(59,130,246,0.2)); color: #22d3ee; }
.staff-icon { background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.2)); color: #fbbf24; }
.call-service-icon { background: linear-gradient(135deg, rgba(16,185,129,0.2), rgba(20,184,166,0.2)); color: #34d399; }
.dashboard-title { font-size: 1.4rem; font-weight: 700; color: #fff; flex: 1; }
.dashboard-badge {
    padding: 4px 12px; border-radius: 6px; font-size: 11px;
    font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.admin-badge { background: rgba(99,102,241,0.15); color: #818cf8; }
.client-badge { background: rgba(6,182,212,0.15); color: #22d3ee; }
.staff-badge { background: rgba(245,158,11,0.15); color: #fbbf24; }
.call-service-badge { background: rgba(16,185,129,0.15); color: #34d399; }
.dashboard-features li {
    display: flex; align-items: flex-start; gap: 14px; padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dashboard-features li:last-child { border-bottom: none; }
.feature-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.dashboard-features strong { display: block; color: #fff; font-size: 0.95rem; margin-bottom: 4px; }
.dashboard-features p { font-size: 0.88rem; color: #64748b; line-height: 1.5; }

/* ========== PRICING ========== */
.pricing-note {
    text-align: center; font-size: 0.9rem; color: #64748b;
    font-style: italic; margin-bottom: 40px;
}
.pricing-table-wrapper { border-radius: 20px; overflow: hidden; border: 1px solid rgba(255,255,255,0.06); }
.pricing-table { width: 100%; }
.pricing-header {
    display: grid; grid-template-columns: 1.2fr 1.5fr 1fr;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    padding: 18px 28px; font-weight: 700; font-size: 14px; color: #fff;
}
.pricing-row {
    display: grid; grid-template-columns: 1.2fr 1.5fr 1fr;
    padding: 18px 28px; border-bottom: 1px solid rgba(255,255,255,0.04);
    align-items: center; transition: background 0.3s;
}
.pricing-row:hover { background: rgba(255,255,255,0.03); }
.pricing-row:last-child { border-bottom: none; }
.pricing-col { font-size: 0.92rem; color: #94a3b8; display: flex; align-items: center; gap: 10px; }
.pricing-icon { font-size: 18px; }
.pricing-col strong { color: #e2e8f0; }
.pricing-amount { font-weight: 700; color: #fff !important; font-size: 1rem; }
.pricing-period { font-weight: 400; font-size: 0.8rem; color: #64748b; }
.pricing-custom { color: #818cf8 !important; }
.pricing-row-highlight { background: rgba(99,102,241,0.08); }
.pricing-summary { margin-top: 32px; }
.summary-card {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 28px; border-radius: 14px;
    background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2);
}
.summary-icon { font-size: 28px; }
.summary-card .summary-title { color: #fff; display: block; margin-bottom: 4px; }
.summary-card p { font-size: 0.9rem; color: #94a3b8; }

/* ========== CTA ========== */
.cta-section {
    background: linear-gradient(135deg, rgba(99,102,241,0.12), rgba(139,92,246,0.08));
    border-top: 1px solid rgba(99,102,241,0.15);
    border-bottom: 1px solid rgba(99,102,241,0.15);
}
.cta-content { text-align: center; max-width: 600px; margin: 0 auto; }
.cta-title { font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 800; color: #fff; margin-bottom: 16px; }
.cta-desc { font-size: 1.1rem; color: #94a3b8; margin-bottom: 36px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ========== FOOTER ========== */
.footer {
    padding: 32px 0;
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.3);
}
.footer-inner {
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-text { font-size: 0.85rem; color: #475569; }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 0.85rem; color: #64748b; transition: color 0.3s; }
.footer-links a:hover { color: #818cf8; }

/* ========== ANIMATIONS ========== */
.animate-on-scroll { opacity: 0; transform: translateY(30px); transition: all 0.7s cubic-bezier(.4,0,.2,1); }
.animate-on-scroll.visible { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 900px) {
    .tech-grid { grid-template-columns: 1fr; }
    .dashboard-grid { grid-template-columns: 1fr; }
    .pricing-header, .pricing-row { grid-template-columns: 1fr; gap: 8px; padding: 16px 20px; }
    .pricing-header { font-size: 0; height: 0; padding: 0; overflow: hidden; }
    .pricing-col::before { font-weight: 700; color: #64748b; font-size: 11px; text-transform: uppercase; letter-spacing: 0.5px; }
    .pricing-row .pricing-col:nth-child(1)::before { content: "Component"; }
    .pricing-row .pricing-col:nth-child(2)::before { content: "Requirement"; }
    .pricing-row .pricing-col:nth-child(3)::before { content: "Cost"; }
    .hero-stats { flex-direction: column; gap: 16px; }
    .stat-divider { width: 40px; height: 1px; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .flow-step { flex-direction: column; align-items: center; text-align: center; }
    .flow-line { display: none; }
    .flow-number { width: 56px; height: 56px; font-size: 16px; }
    .bridge-visual { flex-wrap: wrap; }
    .footer-inner { flex-direction: column; text-align: center; }
}
