/* Section-level styles */

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

.service-card {
    position: relative; background: #fff; border: 1px solid rgba(0,0,0,0.06);
    border-radius: var(--radius-lg); padding: 36px 32px; overflow: hidden;
    transition: all 0.4s var(--ease); cursor: default;
}

.service-card-glow {
    position: absolute; top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(79,70,229,0.06) 0%, transparent 60%);
    opacity: 0; transition: opacity 0.5s; pointer-events: none;
}

.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(79,70,229,0.15); }
.service-card:hover .service-card-glow { opacity: 1; }
.service-icon {
    width: 48px; height: 48px; border-radius: 12px; display: flex;
    align-items: center; justify-content: center; margin-bottom: 20px;
    background: var(--accent-subtle); color: var(--accent);
}

.service-icon svg { width: 24px; height: 24px; }
.service-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 10px; color: var(--text); }
.service-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; }
.service-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.service-tags span {
    font-size: 0.72rem; font-weight: 500; padding: 4px 10px;
    background: #f5f5f7; border-radius: 6px; color: var(--text-muted);
}

.focus-section { background: #fff; padding-top: 0; }
.focus-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.focus-card {
    background: linear-gradient(180deg, #fff 0%, #f8faff 100%);
    border: 1px solid rgba(79,70,229,0.08); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow-sm);
}

.focus-eyebrow {
    display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.12em; color: var(--accent); margin-bottom: 14px;
}

.focus-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.focus-card p { font-size: 0.94rem; color: var(--text-muted); margin-bottom: 18px; }
.focus-list { display: flex; flex-direction: column; gap: 10px; }

.focus-list li {
    position: relative; padding-left: 18px; font-size: 0.9rem; color: var(--text);
}

.focus-list li::before {
    content: ''; position: absolute; left: 0; top: 0.65em; width: 7px; height: 7px;
    border-radius: 50%; background: var(--accent-light); transform: translateY(-50%);
}

.divisions-section { background: var(--bg-dark); color: #fff; }
.divisions-section .section-label { background: rgba(79,70,229,0.2); color: var(--accent-light); }
.divisions-section .section-title { color: #fff; }
.divisions-section .section-subtitle { color: rgba(255,255,255,0.5); }
.divisions-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }

.division-card {
    padding: 40px 36px; border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg); transition: all 0.4s var(--ease);
    position: relative; overflow: hidden;
}

.division-card:hover { border-color: rgba(79,70,229,0.4); transform: translateY(-4px); background: rgba(255,255,255,0.03); }
.division-number { font-size: 3rem; font-weight: 800; color: rgba(79,70,229,0.2); line-height: 1; margin-bottom: 16px; }
.division-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 12px; }
.division-card p { font-size: 0.9rem; color: rgba(255,255,255,0.5); line-height: 1.65; }

.division-line {
    position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-light));
    transition: width 0.6s var(--ease);
}

.division-card:hover .division-line { width: 100%; }

.process-steps { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 0; }

.process-step {
    display: flex; gap: 32px; align-items: flex-start; position: relative;
    padding: 40px 0;
}

.step-number {
    font-size: 1rem; font-weight: 800; color: var(--accent); width: 48px; height: 48px;
    border: 2px solid var(--accent); border-radius: 50%; display: flex;
    align-items: center; justify-content: center; flex-shrink: 0;
    background: #fff; position: relative; z-index: 2;
}

.step-content h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.step-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }

.step-connector {
    position: absolute; left: 23px; top: 88px; width: 2px; height: calc(100% - 48px);
    background: linear-gradient(180deg, var(--accent) 0%, rgba(79,70,229,0.1) 100%);
}

.process-step:last-child .step-connector { display: none; }

.statement-section { padding: 140px 0; background: #fff; }
.statement-content { max-width: 900px; margin: 0 auto; text-align: center; }

.statement-text {
    font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 400; line-height: 1.6;
    color: var(--text-muted); letter-spacing: -0.01em;
}

.statement-highlight {
    color: var(--text); font-weight: 600;
    background: linear-gradient(120deg, var(--accent-subtle) 0%, rgba(124,58,237,0.1) 100%);
    padding: 2px 8px; border-radius: 6px;
}

.statement-attribution { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 40px; }
.statement-line { width: 40px; height: 1px; background: var(--accent); }
.statement-attribution span { font-size: 0.85rem; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }

.marquee-section {
    padding: 32px 0; border-top: 1px solid rgba(0,0,0,0.04);
    border-bottom: 1px solid rgba(0,0,0,0.04); overflow: hidden;
    background: #fff;
}

.marquee-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }

