/* ==============================
   PhotoFlow App Theme (dark + green)
   ============================== */
:root{
  --bg0:#05080d;
  --bg1:#0a0f18;

  --panel:#0c1422;
  --panel2:#0f1b2d;

  --line: rgba(255,255,255,0.08);
  --line2: rgba(36,209,127,0.22);

  --text:#e8f0ff;
  --muted:#a6b3c6;

  --accent:#24d17f;
  --accent2:#19b86c;
  --accentGlow: rgba(36,209,127,.22);

  --radius: 18px;
  --radiusSm: 14px;

  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --shadowSm: 0 10px 26px rgba(0,0,0,.35);
}

html, body{ height:100%; }

body{
  margin:0;
  color: var(--text);
  background:
    radial-gradient(1000px 600px at 15% -10%, rgba(36,209,127,.10), transparent 60%),
    radial-gradient(900px 500px at 85% 0%, rgba(90,150,255,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


:root{
  --bg:#0b0f14;
  --panel:#101826;
  --text:#e9eef6;
  --muted:#a9b4c3;
  --line:#1b2a3d;
  --accent:#24d17f;
}
*{box-sizing:border-box}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
.container{width:min(1100px, 92%); margin:0 auto}

.topbar{
  position:sticky; top:0; z-index:10;
  background:rgba(11,15,20,0.85);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}
.brand{font-weight:800; letter-spacing:0.3px}
.nav{display:flex; gap:14px; color:var(--muted); font-size:14px; flex-wrap:wrap}
.nav a:hover{color:var(--text)}

.hero{padding:44px 0 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap:28px;
  align-items:stretch;
}
h1{font-size:42px; line-height:1.05; margin:0 0 14px}
.lead{color:var(--muted); font-size:18px; line-height:1.5; margin:0 0 18px}
.cta-row{display:flex; gap:12px; flex-wrap:wrap; margin:16px 0 12px}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:12px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--text);
  font-weight:650;
}
.btn:hover{border-color:#2b3f58}
.btn.primary{
  background:linear-gradient(180deg, rgba(36,209,127,0.22), rgba(36,209,127,0.08));
  border-color: rgba(36,209,127,0.45);
}
.bullets{margin:14px 0 0; padding-left:18px; color:var(--muted); line-height:1.6}

.section{padding:42px 0}
.section.alt{background:rgba(255,255,255,0.03); border-top:1px solid var(--line); border-bottom:1px solid var(--line)}
h2{margin:0 0 16px; font-size:28px}
h3{margin:0 0 10px; font-size:18px}

.grid3{display:grid; grid-template-columns: repeat(3, 1fr); gap:14px}
.grid2{display:grid; grid-template-columns: repeat(2, 1fr); gap:12px}

.card{
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
.hero-card{background:var(--panel); border:1px solid var(--line); border-radius:16px; padding:16px}
.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(36,209,127,0.35);
  color:var(--accent);
  font-size:12px;
  font-weight:700;
  margin-bottom:10px;
}
.placeholder{
  margin-top:12px;
  border-radius:12px;
  border:1px dashed #2b3f58;
  height:240px;
  display:flex; align-items:center; justify-content:center;
  color:var(--muted);
}

.video-wrap{
  border-radius:16px;
  overflow:hidden;
  border:1px solid var(--line);
  background:var(--panel);
  aspect-ratio: 16 / 9;
}
.video-wrap iframe{width:100%; height:100%}

.gallery{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:10px;
}
.gallery img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid var(--line);
}

.form{
  margin-top:14px;
  background:var(--panel);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
label{display:block; font-size:14px; color:var(--muted)}
input, textarea{
  width:100%;
  margin-top:6px;
  padding:11px 12px;
  border-radius:12px;
  border:1px solid #22344c;
  background:#0c131d;
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(36,209,127,0.55)}
.muted{color:var(--muted)}
.small{font-size:12px}
.sep{border:none; border-top:1px solid var(--line); margin:24px 0}
.footer{display:flex; justify-content:center; align-items:center}

@media (max-width: 900px){
  .hero-grid{grid-template-columns: 1fr}
  .grid3{grid-template-columns: 1fr}
  .grid2{grid-template-columns: 1fr}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  h1{font-size:34px}
}
.lang-switch{
  display:inline-flex;
  gap:6px;
  align-items:center;
  margin-left:10px;
}

.lang-btn{
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background:transparent;
  color:var(--muted);
  font-weight:700;
  cursor:pointer;
}

.lang-btn:hover{
  border-color:#2b3f58;
  color:var(--text);
}

.lang-btn.active{
  border-color: rgba(36,209,127,0.55);
  color: var(--accent);
}
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.logo{
  width:28px;
  height:28px;
  object-fit:contain;
  display:block;
}
/* Topbar - като app header */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(8,12,18,.72);
  border-bottom: 1px solid var(--line);
}

.topbar-inner{
  min-height: 64px;
}

.nav a{
  color: var(--muted);
  text-decoration:none;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
}

/* Cards / panels */
.card, .hero-card, .form{
  background: linear-gradient(180deg, rgba(15,27,45,.75), rgba(12,20,34,.75));
    position: relative;
  border: 2px solid transparent;
  overflow: hidden;

  border-radius: var(--radius);
  box-shadow: var(--shadowSm);
}
/* Gradient border like the desktop app */
.card::before,
.hero-card::before,
.form::before{
  content:"";
  position:absolute;
  inset:0;
  padding:2px;                 /* thickness of border */
  border-radius: var(--radius);
  background: linear-gradient(180deg,
      rgba(36,209,127,.75),
      rgba(36,209,127,.22) 35%,
      rgba(36,209,127,.10) 60%,
      rgba(0,0,0,0) 100%);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  mask-composite: exclude;
  pointer-events:none;
}

/* Optional: subtle inner green line like WPF */
.card::after,
.hero-card::after,
.form::after{
  content:"";
  position:absolute;
  inset:2px;
  border-radius: calc(var(--radius) - 2px);
  border: 1px solid rgba(36,209,127,.10);
  pointer-events:none;
}

.section.alt{
  background: rgba(255,255,255,0.02);
  border-top: 1px solid rgba(255,255,255,0.04);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

/* Buttons - като app buttons */
.btn{
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.02);
  color: var(--text);
}

.btn:hover{
  border-color: rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
}

.btn.primary{
  border-color: rgba(36,209,127,0.45);
  background: linear-gradient(180deg, rgba(36,209,127,0.22), rgba(36,209,127,0.10));
  box-shadow: 0 0 0 6px rgba(36,209,127,0.06);
}

.btn.primary:hover{
  border-color: rgba(36,209,127,0.70);
  box-shadow: 0 0 0 8px rgba(36,209,127,0.09);
}

/* Inputs - “app-like” */
label{
  color: var(--muted);
}

input, textarea{
  width: 100%;
  margin-top: 8px;
  padding: 12px 12px;
  border-radius: var(--radiusSm);
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(8,12,18,0.55);
  color: var(--text);
  outline: none;
}

input::placeholder, textarea::placeholder{
  color: rgba(166,179,198,0.65);
}

input:focus, textarea:focus{
  border-color: var(--line2);
  box-shadow: 0 0 0 6px var(--accentGlow);
}

/* Separators / accents */
.sep{
  border: none;
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin: 22px 0;
}

.badge{
  border: 1px solid rgba(36,209,127,0.35);
  background: rgba(36,209,127,0.08);
  color: var(--accent);
  border-radius: 999px;
}
/* ==============================
   PhotoFlow Desktop UI Skin
   (black background + green panels + green borders)
   Paste at END of styles.css
   ============================== */

:root{
  --bg0:#000000;
  --bg1:#050607;

  --text:#eaf2ff;
  --muted:#a7b7cc;

  --accent:#24d17f;          /* bright green */
  --accentBorder: rgba(36,209,127,.35);
  --accentBorder2: rgba(36,209,127,.55);
  --accentGlow: rgba(36,209,127,.10);

  --panelTop: rgba(14, 46, 24, .88);
  --panelBot: rgba(6, 10, 8, .94);

  --panelLine: rgba(36,209,127,.32);
  --line: rgba(255,255,255,.06);

  --radius: 18px;
  --radiusSm: 10px;

  --focus: #4aa3ff;          /* WPF-like focus blue */
  --focusGlow: rgba(74,163,255,.18);
}

/* Background like the app */
body{
  background:
    radial-gradient(900px 600px at 30% -10%, rgba(36,209,127,.08), transparent 60%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
}

/* Topbar: flat, dark, with subtle line */
.topbar{
  backdrop-filter: none;
  background: rgba(0,0,0,.92);
  border-bottom: 1px solid rgba(36,209,127,.20);
}

.topbar-inner{ min-height: 62px; }

/* Links: app-like */
.nav a{
  color: rgba(234,242,255,.85);
  border-radius: 8px;
  padding: 8px 10px;
}
.nav a:hover{
  background: rgba(36,209,127,.06);
  border: 1px solid rgba(36,209,127,.18);
}

/* Language button: small, like toolbar */
.lang-btn{
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid rgba(36,209,127,.25);
  background: rgba(8,12,10,.55);
  color: var(--text);
}
.lang-btn:hover{
  border-color: rgba(36,209,127,.45);
  background: rgba(12,18,14,.65);
}

/* Panels (cards/forms) like WPF groupboxes */
.card, .hero-card, .form{
  background: linear-gradient(180deg, var(--panelTop), var(--panelBot));
  border: 2px solid var(--panelLine);
  border-radius: var(--radius);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.60) inset,
    0 20px 60px rgba(0,0,0,.55),
    0 0 25px rgba(36,209,127,.06);
}

/* Make alternating sections not “gray blocks” */
.section,
.section.alt{
  background: transparent;
  border: none;
}

/* Headings spacing like app */
h1, h2, h3{ letter-spacing: .2px; }
.muted{ color: var(--muted); }

/* Inputs: dark fields with blue focus (like your textbox focus) */
input, textarea{
  background: rgba(22,30,30,.70);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radiusSm);
  color: var(--text);
}
input:focus, textarea:focus{
  border-color: var(--focus);
  box-shadow: 0 0 0 5px var(--focusGlow);
  outline: none;
}

