/* ==========================================================================
   Netchat — κοινά στυλ και σελίδα παρουσίασης
   Χρώματα: μπλε, γαλάζιο, άσπρο, πορτοκαλί
   ========================================================================== */

:root {
	--nc-blue: #1e5bd8;
	--nc-blue-dark: #0d2b6b;
	--nc-blue-mid: #3b7bf0;
	--nc-sky: #2fa8e0;
	--nc-sky-light: #eaf6fd;
	--nc-sky-soft: #cdeafa;
	--nc-white: #ffffff;
	--nc-orange: #ff8a1f;
	--nc-orange-dark: #f06a00;
	--nc-text: #13233f;
	--nc-muted: #5f6f8c;
	--nc-border: #dbe7f5;
	--nc-danger: #d93a3a;
	--nc-ok: #12945f;
	--nc-radius: 16px;
	--nc-radius-sm: 10px;
	--nc-shadow: 0 10px 30px rgba(13, 43, 107, .10);
	--nc-shadow-sm: 0 2px 8px rgba(13, 43, 107, .08);
	--nc-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Noto Sans", "Helvetica Neue", Arial, sans-serif;
	--safe-top: env(safe-area-inset-top, 0px);
	--safe-bottom: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
	margin: 0;
	font-family: var(--nc-font);
	font-size: 16px;
	line-height: 1.55;
	color: var(--nc-text);
	background: var(--nc-white);
	-webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }
a { color: var(--nc-blue); }
h1, h2, h3 { line-height: 1.2; color: var(--nc-blue-dark); }

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

/* ---------- Κουμπιά ---------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 44px; padding: 10px 20px;
	border: 2px solid transparent; border-radius: 999px;
	font: inherit; font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: background-color .15s, color .15s, border-color .15s, transform .1s, box-shadow .15s;
	-webkit-tap-highlight-color: transparent;
	touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn:focus-visible { outline: 3px solid var(--nc-sky); outline-offset: 2px; }
.btn[disabled] { opacity: .6; cursor: default; }
.btn-primary { background: var(--nc-blue); color: #fff; }
.btn-primary:hover { background: var(--nc-blue-dark); }
.btn-accent { background: var(--nc-orange); color: #fff; box-shadow: 0 6px 16px rgba(255, 138, 31, .35); }
.btn-accent:hover { background: var(--nc-orange-dark); }
.btn-light { background: #fff; color: var(--nc-blue); }
.btn-light:hover { background: var(--nc-sky-light); }
.btn-ghost { background: transparent; color: var(--nc-blue); border-color: var(--nc-border); }
.btn-ghost:hover { background: var(--nc-sky-light); }
.btn-lg { min-height: 54px; padding: 14px 28px; font-size: 17px; }
.btn-sm { min-height: 34px; padding: 6px 14px; font-size: 14px; }
.btn-block { display: flex; width: 100%; }
.btn.is-busy { position: relative; color: transparent !important; }
.btn.is-busy::after {
	content: ""; position: absolute; width: 18px; height: 18px;
	border: 2px solid rgba(255,255,255,.6); border-top-color: #fff; border-radius: 50%;
	animation: nc-spin .7s linear infinite;
}
.btn-ghost.is-busy::after, .btn-light.is-busy::after { border-color: var(--nc-sky-soft); border-top-color: var(--nc-blue); }
@keyframes nc-spin { to { transform: rotate(360deg); } }

/* ---------- Πάνω μπάρα ιστότοπου ---------- */
.nc-topbar {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255,255,255,.92);
	-webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--nc-border);
	padding-top: var(--safe-top);
}
.nc-topbar-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 12px; }
.nc-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--nc-blue-dark); font-size: 22px; letter-spacing: -.02em; }
.nc-brand strong { color: var(--nc-orange); }
.nc-brand img { border-radius: 10px; }
.nc-topnav { display: flex; gap: 8px; }
.nc-topnav .btn { min-height: 40px; padding: 8px 16px; }

