/* Stil Stüdyo look for the home page only (templates/index.html wraps the page in .stil). */
.stil {
	--kagit: #f4efe4;
	--kagit2: #ebe3d2;
	--murekkep: #15133c;
	--soluk: #5d5a7a;
	--vurgu: #4640ff;
	--mavi: #7ec1ff;
	--limon: #d5fa73;
	--mercan: #ff6b5b;
	font-family: "Space Grotesk", Inter, system-ui, sans-serif;
	color: var(--murekkep);
	background-color: var(--kagit) !important;
	background-image: radial-gradient(rgba(21,19,60,.07) 1px, transparent 1px) !important;
	background-size: 22px 22px !important;
}
.stil .aurora-blob { display: none; }

/* sections sit on the paper */
.stil section:not(#contact):not(#home) { background: transparent !important; }
.stil section .blur-2xl, .stil section .blur-3xl { display: none; }

/* type */
.stil h1, .stil h2 { font-family: Gloock, serif !important; font-weight: 400 !important; letter-spacing: -.01em; color: var(--murekkep) !important; }
.stil h2[class*="text-3xl"], .stil h2[class*="md:text-4xl"] { font-size: clamp(34px, 4vw, 52px) !important; line-height: 1.05 !important; }
.stil h2:not([class]) { font-size: 28px; line-height: 1.15; margin: 28px 0 8px; }
.stil h3, .stil h4 { color: var(--murekkep) !important; font-weight: 700 !important; }
.stil p, .stil [class*="text-gray-6"], .stil [class*="text-gray-5"], .stil [class*="text-[#475569]"] { color: var(--soluk); }
.stil .gradient-text {
	background: none !important; -webkit-text-fill-color: currentColor !important;
	color: var(--vurgu) !important; font-family: Caveat, cursive; font-weight: 700 !important; font-size: 1.45em;
}
.stil h2 .gradient-text { font-family: Gloock, serif; font-weight: 400 !important; font-size: 1em; position: relative; white-space: nowrap; }
.stil h2 .gradient-text::after { content: ""; position: absolute; left: -2%; right: -2%; bottom: .04em; height: .26em; background: var(--limon); z-index: -1; transform: rotate(-1.5deg); border-radius: 4px; }
.stil h2 { position: relative; z-index: 0; }
.stil [class*="text-[#032f5c]"], .stil [class*="text-[#00458a]"] { color: var(--vurgu) !important; }

/* header */
.stil > .relative > header:not(.g-ust) {
	background: rgba(244,239,228,.88) !important; border-bottom: 2px solid var(--murekkep) !important;
}
.stil header:not(.g-ust) img { filter: none !important; }
.stil header:not(.g-ust) .md\:flex > a {
	color: var(--murekkep) !important; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 2px solid transparent; margin-left: 0 !important;
}
.stil header:not(.g-ust) .md\:flex > a:hover { border-color: var(--murekkep); background: var(--limon); }
.stil header:not(.g-ust) .md\:flex { gap: 10px; }
.stil header:not(.g-ust) select, .stil header:not(.g-ust) #mobileMenuButton {
	background: #fff !important; border: 2px solid var(--murekkep) !important; border-radius: 999px !important; color: var(--murekkep) !important; font-weight: 700;
}
.stil header:not(.g-ust) a[href*="affiliate"], .stil header:not(.g-ust) a[href*="ortaklik"] {
	background: var(--limon); border: 2px solid var(--murekkep); border-radius: 999px !important; box-shadow: 3px 3px 0 var(--murekkep); color: var(--murekkep) !important;
}

