:root {
    --yellow: #F2E500;
    --yellow-soft: #FEF9B8;
    --green-light: #B8D934;
    --green-mid: #7BC142;
    --green-deep: #0E8A3F;
    --ink: #0A1F0A;
    --ink-60: #5A6A5A;
    --ink-30: #A8B3A8;
    --bg: #FFFFFF;
    --bg-soft: #F6F7F5;
    --bg-card: #FFFFFF;
    --border: #EAECE8;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --max-w: 1200px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--ink);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

a { color: inherit; }

.icon-sprite { display: none; }

/* ---------- Nav ---------- */
.nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 20px 32px;
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    background: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s var(--ease);
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
}
.brand {
    display: flex; align-items: center; gap: 12px;
    text-decoration: none; color: var(--ink);
}
.brand img { width: 36px; height: 36px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.brand-sub { font-size: 11px; color: var(--ink-60); font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 36px; }
.nav-links a {
    text-decoration: none; color: var(--ink); font-size: 14.5px; font-weight: 500;
    position: relative; transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--green-deep); }
.nav-links a::after {
    content: ''; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
    background: var(--green-deep); transition: width 0.25s var(--ease);
}
.nav-links a:hover::after { width: 100%; }
.nav-cta {
    padding: 10px 20px; background: var(--ink); color: white !important;
    border-radius: 10px; font-weight: 600;
    transition: transform 0.2s var(--ease), background 0.2s var(--ease);
}
.nav-cta:hover { background: var(--green-deep); transform: translateY(-1px); }
.nav-cta::after { display: none; }

/* ---------- Typography / shared ---------- */
h1, h2, h3 { letter-spacing: -0.03em; }
h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }

.eyebrow {
    display: inline-flex; align-items: center; gap: 10px;
    font-size: 12px; font-weight: 600; color: var(--green-deep);
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 24px;
}
.eyebrow-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--green-mid);
    box-shadow: 0 0 0 4px rgba(123, 193, 66, 0.2);
    animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(123, 193, 66, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(123, 193, 66, 0); }
}

.section {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 100px 32px;
}
.section-label {
    display: inline-block;
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    font-weight: 500;
    color: var(--ink-60);
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head h2 {
    font-size: clamp(2rem, 3.4vw, 2.8rem);
    margin-bottom: 16px;
}
.section-head p { color: var(--ink-60); font-size: 17px; }

.soft-band { background: var(--bg-soft); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 32px 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    overflow: hidden; pointer-events: none;
}
.dot-grid {
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, #E4E7E1 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
    opacity: 0.6;
}
.pixel-grid {
    position: absolute;
    top: 14%; right: 6%;
    display: grid;
    grid-template-columns: repeat(5, 22px);
    grid-template-rows: repeat(5, 22px);
    gap: 2px;
    opacity: 0.9;
    transform: rotate(-8deg);
}
.pixel {
    border-radius: 3px;
    animation: fadein 1s var(--ease) both;
}
@keyframes fadein {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

.hero-inner {
    position: relative; z-index: 1;
    max-width: var(--max-w); margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 80px;
    align-items: center;
}

h1.hero-title {
    font-size: clamp(2.5rem, 5.6vw, 4.6rem);
    font-weight: 800;
    line-height: 1.04;
    letter-spacing: -0.035em;
    margin-bottom: 24px;
    animation: rise 0.9s var(--ease) 0.2s both;
}
.hero-title .accent { color: var(--green-deep); }

@keyframes rise {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-sub {
    font-size: clamp(1.05rem, 1.35vw, 1.2rem);
    color: var(--ink-60);
    max-width: 560px;
    margin-bottom: 40px;
    animation: rise 1s var(--ease) 0.35s both;
}

.cta-row {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin-bottom: 56px;
    animation: rise 1s var(--ease) 0.5s both;
}

.btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 14px 24px;
    border-radius: 10px;
    font-family: inherit; font-size: 15px; font-weight: 600;
    text-decoration: none; border: none; cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}
.btn-primary {
    background: var(--ink); color: white;
    box-shadow: 0 6px 24px -8px rgba(10, 31, 10, 0.4);
}
.btn-primary:hover {
    background: var(--green-deep);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -8px rgba(14, 138, 63, 0.5);
}
.btn-primary .arrow { transition: transform 0.25s var(--ease); }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-secondary, .btn-ghost {
    background: transparent; color: var(--ink);
    border: 1.5px solid var(--border);
}
.btn-secondary:hover, .btn-ghost:hover {
    border-color: var(--ink); transform: translateY(-2px);
}
.btn-accent {
    background: white; color: var(--ink);
}
.btn-accent:hover { background: var(--green-light); transform: translateY(-2px); }
.btn-accent .arrow { transition: transform 0.25s var(--ease); }
.btn-accent:hover .arrow { transform: translateX(4px); }

.service-chips {
    display: flex; flex-wrap: wrap; gap: 10px;
    animation: rise 1s var(--ease) 0.65s both;
}
.chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 13px; font-weight: 500; color: var(--ink);
    transition: all 0.2s var(--ease);
}
.chip:hover { border-color: var(--green-mid); transform: translateY(-1px); }
.chip-dot { width: 7px; height: 7px; border-radius: 2px; }
.chip-dot.c1 { background: var(--green-deep); }
.chip-dot.c2 { background: var(--green-mid); }
.chip-dot.c3 { background: var(--green-light); }
.chip-dot.c4 { background: var(--yellow); }

.hero-visual {
    position: relative; aspect-ratio: 1;
    max-width: 520px; margin-left: auto;
    animation: rise 1.1s var(--ease) 0.4s both;
}
.visual-card {
    position: absolute;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: 0 20px 60px -20px rgba(10, 31, 10, 0.12);
    inset: 0;
}
.card-logo {
    width: 100%; aspect-ratio: 1;
    padding: 40px;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-soft);
    border-radius: var(--radius-md);
    overflow: hidden;
}
.card-logo img {
    width: 70%; height: auto;
    animation: float 5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ---------- Product: yekün ---------- */
.product-hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 48px;
    align-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 56px;
}

