@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800&display=swap');

:root {
  --background: 40 33% 96%;
  --foreground: 150 20% 15%;
  --card: 0 0% 100%;
  --card-foreground: 150 20% 15%;
  --primary: 145 63% 32%;
  --primary-foreground: 0 0% 100%;
  --secondary: 40 40% 92%;
  --secondary-foreground: 150 20% 15%;
  --muted: 40 20% 94%;
  --muted-foreground: 150 10% 45%;
  --accent: 35 80% 55%;
  --accent-foreground: 0 0% 100%;
  --destructive: 0 84.2% 60.2%;
  --border: 40 20% 88%;
  --input: 40 20% 88%;
  --ring: 145 63% 32%;
  --radius: 0.75rem;
}

* { margin:0; padding:0; box-sizing:border-box; border-color: hsl(var(--border)); }
body { font-family:'Cairo',sans-serif; background:hsl(var(--background)); color:hsl(var(--foreground)); }

/* Utility colors */
.bg-background { background:hsl(var(--background)); }
.bg-card { background:hsl(var(--card)); }
.bg-primary { background:hsl(var(--primary)); }
.bg-primary-10 { background:hsl(var(--primary) / 0.1); }
.bg-primary-5 { background:hsl(var(--primary) / 0.05); }
.text-foreground { color:hsl(var(--foreground)); }
.text-primary { color:hsl(var(--primary)); }
.text-primary-fg { color:hsl(var(--primary-foreground)); }
.text-muted { color:hsl(var(--muted-foreground)); }
.border-border { border-color:hsl(var(--border)); }
.border-primary { border-color:hsl(var(--primary)); }

/* Header */
.site-header {
  position:fixed; top:0; left:0; right:0; z-index:50;
  background:hsl(var(--card) / 0.8); backdrop-filter:blur(12px);
  border-bottom:1px solid hsl(var(--border));
}
.site-header .container { max-width:1200px; margin:0 auto; padding:0 1rem; height:4rem; display:flex; align-items:center; justify-content:space-between; }
.site-header .logo-group { display:flex; align-items:center; gap:0.5rem; }
.site-header .logo-group img { width:36px; height:36px; border-radius:0.5rem; }
.site-header .logo-group span { font-size:1.25rem; font-weight:700; color:hsl(var(--primary)); }
.site-header nav { display:flex; gap:1.5rem; }
.site-header nav button, .site-header nav a { background:none; border:none; cursor:pointer; font-size:0.875rem; font-weight:500; color:hsl(var(--foreground)); transition:color 0.2s; font-family:inherit; }
.site-header nav button:hover, .site-header nav a:hover { color:hsl(var(--primary)); }
.header-actions { display:flex; align-items:center; gap:0.75rem; }
.btn-lang { padding:0.375rem 0.75rem; border-radius:9999px; font-size:0.75rem; font-weight:700; border:1px solid hsl(var(--primary)); color:hsl(var(--primary)); background:none; cursor:pointer; transition:all 0.2s; }
.btn-lang:hover { background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); }
.btn-admin { display:inline-block; padding:0.5rem 1rem; border-radius:0.5rem; background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); font-size:0.875rem; font-weight:600; text-decoration:none; transition:opacity 0.2s; }
.btn-admin:hover { opacity:0.9; }

/* Container */
.container { max-width:1200px; margin:0 auto; padding:0 1rem; }

/* Hero */
.hero { padding:6rem 0 4rem; }
.hero .grid { display:grid; grid-template-columns:1fr 1fr; gap:3rem; align-items:center; }
.hero h1 { font-size:2.5rem; font-weight:800; line-height:1.3; color:hsl(var(--foreground)); margin-bottom:1.5rem; }
.hero .subtitle { font-size:1.125rem; color:hsl(var(--muted-foreground)); line-height:1.8; margin-bottom:1.5rem; }
.hero .btn-group { display:flex; gap:0.75rem; flex-wrap:wrap; }
.btn-store { display:inline-flex; align-items:center; gap:0.5rem; padding:0.75rem 1.5rem; border-radius:0.75rem; font-weight:600; text-decoration:none; transition:all 0.2s; font-family:inherit; }
.btn-store.primary { background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); }
.btn-store.outline { border:2px solid hsl(var(--primary)); color:hsl(var(--primary)); background:none; }
.btn-store.outline:hover { background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); }
.btn-store svg { width:20px; height:20px; fill:currentColor; }
.hero .hero-img { border-radius:1rem; max-width:100%; height:auto; }
.hero .hero-img-mobile { display:none; border-radius:1rem; max-width:100%; margin-top:1.5rem; }