/* hero: paper background, photo as a tilted framed card */
.stil #home { min-height: auto !important; padding: clamp(36px, 6vw, 80px) 0 40px; }
.stil #home > .absolute.inset-0 {
	inset: auto !important; position: absolute; right: clamp(16px, 4vw, 56px) !important; top: 50% !important; left: auto !important; bottom: auto !important;
	width: 40%; aspect-ratio: 4/3; transform: translateY(-50%) rotate(3deg);
	border: 3px solid var(--murekkep); border-radius: 18px; overflow: hidden; box-shadow: 8px 8px 0 var(--murekkep);
}
.stil #home > .absolute.inset-0 > div { display: none; }
.stil #home > .container > div { max-width: 56%; }
@media (max-width: 1023px) {
	.stil #home > .absolute.inset-0 { position: relative !important; display: block; top: 0 !important; right: 0 !important; transform: rotate(2deg); width: min(560px, 86%); margin: 0 auto 32px; }
	.stil #home { flex-direction: column-reverse; }
	.stil #home > .container > div { max-width: none; }
}
.stil #home h1 { font-size: clamp(44px, 6.4vw, 88px) !important; line-height: .98 !important; color: var(--murekkep) !important; }
.stil #home p { color: var(--murekkep) !important; font-size: 19px; }
.stil #home > .container span.rounded-full:first-child {
	background: var(--limon) !important; color: var(--murekkep) !important; border: 2px solid var(--murekkep) !important; transform: rotate(-2deg); backdrop-filter: none;
}
.stil #home span .bg-\[\#4798e9\], .stil #home a .bg-\[\#4798e9\] { background: var(--vurgu) !important; }
.stil #home .border-t { border-color: rgba(21,19,60,.2) !important; }
.stil #home .border-t > div { color: var(--murekkep) !important; font-weight: 600; }
.stil #home .border-t svg { color: var(--vurgu) !important; }

/* buttons */
.stil #home a[href="/#contact"], .stil #home a[href="/#services"], .stil #blog a.rounded-full, .stil .gradient-button-niotech {
	border: 2.5px solid var(--murekkep) !important; border-radius: 14px !important; box-shadow: 4px 4px 0 var(--murekkep) !important;
	font-weight: 700 !important; transition: transform .12s, box-shadow .12s !important; backdrop-filter: none !important; display: inline-flex; justify-content: center;
}
.stil #home a[href="/#contact"], .stil .gradient-button-niotech { background: var(--vurgu) !important; color: #fff !important; }
.stil #home a[href="/#services"], .stil #blog a.rounded-full { background: #fff !important; color: var(--murekkep) !important; }
.stil #home a[href="/#contact"]:hover, .stil #home a[href="/#services"]:hover, .stil #blog a.rounded-full:hover, .stil .gradient-button-niotech:hover {
	transform: translate(-2px, -2px) !important; box-shadow: 6px 6px 0 var(--murekkep) !important;
}

/* cards */
.stil .rounded-2xl:not(img), .stil .rounded-xl.niotech-card, .stil .service-card, .stil .niotech-card {
	background: #fff !important; border: 2.5px solid var(--murekkep) !important; border-radius: 18px !important;
	box-shadow: 5px 5px 0 var(--murekkep) !important; transition: transform .18s cubic-bezier(.3,1.6,.6,1), box-shadow .18s !important;
}
.stil .grid > .rounded-2xl:nth-child(3n+1), .stil .grid > .service-card:nth-child(3n+1), .stil .grid > .niotech-card:nth-child(3n+1) { transform: rotate(-.8deg); }
.stil .grid > .rounded-2xl:nth-child(3n+2), .stil .grid > .service-card:nth-child(3n+2), .stil .grid > .niotech-card:nth-child(3n+2) { transform: rotate(.6deg); }
.stil .grid > .rounded-2xl:hover, .stil .grid > .service-card:hover, .stil .grid > .niotech-card:hover {
	transform: rotate(0) translate(-3px, -4px) !important; box-shadow: 9px 9px 0 var(--vurgu) !important;
}
.stil .service-card > .absolute.inset-0 { display: none; }
.stil #blog .niotech-card .aspect-video { border-bottom: 2.5px solid var(--murekkep); }

