/* Morphism homepage - shared pieces (studio hero: home-studio.css) */

.hero-eyebrow {
 font-family: var(--mono);
 font-size: 9px;
 font-weight: 400;
 letter-spacing: 0.22em;
 text-transform: uppercase;
 color: var(--violet);
 margin-bottom: 22px;
 display: inline-flex;
 align-items: center;
 gap: 10px;
 opacity: 0;
 transition: opacity 0.55s ease 0.12s;
 padding: 8px 16px;
 border-radius: 999px;
 border: 1px solid rgba(91, 61, 232, 0.18);
 background: rgba(255, 255, 255, 0.55);
 -webkit-backdrop-filter: blur(10px);
 backdrop-filter: blur(10px);
}

.hero-eyebrow.in { opacity: 1; }

.hero-title {
 font-family: var(--sans);
 font-size: clamp(40px, 5.4vw, 86px);
 font-weight: 800;
 line-height: 0.98;
 letter-spacing: -0.055em;
 color: var(--ink);
 text-align: left;
 margin: 0 0 22px;
 position: relative;
 z-index: 5;
 opacity: 0;
 transform: translateY(14px);
 transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s,
 transform 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.08s;
}

.hero-title.in { opacity: 1; transform: translateY(0); }

.hero-title em {
 font-style: italic;
 color: var(--violet);
}

.hero-studio .hero-title em {
 font-style: normal;
}

.hero-sub {
 font-family: var(--mono);
 font-size: clamp(13px, 1.2vw, 16px);
 font-weight: 300;
 line-height: 1.75;
 letter-spacing: 0.02em;
 color: #4b4b55;
 max-width: 520px;
 text-align: left;
 margin: 0 0 32px;
 opacity: 0;
 transform: translateY(14px);
 transition: opacity 0.6s ease 0.35s, transform 0.6s ease 0.35s;
}

.hero-sub.in { opacity: 1; transform: translateY(0); }

.hero-cta {
 display: flex;
 flex-wrap: wrap;
 align-items: center;
 gap: 14px;
 opacity: 0;
 transform: translateY(12px);
 transition: opacity 0.55s ease 0.55s, transform 0.55s ease 0.55s;
}

.hero-cta.in { opacity: 1; transform: translateY(0); }



.signal-stack {
 border-radius: var(--radius-lg, 20px);
 padding: 1px;
 background: linear-gradient(145deg, rgba(91,61,232,0.55), rgba(91,61,232,0.1) 40%, rgba(56,189,248,0.2));
 box-shadow: var(--shadow-float, 0 24px 80px rgba(91, 61, 232, 0.14));
 opacity: 0;
 transform: translateY(16px) scale(0.98);
 transition: opacity 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s,
 transform 0.65s cubic-bezier(0.22, 1, 0.36, 1) 0.2s;
}

.signal-stack.in {
 opacity: 1;
 transform: translateY(0) scale(1);
}

@media (prefers-reduced-motion: reduce) {
 .signal-stack { opacity: 1; transform: none; transition: none; }
}

.signal-inner {
 border-radius: calc(var(--radius-lg, 20px) - 1px);
 padding: 22px 20px 20px;
 background: rgba(255, 255, 255, 0.78);
 -webkit-backdrop-filter: blur(22px) saturate(1.35);
 backdrop-filter: blur(22px) saturate(1.35);
 border: 1px solid rgba(255, 255, 255, 0.7);
}

.ticker-section--edge {
 position: relative;
 padding: 20px 0;
 background: rgba(255, 255, 255, 0.65);
 -webkit-backdrop-filter: blur(8px);
 backdrop-filter: blur(8px);
 border-top: 1px solid rgba(18, 20, 28, 0.06);
 border-bottom: 1px solid rgba(18, 20, 28, 0.06);
}

.ticker-section--edge::before,
.ticker-section--edge::after {
 content: "";
 position: absolute;
 top: 0;
 bottom: 0;
 width: 80px;
 z-index: 2;
 pointer-events: none;
}

