/* MojiApp.eu Landing Page */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}

/* Accessibility — visible focus indicators for keyboard navigation */
a:focus-visible, button:focus-visible, select:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

:root{
  --bg:#ffffff;
  --bg-alt:#f8f9fa;
  --text:#1a1a2e;
  --text-muted:#6b7280;
  --brand:#FF8A00;
  --brand-light:#FFAB40;
  --brand-dark:#E67600;
  --card-bg:#ffffff;
  --card-border:rgba(0,0,0,.08);
  --card-shadow:0 4px 24px rgba(0,0,0,.06);
  --hero-gradient:linear-gradient(135deg, #fff5f0 0%, #ffffff 50%, #f0f7ff 100%);
  --section-divider:#f0f0f0;
  --footer-bg:#1a1a2e;
  --footer-text:#c4c4d4;
  --radius:16px;
  --radius-sm:10px;
  --max-w:1140px;
  --font:system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

@media(prefers-color-scheme:dark){
  :root{
    --bg:#0f1117;
    --bg-alt:#161822;
    --text:#e5e7eb;
    --text-muted:#9ca3af;
    --card-bg:#1c1f2e;
    --card-border:rgba(255,255,255,.08);
    --card-shadow:0 4px 24px rgba(0,0,0,.3);
    --hero-gradient:linear-gradient(135deg, #1a1020 0%, #0f1117 50%, #101820 100%);
    --section-divider:#1f2233;
    --footer-bg:#0a0c12;
    --footer-text:#8888a0;
  }
}

html{scroll-behavior:smooth;}
body{
  font-family:var(--font);
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}

a{color:var(--brand);text-decoration:none;transition:color .2s;}
a:hover{color:var(--brand-dark);}
img{max-width:100%;height:auto;display:block;}

/* Layout */
.container{width:min(var(--max-w),92%);margin:0 auto;}

/* ===== NAV ===== */
.nav{
  position:sticky;top:0;z-index:100;
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--section-divider);
  padding:12px 0;
}
@media(prefers-color-scheme:dark){
  .nav{background:rgba(15,17,23,.85);}
}
.nav .container{display:flex;align-items:center;justify-content:space-between;gap:16px;}
.nav-brand{display:flex;align-items:center;gap:10px;font-weight:700;font-size:1.25rem;color:var(--text);}
.nav-brand img{width:40px;height:40px;border-radius:10px;}
.nav-links{display:flex;align-items:center;gap:16px;}
.nav-links a{color:var(--text-muted);font-size:.9rem;font-weight:500;}
.nav-links a:hover{color:var(--brand);}

.lang-select{
  appearance:none;-webkit-appearance:none;
  background:var(--bg-alt);border:1px solid var(--card-border);
  color:var(--text);font-size:.85rem;padding:6px 28px 6px 10px;
  border-radius:8px;cursor:pointer;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:right 8px center;
}

.btn{
  display:inline-flex;align-items:center;gap:8px;
  padding:12px 28px;border-radius:var(--radius-sm);
  font-weight:600;font-size:.95rem;
  border:none;cursor:pointer;transition:all .2s;
}
.btn-primary{
  background:var(--brand);color:#fff;
  box-shadow:0 4px 14px rgba(255,138,0,.3);
}
.btn-primary:hover{
  background:var(--brand-dark);color:#fff;
  transform:translateY(-1px);box-shadow:0 6px 20px rgba(255,138,0,.4);
}
.btn-outline{
  background:transparent;color:var(--brand);
  border:2px solid var(--brand);
}
.btn-outline:hover{background:var(--brand);color:#fff;}
.btn-sm{padding:8px 18px;font-size:.85rem;}

/* ===== HERO ===== */
.hero{
  background:var(--hero-gradient);
  padding:80px 0 60px;
  text-align:center;
  overflow:hidden;
}
.hero-tagline{
  margin-bottom:24px;
}
.hero-moji{
  display:block;
  font-size:clamp(1.8rem,4vw,2.8rem);
  font-weight:800;letter-spacing:-.01em;
  color:var(--brand);
}
.hero-moji-translation{
  display:block;
  font-size:clamp(.95rem,1.8vw,1.15rem);
  color:var(--text-muted);
  margin-top:4px;
}
.hero h1{
  font-size:clamp(2.2rem,5vw,3.8rem);
  font-weight:800;line-height:1.15;
  margin-bottom:16px;
  letter-spacing:-.02em;
}
.hero h1 span{
  background:linear-gradient(135deg,var(--brand),#FFAB40);
  -webkit-background-clip:text;-webkit-text-fill-color:transparent;
  background-clip:text;
}
.hero-subtitle{
  font-size:clamp(1rem,2vw,1.25rem);
  color:var(--text-muted);max-width:640px;margin:0 auto 32px;
}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;margin-bottom:40px;}
.hero-image{
  max-width:800px;margin:0 auto;
  border-radius:var(--radius);overflow:hidden;
  background:var(--bg-alt);
  min-height:300px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--card-border);
  color:var(--text-muted);font-size:.9rem;
}

/* ===== GROUPS / SECTIONS ===== */
.section{padding:80px 0;}
.section-alt{background:var(--bg-alt);}
.section-header{text-align:center;margin-bottom:56px;}
.section-header h2{
  font-size:clamp(1.6rem,3.5vw,2.5rem);
  font-weight:700;margin-bottom:12px;
}
.section-header p{color:var(--text-muted);max-width:560px;margin:0 auto;font-size:1.05rem;}

/* Group cards grid */
.groups-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:24px;
}
.group-card{
  background:var(--card-bg);
  border:1px solid var(--card-border);
  border-radius:var(--radius);
  padding:32px 24px;
  transition:transform .2s,box-shadow .2s;
  cursor:default;
}
.group-card:hover{
  transform:translateY(-4px);
  box-shadow:var(--card-shadow);
}
.group-card-icon{
  width:56px;height:56px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  margin-bottom:20px;font-size:1.5rem;
}
.group-card-icon.me{background:rgba(255,138,0,.12);color:var(--brand);}
.group-card-icon.family{background:rgba(233,30,99,.12);color:#e91e63;}
.group-card-icon.community{background:rgba(33,150,243,.12);color:#2196f3;}
.group-card-icon.work{background:rgba(76,175,80,.12);color:#4caf50;}

.group-card h3{font-size:1.2rem;font-weight:700;margin-bottom:8px;}
.group-card p{color:var(--text-muted);font-size:.92rem;line-height:1.5;margin-bottom:16px;}

/* Feature items inside group detail */
.feature-list{list-style:none;display:flex;flex-direction:column;gap:12px;}
.feature-list li{
  display:flex;align-items:flex-start;gap:10px;
  font-size:.92rem;color:var(--text);
}
.feature-list li::before{
  content:'';flex-shrink:0;width:20px;height:20px;margin-top:2px;
  background:var(--brand);border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E");
  background-repeat:no-repeat;background-position:center;background-size:12px;
}

/* Group detail sections (expandable) */
.group-detail{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:48px;
  align-items:center;
  padding:60px 0;
}
.group-detail.reverse{direction:rtl;}
.group-detail.reverse>*{direction:ltr;}
.group-detail-text h3{font-size:1.5rem;font-weight:700;margin-bottom:12px;}
.group-detail-text p{color:var(--text-muted);margin-bottom:20px;}
.group-detail-image{
  border-radius:var(--radius);overflow:hidden;
  background:var(--bg-alt);min-height:280px;
  display:flex;align-items:center;justify-content:center;
  border:1px solid var(--card-border);
  color:var(--text-muted);font-size:.85rem;
}

@media(max-width:768px){
  .group-detail{grid-template-columns:1fr;gap:24px;}
  .group-detail.reverse{direction:ltr;}
}

/* ===== PRIVACY ===== */
.privacy-section{
  background:linear-gradient(135deg,#1a1a2e 0%,#2d1b4e 100%);
  color:#fff;padding:80px 0;
}
.privacy-section .section-header h2{color:#fff;}
.privacy-section .section-header p{color:rgba(255,255,255,.7);}
.privacy-grid{
  display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));
  gap:24px;
}
.privacy-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.1);
  border-radius:var(--radius);padding:28px 22px;
}
.privacy-card h4{font-size:1.05rem;margin-bottom:8px;}
.privacy-card p{color:rgba(255,255,255,.6);font-size:.9rem;}

/* ===== BUSINESS BANNER ===== */
.business-banner{
  padding:60px 0;text-align:center;
  border-top:1px solid var(--section-divider);
}
.business-banner h2{font-size:1.6rem;font-weight:700;margin-bottom:12px;}
.business-banner p{color:var(--text-muted);margin-bottom:24px;max-width:500px;margin-left:auto;margin-right:auto;}
.business-link{font-size:1.1rem;}

/* ===== FOOTER ===== */
.site-footer{
  background:var(--footer-bg);color:var(--footer-text);
  padding:48px 0 24px;
}
.footer-grid{
  display:grid;
  grid-template-columns:2fr 1fr 1fr 1fr;
  gap:32px;margin-bottom:40px;
}
.footer-brand{display:flex;align-items:center;gap:10px;margin-bottom:12px;}
.footer-brand img{width:36px;height:36px;border-radius:8px;}
.footer-brand span{font-weight:700;font-size:1.1rem;color:#fff;}
.footer-desc{font-size:.88rem;line-height:1.6;max-width:300px;}
.footer-col h4{color:#fff;font-size:.9rem;font-weight:600;margin-bottom:12px;text-transform:uppercase;letter-spacing:.05em;}
.footer-col a{display:block;color:var(--footer-text);font-size:.88rem;margin-bottom:8px;transition:color .2s;}
.footer-col a:hover{color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:20px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;
  font-size:.82rem;
}
.store-badges{display:flex;gap:12px;align-items:center;}
.store-badges img{height:38px;width:auto;}

@media(max-width:768px){
  .footer-grid{grid-template-columns:1fr 1fr;gap:24px;}
  .hero{padding:48px 0 40px;}
  .section{padding:48px 0;}
  .groups-grid{grid-template-columns:1fr;}
  .nav-links a.hide-mobile{display:none;}
}

/* ===== COOKIE NOTICE ===== */
.cookie-notice{
  position:fixed;bottom:0;left:0;right:0;z-index:200;
  background:var(--card-bg);border-top:1px solid var(--card-border);
  padding:16px 24px;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;
  box-shadow:0 -4px 20px rgba(0,0,0,.1);
  font-size:.88rem;
}
.cookie-notice p{margin:0;color:var(--text-muted);}
.cookie-notice .btn{padding:8px 20px;}

/* Utility */
.text-center{text-align:center;}
.mt-2{margin-top:16px;}
.mb-2{margin-bottom:16px;}