.product-logo {
    width: 56px; height: 56px;
    display: block;
    margin-bottom: 20px;
}

.product-status {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 11.5px; font-weight: 600; color: var(--green-deep);
    letter-spacing: 0.12em; text-transform: uppercase;
    margin-bottom: 20px;
}
.status-dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: var(--green-mid);
    box-shadow: 0 0 0 4px rgba(123, 193, 66, 0.2);
    animation: pulse 2.4s ease-in-out infinite;
}
.product-name {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 500; font-size: 14px;
    color: var(--green-deep);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}
.product-hero h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 18px;
}
.product-hero p.desc {
    color: var(--ink-60); font-size: 16.5px;
    margin-bottom: 28px;
}

.feature-list { list-style: none; margin-bottom: 28px; }
.feature-list li {
    display: flex; gap: 12px; align-items: flex-start;
    padding: 10px 0;
    font-size: 15px;
    color: var(--ink);
    border-bottom: 1px solid var(--border);
}
.feature-list li:last-child { border-bottom: none; }
.feature-list li .check {
    flex-shrink: 0;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    color: var(--green-deep);
    margin-top: 2px;
}

.stack-row {
    display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
    margin-bottom: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.stack-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px; color: var(--ink-60);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-right: 4px;
}
.stack-badge {
    padding: 5px 10px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 12.5px; font-weight: 500; color: var(--ink);
    font-family: 'JetBrains Mono', monospace;
}

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

.product-visual {
    position: relative;
    display: flex; gap: 14px; align-items: center;
}
.doc-mock {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 22px;
    flex: 1;
    box-shadow: 0 10px 40px -20px rgba(10, 31, 10, 0.2);
}
.doc-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 10.5px; color: var(--ink-60);
    text-transform: uppercase; letter-spacing: 0.08em;
    margin-bottom: 14px;
    display: flex; justify-content: space-between; align-items: center;
}
.doc-badge {
    padding: 3px 8px;
    background: var(--bg-soft);
    border-radius: 4px;
    font-size: 10px;
}
.doc-lines { display: flex; flex-direction: column; gap: 8px; }
.doc-line { height: 7px; background: var(--border); border-radius: 3px; }
.doc-line.short { width: 60%; }
.doc-line.mid { width: 85%; }
.doc-line.full { width: 100%; }
.doc-line.accent { background: var(--green-light); }

.arrow-stream {
    display: grid; place-items: center;
    color: var(--green-deep); flex-shrink: 0;
}
.arrow-stream svg {
    animation: pulse-arrow 2s ease-in-out infinite;
}
@keyframes pulse-arrow {
    0%, 100% { transform: translateX(0); opacity: 0.7; }
    50% { transform: translateX(4px); opacity: 1; }
}

.extracted {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    flex: 1;
    box-shadow: 0 10px 40px -20px rgba(10, 31, 10, 0.2);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12.5px;
}
.extract-row {
    display: flex; justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border);
}
.extract-row:last-child { border-bottom: none; }
.extract-key { color: var(--ink-60); }
.extract-val { color: var(--ink); font-weight: 500; }

/* ---------- Services ---------- */
.services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.service-card:hover { border-color: var(--green-mid); transform: translateY(-3px); }
.service-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: grid; place-items: center;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--green-deep);
    margin-bottom: 20px;
}
.service-card h3 { font-size: 20px; margin-bottom: 8px; }
.service-card p.svc-desc {
    font-size: 14.5px; color: var(--ink-60); margin-bottom: 18px;
}
.svc-list { list-style: none; font-size: 13.5px; color: var(--ink-60); }
.svc-list li {
    padding-left: 18px; position: relative;
    padding-bottom: 6px;
}
.svc-list li::before {
    content: ''; position: absolute;
    left: 0; top: 9px;
    width: 6px; height: 1.5px;
    background: var(--green-deep);
}

/* ---------- Projects ---------- */
.projects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.project-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px;
    display: flex; flex-direction: column;
    transition: border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.project-card:hover { border-color: var(--green-mid); transform: translateY(-3px); }