/* Buttons: green gradient like app buttons */
.btn{
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(20,28,26,.65);
  color: var(--text);
}
.btn:hover{
  background: rgba(26,34,32,.75);
  border-color: rgba(255,255,255,.18);
}

.btn.primary{
  border: 1px solid rgba(36,209,127,.55);
  background: linear-gradient(180deg, rgba(10,80,44,.85), rgba(6,38,22,.85));
  box-shadow: 0 0 0 6px rgba(36,209,127,.06);
}
.btn.primary:hover{
  border-color: rgba(36,209,127,.85);
  box-shadow: 0 0 0 8px rgba(36,209,127,.08);
}

/* Little badge */
.badge{
  border: 1px solid rgba(36,209,127,.45);
  background: rgba(36,209,127,.08);
  color: var(--accent);
  border-radius: 10px;
}

/* Separators */
.sep{
  background: rgba(36,209,127,.18);
  height: 1px;
}

/* Logo: keep it compact */
.logo{ width: 28px; height: 28px; }

/* Watermark background (logo image) */
body{
  position: relative;
}

body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;

  background-image: url("assets/bg.png");
  background-repeat: no-repeat;
  background-position: center 110px; /* малко под topbar-а */
  background-size: 1400px auto;       /* пипаш тук ако искаш */
  opacity: 0.12;                     /* 25% */
  filter: blur(0px);
}