.ticker-section--edge::before {
 left: 0;
 background: linear-gradient(90deg, var(--canvas, #f6f4f1), transparent);
}

.ticker-section--edge::after {
 right: 0;
 background: linear-gradient(270deg, var(--canvas, #f6f4f1), transparent);
}

.products-section--bento {
 padding: 96px 0 120px;
 position: relative;
 background: var(--surface, #fff);
}

.products-head {
 display: flex;
 align-items: flex-end;
 justify-content: space-between;
 gap: 32px;
 flex-wrap: wrap;
}

.products-aside {
 max-width: 280px;
 text-align: right;
}

.products-aside-label {
 font-family: var(--mono);
 font-size: 9px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: var(--violet);
 margin-bottom: 8px;
}

.products-aside-body {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 300;
 line-height: 1.65;
 color: var(--ink-muted);
 letter-spacing: 0.03em;
}

.products-bento {
 display: grid;
 grid-template-columns: repeat(12, 1fr);
 gap: 18px;
 margin-top: 44px;
}

.product-card--bento {
 grid-column: span 12;
 border-radius: var(--radius-lg, 20px);
 border: 1px solid rgba(18, 20, 28, 0.07);
 background: linear-gradient(168deg, #ffffff 0%, #f8f7fd 100%);
 padding: 28px 28px 26px;
 display: flex;
 flex-direction: column;
 text-decoration: none;
 color: inherit;
 position: relative;
 overflow: hidden;
 min-height: 220px;
 transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.25s;
 box-shadow: var(--shadow-elevated, 0 4px 24px rgba(18, 20, 28, 0.06));
}

.product-card--bento::before {
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(ellipse 80% 80% at 100% 0%, rgba(91, 61, 232, 0.09), transparent 55%);
 opacity: 0;
 transition: opacity 0.35s ease;
 pointer-events: none;
}

.product-card--bento:hover {
 transform: translateY(-4px);
 border-color: rgba(91, 61, 232, 0.22);
 box-shadow: 0 20px 60px rgba(91, 61, 232, 0.12);
}

.product-card--bento:hover::before { opacity: 1; }

.product-card--bento:nth-child(1) { grid-column: span 7; min-height: 260px; }
.product-card--bento:nth-child(2) { grid-column: span 5; min-height: 260px; }
.product-card--bento:nth-child(3) { grid-column: span 12; min-height: auto; }

.pc-num {
 font-family: var(--mono);
 font-size: 9px;
 font-weight: 400;
 letter-spacing: 0.2em;
 color: var(--violet);
 margin-bottom: 20px;
 display: flex;
 align-items: center;
 gap: 10px;
}

.pc-num::after {
 content: "";
 flex: 1;
 height: 1px;
 background: linear-gradient(90deg, var(--border), transparent);
}

.pc-title {
 font-family: var(--sans);
 font-size: clamp(22px, 2.2vw, 28px);
 font-weight: 700;
 color: var(--ink);
 letter-spacing: -0.03em;
 margin-bottom: 12px;
 line-height: 1.12;
}

.pc-body {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 300;
 color: #5a5a64;
 line-height: 1.75;
 letter-spacing: 0.02em;
 flex: 1;
 margin-bottom: 22px;
}

.pc-tags {
 display: flex;
 flex-wrap: wrap;
 gap: 8px;
 margin-bottom: 20px;
}

.pc-tag {
 font-family: var(--mono);
 font-size: 9px;
 font-weight: 400;
 letter-spacing: 0.06em;
 color: var(--ink-muted);
 border: 1px solid rgba(18, 20, 28, 0.08);
 border-radius: 999px;
 padding: 5px 11px;
 background: rgba(255, 255, 255, 0.7);
}

.pc-link {
 font-family: var(--mono);
 font-size: 10px;
 font-weight: 500;
 letter-spacing: 0.14em;
 text-transform: uppercase;
 color: var(--violet);
 display: inline-flex;
 align-items: center;
 gap: 8px;
 transition: gap 0.25s ease;
}

.product-card--bento:hover .pc-link { gap: 14px; }

.stats-section {
 background: linear-gradient(180deg, #ede9f7 0%, #e8e4f2 40%, #f0ecf8 100%);
 padding: 96px 0;
 position: relative;
 overflow: hidden;
}

.stats-section::before {
 content: "";
 position: absolute;
 inset: 0;
 background-image: radial-gradient(rgba(91, 61, 232, 0.06) 1px, transparent 1px);
 background-size: 24px 24px;
 opacity: 0.5;
 pointer-events: none;
}

.stats-grid {
 display: grid;
 grid-template-columns: repeat(4, 1fr);
 gap: 16px;
 position: relative;
 z-index: 1;
}

.stat-card {
 padding: 32px 26px;
 border-radius: var(--radius-md, 12px);
 border: 1px solid rgba(255, 255, 255, 0.65);
 background: rgba(255, 255, 255, 0.72);
 -webkit-backdrop-filter: blur(12px);
 backdrop-filter: blur(12px);
 box-shadow: 0 8px 32px rgba(91, 61, 232, 0.08);
 position: relative;
 overflow: hidden;
}

.stat-card::after {
 content: "";
 position: absolute;
 top: 0;
 left: 0;
 right: 0;
 height: 2px;
 background: linear-gradient(90deg, transparent, var(--violet), transparent);
 opacity: 0.35;
}

.stat-value {
 font-family: var(--sans);
 font-size: clamp(40px, 4.5vw, 64px);
 font-weight: 800;
 letter-spacing: -0.05em;
 color: var(--ink);
 line-height: 1;
 margin-bottom: 10px;
}

.stat-accent { color: var(--violet); }

.stat-label {
 font-family: var(--mono);
 font-size: 9px;
 font-weight: 300;
 letter-spacing: 0.12em;
 text-transform: uppercase;
 color: var(--ink-muted);
 line-height: 1.55;
}

.how-section {
 background: linear-gradient(165deg, #0e1018 0%, #121528 45%, #0a0c12 100%);
 padding: 120px 0 140px;
 position: relative;
 overflow: hidden;
}

.how-section::before {
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(ellipse 70% 50% at 80% 20%, rgba(91, 61, 232, 0.15), transparent 60%);
 pointer-events: none;
}

.how-grid {
 display: grid;
 grid-template-columns: 1fr 1fr;
 gap: clamp(48px, 8vw, 100px);
 align-items: start;
 margin-top: 56px;
 position: relative;
 z-index: 1;
}

.how-step {
 display: grid;
 grid-template-columns: 52px 1fr;
 gap: 22px;
 padding: 28px 0;
 border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.how-step:last-child { border-bottom: none; }

.how-num {
 font-family: var(--mono);
 font-size: 9px;
 font-weight: 400;
 letter-spacing: 0.2em;
 color: #a78bfa;
 padding-top: 4px;
}

.how-title {
 font-family: var(--sans);
 font-size: 19px;
 font-weight: 700;
 color: #fff;
 letter-spacing: -0.02em;
 margin-bottom: 8px;
}

.how-body {
 font-family: var(--mono);
 font-size: 11px;
 font-weight: 300;
 color: rgba(200, 205, 220, 0.55);
 line-height: 1.75;
 letter-spacing: 0.02em;
}

.how-visual { position: sticky; top: 100px; }

.analysis-terminal {
 background: rgba(10, 12, 18, 0.85);
 border: 1px solid rgba(91, 61, 232, 0.28);
 border-radius: 14px;
 overflow: hidden;
 box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
 -webkit-backdrop-filter: blur(16px);
 backdrop-filter: blur(16px);
}

.at-header {
 padding: 12px 18px;
 border-bottom: 1px solid rgba(255, 255, 255, 0.06);
 display: flex;
 align-items: center;
 justify-content: space-between;
}

.at-title {
 font-family: var(--mono);
 font-size: 9px;
 letter-spacing: 0.2em;
 text-transform: uppercase;
 color: rgba(255, 255, 255, 0.35);
 display: flex;
 align-items: center;
 gap: 8px;
}

.at-body {
 padding: 18px 18px;
 font-family: var(--mono);
 font-size: 10px;
 line-height: 1.8;
 color: rgba(200, 205, 220, 0.45);
}

.at-row {
 display: flex;
 align-items: baseline;
 gap: 8px;
 padding: 5px 0;
 border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.at-row:last-child { border-bottom: none; }

.at-prompt { color: rgba(167, 139, 250, 0.85); flex-shrink: 0; }
.at-cmd { color: rgba(248, 250, 252, 0.82); }
.at-val {
 margin-left: auto;
 font-weight: 500;
 color: #c4b5fd;
}

.at-val.red { color: #fb7185; }

.at-progress {
 padding: 14px 18px;
 border-top: 1px solid rgba(91, 61, 232, 0.12);
}

.atp-label {
 font-family: var(--mono);
 font-size: 8px;
 letter-spacing: 0.16em;
 text-transform: uppercase;
 color: rgba(255, 255, 255, 0.25);
 margin-bottom: 8px;
 display: flex;
 justify-content: space-between;
}

.atp-track {
 height: 3px;
 background: rgba(255, 255, 255, 0.06);
 border-radius: 3px;
 overflow: hidden;
}

.atp-fill {
 height: 100%;
 width: 87%;
 background: linear-gradient(90deg, #5b3de8, #a78bfa);
 border-radius: 3px;
}

.home-cta {
 background: linear-gradient(165deg, #0c0e14 0%, #12141f 50%, #08090d 100%);
 padding: 120px 0 0;
 position: relative;
 overflow: hidden;
 text-align: center;
}

.home-cta::before {
 content: "";
 position: absolute;
 inset: 0;
 background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(91, 61, 232, 0.2), transparent 65%);
 pointer-events: none;
}

.cta-inner { position: relative; z-index: 5; padding-bottom: 88px; }

.cta-eyebrow {
 font-family: var(--mono);
 font-size: 9px;
 letter-spacing: 0.28em;
 text-transform: uppercase;
 color: rgba(196, 181, 253, 0.85);
 margin-bottom: 22px;
 display: flex;
 align-items: center;
 justify-content: center;
 gap: 12px;
}

.cta-eyebrow::before,
.cta-eyebrow::after {
 content: "";
 width: 48px;
 height: 1px;
 background: linear-gradient(90deg, transparent, rgba(167, 139, 250, 0.5));
}

.cta-eyebrow::after {
 background: linear-gradient(270deg, transparent, rgba(167, 139, 250, 0.5));
}

.cta-title {
 font-family: var(--sans);
 font-size: clamp(38px, 5vw, 76px);
 font-weight: 800;
 letter-spacing: -0.045em;
 color: #fff;
 line-height: 0.98;
 margin-bottom: 22px;
}

.cta-sub {
 font-family: var(--mono);
 font-size: 13px;
 font-weight: 300;
 color: rgba(200, 205, 220, 0.45);
 letter-spacing: 0.04em;
 margin-bottom: 40px;
 line-height: 1.75;
}

.footer-term-section {
 background: rgba(6, 7, 11, 0.95);
 border-top: 1px solid rgba(91, 61, 232, 0.15);
 padding: 40px 48px 56px;
 position: relative;
 z-index: 2;
}

.fts-prompt {
 font-family: var(--mono);
 font-size: 12px;
 color: rgba(248, 250, 252, 0.92);
 letter-spacing: 0.04em;
 margin-bottom: 6px;
}

.fts-output {
 font-family: var(--mono);
 font-size: 10px;
 color: rgba(167, 181, 210, 0.55);
 letter-spacing: 0.05em;
 line-height: 1.85;
 margin-bottom: 24px;
 min-height: 72px;
}

@media (max-width: 900px) {
 .hero-studio .hero-title,
 .hero-studio .hero-sub,
 .hero-studio .studio-signals-label {
 text-align: center;
 margin-left: auto;
 margin-right: auto;
 }
 .hero-studio .studio-chips {
 justify-content: center;
 }
 .hero-studio .hero-eyebrow {
 margin-left: auto;
 margin-right: auto;
 }
 .hero-studio .hero-cta {
 justify-content: center;
 }
 .products-bento .product-card--bento { grid-column: span 12 !important; min-height: 0; }
 .products-aside { text-align: left; max-width: none; }
 .products-head { flex-direction: column; align-items: flex-start; }
 .how-grid { grid-template-columns: 1fr; gap: 40px; }
 .how-visual { position: static; }
 .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
 .stats-grid { grid-template-columns: 1fr; }
}
