/* ===== CSS VARIABLES — Blue Theme ===== */
:root {
    --brand:        hsl(232, 100%, 50%) ;
    --brand-light:  hsl(229, 100%, 63%);
    --brand-dark:   #2A44DD;
    --brand-glow:   rgba(59, 91, 255, 0.35);
    --brand-soft:   rgba(59, 91, 255, 0.12);
    --brand-border: rgba(59, 91, 255, 0.25);
    --bg:           #000000;
    --bg-card:      rgba(14, 22, 50, 0.75);
    --bg-mid:       rgba(14, 22, 50, 0.45);
    --text:         #E5E7EB;
    --text-muted:   #9CA3AF;
    --text-dim:     #6B7280;
}


/*++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/

@keyframes slideUp {
    0% { opacity: 0; transform: translateY(50px) scale(0.95); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes slideInLeft {
    0% { opacity: 0; transform: translateX(-60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    0% { opacity: 0; transform: translateX(60px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes revealLine {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes meshGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

/* Reset and Base Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ===== NAVBAR ===== */
.navbar {
    position: sticky; top: 0; z-index: 1000;
    background: #21316bb3;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--brand-border);
    padding: 16px 0;
}

/*navigation content*/
.nav-content { display: flex; justify-content: space-between; align-items: center; }


.nav-links { display: flex; gap: 32px; }
.nav-links a {
    color: white; text-decoration: none;
    font-weight: 500; transition: color 0.3s ease; position: relative;
}
.nav-links a:hover { color: var(--brand-light); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0;
    width: 0; height: 2px;
    background: linear-gradient(90deg, var(--brand), var(--brand-light));
    transition: width 0.3s ease;
}
.nav-links a:hover::after { width: 100%; }
.nav-buttons { display: flex; gap: 12px; }

/* ===== BUTTONS ===== */
.btn-primary {
    background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
    color: white; border: none; padding: 12px 24px; border-radius: 12px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
    box-shadow: 0 4px 16px var(--brand-glow);
    display: flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px var(--brand-glow); }

.btn-secondary {
    background: transparent; color: var(--text);
    border: 1px solid var(--brand-border); padding: 12px 24px;
    border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.btn-secondary:hover { background: var(--brand-soft); border-color: var(--brand); }

.btn-outline {
    background: transparent; color: var(--text);
    border: 2px solid var(--brand-border); padding: 12px 24px;
    border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.btn-outline:hover { background: var(--brand-soft); border-color: var(--brand); transform: translateY(-2px); }

.btn-large { padding: 16px 32px; font-size: 16px; }

.btn-outline-white {
    background: transparent; color: white;
    border: 2px solid rgba(255,255,255,0.3); padding: 16px 32px;
    border-radius: 12px; font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: white; transform: translateY(-2px); }


/* Update to handle <a> tags correctly */
.btn-primary, 
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none; /* Removes the default link underline */
    white-space: nowrap;   /* Prevents text wrapping */
}

/* Ensure the Book Demo button keeps the gap for the icon if you add one later */
.btn-primary {
    gap: 8px;
}




/* Add this to your BUTTONS section in index.css */
a.btn-primary, 
a.btn-outline, 
a.btn-large {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    gap: 10px; /* Keeps the star icon spaced from the text */
    transition: all 0.3s ease;
}

/* Ensures the outline button doesn't get an underline on hover */
a.btn-outline:hover {
    text-decoration: none !important;
}




/* ===== HERO ===== */


/* ===== HERO SECTION ENHANCEMENTS ===== */
.hero-content {
    animation: slideUp 1s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

.hero-title .gradient-text {
    display: inline-block;
    animation: slideUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.2s both;
}

.chat-mockup {
    animation: slideInRight 1.2s cubic-bezier(0.19, 1, 0.22, 1) 0.4s both;
    position: relative;
}

/* Glowing Aura behind Chat Mockup */
.chat-mockup::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: var(--brand-glow);
    filter: blur(40px);
    z-index: -1;
    border-radius: 30px;
    animation: meshGlow 4s infinite ease-in-out;
}

/* ===== PROBLEM & SOLUTION GRID (STAGGERED) ===== */
.problem-solution .card.red {
    opacity: 0;
    animation: slideInLeft 0.8s ease forwards;
}

.problem-solution .card.green {
    opacity: 0;
    animation: slideInRight 0.8s ease forwards;
}

/* Staggered Delay for the Cards */
.grid .card:nth-child(1) { animation-delay: 0.2s; }
.grid .card:nth-child(2) { animation-delay: 0.4s; }
.grid .card:nth-child(3) { animation-delay: 0.6s; }
.grid .card:nth-child(4) { animation-delay: 0.8s; }

/* ===== FEATURES GRID (3D POP EFFECT) ===== */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    animation: slideUp 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
}