/* keep all content above the watermark */
body > *{
  position: relative;
  z-index: 1;
}

/* responsive tweak */
@media (max-width: 720px){
  body::before{
    background-size: 70vw auto;
    background-position: center 90px;
    opacity: 0.18;
  }
}
body{ position: relative; }

body::before{
  content:"";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background: url("assets/bg.png") no-repeat center 110px;
  background-size: 900px auto;
  opacity: 0.25;
}

body > *{
  position: relative;
  z-index: 1;
}
/* Show BG/EN blocks depending on current language */
html[lang="bg"] .lang-en { display: none !important; }
html[lang="en"] .lang-bg { display: none !important; }
.flowbar{
  margin-top: 14px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(36,209,127,.35);
  background: rgba(10,18,14,.55);
  box-shadow: 0 0 18px rgba(36,209,127,.06) inset;
  font-size: 14px;
  line-height: 1.25;
  max-width: 980px;
}
.flowchips{
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  max-width: 980px;
}

.flowchips .chip{
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(10,18,14,.60);
  border: 1px solid rgba(36,209,127,.35);
  box-shadow: 0 0 18px rgba(36,209,127,.06) inset;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}

.flowchips .chip em{
  font-style: italic;
  opacity: .9;
}

.flowchips .arrow{
  opacity: .65;
  font-size: 16px;
}

@media (max-width: 520px){
  .flowchips .arrow{ display:none; }
  .flowchips{ gap: 8px; }
}
.brand-tag{
  margin-left: 10px;
  font-size: 12px;
  opacity: .75;
  font-weight: 500;
}





