/* ==========================================================================
   Athina — IT Consultancy & Software Development
   Deep-space / constellation design system (reference: fplus.ai)
   ========================================================================== */
:root {
  --bg:       #060e11;
  --bg-panel: #0d1a1e;
  --surface:  #0f1c20;
  --border:        rgba(255, 255, 255, 0.09);
  --border-strong: rgba(255, 255, 255, 0.18);

  --ink:      #f4faf9;
  --ink-dim:  #93a8ac;
  --ink-faint:#57696c;

  --teal:       #06849b;
  --teal-light: #37c6dd;
  --teal-pale:  #8fe4f2;

  --amber:  #f6b93b;
  --orange: #f0631f;
  --magenta:#c0116b;
  --blue:   #4a72c4;
  --cyan:   #4fc3e0;

  --font-head: "Sora", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;

  --container: 1180px;
  --radius-sm: 10px;
  --radius-md: 18px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
input, textarea { font: inherit; color: inherit; }

.section-inner { max-width: var(--container); margin: 0 auto; padding: 0 clamp(20px, 5vw, 56px); }
.eyebrow { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--teal-light); margin: 0 0 16px; }
.lede { color: var(--ink-dim); margin-top: 10px; max-width: 50ch; }
.accent { color: var(--teal-light); }

.btn-solid {
  position: relative;
  overflow: hidden;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 15px 28px; border-radius: var(--radius-sm);
  background: var(--teal); color: #04181c;
  font-family: var(--font-head); font-size: 14.5px; font-weight: 700;
  box-shadow: 0 10px 30px -12px rgba(6, 132, 155, 0.65);
  transition: background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn-solid::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: -60%;
  width: 40%;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  transition: left 0.7s var(--ease);
}
.btn-solid:hover::after { left: 130%; }
.btn-solid:hover { background: var(--teal-light); transform: translateY(-2px); box-shadow: 0 16px 36px -12px rgba(55,198,221,0.6); }

/* ==========================================================================
   Particle network canvas
   ========================================================================== */
.net-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ==========================================================================
   Progress bar
   ========================================================================== */
.progress-bar { position: fixed; top: 0; left: 0; height: 2px; width: 0%; background: linear-gradient(90deg, var(--teal), var(--teal-light)); z-index: 200; }

/* ==========================================================================
   Header — minimal, menu-toggle only
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 110;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px clamp(20px, 5vw, 56px);
}
.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { width: 22px; height: auto; }
.brand-word { font-family: var(--font-head); font-weight: 700; font-size: 16px; letter-spacing: 0.06em; color: var(--ink); }

.menu-toggle {
  display: flex;
  align-items: center;
  gap: 12px;
}
.menu-toggle-label { font-family: var(--font-head); font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); }
.menu-toggle-lines { display: flex; flex-direction: column; gap: 5px; width: 26px; }
.menu-toggle-lines i { display: block; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform 0.35s var(--ease), width 0.35s var(--ease), opacity 0.35s var(--ease); }
.menu-toggle-lines i:first-child { width: 26px; }
.menu-toggle-lines i:last-child { width: 16px; align-self: flex-end; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:first-child { transform: translateY(3.25px) rotate(45deg); width: 24px; }
.menu-toggle[aria-expanded="true"] .menu-toggle-lines i:last-child { transform: translateY(-3.25px) rotate(-45deg); width: 24px; }

/* ==========================================================================
   Full-screen menu overlay
   ========================================================================== */