/* Creates a waterfall effect as you scroll down */
.features-grid .feature-card:nth-child(1) { animation-delay: 0.1s; }
.features-grid .feature-card:nth-child(2) { animation-delay: 0.2s; }
.features-grid .feature-card:nth-child(3) { animation-delay: 0.3s; }
.features-grid .feature-card:nth-child(4) { animation-delay: 0.4s; }
.features-grid .feature-card:nth-child(5) { animation-delay: 0.5s; }
.features-grid .feature-card:nth-child(6) { animation-delay: 0.6s; }

/* ===== DASHBOARD DATA ANIMATION ===== */
.qc-bar {
    transform-origin: bottom;
    animation: growBar 1.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes growBar {
    0% { transform: scaleY(0); }
    100% { transform: scaleY(1); }
}

/* ===== PRICING HIGHLIGHT ===== */
.pricing-card.popular {
    animation: pulseBorder 2s infinite;
}

@keyframes pulseBorder {
    0% { border-color: var(--brand-border); }
    50% { border-color: var(--brand); box-shadow: 0 0 20px var(--brand-glow); }
    100% { border-color: var(--brand-border); }
}

/* ===== GLOBAL HOVER REFINEMENT ===== */
.feature-card, .benefit-card, .pricing-card, .stat-box {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

.feature-card:hover {
    background: rgba(59, 91, 255, 0.08) !important;
    border-color: var(--brand-light) !important;
    transform: translateY(-10px) scale(1.02) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4) !important;
}
/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
.hero { padding: 100px 0; position: relative; overflow: hidden; }
.hero::before {
    content: ''; position: absolute; top: -50%; right: -20%;
    width: 800px; height: 800px;
    background: radial-gradient(circle, rgba(59,91,255,0.18) 0%, transparent 70%);
    animation: float 20s infinite ease-in-out;
}
@keyframes float {
    0%,100% { transform: translate(0,0) scale(1); }
    50% { transform: translate(-50px,50px) scale(1.1); }
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }

.badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--brand-soft); border: 1px solid var(--brand-border);
    padding: 8px 16px; border-radius: 24px; font-size: 14px;
    font-weight: 600; color: var(--brand-light); margin-bottom: 16px;
    animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:0.7; } }

.badge-dot {
    width: 8px; height: 8px; background: var(--brand-light);
    border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { transform:scale(1); opacity:1; }
    50% { transform:scale(1.2); opacity:0.7; }
}

.hero-title { font-size: 56px; font-weight: 800; line-height: 1.1; margin-bottom: 24px; color: white; }

.gradient-text {
    background: linear-gradient(135deg, var(--brand-light) 0%, #7B9BFF 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-subtitle { font-size: 20px; color: var(--text-muted); margin-bottom: 32px; line-height: 1.6; }
.hero-buttons { display: flex; gap: 16px; margin-bottom: 48px; }
.hero-stats { display: flex; gap: 48px; }
.stat { text-align: left; }
.stat-value { font-size: 32px; font-weight: 800; color: var(--brand-light); margin-bottom: 4px; }
.stat-label { font-size: 14px; color: var(--text-dim); }

/* ===== CHAT MOCKUP ===== */
.hero-visual { position: relative; }
.chat-mockup {
    background: var(--bg-card); border: 1px solid var(--brand-border);
    border-radius: 24px; padding: 24px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4); backdrop-filter: blur(12px);
}
.chat-header {
    display: flex; align-items: center; gap: 12px;
    padding-bottom: 20px; border-bottom: 1px solid var(--brand-border);
}
.chat-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
}
.chat-name { font-weight: 600; color: white; }
.chat-status { font-size: 14px; color: var(--text-dim); display: flex; align-items: center; gap: 6px; }
.status-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse-dot 2s infinite; }
.chat-messages { padding: 20px 0; display: flex; flex-direction: column; gap: 16px; }
.message { display: flex; flex-direction: column; align-items: flex-start; }
.message.sent { align-items: flex-end; }
.message-bubble {
    max-width: 280px; padding: 12px 16px;
    border-radius: 16px; font-size: 14px; line-height: 1.4;
}
.message.received .message-bubble {
    background: var(--brand-soft); border: 1px solid var(--brand-border); color: var(--text);
}
.message.sent .message-bubble {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark)); color: white;
}
.message-time { font-size: 12px; color: var(--text-dim); margin-top: 4px; }