.project-sector {
    display: inline-flex; align-items: center; gap: 8px;
    align-self: flex-start;
    font-size: 11.5px; font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--green-deep);
    text-transform: uppercase;
    margin-bottom: 16px;
}
.project-sector .dot {
    width: 6px; height: 6px; border-radius: 2px;
    background: var(--green-mid);
}
.project-card h3 {
    font-size: 17px; margin-bottom: 8px; line-height: 1.3;
}
.project-card p {
    font-size: 14.5px; color: var(--ink-60); line-height: 1.55;
    margin-bottom: 20px; flex-grow: 1;
}
.project-meta {
    display: flex; justify-content: space-between; align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: var(--ink-60);
}
.project-tags {
    display: flex; flex-wrap: wrap; gap: 6px;
    margin-bottom: 16px;
}
.project-tag {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11.5px;
    padding: 3px 8px;
    background: var(--bg-soft);
    border-radius: 5px;
    color: var(--ink-60);
}
.kpi-pill { color: var(--green-deep); font-weight: 600; font-size: 12px; }

/* ---------- About ---------- */
.founder {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 64px;
    align-items: start;
}
.founder-card {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.avatar {
    width: 100%; aspect-ratio: 1;
    border-radius: var(--radius-md);
    background: var(--bg);
    border: 1px solid var(--border);
    display: grid; place-items: center;
    font-family: 'JetBrains Mono', monospace;
    font-size: 72px; font-weight: 500;
    color: var(--green-deep);
    margin-bottom: 24px;
    position: relative; overflow: hidden;
}
.avatar::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle, #EAECE8 1px, transparent 1px);
    background-size: 14px 14px;
    opacity: 0.5;
}
.avatar span { position: relative; z-index: 1; }
.founder-name { font-size: 22px; font-weight: 700; margin-bottom: 4px; }
.founder-role { font-size: 14px; color: var(--ink-60); margin-bottom: 20px; }
.founder-meta {
    display: flex; flex-direction: column; gap: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}
.meta-row {
    display: flex; align-items: center; gap: 10px;
    font-size: 13.5px; color: var(--ink-60);
}
.meta-row svg { flex-shrink: 0; color: var(--green-deep); }
.meta-row a { color: var(--ink); text-decoration: none; }
.meta-row a:hover { color: var(--green-deep); }
.founder-bio h2 {
    font-size: clamp(1.6rem, 2.6vw, 2.2rem);
    margin-bottom: 20px;
}
.founder-bio p {
    font-size: 16px; color: var(--ink-60); margin-bottom: 18px;
}
.founder-bio p strong { color: var(--ink); font-weight: 600; }
.founder-bio .stats { margin-top: 32px; }

/* ---------- Stats ---------- */
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}
.stat-num {
    font-size: clamp(2.4rem, 4.5vw, 3.6rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ink);
    line-height: 1;
    margin-bottom: 12px;
}
.stat-num .unit { color: var(--green-deep); }
.stat-label { font-size: 14px; color: var(--ink-60); max-width: 220px; }

/* ---------- Contact ---------- */
.contact-card {
    background: var(--ink);
    border-radius: var(--radius-lg);
    padding: 64px 48px;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
    background-size: 22px 22px; pointer-events: none;
}
.contact-card h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    margin-bottom: 16px; position: relative;
}
.contact-card p {
    color: rgba(255,255,255,0.7); font-size: 17px;
    margin-bottom: 40px;
    max-width: 600px; margin-left: auto; margin-right: auto;
    position: relative;
}
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 720px;
    margin: 0 auto 40px;
    position: relative;
}
.contact-item {
    padding: 20px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
}
.contact-item-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}
.contact-item-value {
    font-size: 15px;
    color: white;
    font-weight: 500;
    text-decoration: none;
    display: block;
    word-break: break-word;
}
.contact-item-value:hover { color: var(--green-light); }

/* ---------- Footer ---------- */
.footer {
    border-top: 1px solid var(--border);
    padding: 40px 32px;
    color: var(--ink-60);
    font-size: 13.5px;
}
.footer-inner {
    max-width: var(--max-w); margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px;
}
.footer a { color: var(--ink-60); text-decoration: none; margin-left: 20px; }
.footer a:first-of-type { margin-left: 0; }
.footer a:hover { color: var(--green-deep); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .hero-visual { max-width: 380px; margin: 0 auto; }
    .pixel-grid { display: none; }
    .product-hero { grid-template-columns: 1fr; gap: 36px; padding: 40px; }
    .services { grid-template-columns: 1fr; }
    .projects { grid-template-columns: repeat(2, 1fr); }
    .founder { grid-template-columns: 1fr; gap: 40px; }
    .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
    .nav { padding: 16px 20px; }
    .nav-links a:not(.nav-cta) { display: none; }
    .hero { padding: 110px 20px 80px; }
    .section { padding: 70px 20px; }
    .brand-sub { display: none; }
    .product-hero { padding: 28px; }
    .projects { grid-template-columns: 1fr; }
    .stats { grid-template-columns: 1fr; gap: 24px; }
    .product-visual { flex-direction: column; }
    .arrow-stream { transform: rotate(90deg); }
    .contact-card { padding: 44px 24px; }
}