.full-menu {
  position: fixed;
  inset: 0;
  z-index: 105;
  background: rgba(6, 12, 14, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(24px, 8vw, 100px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), visibility 0.5s;
}
.full-menu.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.full-menu nav { display: flex; flex-direction: column; gap: 6px; }
.full-menu nav a {
  font-family: var(--font-head);
  font-size: clamp(38px, 8vw, 84px);
  font-weight: 700;
  color: var(--ink-dim);
  letter-spacing: -0.02em;
  opacity: 0;
  transform: translateX(-24px);
  transition: color 0.3s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.full-menu.is-open nav a { opacity: 1; transform: translateX(0); }
.full-menu nav a:hover { color: var(--teal-light); transform: translateX(10px); }
.full-menu-foot {
  margin-top: 60px;
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  opacity: 0;
  transform: translateY(12px);
}
.full-menu.is-open .full-menu-foot { opacity: 1; transform: translateY(0); transition: opacity 0.6s var(--ease) 0.35s, transform 0.6s var(--ease) 0.35s; }
.full-menu-foot a { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink); }
.full-menu-foot a:hover { color: var(--teal-light); }
.full-menu-social { display: flex; gap: 20px; margin-left: auto; }
.full-menu-social a { color: var(--ink-dim); font-size: 13px; }
@media (max-width: 700px) {
  .full-menu-foot { flex-direction: column; align-items: flex-start; gap: 14px; }
  .full-menu-social { margin-left: 0; }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 6vw, 80px);
  perspective: 1400px;
}
.hero-inner {
  max-width: 1100px;
  transform: rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg));
  transition: transform 0.4s var(--ease);
  animation: hero-in 1s var(--ease) both;
}
@keyframes hero-in {
  from { opacity: 0; transform: translateY(28px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
  to { opacity: 1; transform: translateY(0) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)); }
}
.hero-word {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: clamp(64px, 14vw, 190px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0;
  transform: translate3d(var(--shift-x, 0px), var(--shift-y, 0px), 40px);
  transition: transform 0.4s var(--ease);
}
.hero-word-accent {
  background: linear-gradient(100deg, var(--teal-pale) 0%, var(--teal-light) 40%, var(--teal) 70%, var(--teal-light) 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer { 0%, 100% { background-position: 0% 0%; } 50% { background-position: 100% 0%; } }
@media (prefers-reduced-motion: reduce) { .hero-word-accent { animation: none; } }
.hero-tag {
  font-family: var(--font-head);
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 600;
  color: var(--ink);
  margin: 18px 0 22px;
  animation: hero-in 1s var(--ease) both;
  animation-delay: 0.12s;
}
.hero-cats {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--teal-light);
  display: inline-block;
  animation: hero-in 1s var(--ease) both;
  animation-delay: 0.22s;
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 6vw, 80px);
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.scroll-arrow { display: inline-block; animation: bob 1.8s ease-in-out infinite; color: var(--teal-light); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { .scroll-arrow { animation: none; } }

/* ==========================================================================
   Reveal-on-scroll
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in-view { opacity: 1; transform: translateY(0); }

/* big-list rows alternate their entrance direction for a bit more energy */
.big-row.reveal { transform: translateX(-26px); }
.big-row.reveal:nth-child(even) { transform: translateX(26px); }
.big-row.reveal.in-view { transform: translateX(0); }

/* content sections sit above canvas */
.philosophy, .stats, .approach, .services, .work, .insights, .contact, .site-footer { position: relative; z-index: 1; background: var(--bg); }

/* ==========================================================================
   Philosophy
   ========================================================================== */
.philosophy { padding: 130px 0; text-align: center; }
.statement { font-size: clamp(24px, 3.6vw, 42px); line-height: 1.32; max-width: 900px; margin: 0 auto 26px; }
.statement .accent { display: block; margin-top: 6px; }
.statement-body { max-width: 620px; margin: 0 auto; color: var(--ink-dim); font-size: 16.5px; }

/* ==========================================================================
   Stats
   ========================================================================== */
.stats { padding: 50px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; }
.stat { padding: 10px 20px; border-left: 1px solid var(--border); }
.stat:first-child { border-left: none; }
.stat-num, .stat-suffix { font-family: var(--font-head); font-size: clamp(32px, 4.2vw, 50px); font-weight: 700; color: var(--ink); }
.stat-suffix { color: var(--teal-light); }
.stat p { margin-top: 8px; color: var(--ink-dim); font-size: 13.5px; }
@media (max-width: 700px) { .stats-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; } .stat:nth-child(2n+1) { border-left: none; } }

/* ==========================================================================
   Big list — approach / services / work rows
   ========================================================================== */
.approach { padding: 130px 0 60px; }
.services { padding: 60px 0; }
.work { padding: 60px 0 130px; }
.approach h2, .services h2, .work h2 { font-size: clamp(28px, 4.4vw, 46px); max-width: 16ch; }

.big-list { margin-top: 56px; border-top: 1px solid var(--border); }
.big-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 32px;
  padding: 34px 0 34px 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.35s var(--ease), padding-left 0.35s var(--ease), border-color 0.35s var(--ease);
}
.big-row::before {
  content: "";
  position: absolute;
  left: -20px; top: 0; bottom: 0;
  width: 3px;
  background: var(--teal-light);
  transform: scaleY(0);
  transition: transform 0.35s var(--ease);
}
.big-row:hover, .big-row.is-active {
  background: rgba(55, 198, 221, 0.045);
  padding-left: 20px;
  border-color: var(--border-strong);
}
.big-row:hover::before, .big-row.is-active::before { transform: scaleY(1); }
.big-num {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--teal-light);
  width: 34px;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.big-row:hover .big-num, .big-row.is-active .big-num { transform: scale(1.15); color: var(--teal-pale); }
.big-row-body { flex: 1; min-width: 0; }
.big-row-body h3 {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 600;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.big-row-body h3::after {
  content: "\2192";
  opacity: 0;
  transform: translateX(-8px);
  color: var(--teal-light);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  font-weight: 500;
}
.big-row:hover .big-row-body h3::after, .big-row.is-active .big-row-body h3::after { opacity: 1; transform: translateX(0); }
.big-row:hover .big-row-body h3, .big-row.is-active .big-row-body h3 { color: var(--teal-light); }
.big-row-body p { color: var(--ink-dim); font-size: 15px; margin-top: 10px; max-width: 60ch; }

.service-row { align-items: flex-start; }
.service-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: rgba(55, 198, 221, 0.1);
  color: var(--teal-light);
}
.service-icon svg { width: 22px; height: 22px; }

.work-tags { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex-shrink: 0; padding-top: 4px; }
.work-tags span { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-faint); white-space: nowrap; }
@media (max-width: 700px) {
  .big-row { flex-wrap: wrap; gap: 16px; }
  .work-tags { flex-direction: row; align-items: flex-start; padding-left: 66px; }
}

