/* =========================================================================
   OdooGeek — Landing styles (odoo.com-inspired)
   -------------------------------------------------------------------------
   Palette: Odoo aubergine #714B67 + teal #00A09D, on clean white/lavender.
   Bilingual: .t-el / .t-en toggled by html[data-lang]. Buttons in main.js.
   ========================================================================= */

:root {
  --purple:     #714B67;   /* Odoo aubergine — primary */
  --purple-600: #5b3a52;
  --purple-700: #462d40;
  --purple-300: #9b7790;
  --teal:       #00a09d;   /* Odoo teal accent */
  --teal-600:   #017e84;
  --accent:     #ff6a3d;   /* coral — standout for ribbons/flags */
  --accent-600: #f24e23;

  --ink:        #2b2233;   /* headings */
  --text:       #45414e;
  --text-soft:  #6f6b7a;
  --text-faint: #9b96a6;
  --line:       #ece6ec;
  --bg:         #ffffff;
  --bg-soft:    #faf7f9;   /* lavender white */
  --bg-soft2:   #f4eef3;

  --on-dark:    rgba(255,255,255,.94);
  --on-dark-2:  rgba(255,255,255,.7);

  --grad-cta:   linear-gradient(135deg, #7d5273 0%, #714B67 100%);
  --grad-text:  linear-gradient(120deg, #714B67 0%, #00a09d 100%);
  --grad-soft:  radial-gradient(60% 90% at 80% -10%, #f3e9f0 0%, #ffffff 60%);

  --radius:     18px;
  --radius-lg:  26px;
  --radius-sm:  12px;
  --shadow:     0 18px 40px -24px rgba(43,34,51,.4);
  --shadow-lg:  0 40px 80px -34px rgba(43,34,51,.5);
  --ring:       0 0 0 4px rgba(113,75,103,.28);
  --container:  1140px;

  --font-display: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ---- Bilingual visibility ---- */
html[data-lang="el"] .t-en { display: none; }
html[data-lang="en"] .t-el { display: none; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text); background: var(--bg);
  line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.14; margin: 0 0 .4em; color: var(--ink); letter-spacing: -.02em; }
h1 { font-size: clamp(2.3rem, 4.5vw + 1rem, 3.9rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 2.4vw + 1rem, 2.6rem); font-weight: 700; }
h3 { font-size: 1.18rem; font-weight: 700; }
p { margin: 0 0 1rem; }
a { color: var(--teal-600); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--purple); }
img, svg, iframe { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto clamp(34px, 5vw, 56px); }
.kicker { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--purple); margin: 0 0 .6rem; }
.kicker.light { color: #e9c8e0; }
.section-sub { color: var(--text-soft); font-size: 1.08rem; }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--purple); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; }
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ---- Buttons ---- */
.btn {
  --pad: 13px 22px; display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 600; font-size: .98rem; padding: var(--pad);
  border-radius: 999px; border: 1px solid transparent; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-cta); color: #fff; box-shadow: 0 12px 26px -10px rgba(113,75,103,.6); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px -12px rgba(113,75,103,.7); }
