/* ============================================================
   Aurinto — front page
   ============================================================ */

/* ---------- Hero ---------- */

.hero {
    position: relative;
    padding: 84px 0 40px;
    overflow: hidden;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(720px 420px at 12% -10%, rgba(79, 70, 229, .10), transparent 60%),
        radial-gradient(640px 380px at 88% 0%, rgba(147, 51, 234, .08), transparent 60%),
        radial-gradient(520px 320px at 50% 110%, rgba(8, 145, 178, .07), transparent 60%);
    pointer-events: none;
}

.hero .container { position: relative; }

.hero-copy {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

.hero-chip { margin-bottom: 22px; }

.hero-chip svg { width: 14px; height: 14px; color: var(--violet); }

.hero h1 { margin-bottom: 20px; }

.hero h1 em {
    font-style: normal;
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero .lede {
    max-width: 620px;
    margin: 0 auto 32px;
    font-size: 1.18rem;
}

.hero-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-meta {
    margin-top: 18px;
    font-size: .85rem;
    color: var(--muted);
}

/* ---------- Dashboard mockup ---------- */

.hero-visual {
    position: relative;
    max-width: 1020px;
    margin: 56px auto 0;
}

.dashboard {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow-l);
    overflow: hidden;
}

.dash-chrome {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    background: var(--bg-soft);
}

.dash-chrome .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--line-strong);
}

.dash-chrome .dot:first-child { background: #f4a09c; }
.dash-chrome .dot:nth-child(2) { background: #f6d38b; }
.dash-chrome .dot:nth-child(3) { background: #a5d6a7; }

.dash-url {
    margin-left: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 4px 16px;
    font-size: .78rem;
    color: var(--muted);
}

.dash-live {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .76rem;
    font-weight: 600;
    color: var(--green);
}

.pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: au-pulse 1.8s ease-out infinite;
}

@keyframes au-pulse {
    0% { box-shadow: 0 0 0 0 rgba(5, 150, 105, .45); }
    70% { box-shadow: 0 0 0 7px rgba(5, 150, 105, 0); }
    100% { box-shadow: 0 0 0 0 rgba(5, 150, 105, 0); }
}

.dash-body { padding: 20px; }

.kpi-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 14px;
}

.kpi {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
}

.kpi-label {
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
}

.kpi-value {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -.02em;
    color: var(--ink);
    font-variant-numeric: tabular-nums;
}

.kpi-delta { font-size: .78rem; font-weight: 700; }
.kpi-delta.up { color: var(--green); }
.kpi-delta.down { color: var(--cyan); }

.dash-main {
    display: grid;
    grid-template-columns: 1.9fr 1.1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.dash-main > * { min-width: 0; }

.dash-chart, .dash-feed {
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px;
    background: #fff;
}

.dash-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-size: .86rem;
    color: var(--ink);
}

.dash-legend {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .74rem;
    color: var(--muted);
}

.dash-legend .lg {
    width: 14px;
    height: 3px;
    border-radius: 2px;
    display: inline-block;
}

.dash-legend .lg-rev { background: var(--primary); }
.dash-legend .lg-spend { background: var(--line-strong); margin-left: 10px; }

.chart { width: 100%; height: 160px; display: block; }

.grid-lines line { stroke: var(--bg-soft); stroke-width: 1.5; }

.line-rev {
    stroke: var(--primary);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-dasharray: 700;
    stroke-dashoffset: 700;
    animation: au-draw 1.8s .3s ease-out forwards;
}

.line-spend {
    stroke: var(--line-strong);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 4 6;
}

.area-rev { opacity: 0; animation: au-fade 1s 1.2s ease-out forwards; }

.chart-dot { fill: var(--primary); opacity: 0; animation: au-fade .4s 2s ease-out forwards; }

@keyframes au-draw { to { stroke-dashoffset: 0; } }
@keyframes au-fade { to { opacity: 1; } }

.dash-feed ul { list-style: none; margin: 0; padding: 0; }

.dash-feed li {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid var(--bg-soft);
    font-size: .8rem;
}

.dash-feed li:last-child { border-bottom: 0; }

.dash-feed .chip { flex: none; font-size: .7rem; padding: 3px 9px; }

.feed-txt {
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.feed-time { margin-left: auto; color: var(--muted); font-size: .72rem; flex: none; }

.dash-table {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    font-size: .84rem;
}

.dt-row {
    display: grid;
    grid-template-columns: 2fr 1fr .8fr .8fr .8fr;
    gap: 10px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--bg-soft);
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.dt-row:last-child { border-bottom: 0; }

.dt-row span:first-child { color: var(--ink); font-weight: 500; }

.dt-head {
    background: var(--bg-soft);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--muted);
}

.dt-head span:first-child { color: var(--muted); }

.pos { color: var(--green); font-weight: 700; }
.neg { color: var(--red); font-weight: 700; }

/* Floating cards */
.float-card {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow-m);
    padding: 14px 18px;
    animation: au-float 5.5s ease-in-out infinite;
}