/* ==========================================================================
   Insights
   ========================================================================== */
.insights { padding: 60px 0 130px; }
.insights h2 { font-size: clamp(28px, 4.4vw, 46px); }
.insights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.insight-item { border-top: 1px solid var(--border); padding-top: 22px; }
.insight-tag { font-family: var(--font-head); font-size: 11px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--teal-light); }
.insight-item h3 { font-size: 19px; margin: 12px 0 10px; line-height: 1.35; }
.insight-item p { color: var(--ink-dim); font-size: 14px; line-height: 1.6; }
@media (max-width: 860px) { .insights-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { padding: 130px 0 140px; }
.contact-title { font-size: clamp(30px, 5vw, 56px); line-height: 1.12; margin: 6px 0 20px; max-width: 14ch; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 56px; padding-top: 50px; border-top: 1px solid var(--border); }
.contact-details { display: flex; flex-direction: column; gap: 12px; }
.contact-details a { font-family: var(--font-head); font-size: 20px; font-weight: 700; color: var(--teal-light); }
.contact-details a:hover { color: var(--teal-pale); }
.contact-details span { color: var(--ink-faint); font-size: 13.5px; margin-top: 4px; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: flex; flex-direction: column; gap: 8px; }
.form-row label { font-size: 12px; font-weight: 600; color: var(--ink-dim); text-transform: uppercase; letter-spacing: 0.04em; }
.form-row input, .form-row textarea {
  background: transparent; border: none; border-bottom: 1px solid var(--border-strong);
  padding: 10px 0; color: var(--ink); transition: border-color 0.3s var(--ease); resize: vertical;
}
.form-row input:focus, .form-row textarea:focus { outline: none; border-color: var(--teal-light); }
.form-submit { margin-top: 6px; align-self: flex-start; }
.form-note { font-size: 12px; color: var(--ink-faint); margin-top: -8px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--border); padding: 44px 0 26px; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 24px; padding-bottom: 28px; }
.footer-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-nav a { font-size: 13.5px; color: var(--ink-dim); transition: color 0.25s var(--ease); }
.footer-nav a:hover { color: var(--ink); }
.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 13px; color: var(--ink-dim); transition: color 0.25s var(--ease); }
.footer-social a:hover { color: var(--teal-light); }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: var(--ink-faint); border-top: 1px solid var(--border); padding-top: 20px; }
.footer-legal { display: flex; gap: 18px; }
.footer-legal a:hover { color: var(--ink-dim); }