.typing-indicator { display: flex; gap: 4px; padding: 8px 0; }
.typing-indicator span {
    width: 8px; height: 8px; background: var(--brand-light);
    border-radius: 50%; animation: typing 1.4s infinite;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }
@keyframes typing {
    0%,60%,100% { transform: translateY(0); opacity:0.7; }
    30% { transform: translateY(-10px); opacity:1; }
}

.floating-card {
    position: absolute; background: rgba(8,14,36,0.92);
    border: 1px solid var(--brand-border); padding: 12px 20px;
    border-radius: 12px; display: flex; align-items: center;
    gap: 10px; font-size: 14px; font-weight: 600;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3); backdrop-filter: blur(8px);
}
.card-1 { top: 10%; right: -10%; animation: float-card 3s infinite ease-in-out; }
.card-2 { bottom: 15%; left: -15%; animation: float-card 3s infinite ease-in-out 1.5s; }
@keyframes float-card { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-20px); } }
.card-icon {
    width: 24px; height: 24px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 6px; display: flex; align-items: center; justify-content: center;
}

/* ===== PROBLEM / SOLUTION ===== */
.problem-solution { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 60px; color: white; margin-bottom: 15px; }
.section-header p { color: var(--text-muted); }

.badge.red {
    display: inline-block; padding: 8px 16px; border-radius: 20px;
    font-size: 20px; margin-bottom: 20px; font-weight: 600;
    background: rgba(239,68,68,0.1); color: #f87171;
    border: 1px solid rgba(239,68,68,0.3);
}
.badge.green {
    display: inline-block; padding: 8px 16px; border-radius: 20px;
    font-size: 20px; margin-bottom: 20px; font-weight: 600;
    background: var(--brand-soft); color: var(--brand-light);
    border: 1px solid var(--brand-border);
}

.grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 80px; }
.card {
    padding: 25px; border-radius: 16px;
    background: var(--bg-card); border: 1px solid; transition: 0.3s;
}
.card h3 { color: white; }
.card.red { border-color: rgba(239,68,68,0.3); }
.card.green { border-color: var(--brand-border); }
.card:hover { transform: translateY(-6px);  box-shadow: 0 4px 16px var(--brand-glow); }
.icon { font-size: 24px; margin-bottom: 10px; }
.card.red .icon { color: #f87171; }
.card.green .icon { color: var(--brand-light); }
.arrow { text-align: center; font-size: 40px; color: var(--brand-light); margin: 60px 0; }
.card.red:hover {  box-shadow: 0 4px 16px #f87171 ; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .grid { grid-template-columns: 1fr; } }

/* ===== STATS ===== */
.stats-section {
    padding: 80px 0;
    background: rgba(14,22,50,0.5);
    border-top: 1px solid var(--brand-border);
    border-bottom: 1px solid var(--brand-border);
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; }
.stat-box { text-align: center; cursor: pointer; transition: transform 0.3s ease; }
.stat-box:hover { transform: translateY(-6px);  }
.icon-box {
    width: 56px; height: 56px; margin: 0 auto 16px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(59,91,255,0.2), rgba(91,120,255,0.2));
    display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease;
}
.stat-box:hover .icon-box { transform: scale(1.1); box-shadow: 0 4px 16px var(--text-dim); }
.icon-box svg {
    width: 26px; height: 26px; stroke: var(--brand-light); fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.stat-box h3 { font-size: 28px; font-weight: 800; color: white; margin-bottom: 6px; }
.stat-box p { font-size: 14px; color: var(--text-muted); }

@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 500px) { .stats-grid { grid-template-columns: 1fr; } }

/* ===== FEATURES ===== */
.features { padding: 100px 0; }
.section-title { font-size: 40px; font-weight: 800; color: white; margin-bottom: 16px; }
.section-subtitle { color: var(--text-muted); font-size: 18px; }

.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.feature-card {
    background: var(--bg-mid); border: 1px solid var(--brand-border);
    border-radius: 16px; padding: 32px; transition: all 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-8px); border-color: rgba(59,91,255,0.45);
    box-shadow: 0 20px 40px rgba(59,91,255,0.15);
}
.feature-icon {
    width: 64px; height: 64px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.1) rotate(5deg); }

