/* landing.css — claymorphism landing page for kuikar.com */

:root {
    --clay: #fbf3ea;
    --ink: #263332;
    --ink-soft: #5b6b69;
    --amber: #f59e1b;
    --amber-deep: #ea8510;
    --teal: #0e5d52;
    --shadow-out: 14px 14px 30px rgba(176, 142, 110, 0.38), -12px -12px 26px rgba(255, 255, 255, 0.95);
    --shadow-in: inset 2px 2px 3px rgba(255, 255, 255, 0.9), inset -3px -3px 6px rgba(176, 142, 110, 0.16);
    --surface: linear-gradient(145deg, #fffaf3 0%, #f5e8da 100%);
    --radius: 32px;
}

* { box-sizing: border-box; }

/* The same scrollbar the rest of the platform draws — a thin, fully round thumb of the page's own
   clay shadow on a clear track, and the amber the whole site answers to when you are on it. */
* {
    scrollbar-width: thin;
    scrollbar-color: rgba(176, 142, 110, 0.42) transparent;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-corner { background: transparent; }

::-webkit-scrollbar-thumb {
    border: 3px solid transparent;
    border-radius: 999px;
    background: rgba(176, 142, 110, 0.42);
    background-clip: content-box;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--amber-deep);
    background-clip: content-box;
}

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: "Nunito", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--ink);
    background: var(--clay);
    line-height: 1.55;
    overflow-x: hidden;
}

/* Subtle grain so flat colour reads as clay rather than paper. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.07;
    mix-blend-mode: multiply;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.clay-blobs { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.75;
}

.blob-a { width: 520px; height: 520px; top: -180px; left: -120px; background: #ffd79a; }
.blob-b { width: 460px; height: 460px; top: 30%; right: -160px; background: #cde9df; }
.blob-c { width: 520px; height: 520px; bottom: -220px; left: 30%; background: #f7c9b5; }

.nav, main, .footer { position: relative; z-index: 1; }

a { color: inherit; }

/* ---------- Navigation ---------- */

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1160px;
    margin: 0 auto;
    padding: 28px 24px 8px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 900;
    font-size: 24px;
    letter-spacing: -0.02em;
}

.brand img {
    border-radius: 12px;
    box-shadow: 6px 6px 14px rgba(240, 138, 18, 0.35), -4px -4px 10px rgba(255, 255, 255, 0.9);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 22px;
}

.nav-links > a:not(.clay-btn) {
    text-decoration: none;
    font-weight: 700;
    color: var(--ink-soft);
}

.nav-links > a:not(.clay-btn):hover { color: var(--ink); }

/* ---------- Clay buttons ---------- */

.clay-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 28px;
    border-radius: 999px;
    border: 0;
    background: var(--surface);
    box-shadow: var(--shadow-out), var(--shadow-in);
    color: var(--ink);
    font: inherit;
    font-weight: 800;
    font-size: 16px;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.clay-btn:hover { transform: translateY(-2px); }
.clay-btn:active {
    transform: translateY(1px) scale(0.99);
    box-shadow: inset 5px 5px 10px rgba(176, 142, 110, 0.35), inset -3px -3px 8px rgba(255, 255, 255, 0.9);
}