/* Sections */
.section { padding:4rem 0 6rem; }
.section.alt { background:hsl(var(--card)); }
.section-title { font-size:1.875rem; font-weight:700; text-align:center; color:hsl(var(--foreground)); margin-bottom:1rem; }
.section-desc { text-align:center; color:hsl(var(--muted-foreground)); max-width:42rem; margin:0 auto 3rem; line-height:1.8; }
.section-subtitle { font-size:1.5rem; font-weight:700; text-align:center; color:hsl(var(--foreground)); margin-bottom:2rem; }

/* Cards grid */
.cards-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; }
.card { background:hsl(var(--card)); border-radius:1rem; padding:2rem; border:1px solid hsl(var(--border)); text-align:center; transition:box-shadow 0.3s; }
.card:hover { box-shadow:0 10px 30px -10px rgba(0,0,0,0.1); }
.card .icon-box { width:3.5rem; height:3.5rem; border-radius:0.75rem; background:hsl(var(--primary) / 0.1); display:flex; align-items:center; justify-content:center; margin:0 auto 1rem; }
.card .icon-box svg { width:1.75rem; height:1.75rem; color:hsl(var(--primary)); stroke:hsl(var(--primary)); fill:none; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.card h3 { font-size:1.25rem; font-weight:700; color:hsl(var(--foreground)); margin-bottom:0.5rem; }
.card p { font-size:0.875rem; color:hsl(var(--muted-foreground)); line-height:1.6; }

/* Features list */
.features-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:1.5rem; max-width:56rem; margin:0 auto; }
.feature-item { display:flex; gap:0.75rem; align-items:flex-start; }
.feature-item .check { width:1.5rem; height:1.5rem; color:hsl(var(--primary)); flex-shrink:0; margin-top:0.25rem; stroke:hsl(var(--primary)); fill:none; stroke-width:2; }
.feature-item h4 { font-weight:700; color:hsl(var(--foreground)); margin-bottom:0.25rem; }
.feature-item p { font-size:0.875rem; color:hsl(var(--muted-foreground)); }

/* Why section */
.why-block { text-align:center; max-width:42rem; margin:4rem auto 0; }
.why-block h3 { font-size:1.5rem; font-weight:700; color:hsl(var(--foreground)); margin-bottom:1rem; }
.why-block p { color:hsl(var(--muted-foreground)); line-height:1.8; margin-bottom:0.5rem; }

/* Contact */
.contact-card { max-width:32rem; margin:0 auto; background:hsl(var(--card)); border-radius:1rem; padding:2rem; border:1px solid hsl(var(--border)); }
.contact-row { display:flex; align-items:center; gap:0.75rem; margin-bottom:1.25rem; }
.contact-row:last-child { margin-bottom:0; }
.contact-row svg { width:1.25rem; height:1.25rem; color:hsl(var(--primary)); stroke:hsl(var(--primary)); fill:none; stroke-width:2; flex-shrink:0; }
.contact-row a { color:hsl(var(--foreground)); text-decoration:none; transition:color 0.2s; }
.contact-row a:hover { color:hsl(var(--primary)); }

/* Footer */
.site-footer { background:hsl(var(--card)); border-top:1px solid hsl(var(--border)); padding:2rem 0; }
.site-footer .container { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:1rem; }
.site-footer span, .site-footer a { font-size:0.875rem; color:hsl(var(--muted-foreground)); }
.site-footer a { text-decoration:none; transition:color 0.2s; }
.site-footer a:hover { color:hsl(var(--primary)); }