/* ---------- Hero ---------- */
.nc-hero {
	position: relative;
	background: radial-gradient(1200px 500px at 85% -10%, rgba(47,168,224,.55), transparent 60%),
		linear-gradient(135deg, var(--nc-blue) 0%, var(--nc-blue-dark) 100%);
	color: #fff;
	padding: 56px 0 110px;
	overflow: hidden;
}
.nc-hero-inner { display: grid; gap: 40px; align-items: center; }
.nc-hero h1 { color: #fff; font-size: clamp(34px, 8vw, 58px); margin: 16px 0; letter-spacing: -.02em; }
.nc-lead { font-size: clamp(17px, 2.4vw, 20px); color: rgba(255,255,255,.88); max-width: 560px; }
.nc-pill { display: inline-block; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.25); font-size: 14px; font-weight: 600; }
.nc-hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.nc-hero-note { color: rgba(255,255,255,.75); font-size: 14px; }
.nc-wave { position: absolute; left: 0; bottom: -1px; width: 100%; height: 70px; fill: #fff; }

.nc-hero-visual { display: flex; justify-content: center; }
.nc-phone {
	width: 290px; border-radius: 36px; background: #fff; color: var(--nc-text);
	box-shadow: 0 30px 70px rgba(0,0,0,.35); border: 8px solid #0b1f4d; overflow: hidden;
	transform: rotate(-3deg);
}
.nc-phone-top { display: flex; align-items: center; gap: 8px; padding: 16px; background: var(--nc-blue); color: #fff; font-weight: 600; }
.nc-phone-top .nc-lock { margin-left: auto; }
.nc-dot { width: 30px; height: 30px; border-radius: 50%; background: var(--nc-orange); display: inline-block; }
.nc-phone-body { padding: 16px 12px; background: var(--nc-sky-light); display: flex; flex-direction: column; gap: 8px; min-height: 270px; }
.nc-bubble { max-width: 80%; padding: 9px 13px; border-radius: 18px; font-size: 14px; box-shadow: var(--nc-shadow-sm); }
.nc-bubble.in { background: #fff; align-self: flex-start; border-bottom-left-radius: 6px; }
.nc-bubble.out { background: var(--nc-blue); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.nc-phone-input { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--nc-border); }
.nc-phone-input span { flex: 1; height: 34px; border-radius: 999px; background: var(--nc-sky-light); }
.nc-phone-input b { width: 34px; height: 34px; border-radius: 50%; background: var(--nc-orange); color: #fff; display: grid; place-items: center; font-size: 14px; }

/* ---------- Ενότητες ---------- */
.nc-section { padding: 64px 0; }
.nc-section-alt { background: var(--nc-sky-light); }
.nc-section-title { text-align: center; font-size: clamp(28px, 5vw, 38px); margin: 0 0 12px; }
.nc-section-title.nc-left { text-align: left; }
.nc-section-sub { text-align: center; color: var(--nc-muted); max-width: 640px; margin: 0 auto 40px; font-size: 18px; }

.nc-features { display: grid; gap: 18px; grid-template-columns: 1fr; }
.nc-feature { background: #fff; border: 1px solid var(--nc-border); border-radius: var(--nc-radius); padding: 24px; box-shadow: var(--nc-shadow-sm); transition: transform .2s, box-shadow .2s; }
.nc-feature:hover { transform: translateY(-3px); box-shadow: var(--nc-shadow); }
.nc-feature-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 26px; background: linear-gradient(135deg, var(--nc-sky-soft), var(--nc-sky-light)); }
.nc-feature h3 { margin: 16px 0 8px; font-size: 19px; }
.nc-feature p { margin: 0; color: var(--nc-muted); }
.nc-feature:nth-child(3n+2) .nc-feature-icon { background: linear-gradient(135deg, #ffe2c7, #fff3e8); }

.nc-steps { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 18px; counter-reset: s; }
.nc-steps li { background: #fff; border-radius: var(--nc-radius); padding: 24px; box-shadow: var(--nc-shadow-sm); }
.nc-steps b { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--nc-orange); color: #fff; font-size: 18px; }
.nc-steps h3 { margin: 14px 0 6px; }
.nc-steps p { margin: 0; color: var(--nc-muted); }

.nc-security { display: grid; gap: 32px; align-items: center; }
.nc-checks { list-style: none; padding: 0; margin: 20px 0 0; }
.nc-checks li { position: relative; padding: 10px 0 10px 36px; border-bottom: 1px solid var(--nc-border); }
.nc-checks li::before { content: "✓"; position: absolute; left: 0; top: 10px; width: 24px; height: 24px; border-radius: 50%; background: var(--nc-sky-soft); color: var(--nc-blue); display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.nc-shield { display: flex; justify-content: center; }
.nc-shield img { filter: drop-shadow(0 20px 40px rgba(30,91,216,.35)); }

.nc-cta { background: linear-gradient(135deg, var(--nc-sky) 0%, var(--nc-blue) 100%); color: #fff; text-align: center; padding: 64px 0; }
.nc-cta h2 { color: #fff; font-size: clamp(26px, 5vw, 36px); margin: 0 0 24px; }
.nc-cta .btn { margin: 6px; }
.nc-ios-hint { margin-top: 16px; color: rgba(255,255,255,.9); }

/* ---------- Υποσέλιδο ---------- */
.nc-footer { background: var(--nc-blue-dark); color: rgba(255,255,255,.75); padding: 32px 0 calc(32px + var(--safe-bottom)); }
.nc-footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.nc-footer .nc-brand { color: #fff; font-size: 18px; }
.nc-footer-menu { list-style: none; display: flex; flex-wrap: wrap; gap: 16px; margin: 0; padding: 0; }
.nc-footer-menu a { color: rgba(255,255,255,.85); text-decoration: none; }
.nc-footer-copy { margin: 0; font-size: 14px; }

/* ---------- Απλές σελίδες ---------- */
.nc-page { padding: 48px 20px; }
.nc-article { max-width: 760px; margin: 0 auto; }
.nc-article h1 { font-size: clamp(28px, 5vw, 40px); }

/* ---------- Responsive ---------- */
@media (min-width: 700px) {
	.nc-features { grid-template-columns: repeat(2, 1fr); }
	.nc-steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
	.nc-hero { padding: 80px 0 140px; }
	.nc-hero-inner { grid-template-columns: 1.15fr .85fr; }
	.nc-features { grid-template-columns: repeat(3, 1fr); }
	.nc-steps { grid-template-columns: repeat(4, 1fr); }
	.nc-security { grid-template-columns: 1.3fr .7fr; }
}
@media (max-width: 420px) {
	.nc-topnav .btn-ghost { display: none; }
	.nc-hero-cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; }
}