.float-call { left: -70px; top: 46%; }
.float-ai { right: -56px; bottom: -26px; animation-delay: 2.6s; }

.float-txt { display: flex; flex-direction: column; }

.float-txt strong { font-size: .86rem; color: var(--ink); }

.float-txt small { font-size: .76rem; color: var(--muted); }

@keyframes au-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@media (max-width: 1240px) {
    .float-call { left: -8px; }
    .float-ai { right: -8px; }
}

@media (max-width: 900px) {
    .float-card { display: none; }
    .dash-main { grid-template-columns: 1fr; }
    .kpi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 560px) {
    .dash-table { display: none; }
    .dash-url { display: none; }
}

/* ---------- Problem ---------- */

.problem-card h3 { margin: 16px 0 8px; }
.problem-card p { font-size: .95rem; margin: 0; }

/* ---------- How it works ---------- */

.step {
    position: relative;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-l);
    padding: 28px;
    box-shadow: var(--shadow-s);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-weight: 800;
    font-size: 1.05rem;
    margin-bottom: 16px;
}

.step h3 { margin-bottom: 8px; }
.step p { font-size: .93rem; margin: 0; }

/* ---------- Pillars ---------- */

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

.pillar { grid-column: span 2; display: flex; flex-direction: column; }

.pillar:nth-child(4) { grid-column: 2 / span 2; }
.pillar:nth-child(5) { grid-column: 4 / span 2; }

.pillar h3 { margin: 16px 0 8px; }

.pillar p { font-size: .93rem; color: var(--text); flex: 1; }

.pillar .btn-line { margin-top: 14px; font-size: .9rem; }

@media (max-width: 980px) {
    .pillars { grid-template-columns: 1fr 1fr; }
    .pillar, .pillar:nth-child(4), .pillar:nth-child(5) { grid-column: auto; }
}

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

/* ---------- Deep dives ---------- */

.dives .dive {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    padding: 56px 0;
}

.dives .dive > * { min-width: 0; }

.dives .dive + .dive { border-top: 1px solid var(--line); }

.dive-flip .dive-copy { order: 2; }
.dive-flip .dive-visual { order: 1; }

.dive-copy h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }

.dive-copy p { color: var(--text); }

.dive-copy .check-list { margin-top: 18px; }

.dive-copy .btn-line { font-size: .95rem; }

@media (max-width: 900px) {
    .dives .dive { grid-template-columns: 1fr; gap: 32px; }
    .dive-flip .dive-copy { order: 1; }
    .dive-flip .dive-visual { order: 2; }
}

/* Shared mock panel */
.mock {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-m);
    padding: 22px;
}

.mock-head {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 16px;
}

/* Funnel mock */
.fm-row {
    display: grid;
    grid-template-columns: 64px 1fr 70px;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.fm-label { font-size: .82rem; font-weight: 600; color: var(--muted); }

.fm-bar {
    height: 26px;
    border-radius: 8px;
    background: var(--bg-soft);
    overflow: hidden;
}

.fm-bar i {
    display: block;
    height: 100%;
    width: var(--w, 50%);
    border-radius: 8px;
    background: var(--grad);
    opacity: .9;
}

.fm-row:nth-child(2) .fm-bar i { opacity: .75; }
.fm-row:nth-child(3) .fm-bar i { opacity: .6; }
.fm-row:nth-child(4) .fm-bar i { opacity: .5; }

.fm-val {
    font-size: .88rem;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.fm-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--line);
    margin-top: 18px;
    padding-top: 16px;
    font-size: .9rem;
    color: var(--muted);
}