/* Policy page */
.policy-header { background:hsl(var(--primary) / 0.05); border-bottom:1px solid hsl(var(--border)); padding:1.5rem 0; }
.policy-hero { background:linear-gradient(to bottom, hsl(var(--primary)/0.1), hsl(var(--background))); padding:4rem 0; text-align:center; }
.policy-hero svg { width:3.5rem; height:3.5rem; color:hsl(var(--primary)); stroke:hsl(var(--primary)); fill:none; margin:0 auto 1rem; }
.policy-hero h1 { font-size:2rem; font-weight:700; margin-bottom:0.75rem; }
.policy-hero p { color:hsl(var(--muted-foreground)); max-width:36rem; margin:0 auto; }
.policy-content { max-width:48rem; margin:0 auto; padding:3rem 1rem; }
.policy-card { background:hsl(var(--card)); border:1px solid hsl(var(--border)); border-radius:1rem; padding:1.5rem 2rem; margin-bottom:2rem; transition:box-shadow 0.3s; }
.policy-card:hover { box-shadow:0 8px 24px -8px rgba(0,0,0,0.08); }
.policy-card .card-header { display:flex; align-items:center; gap:0.75rem; margin-bottom:1.25rem; }
.policy-card .card-header .icon-wrap { width:2.5rem; height:2.5rem; border-radius:0.75rem; background:hsl(var(--primary)/0.1); display:flex; align-items:center; justify-content:center; }
.policy-card .card-header svg { width:1.25rem; height:1.25rem; color:hsl(var(--primary)); stroke:hsl(var(--primary)); fill:none; stroke-width:2; }
.policy-card h2 { font-size:1.25rem; font-weight:600; }
.policy-card ul { list-style:none; padding:0; }
.policy-card li { display:flex; align-items:flex-start; gap:0.75rem; margin-bottom:0.75rem; color:hsl(var(--muted-foreground)); line-height:1.6; }
.policy-card li .dot { margin-top:0.6rem; width:0.5rem; height:0.5rem; border-radius:50%; background:hsl(var(--primary)); flex-shrink:0; }
.policy-card .para { color:hsl(var(--muted-foreground)); line-height:1.7; }

/* Admin modal */
.modal-overlay { position:fixed; inset:0; z-index:50; background:rgba(0,0,0,0.5); display:flex; align-items:center; justify-content:center; padding:1rem; }
.modal-box { width:100%; max-width:28rem; background:hsl(var(--card)); border-radius:1rem; padding:2rem; border:1px solid hsl(var(--border)); box-shadow:0 25px 50px -12px rgba(0,0,0,0.25); }
.modal-box h2 { font-size:1.5rem; font-weight:700; text-align:center; margin-bottom:0.5rem; }
.modal-box .modal-sub { text-align:center; color:hsl(var(--muted-foreground)); font-size:0.875rem; margin-bottom:1.5rem; }
.modal-box .input-wrap { position:relative; margin-bottom:1rem; }
.modal-box input { width:100%; padding:0.75rem 1rem; padding-inline-end:2.5rem; border-radius:0.75rem; border:1px solid hsl(var(--input)); background:hsl(var(--background)); color:hsl(var(--foreground)); font-size:0.875rem; font-family:inherit; outline:none; }
.modal-box input:focus { box-shadow:0 0 0 2px hsl(var(--ring)); }
.modal-box .input-icon { position:absolute; top:50%; transform:translateY(-50%); inset-inline-end:0.75rem; width:1rem; height:1rem; color:hsl(var(--muted-foreground)); stroke:hsl(var(--muted-foreground)); fill:none; stroke-width:2; }
.modal-box button[type=submit] { width:100%; padding:0.75rem; border-radius:0.75rem; background:hsl(var(--primary)); color:hsl(var(--primary-foreground)); font-weight:700; font-size:1rem; border:none; cursor:pointer; font-family:inherit; }

/* Responsive */
@media (max-width:768px) {
  .hero .grid { grid-template-columns:1fr; }
  .hero .hero-img { display:none; }
  .hero .hero-img-mobile { display:block; }
  .hero h1 { font-size:1.875rem; }
  .cards-grid { grid-template-columns:1fr; }
  .features-grid { grid-template-columns:1fr; }
  .site-header nav { display:none; }
  .btn-admin { display:none; }
}