.marquee-content {
    display: flex; align-items: center; gap: 32px; padding-right: 32px;
    font-size: 0.9rem; font-weight: 500; color: var(--text-muted); white-space: nowrap;
}

.marquee-dot { font-size: 0.5rem; color: var(--accent); opacity: 0.5; }

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.proof-section { background: linear-gradient(180deg, #fafafa 0%, #f5f7ff 100%); }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.proof-card {
    background: #fff; border: 1px solid rgba(79,70,229,0.1); border-radius: var(--radius-lg);
    padding: 32px; box-shadow: var(--shadow-sm); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.proof-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.proof-metric { display: inline-block; font-size: 2rem; font-weight: 800; letter-spacing: -0.04em; color: var(--accent); margin-bottom: 14px; }
.proof-card h3 { font-size: 1.08rem; margin-bottom: 10px; line-height: 1.35; }
.proof-card p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 18px; }
.proof-note { font-size: 0.78rem; font-weight: 600; color: var(--accent); }

.showcase-section { background: #fff; }
.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 64px; }
.showcase-card-large { grid-column: 1 / -1; }

.showcase-card {
    background: var(--bg); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-lg);
    overflow: hidden; transition: all 0.4s var(--ease);
}

.showcase-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.showcase-card-large { display: grid; grid-template-columns: 1.2fr 1fr; }
.showcase-visual { padding: 32px; display: flex; align-items: center; justify-content: center; }

.showcase-mockup {
    width: 100%; border-radius: 12px; background: #fff; border: 1px solid rgba(0,0,0,0.08);
    overflow: hidden; box-shadow: var(--shadow-md);
}

.mockup-bar {
    display: flex; gap: 5px; padding: 10px 14px; border-bottom: 1px solid rgba(0,0,0,0.05); background: #fafafa;
}