.fm-total strong { font-size: 1.3rem; color: var(--green); letter-spacing: -.02em; }

/* Feed mock */
.feed-mock ul { list-style: none; margin: 0; padding: 0; }

.feed-mock li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bg-soft);
    font-size: .88rem;
    color: var(--text);
}

.feed-mock li:last-child { border-bottom: 0; }

.feed-mock .chip { flex: none; }

/* Calls mock */
.cm-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
    border-bottom: 1px solid var(--bg-soft);
}

.cm-row:last-child { border-bottom: 0; }

.cm-ic {
    width: 36px;
    height: 36px;
    flex: none;
    border-radius: 50%;
    background: var(--green-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23059669' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.86 19.86 0 0 1 11.19 19a19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E") center/16px no-repeat;
}

.cm-ic.missed {
    background-color: var(--red-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc2626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2A19.86 19.86 0 0 1 11.19 19a19.5 19.5 0 0 1-6-6A19.86 19.86 0 0 1 2.08 4.18 2 2 0 0 1 4.06 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.7 2.81a2 2 0 0 1-.45 2.11L8 9.91a16 16 0 0 0 6 6l1.27-1.27a2 2 0 0 1 2.11-.45c.91.34 1.85.57 2.81.7A2 2 0 0 1 22 16.92z'/%3E%3Cline x1='16' y1='4' x2='22' y2='10'/%3E%3Cline x1='22' y1='4' x2='16' y2='10'/%3E%3C/svg%3E");
}

.cm-txt { display: flex; flex-direction: column; min-width: 0; }

.cm-txt strong { font-size: .9rem; color: var(--ink); }

.cm-txt small {
    font-size: .78rem;
    color: var(--muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.cm-meta { margin-left: auto; text-align: right; display: flex; flex-direction: column; flex: none; }

.cm-meta b { font-size: .88rem; color: var(--ink); font-variant-numeric: tabular-nums; }

.cm-meta small { font-size: .78rem; font-weight: 700; }

/* Chat mock */
.chat-mock { display: flex; flex-direction: column; gap: 10px; }

.chat-b {
    max-width: 82%;
    padding: 10px 15px;
    border-radius: 14px;
    font-size: .9rem;
    line-height: 1.45;
}

.chat-b.in {
    align-self: flex-start;
    background: var(--bg-soft);
    color: var(--ink);
    border-bottom-left-radius: 4px;
}

.chat-b.out {
    align-self: flex-end;
    background: var(--primary);
    color: #fff;
    border-bottom-right-radius: 4px;
}

.chat-done {
    align-self: center;
    margin-top: 6px;
    font-size: .78rem;
    font-weight: 700;
    color: var(--green);
    background: var(--green-soft);
    border-radius: 999px;
    padding: 6px 14px;
}

/* ---------- Why band ---------- */

.why-band { padding-top: 40px; }

.why-inner {
    background: var(--bg-deep);
    border-radius: 24px;
    padding: 72px 48px;
    position: relative;
    overflow: hidden;
}

.why-inner::before {
    content: "";
    position: absolute;
    inset: -30%;
    background:
        radial-gradient(560px 300px at 15% 10%, rgba(124, 58, 237, .3), transparent 60%),
        radial-gradient(560px 300px at 85% 90%, rgba(8, 145, 178, .22), transparent 60%);
    pointer-events: none;
}

.why-inner > * { position: relative; }

.why-inner .section-head { margin-bottom: 40px; }

.why-inner h2 { color: #fff; }

.why-kicker { color: #b5aefc; }

.why-item h3 { color: #fff; font-size: 1.05rem; margin-bottom: 8px; }

.why-item p { color: #9fb3ca; font-size: .92rem; margin: 0; }

@media (max-width: 640px) {
    .why-inner { padding: 48px 24px; }
}

/* ---------- Integrations ---------- */

.int-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}

.int-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px 9px 10px;
    font-size: .92rem;
    font-weight: 600;
    color: var(--ink);
    box-shadow: var(--shadow-s);
}

.int-mono {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 30px;
    height: 30px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--primary-soft);
    color: var(--primary-deep);
    font-style: normal;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .02em;
}

/* CTA dark ghost button lives in reset.css (shared with product pages). */