.btn-ghost { background: #fff; color: var(--purple); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--purple); color: var(--purple-700); transform: translateY(-2px); }
.hero .btn-ghost { background: rgba(255,255,255,.7); }
.btn-sm { --pad: 9px 16px; font-size: .9rem; }
.btn-lg { --pad: 16px 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---- Header ---- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.85); backdrop-filter: blur(14px); border-bottom: 1px solid transparent; transition: box-shadow .25s ease, border-color .25s ease; }
.site-header.scrolled { box-shadow: var(--shadow); border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand-mark { display: grid; place-items: center; }
.brand-word { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.02em; }
.main-nav { display: flex; align-items: center; gap: 24px; }
.main-nav a { color: var(--text-soft); font-weight: 600; font-size: .98rem; }
.main-nav a:hover { color: var(--purple); }
.main-nav .nav-cta { color: #fff; }
.lang-toggle { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-toggle button { border: 0; background: #fff; color: var(--text-soft); font-family: var(--font-display); font-weight: 700; font-size: .8rem; padding: 6px 12px; cursor: pointer; transition: background .2s, color .2s; }
.lang-toggle button.active { background: var(--purple); color: #fff; }
.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---- Hero ---- */
.hero { position: relative; background: var(--grad-soft); overflow: hidden; isolation: isolate; text-align: center; }
.hero-inner { padding: clamp(48px, 7vw, 86px) 0 clamp(40px, 6vw, 70px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .4; }
.blob-1 { width: 460px; height: 460px; background: #d9b9d0; top: -160px; right: -60px; }
.blob-2 { width: 360px; height: 360px; background: #9fe3df; bottom: -120px; left: -80px; opacity: .3; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; color: var(--purple); background: #fff; border: 1px solid var(--line); padding: 7px 15px; border-radius: 999px; margin-bottom: 22px; box-shadow: var(--shadow); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.hero h1 { max-width: 16ch; margin-inline: auto; }
.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { color: var(--text-soft); font-size: 1.18rem; max-width: 44ch; margin: 18px auto 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-bottom: 44px; }

/* Video banner */
.video-banner { margin: 0; }
.video-frame { position: relative; padding-bottom: 56.25%; height: 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); background: #000; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-banner figcaption { margin-top: 14px; color: var(--text-soft); font-size: .92rem; }

/* ---- Card grid (services) ---- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card { background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .2s, box-shadow .2s, border-color .2s; }
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #e3cfdd; }
.svc-ico { display: inline-grid; place-items: center; width: 54px; height: 54px; font-size: 1.6rem; border-radius: 15px; background: linear-gradient(180deg, #f5ecf2, #efe2eb); margin-bottom: 16px; }
.svc-card h3 { margin-bottom: 6px; }
.svc-card p { color: var(--text-soft); font-size: .96rem; margin: 0; }

/* ---- Stats ---- */
.stats { background: var(--purple); color: #fff; padding: 46px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 800; color: #fff; }
.stat b span { font: inherit; color: inherit; }
.stat > span { color: #e7d4e2; font-size: .92rem; }

/* ---- Clients ---- */
.clients { background: var(--bg-soft); }
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-bottom: 44px; }
.client-logo { display: grid; place-items: center; min-width: 150px; height: 74px; padding: 0 22px; background: #fff; border: 1px solid var(--line); border-radius: 14px; font-family: var(--font-display); font-weight: 700; color: var(--purple-300); letter-spacing: .02em; transition: transform .2s, box-shadow .2s; }
/* why: real client logos are pre-baked to a single #714B67 silhouette and sit in the
   same card; cap by height (not width) so mixed aspect ratios read as one uniform wall. */
.client-logo__img { max-height: 40px; max-width: 124px; width: auto; object-fit: contain; display: block; }
.client-logo:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.client-cards { grid-template-columns: repeat(3, 1fr); }
.client-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; transition: transform .2s, box-shadow .2s; }
.client-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.client-card header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cc-logo { display: grid; place-items: center; width: 56px; height: 40px; background: var(--bg-soft2); border-radius: 8px; font-size: .72rem; font-weight: 700; color: var(--text-faint); }
.cc-tag { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-600); background: #e1f5f4; padding: 5px 10px; border-radius: 999px; }
.client-card h3 { margin-bottom: 6px; }
.client-card p { color: var(--text-soft); font-size: .94rem; margin: 0; }

/* ---- Integrations (logo wall, purple monochrome) ---- */
.integrations { background: var(--bg); }
.logos-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.logo-chip { flex: 0 1 190px; display: flex; align-items: center; justify-content: center; min-height: 104px; padding: 22px 16px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .2s, box-shadow .2s, border-color .2s; }
.logo-chip:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: #e3cfdd; }
.lc-logo { display: flex; align-items: center; justify-content: center; }
.lc-logo img { max-height: 44px; max-width: 150px; width: auto; object-fit: contain; }
.lc-wordmark { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: var(--purple); }

/* ---- Contact ---- */
.contact { background: var(--bg-soft); }
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; background: var(--purple); color: var(--on-dark); border-radius: var(--radius-lg); padding: clamp(30px, 4vw, 56px); }
.contact-card h2 { color: #fff; }
.contact .section-sub { color: var(--on-dark-2); }
.contact-call { color: var(--on-dark-2); }
.contact-call a { color: #fff; font-weight: 700; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-full { grid-column: 1 / -1; }
.contact-form label { font-size: .82rem; font-weight: 600; color: var(--on-dark-2); }
.contact-form input, .contact-form textarea { font-family: var(--font-body); font-size: 1rem; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 12px 14px; transition: border-color .2s, box-shadow .2s; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.55); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,160,157,.3); }
.contact-form .btn-block { grid-column: 1 / -1; margin-top: 4px; }
/* On the purple contact panel the submit goes teal for contrast. */
.contact-form .btn-primary { background: var(--teal); box-shadow: 0 12px 26px -10px rgba(0,160,157,.6); }
.contact-form .btn-primary:hover { background: var(--teal-600); }
.form-note { grid-column: 1 / -1; margin: 0; font-weight: 600; min-height: 1.2em; }
.form-note.ok { color: #b9f3ef; }
.form-note.err { color: #ffd0c4; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: var(--on-dark-2); padding: 60px 0 26px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.3fr; gap: 40px; }
.footer-brand .brand-word { color: #fff; font-size: 1.3rem; }
.footer-brand p { margin-top: 12px; max-width: 34ch; font-size: .94rem; }
.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--on-dark-2); padding: 5px 0; font-size: .94rem; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); }
.footer-bottom p { margin: 0; font-size: .85rem; color: var(--text-faint); }

/* ---- Odoo apps grid (official Community icons, original colours) ---- */
.odoo-apps { background: var(--bg); }
.odoo-apps-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 14px; }
.odoo-app { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 20px 10px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease; }
.odoo-app:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: #e3cfdd; }
.odoo-app img { width: 48px; height: 48px; object-fit: contain; }
.odoo-app span { font-family: var(--font-display); font-weight: 600; font-size: .8rem; color: var(--ink); line-height: 1.2; }

/* ---- Marketplace band ---- */
.market { position: relative; overflow: hidden; background: linear-gradient(135deg, #5b3a52, #714B67); color: #fff; text-align: center; }
/* why: corner ribbon flags the App Store presence as upcoming; coral pops on the purple. */
.ribbon-soon { position: absolute; top: 38px; right: -72px; width: 290px; transform: rotate(45deg); text-align: center; padding: 13px 0; background: linear-gradient(135deg, #ff3b30, #c81022); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: .18em; text-transform: uppercase; box-shadow: 0 14px 28px -8px rgba(0,0,0,.55); z-index: 4; }
.market-inner { max-width: 820px; margin-inline: auto; }
.market h2 { color: #fff; }
.market-stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 48px; margin: 26px 0 28px; }
.market-stat b { display: block; font-family: var(--font-display); font-size: clamp(1.9rem, 3vw, 2.7rem); font-weight: 800; }
.market-stat b sup { font-size: .5em; color: #e9c8e0; }
.market-stat span { color: #e7d4e2; font-size: .9rem; }
.market-note { margin: 14px 0 0; font-size: .8rem; color: #cbb0c5; }

/* ---- Customer profile (ICP) ---- */
.icp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.icp-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 20px 24px; text-align: center; transition: transform .2s, box-shadow .2s, border-color .2s; }
.icp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #e3cfdd; }
.icp-ic { display: grid; place-items: center; width: 60px; height: 60px; margin: 0 auto 16px; border-radius: 16px; background: linear-gradient(135deg, var(--purple), var(--teal)); color: #fff; box-shadow: 0 12px 24px -10px rgba(113,75,103,.6); }
.icp-ic svg { width: 30px; height: 30px; }
.icp-val { display: block; font-family: var(--font-display); font-weight: 800; font-size: 1.55rem; line-height: 1.12; background: linear-gradient(120deg, var(--purple), var(--teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icp-card h3 { font-size: .98rem; margin: .3rem 0 .45rem; }
.icp-card p { font-size: .84rem; color: var(--text-soft); margin: 0; }
.icp-card--accent { background: linear-gradient(180deg, #fff, var(--bg-soft2)); border-color: #d8c5d4; }
.icp-cta { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 38px; }
.icp-cta p { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--purple); }

/* ---- Odoo Community Member badge ---- */
.hero-badges { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 42px; padding: 10px 22px 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow); }
.hero-badges .odoo-badge { height: 48px; width: auto; display: block; }
.hero-badges__txt { font-size: .92rem; font-weight: 600; color: var(--text-soft); max-width: 20ch; text-align: left; line-height: 1.3; }
.footer-badge { display: inline-block; margin-top: 18px; background: #fff; border-radius: 12px; padding: 9px 13px; }
.footer-badge img { height: 52px; width: auto; display: block; }
/* Always-visible (fixed) Odoo Community Member badge — stays on screen while scrolling. */
.odoo-badge-float { position: fixed; right: 18px; top: 50%; transform: translateY(-50%); z-index: 60; display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.odoo-badge-float:hover { transform: translateY(-50%) scale(1.04); box-shadow: var(--shadow-lg); }
.odoo-badge-float img { display: block; height: 80px; width: auto; }
@media (max-width: 600px) { .odoo-badge-float { right: 12px; padding: 6px 9px; } .odoo-badge-float img { height: 56px; } }

@media (max-width: 960px) { .icp-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .icp-grid { grid-template-columns: repeat(2, 1fr); } .icp-cta { flex-direction: column; gap: 12px; } .hero-badges { flex-direction: column; gap: 8px; text-align: center; } .hero-badges__txt { text-align: center; max-width: 26ch; } }
.btn-light { background: #fff; color: var(--purple); }
.btn-light:hover { background: #fff; color: var(--purple-700); transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* ---- VIES ΑΦΜ prefix + optional-label hint (contact form, on purple) ---- */
.contact-form .opt { font-weight: 400; color: var(--on-dark-2); font-size: .92em; }
.input-group { display: flex; }
.input-group .prefix { display: flex; align-items: center; padding: 0 13px; font-family: var(--font-display); font-weight: 700; color: #fff; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.22); border-right: 0; border-radius: 10px 0 0 10px; }
.input-group input { border-radius: 0 10px 10px 0 !important; flex: 1; min-width: 0; }
.input-group:focus-within .prefix { border-color: var(--teal); }

/* ---- Stat sub-note (e.g. Odoo 8 → 19) ---- */
.stat small { display: block; font-weight: 400; font-size: .72em; opacity: .85; margin-top: 2px; }

/* ---- Reveal ---- */
[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---- Responsive ---- */
@media (max-width: 980px) {
  .card-grid, .client-cards { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: flex; }
  .main-nav { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 12px 20px 22px; box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .3s ease; z-index: 99; }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .lang-toggle { align-self: flex-start; margin: 12px 0 4px; }
  .main-nav .nav-cta { margin-top: 10px; }
  .contact-card { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 640px) {
  .card-grid, .client-cards { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .contact-form { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