.mockup-bar span { width: 7px; height: 7px; border-radius: 50%; }
.mockup-bar span:nth-child(1) { background: #ff6b6b; }
.mockup-bar span:nth-child(2) { background: #ffd93d; }
.mockup-bar span:nth-child(3) { background: #6bcb77; }
.mockup-agent-flow { padding: 20px; text-align: center; }

.agent-node {
    display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px;
    background: var(--accent-subtle); border: 1.5px solid var(--accent);
    border-radius: 10px; font-size: 0.9rem; font-weight: 700; color: var(--accent);
    margin-bottom: 16px; position: relative;
}

.agent-pulse {
    position: absolute; top: -4px; right: -4px; width: 10px; height: 10px;
    background: #16a34a; border-radius: 50%; border: 2px solid #fff;
    animation: agentPulse 2s ease-in-out infinite;
}

@keyframes agentPulse {
    0%,100% { box-shadow: 0 0 0 0 rgba(22,163,74,0.4); }
    50% { box-shadow: 0 0 0 6px rgba(22,163,74,0); }
}

.agent-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }

.agent-task {
    display: flex; align-items: center; gap: 6px; padding: 8px 12px;
    background: #f8f9fb; border-radius: 8px; font-size: 0.75rem; font-weight: 500;
    color: var(--text-muted); transition: all 0.4s;
}

.agent-task.active-task { background: #dcfce7; color: #166534; border: 1px solid rgba(22,163,74,0.2); }
.task-text { flex: 1; text-align: left; }
.task-status { font-size: 0.65rem; color: #16a34a; font-weight: 700; }
.task-status.processing { animation: spin 1.5s linear infinite; color: var(--accent); font-size: 0.85rem; }

@keyframes spin {
    to { transform: rotate(360deg); }
}

.agent-task:nth-child(1) { animation: taskCycle 8s ease-in-out infinite; }
.agent-task:nth-child(2) { animation: taskCycle 8s ease-in-out 2s infinite; }
.agent-task:nth-child(3) { animation: taskCycle 8s ease-in-out 4s infinite; }
.agent-task:nth-child(4) { animation: taskCycle 8s ease-in-out 6s infinite; }

@keyframes taskCycle {
    0%,100% { background: #f8f9fb; }
    25% { background: var(--accent-subtle); }
    50% { background: #dcfce7; }
}

.agent-log {
    margin-top: 12px; text-align: left; padding: 10px 12px; background: #0d0d1a;
    border-radius: 8px; font-family: 'Courier New', monospace;
}

.log-line {
    font-size: 0.65rem; color: #6bcb77; line-height: 1.6;
    animation: logType 4s steps(40) infinite;
    overflow: hidden; white-space: nowrap;
}

.log-line:nth-child(2) { color: var(--accent-light); animation-delay: 2s; }

@keyframes logType {
    from { width: 0; }
    to { width: 100%; }
}

.task-icon { font-size: 0.85rem; }
.mockup-erp-ui { display: flex; height: 180px; }

.erp-sidebar {
    width: 44px; background: var(--bg-dark); border-right: 1px solid rgba(255,255,255,0.06);
    padding: 10px 6px; display: flex; flex-direction: column; gap: 6px;
}

.erp-nav-item { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.1); }
.erp-nav-item.active { background: var(--accent); }
.erp-main { flex: 1; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: #fafafa; }
.erp-chart { display: flex; align-items: flex-end; gap: 6px; flex: 1; }

.erp-bar {
    flex: 1; background: linear-gradient(to top, var(--accent), var(--accent-light));
    border-radius: 3px 3px 0 0; height: var(--bar-h, 50%);
    animation: barPulse 3s ease-in-out infinite; transform-origin: bottom;
}

.erp-bar:nth-child(2) { animation-delay: 0.3s; }
.erp-bar:nth-child(3) { animation-delay: 0.6s; }
.erp-bar:nth-child(4) { animation-delay: 0.9s; }
.erp-bar:nth-child(5) { animation-delay: 1.2s; }
.erp-bar:nth-child(6) { animation-delay: 1.5s; }

@keyframes barPulse {
    0%,100% { transform: scaleY(1); }
    50% { transform: scaleY(0.7); }
}

.erp-live-stats { display: flex; gap: 12px; }
.erp-stat { flex: 1; text-align: center; padding: 6px; background: #fff; border-radius: 6px; border: 1px solid rgba(0,0,0,0.05); }
.stat-num { display: block; font-size: 0.8rem; font-weight: 800; color: var(--text); }
.stat-num.up { color: #16a34a; }
.stat-lbl { font-size: 0.6rem; color: var(--text-muted); }

.mockup-web-ui { padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.web-nav-mock { height: 8px; background: #f0f0f3; border-radius: 4px; width: 60%; }

.web-hero-mock {
    height: 56px; background: linear-gradient(135deg, var(--accent-subtle), rgba(124,58,237,0.08));
    border-radius: 8px; position: relative; overflow: hidden; padding: 8px;
}

.web-visitors { display: flex; align-items: center; gap: 8px; }
.visitor-wave { width: 100px; height: 24px; }
.wave-path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawLine 3s ease-out forwards infinite; }

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

.visitor-count { font-size: 0.6rem; font-weight: 700; color: var(--accent); animation: countPulse 2s ease-in-out infinite; }

@keyframes countPulse {
    0%,100% { opacity: 0.7; }
    50% { opacity: 1; }
}

.web-cards-mock { display: flex; gap: 6px; }
.web-cards-mock span { flex: 1; height: 32px; background: #f5f5f7; border-radius: 6px; }
.web-revenue { display: flex; align-items: center; gap: 8px; }
.revenue-badge { font-size: 0.7rem; font-weight: 600; color: var(--text); }
.revenue-up { color: #16a34a; font-weight: 800; }
.revenue-line { width: 100px; height: 24px; }
.revenue-path { stroke-dasharray: 200; stroke-dashoffset: 200; animation: drawLine 4s ease-out 1s forwards infinite; }

.showcase-info { padding: 28px 32px; }

.showcase-tag {
    display: inline-block; font-size: 0.72rem; font-weight: 600; color: var(--accent);
    text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 8px;
}

.showcase-info h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.showcase-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; }

.testimonials { margin-top: 32px; }
.testimonial-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }

.testimonial-card {
    background: var(--bg); border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-lg);
    padding: 32px; transition: all 0.4s var(--ease);
}

.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.testimonial-stars { color: #f59e0b; font-size: 0.9rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-card > p { font-size: 0.92rem; color: var(--text); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }

.author-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--accent-subtle);
    color: var(--accent); display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 700;
}

.testimonial-author strong { display: block; font-size: 0.85rem; color: var(--text); }
.testimonial-author span { font-size: 0.78rem; color: var(--text-muted); }

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

.cta-card {
    position: relative; background: var(--bg-dark); border-radius: var(--radius-xl);
    padding: 72px 60px; text-align: left; overflow: hidden;
}

.cta-glow {
    position: absolute; width: 400px; height: 400px; border-radius: 50%;
    filter: blur(80px); pointer-events: none; opacity: 0.5;
}

.cta-glow-1 {
    top: -150px; left: 10%; background: rgba(79,70,229,0.4);
    animation: ctaOrb1 8s ease-in-out infinite;
}

.cta-glow-2 {
    bottom: -120px; right: 10%; background: rgba(124,58,237,0.35);
    animation: ctaOrb2 10s ease-in-out infinite;
}

.cta-glow-3 {
    top: 50%; left: 50%; transform: translate(-50%,-50%); width: 300px; height: 300px;
    background: rgba(99,102,241,0.25); animation: ctaOrb3 6s ease-in-out infinite;
}

@keyframes ctaOrb1 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    50% { transform: translate(60px, 30px) scale(1.2); opacity: 0.6; }
}

@keyframes ctaOrb2 {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate(-40px, -20px) scale(1.15); opacity: 0.55; }
}

@keyframes ctaOrb3 {
    0%, 100% { transform: translate(-50%,-50%) scale(0.8); opacity: 0.2; }
    50% { transform: translate(-50%,-50%) scale(1.3); opacity: 0.45; }
}

.cta-content { position: relative; z-index: 2; }
.cta-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 36px; align-items: start; }
.cta-copy h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; color: #fff; margin-bottom: 16px; letter-spacing: -0.02em; }
.cta-copy p { font-size: 1.02rem; color: rgba(255,255,255,0.72); margin-bottom: 28px; max-width: 520px; }
.cta-label { background: rgba(255,255,255,0.12); color: #dbe3ff; margin-bottom: 18px; }
.cta-points { display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }

.cta-points li {
    position: relative; padding-left: 18px; color: rgba(255,255,255,0.86); font-size: 0.95rem;
}

.cta-points li::before {
    content: ''; position: absolute; left: 0; top: 0.72em; width: 7px; height: 7px;
    border-radius: 50%; background: var(--accent-light); transform: translateY(-50%);
}

.cta-contact-meta {
    display: flex; flex-wrap: wrap; gap: 14px 24px; font-size: 0.82rem;
    letter-spacing: 0.02em; color: rgba(255,255,255,0.62);
}

.contact-form-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}

.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field span { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.04em; color: rgba(255,255,255,0.84); text-transform: uppercase; }

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%; border: 1px solid rgba(255,255,255,0.14); border-radius: 12px;
    background: rgba(10,10,25,0.55); color: #fff; padding: 14px 15px; font: inherit;
}

.form-field input::placeholder,
.form-field textarea::placeholder { color: rgba(255,255,255,0.42); }
.form-field select { appearance: none; }

.consent-field {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.86rem; line-height: 1.7; color: rgba(255,255,255,0.74);
}

.consent-field input {
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--accent-light);
}

.consent-field span {
    flex: 1 1 auto;
    min-width: 0;
}

.consent-field a,
.cta-legal-note a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

.form-trap {
    position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden;
}

.cta-buttons { display: flex; gap: 14px; justify-content: flex-start; flex-wrap: wrap; margin-top: 4px; }
.form-note { font-size: 0.82rem; color: rgba(255,255,255,0.6); line-height: 1.6; }
.form-note.success { color: #c7f9d3; }
.form-note.error { color: #ffd8d8; }
.cta-legal-note { font-size: 0.8rem; line-height: 1.7; color: rgba(255,255,255,0.62); }
.cta-section .btn-primary { background: #fff; color: var(--text); }
.cta-section .btn-primary:hover { background: var(--accent-light); color: #fff; }
.cta-section .btn-secondary { border-color: rgba(255,255,255,0.2); color: rgba(255,255,255,0.8); }
.cta-section .btn-secondary:hover { border-color: var(--accent-light); color: #fff; }

.faq-section { background: #fff; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.faq-card {
    background: #fff; border: 1px solid rgba(0,0,0,0.06); border-radius: var(--radius-lg);
    padding: 28px; box-shadow: var(--shadow-sm);
}

.faq-card h3 { font-size: 1.05rem; line-height: 1.4; margin-bottom: 12px; }
.faq-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.7; }

.footer { padding: 80px 0 40px; border-top: 1px solid rgba(0,0,0,0.06); background: var(--bg); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: var(--text); margin-bottom: 16px; }
.footer-logo .logo-icon { width: 24px; height: 24px; color: var(--accent); }
.footer-tagline { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; }
.footer-location { font-size: 0.82rem; color: var(--text-muted); opacity: 0.7; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text); margin-bottom: 20px; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 0.9rem; color: var(--text-muted); transition: color 0.3s; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 32px; border-top: 1px solid rgba(0,0,0,0.06);
    font-size: 0.82rem; color: var(--text-muted);
}

.footer-motto { font-style: italic; opacity: 0.6; }