.icon-purple { background: linear-gradient(135deg,rgba(147,51,234,0.2),rgba(126,34,206,0.2)); color:#A78BFA; }
.icon-green  { background: linear-gradient(135deg,rgba(59,91,255,0.2),rgba(91,120,255,0.2)); color: var(--brand-light); }
.icon-blue   { background: linear-gradient(135deg,rgba(59,130,246,0.2),rgba(37,99,235,0.2)); color:#60A5FA; }
.icon-pink   { background: linear-gradient(135deg,rgba(236,72,153,0.2),rgba(219,39,119,0.2)); color:#F472B6; }
.icon-orange { background: linear-gradient(135deg,rgba(251,146,60,0.2),rgba(249,115,22,0.2)); color:#FB923C; }
.icon-teal   { background: linear-gradient(135deg,rgba(20,184,166,0.2),rgba(13,148,136,0.2)); color:#2DD4BF; }

.feature-icon svg {
    width: 28px; height: 28px; stroke: currentColor; fill: none;
    stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}
.feature-title { font-size: 22px; font-weight: 700; color: white; margin-bottom: 12px; }
.feature-description { color: var(--text-muted); line-height: 1.6; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 100px 0; background: rgba(14,22,50,0.3); }
.steps-grid {
    display: grid; grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 32px; align-items: center;
}
.step { position: relative; }
.step-number {
    position: absolute; top: -10px; right: -10px;
    width: 48px; height: 48px;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 18px; box-shadow: 0 4px 16px var(--brand-glow);
}
.step-content {
    background: var(--bg-card); border: 1px solid var(--brand-border);
    border-radius: 16px; padding: 32px; text-align: center; transition: all 0.3s ease;
}
.step:hover .step-content {
    transform: scale(1.05); border-color: rgba(59,91,255,0.45);
    box-shadow: 0 20px 40px rgba(59,91,255,0.15);
}
.step-icon { margin: 0 auto 20px; display: flex; justify-content: center; }
.step-title { font-size: 20px; font-weight: 700; color: white; margin-bottom: 12px; }
.step-description { color: var(--text-muted); line-height: 1.6; }
.step-arrow { display: flex; justify-content: center; opacity: 0.5; }

/* ===== PRODUCT DEMO ===== */


/* ===== DASHBOARD PLUG-IN STYLES ===== */
.qc-dashboard-container { padding: 100px 0; background: rgba(14, 22, 50, 0.2); }

.qc-dashboard-main {
    background: #0d1630;
    border: 1px solid rgba(99, 132, 255, 0.12);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.45), 0 0 40px rgba(79, 111, 255, 0.1);
}

.qc-dash-nav {
    display: flex;
    padding: 0 32px;
    background: rgba(7, 13, 31, 0.6);
    border-bottom: 1px solid rgba(99, 132, 255, 0.12);
}

.qc-nav-tab {
    padding: 20px 24px;
    font-size: 14px;
    color: #7a8ab0;
    text-decoration: none;
    transition: 0.3s ease;
}

.qc-nav-tab.active { color: #4f6fff; border-bottom: 2px solid #4f6fff; }

.qc-dash-body { padding: 36px 32px; display: flex; flex-direction: column; gap: 28px; }

.qc-stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

.qc-stat-card {
    background: #0f1b38;
    border: 1px solid rgba(99, 132, 255, 0.12);
    border-radius: 18px;
    padding: 24px;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease;
}

.qc-stat-card:hover { transform: translateY(-5px); border-color: rgba(99, 132, 255, 0.4); }

.qc-stat-label { font-size: 12px; color: #7a8ab0; text-transform: uppercase; letter-spacing: 1px; }

.qc-stat-number { font-size: 38px; font-weight: 700; color: white; font-family: 'JetBrains Mono', monospace; }

/* Number Animations */
.qc-num-1::before { content: "142"; animation: qc-loop1 3s steps(1) infinite; }
.qc-num-2::before { content: "68%"; animation: qc-loop2 5s steps(1) infinite; }
.qc-num-3::before { content: "1.2k" ; animation: qc-loop3 7s steps(1) infinite; }

@keyframes qc-loop1 { 0%, 100% { content: "142"; } 50% { content: "155"; } }
@keyframes qc-loop2 { 0%, 100% { content: "68%"; } 50% { content: "74%"; } }
@keyframes qc-loop3 { 0%, 100% { content: "1.2k"; } 50% { content: "1.4k"; } }

.qc-stat-delta.positive { color: #3dffa0; font-size: 13px; margin-top: 8px; display: block; }

/* Chart Styles */
.qc-chart-card { background: #0f1b38; border: 1px solid rgba(99, 132, 255, 0.12); border-radius: 18px; padding: 24px; }
.qc-chart-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.qc-chart-title { font-size: 16px; color: white; }
.qc-chart-range { font-size: 12px; color: #7a8ab0; }

.qc-chart-area { position: relative; height: 200px; }
.qc-bars-wrap { display: flex; align-items: flex-end; gap: 12px; height: 100%; position: relative; z-index: 2; }
.qc-bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; height: 100%; justify-content: flex-end;}
.qc-bar { width: 100%; background: linear-gradient(180deg, #7b5cff 0%, #4f6fff 100%); border-radius: 6px 6px 2px 2px; min-height: 10px; transition: 0.3s; }
.qc-bar:hover { filter: brightness(1.3); }

/* Bar Heights & Breath Animation */
.qc-bar-1 { height: 45%; animation: qc-breath 4s infinite ease-in-out; }
.qc-bar-2 { height: 65%; animation: qc-breath 5s infinite ease-in-out; }
.qc-bar-3 { height: 85%; animation: qc-breath 2s infinite ease-in-out; }
.qc-bar-4 { height: 85%; animation: qc-breath 4s infinite ease-in-out; }
.qc-bar-5 { height: 60%; animation: qc-breath 4.5s infinite ease-in-out; }
.qc-bar-6 { height: 40%; animation: qc-breath 5.5s infinite ease-in-out; }
.qc-bar-7 { height: 95%; background: #4f6fff; }

@keyframes qc-breath { 0%, 100% { transform: scaleY(1); } 50% { transform: scaleY(1.05); } }

.qc-bar-label { font-size: 10px; color: #7a8ab0; }
.qc-grid-lines { position: absolute; width: 100%; height: 100%; top: 0; display: flex; flex-direction: column; justify-content: space-between; }
.qc-grid-line { height: 1px; background: rgba(99, 132, 255, 0.05); width: 100%; }

/* Entrance Animations */
.qc-slide-left { animation: qc-fadeInLeft 0.8s ease both; }
.qc-slide-up { animation: qc-fadeInUp 0.8s ease both; }
.qc-slide-right { animation: qc-fadeInRight 0.8s ease both; }

@keyframes qc-fadeInLeft { from { opacity: 0; transform: translateX(-20px); } to { opacity: 1; transform: translateX(0); } }
@keyframes qc-fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes qc-fadeInRight { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

/* Responsive */
@media (max-width: 768px) {
    .qc-stat-grid { grid-template-columns: 1fr; }
    .qc-dash-nav { overflow-x: auto; }
}







/* ===== BENEFITS ===== */
.benefits { padding: 100px 0; background: rgba(14,22,50,0.3); }
.benefits-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 32px; }
.benefit-card {
    background: var(--bg-card); border: 1px solid var(--brand-border);
    border-radius: 16px; padding: 40px; transition: all 0.3s ease;
}
.benefit-card:hover {
    transform: translateY(-8px); border-color: rgba(59,91,255,0.45);
    box-shadow: 0 20px 40px rgba(59,91,255,0.15);
}
.benefit-icon { font-size: 48px; margin-bottom: 20px; }
.benefit-title { font-size: 24px; font-weight: 700; color: white; margin-bottom: 12px; }
.benefit-description { color: var(--text-muted); line-height: 1.6; }

/* ===== TESTIMONIALS ===== */
.testimonials { padding: 100px 0; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.testimonial-card {
    background: var(--bg-card); border: 1px solid var(--brand-border);
    border-radius: 16px; padding: 32px; transition: all 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-8px); border-color: rgba(59,91,255,0.45);
    box-shadow: 0 20px 40px rgba(59,91,255,0.15);
}
.testimonial-stars { color: var(--brand-light); font-size: 20px; margin-bottom: 16px; }
.testimonial-text { color: var(--text); line-height: 1.6; margin-bottom: 24px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 48px; height: 48px; border-radius: 50%;
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; color: white;
}
.author-name { font-weight: 600; color: white; }
.author-role { font-size: 14px; color: var(--text-dim); }

/* ===== PRICING ===== */
.pricing { padding: 100px 0; background: rgba(14,22,50,0.3); }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3,1fr);
    gap: 32px; max-width: 1100px; margin: 0 auto;
    justify-content: center;
}
.pricing-card {
    background: var(--bg-card); border: 1px solid var(--brand-border);
    border-radius: 24px; padding: 40px; transition: all 0.3s ease; position: relative;
}

.pricing-card:hover {
    transform: translateY(-8px); border-color: rgba(59,91,255,0.45);
    box-shadow: 0 20px 40px rgba(59,91,255,0.15);
}
.pricing-card.popular {
    border-color: var(--brand); box-shadow: 0 20px 60px rgba(59,91,255,0.25);
    transform: scale(1.05);
}
.popular-badge {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white; padding: 6px 20px; border-radius: 20px;
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px;
}
.pricing-plan { font-size: 24px; font-weight: 800; color: white; margin-bottom: 8px; }
.pricing-description { color: var(--text-muted); }
.pricing-price { display: flex; align-items: baseline; margin-bottom: 32px; }
.price-currency { font-size: 24px; color: var(--text-dim); font-weight: 600; }
.price-amount { font-size: 40px; font-weight: 800; color: var(--brand-light); margin: 0 4px; }
.price-period { font-size: 18px; color: var(--text-dim); }
.pricing-features { list-style: none; margin-bottom: 32px; }
.feature-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; color: var(--text); }
.check-icon { flex-shrink: 0; }
.pricing-button {
    width: 100%; padding: 16px;
    background: var(--brand-soft); color: var(--brand-light);
    border: 1px solid var(--brand-border); border-radius: 12px;
    font-weight: 600; cursor: pointer; transition: all 0.3s ease;
}
.pricing-button:hover { background: rgba(59,91,255,0.2); transform: translateY(-2px); }
.pricing-button.primary {
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    color: white; border: none; box-shadow: 0 4px 16px var(--brand-glow);
}
.pricing-button.primary:hover { box-shadow: 0 8px 28px var(--brand-glow); }
.pricing-header { margin-bottom: 24px; }

/* ===== CTA ===== */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(59,91,255,0.12) 0%, rgba(8,14,36,0.9) 100%);
    position: relative; overflow: hidden;
}
.cta-section::before {
    content: ''; position: absolute; top: -50%; left: -20%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(59,91,255,0.22) 0%, transparent 70%);
    animation: float 15s infinite ease-in-out;
}
.cta-content { text-align: center; position: relative; z-index: 1; }
.cta-title { font-size: 48px; font-weight: 800; color: white; margin-bottom: 16px; }
.cta-subtitle { font-size: 20px; color: var(--text-muted); margin-bottom: 40px; }
.cta-buttons { display: flex; justify-content: center; gap: 16px; margin-bottom: 32px; }
.cta-features { display: flex; justify-content: center; gap: 32px; }
.cta-feature { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: 14px; }

/* ===== FOOTER ===== */
.footer {
    background: rgba(14,22,50,0.85);
    border-top: 1px solid var(--brand-border); padding: 80px 0 32px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-logo-img { height: 40px; width: auto; }
.footer-description { color: var(--text-muted); line-height: 1.6; margin-bottom: 24px; }
/*--------------------------contact info-------------------------------*/

.footer-contact-info {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: all 0.3s ease;
}

.contact-item svg {
    color: var(--brand-light); /* Uses your brand color for icons */
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-item:hover {
    color: white;
}

.contact-item:hover svg {
    transform: scale(1.1);
    color: white;
}

/* Ensure centering on mobile for the contact info */
@media (max-width: 768px) {
    .footer-contact-info {
        align-items: center;
    }
}

/* Rest of your existing CSS remains the same... */
.footer {
    background: #21316bb3;
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--brand-border); padding: 80px 0 32px;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 48px; margin-bottom: 48px;
}

/* ------------------------------------------------------------------------ */
.social-links { display: flex; gap: 12px; }
.social-link {
    width: 40px; height: 40px; border-radius: 10px;
    background: var(--brand-soft); border: 1px solid var(--brand-border);
    display: flex; align-items: center; justify-content: center;
    color: var(--brand-light); transition: all 0.3s ease;
}
.social-link:hover {
    background: rgba(59,91,255,0.2); transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(59,91,255,0.2);
}
.footer-title { font-size: 16px; font-weight: 700; color: white; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.3s ease; }
.footer-links a:hover { color: var(--brand-light); }
.footer-bottom {
    text-align: center; padding-top: 32px;
    border-top: 1px solid var(--brand-border); color: var(--text-dim);
}



/* ===== FLOATING BUTTON ===== */
.floating-btn {
  position: fixed;
  bottom: 20px;

  /* Align with your container */
  right: calc((100vw - 1600px) / 2 + 24px);

  width: 100px;
  height: 100px;
  z-index: 999999;
  cursor: pointer;
}

/* FLOATING ANIMATION */
@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
  100% { transform: translateY(0px); }
}

.floating-btn img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 30px;

  animation: float 3s ease-in-out infinite;
  transition: transform 0.3s ease;
  padding: 8px;
}

/* HOVER EFFECT */
.floating-btn:hover img {
  transform: translateY(-15px) scale(1.1);
}

@media (max-width: 1200px) {
  .floating-btn {
    right: 20px; /* fallback for smaller screens */
  }
}

@media (max-width: 768px) {
  .floating-btn {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }
}

@media (max-width: 480px) {
  .floating-btn {
    width: 45px;
    height: 45px;
    bottom: 12px;
    right: 12px;
  }
}



/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 48px; }
    .hero-title { font-size: 48px; }
    .features-grid { grid-template-columns: repeat(2,1fr); }
    .steps-grid { grid-template-columns: 1fr; }
    .step-arrow { transform: rotate(90deg); }
    .pricing-grid { grid-template-columns: 1fr; }
    .pricing-card.popular { transform: scale(1); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
    .nav-links { display: none; }
    .hero-title { font-size: 36px; }
    .section-title { font-size: 36px; }
    .features-grid { grid-template-columns: 1fr; }
    .benefits-grid { grid-template-columns: 1fr; }
    .testimonials-grid { grid-template-columns: 1fr; }
    .hero-stats { flex-direction: column; gap: 24px; }
    .hero-buttons { flex-direction: column; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-features { flex-direction: column; align-items: center; }
    .dashboard-stats { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .container { padding: 0 16px; }
    .hero-title { font-size: 28px; }
    .section-title { font-size: 28px; }
    .cta-title { font-size: 32px; }
}


/*=============================================================*/

/* ===== POPUP WITH 4s DELAY ===== */

#popup input {
    display: none;
}

/* Overlay: Now waits 3.5s before appearing */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* Keeps your requested blur */
    backdrop-filter: blur(8px); 
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;

    /* Logic for the delay */
    opacity: 0;
    visibility: hidden;
    /* waits 3.5s, then takes 0.6s to fade in */
    animation: popupFadeIn 0.5s ease-out 2.0s forwards;
}

/* Popup Card: Pops in slightly after the overlay */
.popup-card {
    background: #0f172a;
    padding: 30px;
    width: 320px;
    border-radius: 16px;
    text-align: center;
    color: white;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    position: relative;

    /* Elastic pop-in animation */
    opacity: 0;
    transform: scale(0.7);
    animation: popupScaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 3.7s forwards;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    font-size: 18px;
    color: #aaa;
    transition: color 0.3s;
}

.close-btn:hover {
    color: white;
}

/* Button with a gentle attention-seeker pulse */
.popup-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    color: white;
    font-weight: 700;
    background: linear-gradient(135deg, #3b5bff, #2a44dd);
    transition: transform 0.3s ease;
    animation: btnAttention 2s infinite 5s; /* Starts moving after popup is open */
}

.popup-btn:hover {
    transform: scale(1.05);
}

/* Hide popup when clicked */
#close-popup:checked ~ .popup-overlay {
    display: none !important;
}

/* --- Keyframes --- */

@keyframes popupFadeIn {
    to { 
        opacity: 1; 
        visibility: visible; 
    }
}

@keyframes popupScaleIn {
    to { 
        opacity: 1; 
        transform: scale(1); 
    }
}

/* Subtle wiggle to make the user click "GET OFFER" */
@keyframes btnAttention {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}



/*+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
/* ===== GLOBAL ANIMATION KEYFRAMES ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}




/* =============================================================
   NEW ANIMATIONS SECTION 
   ============================================================= */

/* 1. Define the Keyframes (The actual movement) */
@keyframes fadeInUp {
    from { 
        opacity: 0; 
        transform: translateY(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

@keyframes fadeInRight {
    from { 
        opacity: 0; 
        transform: translateX(30px); 
    }
    to { 
        opacity: 1; 
        transform: translateX(0); 
    }
}

/* 2. Apply the Entrance Animations to Hero Section */
.hero-content > * {
    opacity: 0; 
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Staggered Delays for a Professional Flow */
.hero-content .badge:nth-child(1) { animation-delay: 0.1s; }
.hero-content .badge:nth-child(2) { animation-delay: 0.2s; }
.hero-title { animation-delay: 0.3s; }
.hero-subtitle { animation-delay: 0.4s; }
.hero-buttons { animation-delay: 0.5s; }
.hero-stats { animation-delay: 0.6s; }

/* Slide in the Chat Mockup from the Right */
.chat-mockup {
    opacity: 0;
    animation: fadeInRight 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
}

/* 3. Smooth Hover Transitions for ALL Cards */
.card, .feature-card, .benefit-card, .pricing-card, .testimonial-card {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Enhanced Glow on Hover */
.feature-card:hover, .benefit-card:hover {
    transform: translateY(-12px) scale(1.03) !important;
    box-shadow: 0 20px 40px var(--brand-glow) !important;
    border-color: var(--brand-light) !important;
}

/* 4. Pulse Effect for the "Start Free Trial" Button */
.hero-buttons .btn-primary {
    animation: buttonPulse 2s infinite;
}

@keyframes buttonPulse {
    0% { box-shadow: 0 0 0 0 rgba(59, 91, 255, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(59, 91, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(59, 91, 255, 0); }
}





/* Final Unified Link-Button Styles */
a.btn-primary, 
a.btn-secondary, 
a.btn-outline, 
a.btn-outline-white,
a.btn-large {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    text-decoration: none !important; /* Kills the underline */
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Specific fix for the White Outline button on hover */
a.btn-outline-white:hover {
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}





@media (max-width: 768px) {
  .contact-item {
    width: 100%;
    justify-content: flex-start;
  }

  .contact-item span {
    text-align: left;
    width: 100%;
  }
}










@media (max-width: 768px) {
    /* 1. Prevent any side-scrolling (The "Gap" Fix) */
    html, body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }

    .nav-content {
        padding: 0 12px; /* Controlled side spacing */
        width: 100%;
        box-sizing: border-box;
    }

    /* 2. Shrink Logo to make room for the right-side elements */
    .logo img {
        width: 110px; /* Reduced to prevent pushing the right side out */
        height: auto;
    }

    /* 3. The 4 Links Dropdown */
    .nav-links {
        display: none; 
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #0d1630;
        padding: 30px;
        gap: 20px;
        text-align: center;
        border-bottom: 2px solid var(--brand-border);
        box-shadow: 0 10px 30px rgba(0,0,0,0.5);
        z-index: 1000;
        transform: none; 
    }

    /* 4. Keep Buttons and Hamburger on the far right */
    .nav-right {
    display: flex;
    align-items: center;
    gap: 15px;            /* Space between buttons and hamburger */
    flex: 1;              /* Grow to fill empty space */
    justify-content: flex-end; /* Push everything to the far right */
}

    .nav-buttons {
        gap: 6px;
    }

    .nav-buttons a {
        padding: 6px 10px; /* Smaller buttons for mobile */
        font-size: 11px;
        white-space: nowrap;
    }

    /* 5. Hamburger Icon - Stays exactly where it is */
    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        flex-shrink: 0;
    }

    .menu-toggle .bar {
        width: 22px;
        height: 2px;
        background: white;
    }

    /* Logic to show links */
    #menu-toggle-check:checked ~ .nav-links {
        display: flex;
    }

    /* 6. Fix for your specific X Animation Selector */
    #menu-toggle-check:checked ~ .nav-right .menu-toggle .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    #menu-toggle-check:checked ~ .nav-right .menu-toggle .bar:nth-child(2) {
        opacity: 0;
    }
    #menu-toggle-check:checked ~ .nav-right .menu-toggle .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
}