/* icon bubbles */
.stil [class*="from-[#15133c]"][class*="to-[#00458a]"].rounded-full,
.stil .bg-\[\#e3effd\] {
	background: var(--limon) !important; color: var(--murekkep) !important; border: 2px solid var(--murekkep);
}
.stil .bg-\[\#e3effd\] svg, .stil [class*="from-[#15133c]"].rounded-full svg { color: var(--murekkep) !important; }
.stil .rounded-xl.bg-\[\#e3effd\] { border-radius: 12px !important; transform: rotate(-4deg); }

/* stats strip (the 4-cell grid after the CRM cards) */
.stil .grid > .bg-white.text-center { background: #fff !important; }
.stil .gap-px.rounded-2xl { background: var(--murekkep) !important; transform: rotate(-.4deg); }
.stil .gap-px.rounded-2xl > div { background: #fff !important; }
.stil .text-3xl.font-extrabold, .stil .text-2xl.font-bold.text-\[\#032f5c\] { font-family: Gloock, serif; font-weight: 400 !important; color: var(--vurgu) !important; }

/* about / tech chips */
.stil #about img, .stil #contact img, .stil section img.rounded-2xl {
	border: 3px solid var(--murekkep) !important; border-radius: 14px !important; box-shadow: 6px 6px 0 var(--murekkep) !important; transform: rotate(-2deg);
}
.stil #about span.rounded-full {
	background: #fff !important; color: var(--murekkep) !important; border: 2px solid var(--murekkep) !important; box-shadow: 3px 3px 0 var(--murekkep); font-weight: 600 !important;
}

/* contact: ink panel with paper form card */
.stil #contact { background: var(--murekkep) !important; border-top: 2px solid var(--murekkep); }
.stil #contact h2 { color: var(--kagit) !important; }
.stil #contact h2 + p, .stil #contact .text-slate-300 { color: #dfe2ff !important; }
.stil #contact span.rounded-full:first-child { background: var(--limon) !important; color: var(--murekkep) !important; border: 2px solid var(--kagit) !important; transform: rotate(-2deg); }
.stil #contact span.rounded-full:first-child > span { background: var(--vurgu) !important; }
.stil #contact img { border-color: var(--kagit) !important; box-shadow: 6px 6px 0 var(--limon) !important; }
.stil #contact .p-8.rounded-2xl { background: var(--kagit) !important; border: 3px solid var(--kagit) !important; box-shadow: 8px 8px 0 var(--vurgu) !important; transform: rotate(.6deg); }
.stil #contact label { color: var(--murekkep) !important; font-weight: 700 !important; }
.stil #contact .niotech-input {
	background: #fff !important; border: 2px solid var(--murekkep) !important; border-radius: 12px !important; color: var(--murekkep) !important; box-shadow: none !important;
}
.stil #contact .niotech-input:focus { outline: none; box-shadow: 3px 3px 0 var(--vurgu) !important; }

/* footer */
.stil footer { background: transparent !important; border-top: 2px solid var(--murekkep) !important; }
.stil footer .gradient-text { font-size: 2em; }

/* back to top */
.stil #backToTop, body:has(.stil) #backToTop {
	background: var(--limon) !important; color: var(--murekkep) !important; border: 2.5px solid var(--murekkep) !important; box-shadow: 4px 4px 0 var(--murekkep) !important;
}

/* service titles stay ink; the hover color class must not tint them */
.stil .service-card h3[class] { color: var(--murekkep) !important; }
.stil .service-card:hover h3[class] { color: var(--vurgu) !important; }

/* old theme hover glow (blue gradient layer) is off on the home page */
.stil .niotech-card-border-glow::before { display: none !important; }

/* other public pages (blog, pricing, terms, privacy, affiliate) */
.stil .absolute.inset-0.rounded-2xl, .stil section > .absolute.inset-0[class*="bg-gradient"] { display: none !important; }
.stil a[class*="bg-[#8A85FF]"], .stil a[class*="from-[#4640FF]"], .stil a[class*="bg-[#4640FF]"], .stil button[class*="from-[#4640FF]"], .stil button[class*="bg-[#4640FF]"] {
	background: var(--vurgu) !important; color: #fff !important; border: 2.5px solid var(--murekkep) !important; border-radius: 14px !important; box-shadow: 4px 4px 0 var(--murekkep) !important; font-weight: 700 !important;
}
.stil a[class*="border-purple"], .stil a[class*="border-[#4640FF]"], .stil a[class*="border-[#8A85FF]"] {
	background: #fff !important; color: var(--murekkep) !important; border: 2.5px solid var(--murekkep) !important; border-radius: 14px !important; box-shadow: 4px 4px 0 var(--murekkep) !important; font-weight: 700 !important;
}
.stil h1[class*="text-3xl"]:not(#home h1) { font-size: clamp(38px, 5vw, 64px) !important; line-height: 1.02 !important; }
.stil [class*="from-[#4640FF]"].rounded-full:not(a):not(button) { background: var(--limon) !important; color: var(--murekkep) !important; border: 2px solid var(--murekkep); }
.stil .prose p, .stil main p { line-height: 1.6; }