.clay-btn-primary {
    color: #4a2a00;
    background: linear-gradient(145deg, #ffbf45 0%, #f08a12 100%);
    box-shadow: 9px 9px 22px rgba(240, 138, 18, 0.38), -8px -8px 18px rgba(255, 255, 255, 0.95),
        inset 2px 2px 3px rgba(255, 255, 255, 0.55), inset -3px -3px 6px rgba(150, 70, 0, 0.18);
}

.clay-btn-sm { padding: 11px 20px; font-size: 15px; }

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

main { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

.hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
    padding: 56px 0 96px;
}

.eyebrow {
    display: inline-block;
    margin: 0 0 14px;
    padding: 8px 16px;
    border-radius: 999px;
    background: var(--surface);
    box-shadow: 6px 6px 14px rgba(176, 142, 110, 0.3), -6px -6px 14px rgba(255, 255, 255, 0.9), var(--shadow-in);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
}

.hero h1 {
    margin: 0;
    font-size: clamp(72px, 12vw, 150px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--ink);
    text-shadow: 3px 3px 0 rgba(255, 255, 255, 0.85), 8px 10px 22px rgba(176, 142, 110, 0.35);
}

.lede {
    max-width: 520px;
    margin: 24px 0 32px;
    font-size: 20px;
    color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }

/* Hero illustration: a clay phone with floating clay badges */

.hero-art {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 24px 0;
}

.clay-phone {
    position: relative;
    width: 260px;
    height: 470px;
    border-radius: 48px;
    background: linear-gradient(145deg, #fff8ee 0%, #efe0cf 100%);
    box-shadow: var(--shadow-out), var(--shadow-in);
    transform: rotate(-6deg);
}

.phone-notch {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 86px;
    height: 14px;
    border-radius: 999px;
    background: #e7d6c4;
    transform: translateX(-50%);
    box-shadow: inset 2px 2px 4px rgba(176, 142, 110, 0.35);
}

.phone-screen {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 58px 22px 24px;
}

.screen-row {
    height: 16px;
    width: 70%;
    border-radius: 999px;
    background: linear-gradient(145deg, #ffd9a3, #f3bd72);
    box-shadow: inset 2px 2px 4px rgba(176, 142, 110, 0.25), 2px 2px 4px rgba(255, 255, 255, 0.8);
}

.screen-row.wide { width: 100%; height: 58px; background: linear-gradient(145deg, #1c7f6f, #0e5d52); }
.screen-row.short { width: 45%; }

.screen-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-top: 8px;
}

.screen-grid span {
    height: 84px;
    border-radius: 20px;
    background: var(--surface);
    box-shadow: 7px 7px 14px rgba(176, 142, 110, 0.3), -6px -6px 12px rgba(255, 255, 255, 0.9), var(--shadow-in);
}

.screen-grid span:nth-child(2) { background: linear-gradient(145deg, #ffe3b5, #f7c77a); }

.clay-badge {
    position: absolute;
    display: flex;
    flex-direction: column;
    padding: 16px 20px;
    border-radius: 24px;
    background: var(--surface);
    box-shadow: var(--shadow-out), var(--shadow-in);
    animation: float 6s ease-in-out infinite;
}

.badge-total {
    right: 4%;
    top: 14%;
}

.badge-total small {
    font-size: 12px;
    font-weight: 700;
    color: var(--ink-soft);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.badge-total strong { font-size: 24px; font-weight: 900; color: var(--teal); }

.badge-chevrons {
    left: 6%;
    bottom: 10%;
    border-radius: 50%;
    padding: 16px;
    animation-delay: -3s;
}

.badge-chevrons img { display: block; border-radius: 14px; }

.float-dot {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(145deg, #ffd79a, #f3b56a);
    box-shadow: 6px 6px 12px rgba(176, 142, 110, 0.35), -5px -5px 10px rgba(255, 255, 255, 0.9);
    animation: float 7s ease-in-out infinite;
}

.dot-1 { width: 28px; height: 28px; left: 10%; top: 6%; }
.dot-2 { width: 18px; height: 18px; right: 10%; bottom: 22%; background: linear-gradient(145deg, #9fd7c8, #5eb2a0); animation-delay: -2s; }
.dot-3 { width: 22px; height: 22px; right: 22%; top: 42%; background: linear-gradient(145deg, #f7c9b5, #ee9c7c); animation-delay: -4.5s; }

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

/* ---------- Products ---------- */

.products { padding: 24px 0 96px; }

.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { margin: 0; font-size: clamp(32px, 5vw, 48px); font-weight: 900; letter-spacing: -0.03em; }

.cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.clay-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 32px 28px 28px;
    border-radius: var(--radius);
    background: var(--surface);
    box-shadow: var(--shadow-out), var(--shadow-in);
    transition: transform 0.2s ease;
}

.clay-card:hover { transform: translateY(-6px); }

.card-featured {
    background: linear-gradient(145deg, #ffffff 0%, #ffeccb 100%);
}

.card-icon {
    display: grid;
    place-items: center;
    width: 68px;
    height: 68px;
    margin-bottom: 22px;
    border-radius: 22px;
    color: #fff;
    background: linear-gradient(145deg, #ffbf45, #f08a12);
    box-shadow: 8px 8px 18px rgba(240, 138, 18, 0.4), -6px -6px 14px rgba(255, 255, 255, 0.9),
        inset 2px 2px 3px rgba(255, 255, 255, 0.5);
}

.card-icon svg { width: 32px; height: 32px; }
.icon-pos { background: linear-gradient(145deg, #1c7f6f, #0e5d52); box-shadow: 8px 8px 18px rgba(14, 93, 82, 0.4), -6px -6px 14px rgba(255, 255, 255, 0.9), inset 2px 2px 3px rgba(255, 255, 255, 0.35); }
.icon-jobs { background: linear-gradient(145deg, #f4a68c, #e2735a); box-shadow: 8px 8px 18px rgba(226, 115, 90, 0.4), -6px -6px 14px rgba(255, 255, 255, 0.9), inset 2px 2px 3px rgba(255, 255, 255, 0.5); }

.pill {
    align-self: flex-start;
    margin-bottom: 12px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 5px 5px 10px rgba(176, 142, 110, 0.28), -4px -4px 8px rgba(255, 255, 255, 0.9), inset 1px 1px 2px rgba(255, 255, 255, 0.8);
}

.pill-soon { color: #8a5200; background: linear-gradient(145deg, #ffe9c2, #ffd59a); }
.pill-live { color: #fff; background: linear-gradient(145deg, #1c7f6f, #0e5d52); }

.clay-card h3 { margin: 0 0 10px; font-size: 26px; font-weight: 900; letter-spacing: -0.02em; }
.clay-card p { margin: 0; color: var(--ink-soft); font-size: 16px; }

.card-address {
    margin-top: 18px;
    font-weight: 800;
    color: var(--ink);
}

.card-link { margin-top: 20px; align-self: flex-start; }

/* ---------- Footer ---------- */

.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 28px;
    max-width: 1160px;
    margin: 0 auto;
    padding: 32px 24px 48px;
}

.footer-brand { font-size: 20px; }
.footer-brand img { border-radius: 9px; box-shadow: 4px 4px 10px rgba(240, 138, 18, 0.3), -3px -3px 8px rgba(255, 255, 255, 0.9); }

.footer-links { display: flex; gap: 22px; }
.footer-links a { text-decoration: none; font-weight: 700; color: var(--ink-soft); }
.footer-links a:hover { color: var(--ink); }

.footer p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* ---------- Small screens ---------- */

@media (max-width: 960px) {
    .hero { grid-template-columns: 1fr; gap: 20px; padding: 40px 0 72px; text-align: center; }
    .hero-actions, .eyebrow { justify-content: center; }
    .lede { margin-left: auto; margin-right: auto; }
    .hero-art { margin-top: 24px; transform: scale(0.9); }
    .cards { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .nav { padding-top: 20px; }
    .nav-links { gap: 14px; }
    .nav-links > a:not(.clay-btn) { display: none; }
    .hero-art { transform: scale(0.78); margin: -10px 0 -40px; }
    .footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .clay-badge, .float-dot { animation: none; }
    html { scroll-behavior: auto; }
}
